From 62fff91589553746dbccc757d11436c263b20184 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 8 May 2024 03:06:11 +0000 Subject: [PATCH 1/2] fix!: An existing method `UpdateVehicleLocation` is removed from service `VehicleService` fix!: An existing method `SearchFuzzedVehicles` is removed from service `VehicleService` fix!: An existing message `UpdateVehicleLocationRequest` is removed PiperOrigin-RevId: 631557549 Source-Link: https://github.com/googleapis/googleapis/commit/3d50414a7ff3f0b8ffe8ad7858257396e4f18131 Source-Link: https://github.com/googleapis/googleapis-gen/commit/5ce63d4e636a975175bde2d16c15e70dd5a81ff4 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNWNlNjNkNGU2MzZhOTc1MTc1YmRlMmQxNmMxNWU3MGRkNWE4MWZmNCJ9 --- .../admin/v1/DatastoreAdminClient.java | 1184 ++++++++ .../admin/v1/DatastoreAdminSettings.java | 324 +++ .../datastore/admin/v1/gapic_metadata.json | 36 + .../datastore/admin/v1/package-info.java | 84 + .../admin/v1/stub/DatastoreAdminStub.java | 108 + .../v1/stub/DatastoreAdminStubSettings.java | 715 +++++ .../GrpcDatastoreAdminCallableFactory.java | 113 + .../admin/v1/stub/GrpcDatastoreAdminStub.java | 386 +++ ...HttpJsonDatastoreAdminCallableFactory.java | 101 + .../v1/stub/HttpJsonDatastoreAdminStub.java | 620 +++++ .../reflect-config.json | 1793 +++++++++++++ .../v1/DatastoreAdminClientHttpJsonTest.java | 434 +++ .../admin/v1/DatastoreAdminClientTest.java | 428 +++ .../admin/v1/MockDatastoreAdmin.java | 59 + .../admin/v1/MockDatastoreAdminImpl.java | 192 ++ .../admin/v1/DatastoreAdminGrpc.java | 1101 ++++++++ .../datastore/admin/v1/CommonMetadata.java | 870 +++--- .../admin/v1/CommonMetadataOrBuilder.java | 76 +- .../admin/v1/CreateIndexRequest.java | 401 ++- .../admin/v1/CreateIndexRequestOrBuilder.java | 35 +- .../admin/v1/DatastoreAdminProto.java | 370 +++ .../DatastoreFirestoreMigrationMetadata.java | 397 ++- ...reFirestoreMigrationMetadataOrBuilder.java | 30 +- .../admin/v1/DeleteIndexRequest.java | 391 ++- .../admin/v1/DeleteIndexRequestOrBuilder.java | 36 +- .../datastore/admin/v1/EntityFilter.java | 456 ++-- .../admin/v1/EntityFilterOrBuilder.java | 54 +- .../admin/v1/ExportEntitiesMetadata.java | 701 ++--- .../v1/ExportEntitiesMetadataOrBuilder.java | 59 +- .../admin/v1/ExportEntitiesRequest.java | 725 +++-- .../v1/ExportEntitiesRequestOrBuilder.java | 74 +- .../admin/v1/ExportEntitiesResponse.java | 319 +-- .../v1/ExportEntitiesResponseOrBuilder.java | 27 +- .../datastore/admin/v1/GetIndexRequest.java | 384 ++- .../admin/v1/GetIndexRequestOrBuilder.java | 36 +- .../admin/v1/ImportEntitiesMetadata.java | 701 ++--- .../v1/ImportEntitiesMetadataOrBuilder.java | 59 +- .../admin/v1/ImportEntitiesRequest.java | 725 +++-- .../v1/ImportEntitiesRequestOrBuilder.java | 74 +- .../com/google/datastore/admin/v1/Index.java | 1474 ++++------ .../admin/v1/IndexOperationMetadata.java | 511 ++-- .../v1/IndexOperationMetadataOrBuilder.java | 43 +- .../datastore/admin/v1/IndexOrBuilder.java | 111 +- .../google/datastore/admin/v1/IndexProto.java | 88 + .../admin/v1/ListIndexesRequest.java | 480 ++-- .../admin/v1/ListIndexesRequestOrBuilder.java | 44 +- .../admin/v1/ListIndexesResponse.java | 479 ++-- .../v1/ListIndexesResponseOrBuilder.java | 46 +- .../admin/v1/MigrationProgressEvent.java | 1685 +++++------- .../v1/MigrationProgressEventOrBuilder.java | 73 +- .../datastore/admin/v1/MigrationProto.java | 114 + .../datastore/admin/v1/MigrationState.java | 89 +- .../admin/v1/MigrationStateEvent.java | 303 +-- .../v1/MigrationStateEventOrBuilder.java | 24 +- .../datastore/admin/v1/MigrationStep.java | 117 +- .../datastore/admin/v1/OperationType.java | 96 +- .../google/datastore/admin/v1/Progress.java | 304 +-- .../datastore/admin/v1/ProgressOrBuilder.java | 24 +- .../datastore/admin/v1/datastore_admin.proto | 2 +- .../google/datastore/admin/v1/index.proto | 2 +- .../google/datastore/admin/v1/migration.proto | 2 +- .../google/datastore/v1/AggregationQuery.java | 2382 ++++++----------- .../v1/AggregationQueryOrBuilder.java | 64 +- .../datastore/v1/AggregationResult.java | 504 ++-- .../datastore/v1/AggregationResultBatch.java | 524 ++-- .../v1/AggregationResultBatchOrBuilder.java | 50 +- .../v1/AggregationResultOrBuilder.java | 48 +- .../datastore/v1/AggregationResultProto.java | 95 + .../datastore/v1/AllocateIdsRequest.java | 618 ++--- .../v1/AllocateIdsRequestOrBuilder.java | 70 +- .../datastore/v1/AllocateIdsResponse.java | 405 ++- .../v1/AllocateIdsResponseOrBuilder.java | 37 +- .../com/google/datastore/v1/ArrayValue.java | 395 ++- .../datastore/v1/ArrayValueOrBuilder.java | 37 +- .../datastore/v1/BeginTransactionRequest.java | 485 ++-- .../v1/BeginTransactionRequestOrBuilder.java | 44 +- .../v1/BeginTransactionResponse.java | 280 +- .../v1/BeginTransactionResponseOrBuilder.java | 20 + .../google/datastore/v1/CommitRequest.java | 837 +++--- .../datastore/v1/CommitRequestOrBuilder.java | 75 +- .../google/datastore/v1/CommitResponse.java | 505 ++-- .../datastore/v1/CommitResponseOrBuilder.java | 47 +- .../google/datastore/v1/CompositeFilter.java | 517 ++-- .../v1/CompositeFilterOrBuilder.java | 43 +- .../google/datastore/v1/DatastoreProto.java | 459 ++++ .../java/com/google/datastore/v1/Entity.java | 570 ++-- .../google/datastore/v1/EntityOrBuilder.java | 56 +- .../com/google/datastore/v1/EntityProto.java | 152 ++ .../com/google/datastore/v1/EntityResult.java | 631 ++--- .../datastore/v1/EntityResultOrBuilder.java | 48 +- .../google/datastore/v1/ExecutionStats.java | 487 ++-- .../datastore/v1/ExecutionStatsOrBuilder.java | 40 +- .../google/datastore/v1/ExplainMetrics.java | 428 ++- .../datastore/v1/ExplainMetricsOrBuilder.java | 34 +- .../google/datastore/v1/ExplainOptions.java | 270 +- .../datastore/v1/ExplainOptionsOrBuilder.java | 21 +- .../java/com/google/datastore/v1/Filter.java | 450 ++-- .../google/datastore/v1/FilterOrBuilder.java | 34 +- .../com/google/datastore/v1/GqlQuery.java | 743 ++--- .../datastore/v1/GqlQueryOrBuilder.java | 78 +- .../datastore/v1/GqlQueryParameter.java | 435 ++- .../v1/GqlQueryParameterOrBuilder.java | 32 +- .../java/com/google/datastore/v1/Key.java | 975 +++---- .../com/google/datastore/v1/KeyOrBuilder.java | 45 +- .../google/datastore/v1/KindExpression.java | 305 +-- .../datastore/v1/KindExpressionOrBuilder.java | 30 + .../google/datastore/v1/LookupRequest.java | 711 ++--- .../datastore/v1/LookupRequestOrBuilder.java | 78 +- .../google/datastore/v1/LookupResponse.java | 824 +++--- .../datastore/v1/LookupResponseOrBuilder.java | 86 +- .../com/google/datastore/v1/Mutation.java | 859 +++--- .../datastore/v1/MutationOrBuilder.java | 64 +- .../google/datastore/v1/MutationResult.java | 563 ++-- .../datastore/v1/MutationResultOrBuilder.java | 48 +- .../com/google/datastore/v1/PartitionId.java | 449 ++-- .../datastore/v1/PartitionIdOrBuilder.java | 45 +- .../com/google/datastore/v1/PlanSummary.java | 395 ++- .../datastore/v1/PlanSummaryOrBuilder.java | 37 +- .../com/google/datastore/v1/Projection.java | 332 +-- .../datastore/v1/ProjectionOrBuilder.java | 26 +- .../google/datastore/v1/PropertyFilter.java | 575 ++-- .../datastore/v1/PropertyFilterOrBuilder.java | 40 +- .../google/datastore/v1/PropertyOrder.java | 452 ++-- .../datastore/v1/PropertyOrderOrBuilder.java | 32 +- .../datastore/v1/PropertyReference.java | 312 +-- .../v1/PropertyReferenceOrBuilder.java | 27 +- .../java/com/google/datastore/v1/Query.java | 1117 +++----- .../google/datastore/v1/QueryOrBuilder.java | 117 +- .../datastore/v1/QueryProfileProto.java | 110 + .../com/google/datastore/v1/QueryProto.java | 337 +++ .../google/datastore/v1/QueryResultBatch.java | 804 ++---- .../v1/QueryResultBatchOrBuilder.java | 68 +- .../com/google/datastore/v1/ReadOptions.java | 660 ++--- .../datastore/v1/ReadOptionsOrBuilder.java | 49 +- .../datastore/v1/ReserveIdsRequest.java | 618 ++--- .../v1/ReserveIdsRequestOrBuilder.java | 70 +- .../datastore/v1/ReserveIdsResponse.java | 238 +- .../v1/ReserveIdsResponseOrBuilder.java | 10 + .../google/datastore/v1/RollbackRequest.java | 414 ++- .../v1/RollbackRequestOrBuilder.java | 39 +- .../google/datastore/v1/RollbackResponse.java | 235 +- .../v1/RollbackResponseOrBuilder.java | 10 + .../v1/RunAggregationQueryRequest.java | 960 +++---- .../RunAggregationQueryRequestOrBuilder.java | 88 +- .../v1/RunAggregationQueryResponse.java | 557 ++-- .../RunAggregationQueryResponseOrBuilder.java | 45 +- .../google/datastore/v1/RunQueryRequest.java | 955 +++---- .../v1/RunQueryRequestOrBuilder.java | 88 +- .../google/datastore/v1/RunQueryResponse.java | 536 ++-- .../v1/RunQueryResponseOrBuilder.java | 45 +- .../datastore/v1/TransactionOptions.java | 1067 +++----- .../v1/TransactionOptionsOrBuilder.java | 34 +- .../java/com/google/datastore/v1/Value.java | 1216 +++------ .../google/datastore/v1/ValueOrBuilder.java | 109 +- .../datastore/v1/aggregation_result.proto | 2 +- .../proto/google/datastore/v1/datastore.proto | 2 +- .../proto/google/datastore/v1/entity.proto | 2 +- .../proto/google/datastore/v1/query.proto | 2 +- .../google/datastore/v1/query_profile.proto | 2 +- .../admin/v1/DatastoreAdminProto.java | 406 --- .../google/datastore/admin/v1/IndexProto.java | 104 - .../datastore/admin/v1/MigrationProto.java | 134 - .../datastore/v1/AggregationResultProto.java | 112 - .../v1/BeginTransactionResponseOrBuilder.java | 39 - .../google/datastore/v1/DatastoreProto.java | 518 ---- .../com/google/datastore/v1/EntityProto.java | 184 -- .../datastore/v1/KindExpressionOrBuilder.java | 51 - .../datastore/v1/QueryProfileProto.java | 128 - .../com/google/datastore/v1/QueryProto.java | 389 --- .../v1/ReserveIdsResponseOrBuilder.java | 25 - .../v1/RollbackResponseOrBuilder.java | 25 - 171 files changed, 24915 insertions(+), 28955 deletions(-) create mode 100644 owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/DatastoreAdminClient.java create mode 100644 owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/DatastoreAdminSettings.java create mode 100644 owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/gapic_metadata.json create mode 100644 owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/package-info.java create mode 100644 owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/DatastoreAdminStub.java create mode 100644 owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/DatastoreAdminStubSettings.java create mode 100644 owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/GrpcDatastoreAdminCallableFactory.java create mode 100644 owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/GrpcDatastoreAdminStub.java create mode 100644 owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/HttpJsonDatastoreAdminCallableFactory.java create mode 100644 owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/HttpJsonDatastoreAdminStub.java create mode 100644 owl-bot-staging/v1/google-cloud-datastore/src/main/resources/META-INF/native-image/com.google.cloud.datastore.admin.v1/reflect-config.json create mode 100644 owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/DatastoreAdminClientHttpJsonTest.java create mode 100644 owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/DatastoreAdminClientTest.java create mode 100644 owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/MockDatastoreAdmin.java create mode 100644 owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/MockDatastoreAdminImpl.java create mode 100644 owl-bot-staging/v1/grpc-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreAdminGrpc.java rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/CommonMetadata.java (69%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/CommonMetadataOrBuilder.java (77%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/CreateIndexRequest.java (70%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/CreateIndexRequestOrBuilder.java (68%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreAdminProto.java rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/DatastoreFirestoreMigrationMetadata.java (64%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/DatastoreFirestoreMigrationMetadataOrBuilder.java (69%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/DeleteIndexRequest.java (67%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/DeleteIndexRequestOrBuilder.java (56%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/EntityFilter.java (73%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/EntityFilterOrBuilder.java (77%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/ExportEntitiesMetadata.java (71%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/ExportEntitiesMetadataOrBuilder.java (83%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/ExportEntitiesRequest.java (70%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/ExportEntitiesRequestOrBuilder.java (79%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/ExportEntitiesResponse.java (68%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/ExportEntitiesResponseOrBuilder.java (62%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/GetIndexRequest.java (67%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/GetIndexRequestOrBuilder.java (55%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/ImportEntitiesMetadata.java (71%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/ImportEntitiesMetadataOrBuilder.java (82%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/ImportEntitiesRequest.java (71%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/ImportEntitiesRequestOrBuilder.java (80%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/Index.java (69%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/IndexOperationMetadata.java (69%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/IndexOperationMetadataOrBuilder.java (73%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/IndexOrBuilder.java (60%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexProto.java rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/ListIndexesRequest.java (69%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/ListIndexesRequestOrBuilder.java (63%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/ListIndexesResponse.java (70%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/ListIndexesResponseOrBuilder.java (63%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/MigrationProgressEvent.java (58%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/MigrationProgressEventOrBuilder.java (55%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProto.java rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/MigrationState.java (67%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/MigrationStateEvent.java (65%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/MigrationStateEventOrBuilder.java (53%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/MigrationStep.java (72%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/OperationType.java (68%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/Progress.java (66%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/ProgressOrBuilder.java (55%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/proto/google/datastore/admin/v1/datastore_admin.proto (99%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/proto/google/datastore/admin/v1/index.proto (99%) rename {proto-google-cloud-datastore-admin-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1}/src/main/proto/google/datastore/admin/v1/migration.proto (99%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/AggregationQuery.java (73%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/AggregationQueryOrBuilder.java (61%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/AggregationResult.java (65%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/AggregationResultBatch.java (76%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/AggregationResultBatchOrBuilder.java (79%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/AggregationResultOrBuilder.java (72%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultProto.java rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/AllocateIdsRequest.java (70%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/AllocateIdsRequestOrBuilder.java (67%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/AllocateIdsResponse.java (71%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/AllocateIdsResponseOrBuilder.java (64%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/ArrayValue.java (72%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/ArrayValueOrBuilder.java (67%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/BeginTransactionRequest.java (70%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/BeginTransactionRequestOrBuilder.java (71%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/BeginTransactionResponse.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionResponseOrBuilder.java rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/CommitRequest.java (79%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/CommitRequestOrBuilder.java (87%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/CommitResponse.java (75%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/CommitResponseOrBuilder.java (76%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/CompositeFilter.java (73%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/CompositeFilterOrBuilder.java (68%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/DatastoreProto.java rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/Entity.java (69%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/EntityOrBuilder.java (78%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityProto.java rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/EntityResult.java (75%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/EntityResultOrBuilder.java (83%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/ExecutionStats.java (73%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/ExecutionStatsOrBuilder.java (81%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/ExplainMetrics.java (69%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/ExplainMetricsOrBuilder.java (74%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/ExplainOptions.java (67%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/ExplainOptionsOrBuilder.java (54%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/Filter.java (71%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/FilterOrBuilder.java (70%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/GqlQuery.java (74%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/GqlQueryOrBuilder.java (81%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/GqlQueryParameter.java (68%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/GqlQueryParameterOrBuilder.java (65%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/Key.java (81%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/KeyOrBuilder.java (88%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/KindExpression.java (65%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KindExpressionOrBuilder.java rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/LookupRequest.java (70%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/LookupRequestOrBuilder.java (69%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/LookupResponse.java (79%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/LookupResponseOrBuilder.java (83%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/Mutation.java (74%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/MutationOrBuilder.java (86%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/MutationResult.java (75%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/MutationResultOrBuilder.java (83%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/PartitionId.java (70%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/PartitionIdOrBuilder.java (62%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/PlanSummary.java (74%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/PlanSummaryOrBuilder.java (71%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/Projection.java (65%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/ProjectionOrBuilder.java (58%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/PropertyFilter.java (73%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/PropertyFilterOrBuilder.java (72%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/PropertyOrder.java (68%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/PropertyOrderOrBuilder.java (67%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/PropertyReference.java (67%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/PropertyReferenceOrBuilder.java (57%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/Query.java (80%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/QueryOrBuilder.java (86%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryProfileProto.java create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryProto.java rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/QueryResultBatch.java (77%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/QueryResultBatchOrBuilder.java (86%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/ReadOptions.java (76%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/ReadOptionsOrBuilder.java (86%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/ReserveIdsRequest.java (70%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/ReserveIdsRequestOrBuilder.java (67%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/ReserveIdsResponse.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsResponseOrBuilder.java rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/RollbackRequest.java (71%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/RollbackRequestOrBuilder.java (67%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/RollbackResponse.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackResponseOrBuilder.java rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/RunAggregationQueryRequest.java (71%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/RunAggregationQueryRequestOrBuilder.java (79%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/RunAggregationQueryResponse.java (72%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/RunAggregationQueryResponseOrBuilder.java (82%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/RunQueryRequest.java (71%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/RunQueryRequestOrBuilder.java (79%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/RunQueryResponse.java (73%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/RunQueryResponseOrBuilder.java (81%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/TransactionOptions.java (72%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/TransactionOptionsOrBuilder.java (72%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/Value.java (75%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/ValueOrBuilder.java (88%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/proto/google/datastore/v1/aggregation_result.proto (98%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/proto/google/datastore/v1/datastore.proto (99%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/proto/google/datastore/v1/entity.proto (99%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/proto/google/datastore/v1/query.proto (99%) rename {proto-google-cloud-datastore-v1 => owl-bot-staging/v1/proto-google-cloud-datastore-v1}/src/main/proto/google/datastore/v1/query_profile.proto (99%) delete mode 100644 proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreAdminProto.java delete mode 100644 proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexProto.java delete mode 100644 proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProto.java delete mode 100644 proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultProto.java delete mode 100644 proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionResponseOrBuilder.java delete mode 100644 proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/DatastoreProto.java delete mode 100644 proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityProto.java delete mode 100644 proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KindExpressionOrBuilder.java delete mode 100644 proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryProfileProto.java delete mode 100644 proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryProto.java delete mode 100644 proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsResponseOrBuilder.java delete mode 100644 proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackResponseOrBuilder.java diff --git a/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/DatastoreAdminClient.java b/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/DatastoreAdminClient.java new file mode 100644 index 000000000..2e58d6679 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/DatastoreAdminClient.java @@ -0,0 +1,1184 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.cloud.datastore.admin.v1; + +import com.google.api.core.ApiFuture; +import com.google.api.core.ApiFutures; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.httpjson.longrunning.OperationsClient; +import com.google.api.gax.longrunning.OperationFuture; +import com.google.api.gax.paging.AbstractFixedSizeCollection; +import com.google.api.gax.paging.AbstractPage; +import com.google.api.gax.paging.AbstractPagedListResponse; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.cloud.datastore.admin.v1.stub.DatastoreAdminStub; +import com.google.cloud.datastore.admin.v1.stub.DatastoreAdminStubSettings; +import com.google.common.util.concurrent.MoreExecutors; +import com.google.datastore.admin.v1.CreateIndexRequest; +import com.google.datastore.admin.v1.DeleteIndexRequest; +import com.google.datastore.admin.v1.EntityFilter; +import com.google.datastore.admin.v1.ExportEntitiesMetadata; +import com.google.datastore.admin.v1.ExportEntitiesRequest; +import com.google.datastore.admin.v1.ExportEntitiesResponse; +import com.google.datastore.admin.v1.GetIndexRequest; +import com.google.datastore.admin.v1.ImportEntitiesMetadata; +import com.google.datastore.admin.v1.ImportEntitiesRequest; +import com.google.datastore.admin.v1.Index; +import com.google.datastore.admin.v1.IndexOperationMetadata; +import com.google.datastore.admin.v1.ListIndexesRequest; +import com.google.datastore.admin.v1.ListIndexesResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.Empty; +import java.io.IOException; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Service Description: Google Cloud Datastore Admin API + * + *

The Datastore Admin API provides several admin services for Cloud Datastore. + * + *

Concepts: Project, namespace, kind, and entity as defined in the Google Cloud Datastore API. + * + *

Operation: An Operation represents work being performed in the background. + * + *

EntityFilter: Allows specifying a subset of entities in a project. This is specified as a + * combination of kinds and namespaces (either or both of which may be all). + * + *

Export/Import Service: + * + *

- The Export/Import service provides the ability to copy all or a subset of entities to/from + * Google Cloud Storage. - Exported data may be imported into Cloud Datastore for any Google Cloud + * Platform project. It is not restricted to the export source project. It is possible to export + * from one project and then import into another. - Exported data can also be loaded into Google + * BigQuery for analysis. - Exports and imports are performed asynchronously. An Operation resource + * is created for each export/import. The state (including any errors encountered) of the + * export/import may be queried via the Operation resource. + * + *

Index Service: + * + *

- The index service manages Cloud Datastore composite indexes. - Index creation and deletion + * are performed asynchronously. An Operation resource is created for each such asynchronous + * operation. The state of the operation (including any errors encountered) may be queried via the + * Operation resource. + * + *

Operation Service: + * + *

- The Operations collection provides a record of actions performed for the specified project + * (including any operations in progress). Operations are not created directly but through calls on + * other collections or resources. - An operation that is not yet done may be cancelled. The request + * to cancel is asynchronous and the operation may continue to run for some time after the request + * to cancel is made. - An operation that is done may be deleted so that it is no longer listed as + * part of the Operation collection. - ListOperations returns all pending operations, but not + * completed operations. - Operations are created by service DatastoreAdmin, but are accessed via + * service google.longrunning.Operations. + * + *

This class provides the ability to make remote calls to the backing service through method + * calls that map to API methods. Sample code to get started: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
+ *   GetIndexRequest request =
+ *       GetIndexRequest.newBuilder()
+ *           .setProjectId("projectId-894832108")
+ *           .setIndexId("indexId1943291277")
+ *           .build();
+ *   Index response = datastoreAdminClient.getIndex(request);
+ * }
+ * }
+ * + *

Note: close() needs to be called on the DatastoreAdminClient object to clean up resources such + * as threads. In the example above, try-with-resources is used, which automatically calls close(). + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + * + *
Methods
MethodDescriptionMethod Variants

ExportEntities

Exports a copy of all or a subset of entities from Google Cloud Datastore to another storage system, such as Google Cloud Storage. Recent updates to entities may not be reflected in the export. The export occurs in the background and its progress can be monitored and managed via the Operation resource that is created. The output of an export may only be used once the associated operation is done. If an export operation is cancelled before completion it may leave partial data behind in Google Cloud Storage.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • exportEntitiesAsync(ExportEntitiesRequest request) + *

+ *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

+ *
    + *
  • exportEntitiesAsync(String projectId, Map<String, String> labels, EntityFilter entityFilter, String outputUrlPrefix) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • exportEntitiesOperationCallable() + *

  • exportEntitiesCallable() + *

+ *

ImportEntities

Imports entities into Google Cloud Datastore. Existing entities with the same key are overwritten. The import occurs in the background and its progress can be monitored and managed via the Operation resource that is created. If an ImportEntities operation is cancelled, it is possible that a subset of the data has already been imported to Cloud Datastore.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • importEntitiesAsync(ImportEntitiesRequest request) + *

+ *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

+ *
    + *
  • importEntitiesAsync(String projectId, Map<String, String> labels, String inputUrl, EntityFilter entityFilter) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • importEntitiesOperationCallable() + *

  • importEntitiesCallable() + *

+ *

CreateIndex

Creates the specified index. A newly created index's initial state is `CREATING`. On completion of the returned [google.longrunning.Operation][google.longrunning.Operation], the state will be `READY`. If the index already exists, the call will return an `ALREADY_EXISTS` status. + *

During index creation, the process could result in an error, in which case the index will move to the `ERROR` state. The process can be recovered by fixing the data that caused the error, removing the index with [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex], then re-creating the index with [create] [google.datastore.admin.v1.DatastoreAdmin.CreateIndex]. + *

Indexes with a single property cannot be created.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • createIndexAsync(CreateIndexRequest request) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • createIndexOperationCallable() + *

  • createIndexCallable() + *

+ *

DeleteIndex

Deletes an existing index. An index can only be deleted if it is in a `READY` or `ERROR` state. On successful execution of the request, the index will be in a `DELETING` [state][google.datastore.admin.v1.Index.State]. And on completion of the returned [google.longrunning.Operation][google.longrunning.Operation], the index will be removed. + *

During index deletion, the process could result in an error, in which case the index will move to the `ERROR` state. The process can be recovered by fixing the data that caused the error, followed by calling [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex] again.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • deleteIndexAsync(DeleteIndexRequest request) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • deleteIndexOperationCallable() + *

  • deleteIndexCallable() + *

+ *

GetIndex

Gets an index.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • getIndex(GetIndexRequest request) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • getIndexCallable() + *

+ *

ListIndexes

Lists the indexes that match the specified filters. Datastore uses an eventually consistent query to fetch the list of indexes and may occasionally return stale results.

+ *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

+ *
    + *
  • listIndexes(ListIndexesRequest request) + *

+ *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

+ *
    + *
  • listIndexesPagedCallable() + *

  • listIndexesCallable() + *

+ *
+ * + *

See the individual methods for example code. + * + *

Many parameters require resource names to be formatted in a particular way. To assist with + * these names, this class includes a format method for each type of name, and additionally a parse + * method to extract the individual identifiers contained within names that are returned. + * + *

This class can be customized by passing in a custom instance of DatastoreAdminSettings to + * create(). For example: + * + *

To customize credentials: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * DatastoreAdminSettings datastoreAdminSettings =
+ *     DatastoreAdminSettings.newBuilder()
+ *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
+ *         .build();
+ * DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create(datastoreAdminSettings);
+ * }
+ * + *

To customize the endpoint: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * DatastoreAdminSettings datastoreAdminSettings =
+ *     DatastoreAdminSettings.newBuilder().setEndpoint(myEndpoint).build();
+ * DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create(datastoreAdminSettings);
+ * }
+ * + *

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over + * the wire: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * DatastoreAdminSettings datastoreAdminSettings =
+ *     DatastoreAdminSettings.newHttpJsonBuilder().build();
+ * DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create(datastoreAdminSettings);
+ * }
+ * + *

Please refer to the GitHub repository's samples for more quickstart code snippets. + */ +@Generated("by gapic-generator-java") +public class DatastoreAdminClient implements BackgroundResource { + private final DatastoreAdminSettings settings; + private final DatastoreAdminStub stub; + private final OperationsClient httpJsonOperationsClient; + private final com.google.longrunning.OperationsClient operationsClient; + + /** Constructs an instance of DatastoreAdminClient with default settings. */ + public static final DatastoreAdminClient create() throws IOException { + return create(DatastoreAdminSettings.newBuilder().build()); + } + + /** + * Constructs an instance of DatastoreAdminClient, using the given settings. The channels are + * created based on the settings passed in, or defaults for any settings that are not set. + */ + public static final DatastoreAdminClient create(DatastoreAdminSettings settings) + throws IOException { + return new DatastoreAdminClient(settings); + } + + /** + * Constructs an instance of DatastoreAdminClient, using the given stub for making calls. This is + * for advanced usage - prefer using create(DatastoreAdminSettings). + */ + public static final DatastoreAdminClient create(DatastoreAdminStub stub) { + return new DatastoreAdminClient(stub); + } + + /** + * Constructs an instance of DatastoreAdminClient, using the given settings. This is protected so + * that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected DatastoreAdminClient(DatastoreAdminSettings settings) throws IOException { + this.settings = settings; + this.stub = ((DatastoreAdminStubSettings) settings.getStubSettings()).createStub(); + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); + } + + protected DatastoreAdminClient(DatastoreAdminStub stub) { + this.settings = null; + this.stub = stub; + this.operationsClient = + com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); + this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); + } + + public final DatastoreAdminSettings getSettings() { + return settings; + } + + public DatastoreAdminStub getStub() { + return stub; + } + + /** + * Returns the OperationsClient that can be used to query the status of a long-running operation + * returned by another API method call. + */ + public final com.google.longrunning.OperationsClient getOperationsClient() { + return operationsClient; + } + + /** + * Returns the OperationsClient that can be used to query the status of a long-running operation + * returned by another API method call. + */ + @BetaApi + public final OperationsClient getHttpJsonOperationsClient() { + return httpJsonOperationsClient; + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Exports a copy of all or a subset of entities from Google Cloud Datastore to another storage + * system, such as Google Cloud Storage. Recent updates to entities may not be reflected in the + * export. The export occurs in the background and its progress can be monitored and managed via + * the Operation resource that is created. The output of an export may only be used once the + * associated operation is done. If an export operation is cancelled before completion it may + * leave partial data behind in Google Cloud Storage. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
+   *   String projectId = "projectId-894832108";
+   *   Map labels = new HashMap<>();
+   *   EntityFilter entityFilter = EntityFilter.newBuilder().build();
+   *   String outputUrlPrefix = "outputUrlPrefix-1132598048";
+   *   ExportEntitiesResponse response =
+   *       datastoreAdminClient
+   *           .exportEntitiesAsync(projectId, labels, entityFilter, outputUrlPrefix)
+   *           .get();
+   * }
+   * }
+ * + * @param projectId Required. Project ID against which to make the request. + * @param labels Client-assigned labels. + * @param entityFilter Description of what data from the project is included in the export. + * @param outputUrlPrefix Required. Location for the export metadata and data files. + *

The full resource URL of the external storage location. Currently, only Google Cloud + * Storage is supported. So output_url_prefix should be of the form: + * `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name of the Cloud Storage + * bucket and `NAMESPACE_PATH` is an optional Cloud Storage namespace path (this is not a + * Cloud Datastore namespace). For more information about Cloud Storage namespace paths, see + * [Object name + * considerations](https://cloud.google.com/storage/docs/naming#object-considerations). + *

The resulting files will be nested deeper than the specified URL prefix. The final + * output URL will be provided in the + * [google.datastore.admin.v1.ExportEntitiesResponse.output_url][google.datastore.admin.v1.ExportEntitiesResponse.output_url] + * field. That value should be used for subsequent ImportEntities operations. + *

By nesting the data files deeper, the same Cloud Storage bucket can be used in multiple + * ExportEntities operations without conflict. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture exportEntitiesAsync( + String projectId, + Map labels, + EntityFilter entityFilter, + String outputUrlPrefix) { + ExportEntitiesRequest request = + ExportEntitiesRequest.newBuilder() + .setProjectId(projectId) + .putAllLabels(labels) + .setEntityFilter(entityFilter) + .setOutputUrlPrefix(outputUrlPrefix) + .build(); + return exportEntitiesAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Exports a copy of all or a subset of entities from Google Cloud Datastore to another storage + * system, such as Google Cloud Storage. Recent updates to entities may not be reflected in the + * export. The export occurs in the background and its progress can be monitored and managed via + * the Operation resource that is created. The output of an export may only be used once the + * associated operation is done. If an export operation is cancelled before completion it may + * leave partial data behind in Google Cloud Storage. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
+   *   ExportEntitiesRequest request =
+   *       ExportEntitiesRequest.newBuilder()
+   *           .setProjectId("projectId-894832108")
+   *           .putAllLabels(new HashMap())
+   *           .setEntityFilter(EntityFilter.newBuilder().build())
+   *           .setOutputUrlPrefix("outputUrlPrefix-1132598048")
+   *           .build();
+   *   ExportEntitiesResponse response = datastoreAdminClient.exportEntitiesAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture exportEntitiesAsync( + ExportEntitiesRequest request) { + return exportEntitiesOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Exports a copy of all or a subset of entities from Google Cloud Datastore to another storage + * system, such as Google Cloud Storage. Recent updates to entities may not be reflected in the + * export. The export occurs in the background and its progress can be monitored and managed via + * the Operation resource that is created. The output of an export may only be used once the + * associated operation is done. If an export operation is cancelled before completion it may + * leave partial data behind in Google Cloud Storage. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
+   *   ExportEntitiesRequest request =
+   *       ExportEntitiesRequest.newBuilder()
+   *           .setProjectId("projectId-894832108")
+   *           .putAllLabels(new HashMap())
+   *           .setEntityFilter(EntityFilter.newBuilder().build())
+   *           .setOutputUrlPrefix("outputUrlPrefix-1132598048")
+   *           .build();
+   *   OperationFuture future =
+   *       datastoreAdminClient.exportEntitiesOperationCallable().futureCall(request);
+   *   // Do something.
+   *   ExportEntitiesResponse response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable< + ExportEntitiesRequest, ExportEntitiesResponse, ExportEntitiesMetadata> + exportEntitiesOperationCallable() { + return stub.exportEntitiesOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Exports a copy of all or a subset of entities from Google Cloud Datastore to another storage + * system, such as Google Cloud Storage. Recent updates to entities may not be reflected in the + * export. The export occurs in the background and its progress can be monitored and managed via + * the Operation resource that is created. The output of an export may only be used once the + * associated operation is done. If an export operation is cancelled before completion it may + * leave partial data behind in Google Cloud Storage. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
+   *   ExportEntitiesRequest request =
+   *       ExportEntitiesRequest.newBuilder()
+   *           .setProjectId("projectId-894832108")
+   *           .putAllLabels(new HashMap())
+   *           .setEntityFilter(EntityFilter.newBuilder().build())
+   *           .setOutputUrlPrefix("outputUrlPrefix-1132598048")
+   *           .build();
+   *   ApiFuture future =
+   *       datastoreAdminClient.exportEntitiesCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable exportEntitiesCallable() { + return stub.exportEntitiesCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Imports entities into Google Cloud Datastore. Existing entities with the same key are + * overwritten. The import occurs in the background and its progress can be monitored and managed + * via the Operation resource that is created. If an ImportEntities operation is cancelled, it is + * possible that a subset of the data has already been imported to Cloud Datastore. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
+   *   String projectId = "projectId-894832108";
+   *   Map labels = new HashMap<>();
+   *   String inputUrl = "inputUrl470706501";
+   *   EntityFilter entityFilter = EntityFilter.newBuilder().build();
+   *   datastoreAdminClient.importEntitiesAsync(projectId, labels, inputUrl, entityFilter).get();
+   * }
+   * }
+ * + * @param projectId Required. Project ID against which to make the request. + * @param labels Client-assigned labels. + * @param inputUrl Required. The full resource URL of the external storage location. Currently, + * only Google Cloud Storage is supported. So input_url should be of the form: + * `gs://BUCKET_NAME[/NAMESPACE_PATH]/OVERALL_EXPORT_METADATA_FILE`, where `BUCKET_NAME` is + * the name of the Cloud Storage bucket, `NAMESPACE_PATH` is an optional Cloud Storage + * namespace path (this is not a Cloud Datastore namespace), and + * `OVERALL_EXPORT_METADATA_FILE` is the metadata file written by the ExportEntities + * operation. For more information about Cloud Storage namespace paths, see [Object name + * considerations](https://cloud.google.com/storage/docs/naming#object-considerations). + *

For more information, see + * [google.datastore.admin.v1.ExportEntitiesResponse.output_url][google.datastore.admin.v1.ExportEntitiesResponse.output_url]. + * @param entityFilter Optionally specify which kinds/namespaces are to be imported. If provided, + * the list must be a subset of the EntityFilter used in creating the export, otherwise a + * FAILED_PRECONDITION error will be returned. If no filter is specified then all entities + * from the export are imported. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture importEntitiesAsync( + String projectId, Map labels, String inputUrl, EntityFilter entityFilter) { + ImportEntitiesRequest request = + ImportEntitiesRequest.newBuilder() + .setProjectId(projectId) + .putAllLabels(labels) + .setInputUrl(inputUrl) + .setEntityFilter(entityFilter) + .build(); + return importEntitiesAsync(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Imports entities into Google Cloud Datastore. Existing entities with the same key are + * overwritten. The import occurs in the background and its progress can be monitored and managed + * via the Operation resource that is created. If an ImportEntities operation is cancelled, it is + * possible that a subset of the data has already been imported to Cloud Datastore. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
+   *   ImportEntitiesRequest request =
+   *       ImportEntitiesRequest.newBuilder()
+   *           .setProjectId("projectId-894832108")
+   *           .putAllLabels(new HashMap())
+   *           .setInputUrl("inputUrl470706501")
+   *           .setEntityFilter(EntityFilter.newBuilder().build())
+   *           .build();
+   *   datastoreAdminClient.importEntitiesAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture importEntitiesAsync( + ImportEntitiesRequest request) { + return importEntitiesOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Imports entities into Google Cloud Datastore. Existing entities with the same key are + * overwritten. The import occurs in the background and its progress can be monitored and managed + * via the Operation resource that is created. If an ImportEntities operation is cancelled, it is + * possible that a subset of the data has already been imported to Cloud Datastore. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
+   *   ImportEntitiesRequest request =
+   *       ImportEntitiesRequest.newBuilder()
+   *           .setProjectId("projectId-894832108")
+   *           .putAllLabels(new HashMap())
+   *           .setInputUrl("inputUrl470706501")
+   *           .setEntityFilter(EntityFilter.newBuilder().build())
+   *           .build();
+   *   OperationFuture future =
+   *       datastoreAdminClient.importEntitiesOperationCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final OperationCallable + importEntitiesOperationCallable() { + return stub.importEntitiesOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Imports entities into Google Cloud Datastore. Existing entities with the same key are + * overwritten. The import occurs in the background and its progress can be monitored and managed + * via the Operation resource that is created. If an ImportEntities operation is cancelled, it is + * possible that a subset of the data has already been imported to Cloud Datastore. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
+   *   ImportEntitiesRequest request =
+   *       ImportEntitiesRequest.newBuilder()
+   *           .setProjectId("projectId-894832108")
+   *           .putAllLabels(new HashMap())
+   *           .setInputUrl("inputUrl470706501")
+   *           .setEntityFilter(EntityFilter.newBuilder().build())
+   *           .build();
+   *   ApiFuture future =
+   *       datastoreAdminClient.importEntitiesCallable().futureCall(request);
+   *   // Do something.
+   *   future.get();
+   * }
+   * }
+ */ + public final UnaryCallable importEntitiesCallable() { + return stub.importEntitiesCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates the specified index. A newly created index's initial state is `CREATING`. On completion + * of the returned [google.longrunning.Operation][google.longrunning.Operation], the state will be + * `READY`. If the index already exists, the call will return an `ALREADY_EXISTS` status. + * + *

During index creation, the process could result in an error, in which case the index will + * move to the `ERROR` state. The process can be recovered by fixing the data that caused the + * error, removing the index with [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex], + * then re-creating the index with [create] + * [google.datastore.admin.v1.DatastoreAdmin.CreateIndex]. + * + *

Indexes with a single property cannot be created. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
+   *   CreateIndexRequest request =
+   *       CreateIndexRequest.newBuilder()
+   *           .setProjectId("projectId-894832108")
+   *           .setIndex(Index.newBuilder().build())
+   *           .build();
+   *   Index response = datastoreAdminClient.createIndexAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture createIndexAsync( + CreateIndexRequest request) { + return createIndexOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates the specified index. A newly created index's initial state is `CREATING`. On completion + * of the returned [google.longrunning.Operation][google.longrunning.Operation], the state will be + * `READY`. If the index already exists, the call will return an `ALREADY_EXISTS` status. + * + *

During index creation, the process could result in an error, in which case the index will + * move to the `ERROR` state. The process can be recovered by fixing the data that caused the + * error, removing the index with [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex], + * then re-creating the index with [create] + * [google.datastore.admin.v1.DatastoreAdmin.CreateIndex]. + * + *

Indexes with a single property cannot be created. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
+   *   CreateIndexRequest request =
+   *       CreateIndexRequest.newBuilder()
+   *           .setProjectId("projectId-894832108")
+   *           .setIndex(Index.newBuilder().build())
+   *           .build();
+   *   OperationFuture future =
+   *       datastoreAdminClient.createIndexOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Index response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + createIndexOperationCallable() { + return stub.createIndexOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Creates the specified index. A newly created index's initial state is `CREATING`. On completion + * of the returned [google.longrunning.Operation][google.longrunning.Operation], the state will be + * `READY`. If the index already exists, the call will return an `ALREADY_EXISTS` status. + * + *

During index creation, the process could result in an error, in which case the index will + * move to the `ERROR` state. The process can be recovered by fixing the data that caused the + * error, removing the index with [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex], + * then re-creating the index with [create] + * [google.datastore.admin.v1.DatastoreAdmin.CreateIndex]. + * + *

Indexes with a single property cannot be created. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
+   *   CreateIndexRequest request =
+   *       CreateIndexRequest.newBuilder()
+   *           .setProjectId("projectId-894832108")
+   *           .setIndex(Index.newBuilder().build())
+   *           .build();
+   *   ApiFuture future = datastoreAdminClient.createIndexCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable createIndexCallable() { + return stub.createIndexCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes an existing index. An index can only be deleted if it is in a `READY` or `ERROR` state. + * On successful execution of the request, the index will be in a `DELETING` + * [state][google.datastore.admin.v1.Index.State]. And on completion of the returned + * [google.longrunning.Operation][google.longrunning.Operation], the index will be removed. + * + *

During index deletion, the process could result in an error, in which case the index will + * move to the `ERROR` state. The process can be recovered by fixing the data that caused the + * error, followed by calling [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex] + * again. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
+   *   DeleteIndexRequest request =
+   *       DeleteIndexRequest.newBuilder()
+   *           .setProjectId("projectId-894832108")
+   *           .setIndexId("indexId1943291277")
+   *           .build();
+   *   Index response = datastoreAdminClient.deleteIndexAsync(request).get();
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final OperationFuture deleteIndexAsync( + DeleteIndexRequest request) { + return deleteIndexOperationCallable().futureCall(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes an existing index. An index can only be deleted if it is in a `READY` or `ERROR` state. + * On successful execution of the request, the index will be in a `DELETING` + * [state][google.datastore.admin.v1.Index.State]. And on completion of the returned + * [google.longrunning.Operation][google.longrunning.Operation], the index will be removed. + * + *

During index deletion, the process could result in an error, in which case the index will + * move to the `ERROR` state. The process can be recovered by fixing the data that caused the + * error, followed by calling [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex] + * again. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
+   *   DeleteIndexRequest request =
+   *       DeleteIndexRequest.newBuilder()
+   *           .setProjectId("projectId-894832108")
+   *           .setIndexId("indexId1943291277")
+   *           .build();
+   *   OperationFuture future =
+   *       datastoreAdminClient.deleteIndexOperationCallable().futureCall(request);
+   *   // Do something.
+   *   Index response = future.get();
+   * }
+   * }
+ */ + public final OperationCallable + deleteIndexOperationCallable() { + return stub.deleteIndexOperationCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Deletes an existing index. An index can only be deleted if it is in a `READY` or `ERROR` state. + * On successful execution of the request, the index will be in a `DELETING` + * [state][google.datastore.admin.v1.Index.State]. And on completion of the returned + * [google.longrunning.Operation][google.longrunning.Operation], the index will be removed. + * + *

During index deletion, the process could result in an error, in which case the index will + * move to the `ERROR` state. The process can be recovered by fixing the data that caused the + * error, followed by calling [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex] + * again. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
+   *   DeleteIndexRequest request =
+   *       DeleteIndexRequest.newBuilder()
+   *           .setProjectId("projectId-894832108")
+   *           .setIndexId("indexId1943291277")
+   *           .build();
+   *   ApiFuture future = datastoreAdminClient.deleteIndexCallable().futureCall(request);
+   *   // Do something.
+   *   Operation response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable deleteIndexCallable() { + return stub.deleteIndexCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets an index. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
+   *   GetIndexRequest request =
+   *       GetIndexRequest.newBuilder()
+   *           .setProjectId("projectId-894832108")
+   *           .setIndexId("indexId1943291277")
+   *           .build();
+   *   Index response = datastoreAdminClient.getIndex(request);
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final Index getIndex(GetIndexRequest request) { + return getIndexCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Gets an index. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
+   *   GetIndexRequest request =
+   *       GetIndexRequest.newBuilder()
+   *           .setProjectId("projectId-894832108")
+   *           .setIndexId("indexId1943291277")
+   *           .build();
+   *   ApiFuture future = datastoreAdminClient.getIndexCallable().futureCall(request);
+   *   // Do something.
+   *   Index response = future.get();
+   * }
+   * }
+ */ + public final UnaryCallable getIndexCallable() { + return stub.getIndexCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists the indexes that match the specified filters. Datastore uses an eventually consistent + * query to fetch the list of indexes and may occasionally return stale results. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
+   *   ListIndexesRequest request =
+   *       ListIndexesRequest.newBuilder()
+   *           .setProjectId("projectId-894832108")
+   *           .setFilter("filter-1274492040")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   for (Index element : datastoreAdminClient.listIndexes(request).iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ * + * @param request The request object containing all of the parameters for the API call. + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ListIndexesPagedResponse listIndexes(ListIndexesRequest request) { + return listIndexesPagedCallable().call(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists the indexes that match the specified filters. Datastore uses an eventually consistent + * query to fetch the list of indexes and may occasionally return stale results. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
+   *   ListIndexesRequest request =
+   *       ListIndexesRequest.newBuilder()
+   *           .setProjectId("projectId-894832108")
+   *           .setFilter("filter-1274492040")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   ApiFuture future = datastoreAdminClient.listIndexesPagedCallable().futureCall(request);
+   *   // Do something.
+   *   for (Index element : future.get().iterateAll()) {
+   *     // doThingsWith(element);
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable + listIndexesPagedCallable() { + return stub.listIndexesPagedCallable(); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD. + /** + * Lists the indexes that match the specified filters. Datastore uses an eventually consistent + * query to fetch the list of indexes and may occasionally return stale results. + * + *

Sample code: + * + *

{@code
+   * // This snippet has been automatically generated and should be regarded as a code template only.
+   * // It will require modifications to work:
+   * // - It may require correct/in-range values for request initialization.
+   * // - It may require specifying regional endpoints when creating the service client as shown in
+   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
+   *   ListIndexesRequest request =
+   *       ListIndexesRequest.newBuilder()
+   *           .setProjectId("projectId-894832108")
+   *           .setFilter("filter-1274492040")
+   *           .setPageSize(883849137)
+   *           .setPageToken("pageToken873572522")
+   *           .build();
+   *   while (true) {
+   *     ListIndexesResponse response = datastoreAdminClient.listIndexesCallable().call(request);
+   *     for (Index element : response.getIndexesList()) {
+   *       // doThingsWith(element);
+   *     }
+   *     String nextPageToken = response.getNextPageToken();
+   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
+   *       request = request.toBuilder().setPageToken(nextPageToken).build();
+   *     } else {
+   *       break;
+   *     }
+   *   }
+   * }
+   * }
+ */ + public final UnaryCallable listIndexesCallable() { + return stub.listIndexesCallable(); + } + + @Override + public final void close() { + stub.close(); + } + + @Override + public void shutdown() { + stub.shutdown(); + } + + @Override + public boolean isShutdown() { + return stub.isShutdown(); + } + + @Override + public boolean isTerminated() { + return stub.isTerminated(); + } + + @Override + public void shutdownNow() { + stub.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return stub.awaitTermination(duration, unit); + } + + public static class ListIndexesPagedResponse + extends AbstractPagedListResponse< + ListIndexesRequest, + ListIndexesResponse, + Index, + ListIndexesPage, + ListIndexesFixedSizeCollection> { + + public static ApiFuture createAsync( + PageContext context, + ApiFuture futureResponse) { + ApiFuture futurePage = + ListIndexesPage.createEmptyPage().createPageAsync(context, futureResponse); + return ApiFutures.transform( + futurePage, input -> new ListIndexesPagedResponse(input), MoreExecutors.directExecutor()); + } + + private ListIndexesPagedResponse(ListIndexesPage page) { + super(page, ListIndexesFixedSizeCollection.createEmptyCollection()); + } + } + + public static class ListIndexesPage + extends AbstractPage { + + private ListIndexesPage( + PageContext context, + ListIndexesResponse response) { + super(context, response); + } + + private static ListIndexesPage createEmptyPage() { + return new ListIndexesPage(null, null); + } + + @Override + protected ListIndexesPage createPage( + PageContext context, + ListIndexesResponse response) { + return new ListIndexesPage(context, response); + } + + @Override + public ApiFuture createPageAsync( + PageContext context, + ApiFuture futureResponse) { + return super.createPageAsync(context, futureResponse); + } + } + + public static class ListIndexesFixedSizeCollection + extends AbstractFixedSizeCollection< + ListIndexesRequest, + ListIndexesResponse, + Index, + ListIndexesPage, + ListIndexesFixedSizeCollection> { + + private ListIndexesFixedSizeCollection(List pages, int collectionSize) { + super(pages, collectionSize); + } + + private static ListIndexesFixedSizeCollection createEmptyCollection() { + return new ListIndexesFixedSizeCollection(null, 0); + } + + @Override + protected ListIndexesFixedSizeCollection createCollection( + List pages, int collectionSize) { + return new ListIndexesFixedSizeCollection(pages, collectionSize); + } + } +} diff --git a/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/DatastoreAdminSettings.java b/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/DatastoreAdminSettings.java new file mode 100644 index 000000000..440c10c30 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/DatastoreAdminSettings.java @@ -0,0 +1,324 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.cloud.datastore.admin.v1; + +import static com.google.cloud.datastore.admin.v1.DatastoreAdminClient.ListIndexesPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +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.datastore.admin.v1.stub.DatastoreAdminStubSettings; +import com.google.datastore.admin.v1.CreateIndexRequest; +import com.google.datastore.admin.v1.DeleteIndexRequest; +import com.google.datastore.admin.v1.ExportEntitiesMetadata; +import com.google.datastore.admin.v1.ExportEntitiesRequest; +import com.google.datastore.admin.v1.ExportEntitiesResponse; +import com.google.datastore.admin.v1.GetIndexRequest; +import com.google.datastore.admin.v1.ImportEntitiesMetadata; +import com.google.datastore.admin.v1.ImportEntitiesRequest; +import com.google.datastore.admin.v1.Index; +import com.google.datastore.admin.v1.IndexOperationMetadata; +import com.google.datastore.admin.v1.ListIndexesRequest; +import com.google.datastore.admin.v1.ListIndexesResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.Empty; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link DatastoreAdminClient}. + * + *

The default instance has everything set to sensible defaults: + * + *

    + *
  • The default service address (datastore.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
+ * + *

The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

For example, to set the total timeout of getIndex to 30 seconds: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * DatastoreAdminSettings.Builder datastoreAdminSettingsBuilder =
+ *     DatastoreAdminSettings.newBuilder();
+ * datastoreAdminSettingsBuilder
+ *     .getIndexSettings()
+ *     .setRetrySettings(
+ *         datastoreAdminSettingsBuilder
+ *             .getIndexSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * DatastoreAdminSettings datastoreAdminSettings = datastoreAdminSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class DatastoreAdminSettings extends ClientSettings { + + /** Returns the object with the settings used for calls to exportEntities. */ + public UnaryCallSettings exportEntitiesSettings() { + return ((DatastoreAdminStubSettings) getStubSettings()).exportEntitiesSettings(); + } + + /** Returns the object with the settings used for calls to exportEntities. */ + public OperationCallSettings< + ExportEntitiesRequest, ExportEntitiesResponse, ExportEntitiesMetadata> + exportEntitiesOperationSettings() { + return ((DatastoreAdminStubSettings) getStubSettings()).exportEntitiesOperationSettings(); + } + + /** Returns the object with the settings used for calls to importEntities. */ + public UnaryCallSettings importEntitiesSettings() { + return ((DatastoreAdminStubSettings) getStubSettings()).importEntitiesSettings(); + } + + /** Returns the object with the settings used for calls to importEntities. */ + public OperationCallSettings + importEntitiesOperationSettings() { + return ((DatastoreAdminStubSettings) getStubSettings()).importEntitiesOperationSettings(); + } + + /** Returns the object with the settings used for calls to createIndex. */ + public UnaryCallSettings createIndexSettings() { + return ((DatastoreAdminStubSettings) getStubSettings()).createIndexSettings(); + } + + /** Returns the object with the settings used for calls to createIndex. */ + public OperationCallSettings + createIndexOperationSettings() { + return ((DatastoreAdminStubSettings) getStubSettings()).createIndexOperationSettings(); + } + + /** Returns the object with the settings used for calls to deleteIndex. */ + public UnaryCallSettings deleteIndexSettings() { + return ((DatastoreAdminStubSettings) getStubSettings()).deleteIndexSettings(); + } + + /** Returns the object with the settings used for calls to deleteIndex. */ + public OperationCallSettings + deleteIndexOperationSettings() { + return ((DatastoreAdminStubSettings) getStubSettings()).deleteIndexOperationSettings(); + } + + /** Returns the object with the settings used for calls to getIndex. */ + public UnaryCallSettings getIndexSettings() { + return ((DatastoreAdminStubSettings) getStubSettings()).getIndexSettings(); + } + + /** Returns the object with the settings used for calls to listIndexes. */ + public PagedCallSettings + listIndexesSettings() { + return ((DatastoreAdminStubSettings) getStubSettings()).listIndexesSettings(); + } + + public static final DatastoreAdminSettings create(DatastoreAdminStubSettings stub) + throws IOException { + return new DatastoreAdminSettings.Builder(stub.toBuilder()).build(); + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return DatastoreAdminStubSettings.defaultExecutorProviderBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return DatastoreAdminStubSettings.getDefaultEndpoint(); + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return DatastoreAdminStubSettings.getDefaultServiceScopes(); + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return DatastoreAdminStubSettings.defaultCredentialsProviderBuilder(); + } + + /** Returns a builder for the default gRPC ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return DatastoreAdminStubSettings.defaultGrpcTransportProviderBuilder(); + } + + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return DatastoreAdminStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return DatastoreAdminStubSettings.defaultTransportChannelProvider(); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return DatastoreAdminStubSettings.defaultApiClientHeaderProviderBuilder(); + } + + /** Returns a new gRPC builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new REST builder for this class. */ + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected DatastoreAdminSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + } + + /** Builder for DatastoreAdminSettings. */ + public static class Builder extends ClientSettings.Builder { + + protected Builder() throws IOException { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(DatastoreAdminStubSettings.newBuilder(clientContext)); + } + + protected Builder(DatastoreAdminSettings settings) { + super(settings.getStubSettings().toBuilder()); + } + + protected Builder(DatastoreAdminStubSettings.Builder stubSettings) { + super(stubSettings); + } + + private static Builder createDefault() { + return new Builder(DatastoreAdminStubSettings.newBuilder()); + } + + private static Builder createHttpJsonDefault() { + return new Builder(DatastoreAdminStubSettings.newHttpJsonBuilder()); + } + + public DatastoreAdminStubSettings.Builder getStubSettingsBuilder() { + return ((DatastoreAdminStubSettings.Builder) getStubSettings()); + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods( + getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); + return this; + } + + /** Returns the builder for the settings used for calls to exportEntities. */ + public UnaryCallSettings.Builder exportEntitiesSettings() { + return getStubSettingsBuilder().exportEntitiesSettings(); + } + + /** Returns the builder for the settings used for calls to exportEntities. */ + public OperationCallSettings.Builder< + ExportEntitiesRequest, ExportEntitiesResponse, ExportEntitiesMetadata> + exportEntitiesOperationSettings() { + return getStubSettingsBuilder().exportEntitiesOperationSettings(); + } + + /** Returns the builder for the settings used for calls to importEntities. */ + public UnaryCallSettings.Builder importEntitiesSettings() { + return getStubSettingsBuilder().importEntitiesSettings(); + } + + /** Returns the builder for the settings used for calls to importEntities. */ + public OperationCallSettings.Builder + importEntitiesOperationSettings() { + return getStubSettingsBuilder().importEntitiesOperationSettings(); + } + + /** Returns the builder for the settings used for calls to createIndex. */ + public UnaryCallSettings.Builder createIndexSettings() { + return getStubSettingsBuilder().createIndexSettings(); + } + + /** Returns the builder for the settings used for calls to createIndex. */ + public OperationCallSettings.Builder + createIndexOperationSettings() { + return getStubSettingsBuilder().createIndexOperationSettings(); + } + + /** Returns the builder for the settings used for calls to deleteIndex. */ + public UnaryCallSettings.Builder deleteIndexSettings() { + return getStubSettingsBuilder().deleteIndexSettings(); + } + + /** Returns the builder for the settings used for calls to deleteIndex. */ + public OperationCallSettings.Builder + deleteIndexOperationSettings() { + return getStubSettingsBuilder().deleteIndexOperationSettings(); + } + + /** Returns the builder for the settings used for calls to getIndex. */ + public UnaryCallSettings.Builder getIndexSettings() { + return getStubSettingsBuilder().getIndexSettings(); + } + + /** Returns the builder for the settings used for calls to listIndexes. */ + public PagedCallSettings.Builder< + ListIndexesRequest, ListIndexesResponse, ListIndexesPagedResponse> + listIndexesSettings() { + return getStubSettingsBuilder().listIndexesSettings(); + } + + @Override + public DatastoreAdminSettings build() throws IOException { + return new DatastoreAdminSettings(this); + } + } +} diff --git a/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/gapic_metadata.json new file mode 100644 index 000000000..205eb5dcd --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/gapic_metadata.json @@ -0,0 +1,36 @@ +{ + "schema": "1.0", + "comment": "This file maps proto services/RPCs to the corresponding library clients/methods", + "language": "java", + "protoPackage": "google.datastore.admin.v1", + "libraryPackage": "com.google.cloud.datastore.admin.v1", + "services": { + "DatastoreAdmin": { + "clients": { + "grpc": { + "libraryClient": "DatastoreAdminClient", + "rpcs": { + "CreateIndex": { + "methods": ["createIndexAsync", "createIndexOperationCallable", "createIndexCallable"] + }, + "DeleteIndex": { + "methods": ["deleteIndexAsync", "deleteIndexOperationCallable", "deleteIndexCallable"] + }, + "ExportEntities": { + "methods": ["exportEntitiesAsync", "exportEntitiesAsync", "exportEntitiesOperationCallable", "exportEntitiesCallable"] + }, + "GetIndex": { + "methods": ["getIndex", "getIndexCallable"] + }, + "ImportEntities": { + "methods": ["importEntitiesAsync", "importEntitiesAsync", "importEntitiesOperationCallable", "importEntitiesCallable"] + }, + "ListIndexes": { + "methods": ["listIndexes", "listIndexesPagedCallable", "listIndexesCallable"] + } + } + } + } + } + } +} \ No newline at end of file diff --git a/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/package-info.java b/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/package-info.java new file mode 100644 index 000000000..bf70b678a --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/package-info.java @@ -0,0 +1,84 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * A client to Cloud Datastore API + * + *

The interfaces provided are listed below, along with usage samples. + * + *

======================= DatastoreAdminClient ======================= + * + *

Service Description: Google Cloud Datastore Admin API + * + *

The Datastore Admin API provides several admin services for Cloud Datastore. + * + *

Concepts: Project, namespace, kind, and entity as defined in the Google Cloud Datastore API. + * + *

Operation: An Operation represents work being performed in the background. + * + *

EntityFilter: Allows specifying a subset of entities in a project. This is specified as a + * combination of kinds and namespaces (either or both of which may be all). + * + *

Export/Import Service: + * + *

- The Export/Import service provides the ability to copy all or a subset of entities to/from + * Google Cloud Storage. - Exported data may be imported into Cloud Datastore for any Google Cloud + * Platform project. It is not restricted to the export source project. It is possible to export + * from one project and then import into another. - Exported data can also be loaded into Google + * BigQuery for analysis. - Exports and imports are performed asynchronously. An Operation resource + * is created for each export/import. The state (including any errors encountered) of the + * export/import may be queried via the Operation resource. + * + *

Index Service: + * + *

- The index service manages Cloud Datastore composite indexes. - Index creation and deletion + * are performed asynchronously. An Operation resource is created for each such asynchronous + * operation. The state of the operation (including any errors encountered) may be queried via the + * Operation resource. + * + *

Operation Service: + * + *

- The Operations collection provides a record of actions performed for the specified project + * (including any operations in progress). Operations are not created directly but through calls on + * other collections or resources. - An operation that is not yet done may be cancelled. The request + * to cancel is asynchronous and the operation may continue to run for some time after the request + * to cancel is made. - An operation that is done may be deleted so that it is no longer listed as + * part of the Operation collection. - ListOperations returns all pending operations, but not + * completed operations. - Operations are created by service DatastoreAdmin, but are accessed via + * service google.longrunning.Operations. + * + *

Sample for DatastoreAdminClient: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
+ *   GetIndexRequest request =
+ *       GetIndexRequest.newBuilder()
+ *           .setProjectId("projectId-894832108")
+ *           .setIndexId("indexId1943291277")
+ *           .build();
+ *   Index response = datastoreAdminClient.getIndex(request);
+ * }
+ * }
+ */ +@Generated("by gapic-generator-java") +package com.google.cloud.datastore.admin.v1; + +import javax.annotation.Generated; diff --git a/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/DatastoreAdminStub.java b/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/DatastoreAdminStub.java new file mode 100644 index 000000000..90c3c45f9 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/DatastoreAdminStub.java @@ -0,0 +1,108 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.cloud.datastore.admin.v1.stub; + +import static com.google.cloud.datastore.admin.v1.DatastoreAdminClient.ListIndexesPagedResponse; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.datastore.admin.v1.CreateIndexRequest; +import com.google.datastore.admin.v1.DeleteIndexRequest; +import com.google.datastore.admin.v1.ExportEntitiesMetadata; +import com.google.datastore.admin.v1.ExportEntitiesRequest; +import com.google.datastore.admin.v1.ExportEntitiesResponse; +import com.google.datastore.admin.v1.GetIndexRequest; +import com.google.datastore.admin.v1.ImportEntitiesMetadata; +import com.google.datastore.admin.v1.ImportEntitiesRequest; +import com.google.datastore.admin.v1.Index; +import com.google.datastore.admin.v1.IndexOperationMetadata; +import com.google.datastore.admin.v1.ListIndexesRequest; +import com.google.datastore.admin.v1.ListIndexesResponse; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.OperationsStub; +import com.google.protobuf.Empty; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Base stub class for the DatastoreAdmin service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public abstract class DatastoreAdminStub implements BackgroundResource { + + public OperationsStub getOperationsStub() { + return null; + } + + public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() { + return null; + } + + public OperationCallable + exportEntitiesOperationCallable() { + throw new UnsupportedOperationException("Not implemented: exportEntitiesOperationCallable()"); + } + + public UnaryCallable exportEntitiesCallable() { + throw new UnsupportedOperationException("Not implemented: exportEntitiesCallable()"); + } + + public OperationCallable + importEntitiesOperationCallable() { + throw new UnsupportedOperationException("Not implemented: importEntitiesOperationCallable()"); + } + + public UnaryCallable importEntitiesCallable() { + throw new UnsupportedOperationException("Not implemented: importEntitiesCallable()"); + } + + public OperationCallable + createIndexOperationCallable() { + throw new UnsupportedOperationException("Not implemented: createIndexOperationCallable()"); + } + + public UnaryCallable createIndexCallable() { + throw new UnsupportedOperationException("Not implemented: createIndexCallable()"); + } + + public OperationCallable + deleteIndexOperationCallable() { + throw new UnsupportedOperationException("Not implemented: deleteIndexOperationCallable()"); + } + + public UnaryCallable deleteIndexCallable() { + throw new UnsupportedOperationException("Not implemented: deleteIndexCallable()"); + } + + public UnaryCallable getIndexCallable() { + throw new UnsupportedOperationException("Not implemented: getIndexCallable()"); + } + + public UnaryCallable listIndexesPagedCallable() { + throw new UnsupportedOperationException("Not implemented: listIndexesPagedCallable()"); + } + + public UnaryCallable listIndexesCallable() { + throw new UnsupportedOperationException("Not implemented: listIndexesCallable()"); + } + + @Override + public abstract void close(); +} diff --git a/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/DatastoreAdminStubSettings.java b/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/DatastoreAdminStubSettings.java new file mode 100644 index 000000000..fc346d38c --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/DatastoreAdminStubSettings.java @@ -0,0 +1,715 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.cloud.datastore.admin.v1.stub; + +import static com.google.cloud.datastore.admin.v1.DatastoreAdminClient.ListIndexesPagedResponse; + +import com.google.api.core.ApiFunction; +import com.google.api.core.ApiFuture; +import com.google.api.core.BetaApi; +import com.google.api.gax.core.GaxProperties; +import com.google.api.gax.core.GoogleCredentialsProvider; +import com.google.api.gax.core.InstantiatingExecutorProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.GrpcTransportChannel; +import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.grpc.ProtoOperationTransformers; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.HttpJsonTransportChannel; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; +import com.google.api.gax.longrunning.OperationSnapshot; +import com.google.api.gax.longrunning.OperationTimedPollAlgorithm; +import com.google.api.gax.retrying.RetrySettings; +import com.google.api.gax.rpc.ApiCallContext; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.PageContext; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.PagedListDescriptor; +import com.google.api.gax.rpc.PagedListResponseFactory; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.StubSettings; +import com.google.api.gax.rpc.TransportChannelProvider; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.common.collect.ImmutableList; +import com.google.common.collect.ImmutableMap; +import com.google.common.collect.ImmutableSet; +import com.google.common.collect.Lists; +import com.google.datastore.admin.v1.CreateIndexRequest; +import com.google.datastore.admin.v1.DeleteIndexRequest; +import com.google.datastore.admin.v1.ExportEntitiesMetadata; +import com.google.datastore.admin.v1.ExportEntitiesRequest; +import com.google.datastore.admin.v1.ExportEntitiesResponse; +import com.google.datastore.admin.v1.GetIndexRequest; +import com.google.datastore.admin.v1.ImportEntitiesMetadata; +import com.google.datastore.admin.v1.ImportEntitiesRequest; +import com.google.datastore.admin.v1.Index; +import com.google.datastore.admin.v1.IndexOperationMetadata; +import com.google.datastore.admin.v1.ListIndexesRequest; +import com.google.datastore.admin.v1.ListIndexesResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.Empty; +import java.io.IOException; +import java.util.List; +import javax.annotation.Generated; +import org.threeten.bp.Duration; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * Settings class to configure an instance of {@link DatastoreAdminStub}. + * + *

The default instance has everything set to sensible defaults: + * + *

    + *
  • The default service address (datastore.googleapis.com) and default port (443) are used. + *
  • Credentials are acquired automatically through Application Default Credentials. + *
  • Retries are configured for idempotent methods but not for non-idempotent methods. + *
+ * + *

The builder of this class is recursive, so contained classes are themselves builders. When + * build() is called, the tree of builders is called to create the complete settings object. + * + *

For example, to set the total timeout of getIndex to 30 seconds: + * + *

{@code
+ * // This snippet has been automatically generated and should be regarded as a code template only.
+ * // It will require modifications to work:
+ * // - It may require correct/in-range values for request initialization.
+ * // - It may require specifying regional endpoints when creating the service client as shown in
+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
+ * DatastoreAdminStubSettings.Builder datastoreAdminSettingsBuilder =
+ *     DatastoreAdminStubSettings.newBuilder();
+ * datastoreAdminSettingsBuilder
+ *     .getIndexSettings()
+ *     .setRetrySettings(
+ *         datastoreAdminSettingsBuilder
+ *             .getIndexSettings()
+ *             .getRetrySettings()
+ *             .toBuilder()
+ *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .build());
+ * DatastoreAdminStubSettings datastoreAdminSettings = datastoreAdminSettingsBuilder.build();
+ * }
+ */ +@Generated("by gapic-generator-java") +public class DatastoreAdminStubSettings extends StubSettings { + /** The default scopes of the service. */ + private static final ImmutableList DEFAULT_SERVICE_SCOPES = + ImmutableList.builder() + .add("https://www.googleapis.com/auth/cloud-platform") + .add("https://www.googleapis.com/auth/datastore") + .build(); + + private final UnaryCallSettings exportEntitiesSettings; + private final OperationCallSettings< + ExportEntitiesRequest, ExportEntitiesResponse, ExportEntitiesMetadata> + exportEntitiesOperationSettings; + private final UnaryCallSettings importEntitiesSettings; + private final OperationCallSettings + importEntitiesOperationSettings; + private final UnaryCallSettings createIndexSettings; + private final OperationCallSettings + createIndexOperationSettings; + private final UnaryCallSettings deleteIndexSettings; + private final OperationCallSettings + deleteIndexOperationSettings; + private final UnaryCallSettings getIndexSettings; + private final PagedCallSettings + listIndexesSettings; + + private static final PagedListDescriptor + LIST_INDEXES_PAGE_STR_DESC = + new PagedListDescriptor() { + @Override + public String emptyToken() { + return ""; + } + + @Override + public ListIndexesRequest injectToken(ListIndexesRequest payload, String token) { + return ListIndexesRequest.newBuilder(payload).setPageToken(token).build(); + } + + @Override + public ListIndexesRequest injectPageSize(ListIndexesRequest payload, int pageSize) { + return ListIndexesRequest.newBuilder(payload).setPageSize(pageSize).build(); + } + + @Override + public Integer extractPageSize(ListIndexesRequest payload) { + return payload.getPageSize(); + } + + @Override + public String extractNextToken(ListIndexesResponse payload) { + return payload.getNextPageToken(); + } + + @Override + public Iterable extractResources(ListIndexesResponse payload) { + return payload.getIndexesList() == null + ? ImmutableList.of() + : payload.getIndexesList(); + } + }; + + private static final PagedListResponseFactory< + ListIndexesRequest, ListIndexesResponse, ListIndexesPagedResponse> + LIST_INDEXES_PAGE_STR_FACT = + new PagedListResponseFactory< + ListIndexesRequest, ListIndexesResponse, ListIndexesPagedResponse>() { + @Override + public ApiFuture getFuturePagedResponse( + UnaryCallable callable, + ListIndexesRequest request, + ApiCallContext context, + ApiFuture futureResponse) { + PageContext pageContext = + PageContext.create(callable, LIST_INDEXES_PAGE_STR_DESC, request, context); + return ListIndexesPagedResponse.createAsync(pageContext, futureResponse); + } + }; + + /** Returns the object with the settings used for calls to exportEntities. */ + public UnaryCallSettings exportEntitiesSettings() { + return exportEntitiesSettings; + } + + /** Returns the object with the settings used for calls to exportEntities. */ + public OperationCallSettings< + ExportEntitiesRequest, ExportEntitiesResponse, ExportEntitiesMetadata> + exportEntitiesOperationSettings() { + return exportEntitiesOperationSettings; + } + + /** Returns the object with the settings used for calls to importEntities. */ + public UnaryCallSettings importEntitiesSettings() { + return importEntitiesSettings; + } + + /** Returns the object with the settings used for calls to importEntities. */ + public OperationCallSettings + importEntitiesOperationSettings() { + return importEntitiesOperationSettings; + } + + /** Returns the object with the settings used for calls to createIndex. */ + public UnaryCallSettings createIndexSettings() { + return createIndexSettings; + } + + /** Returns the object with the settings used for calls to createIndex. */ + public OperationCallSettings + createIndexOperationSettings() { + return createIndexOperationSettings; + } + + /** Returns the object with the settings used for calls to deleteIndex. */ + public UnaryCallSettings deleteIndexSettings() { + return deleteIndexSettings; + } + + /** Returns the object with the settings used for calls to deleteIndex. */ + public OperationCallSettings + deleteIndexOperationSettings() { + return deleteIndexOperationSettings; + } + + /** Returns the object with the settings used for calls to getIndex. */ + public UnaryCallSettings getIndexSettings() { + return getIndexSettings; + } + + /** Returns the object with the settings used for calls to listIndexes. */ + public PagedCallSettings + listIndexesSettings() { + return listIndexesSettings; + } + + public DatastoreAdminStub createStub() throws IOException { + if (getTransportChannelProvider() + .getTransportName() + .equals(GrpcTransportChannel.getGrpcTransportName())) { + return GrpcDatastoreAdminStub.create(this); + } + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonDatastoreAdminStub.create(this); + } + throw new UnsupportedOperationException( + String.format( + "Transport not supported: %s", getTransportChannelProvider().getTransportName())); + } + + /** Returns the default service name. */ + @Override + public String getServiceName() { + return "datastore"; + } + + /** Returns a builder for the default ExecutorProvider for this service. */ + public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { + return InstantiatingExecutorProvider.newBuilder(); + } + + /** Returns the default service endpoint. */ + public static String getDefaultEndpoint() { + return "datastore.googleapis.com:443"; + } + + /** Returns the default mTLS service endpoint. */ + public static String getDefaultMtlsEndpoint() { + return "datastore.mtls.googleapis.com:443"; + } + + /** Returns the default service scopes. */ + public static List getDefaultServiceScopes() { + return DEFAULT_SERVICE_SCOPES; + } + + /** Returns a builder for the default credentials for this service. */ + public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { + return GoogleCredentialsProvider.newBuilder() + .setScopesToApply(DEFAULT_SERVICE_SCOPES) + .setUseJwtAccessWithScope(true); + } + + /** Returns a builder for the default gRPC ChannelProvider for this service. */ + public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { + return InstantiatingGrpcChannelProvider.newBuilder() + .setMaxInboundMessageSize(Integer.MAX_VALUE); + } + + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return InstantiatingHttpJsonChannelProvider.newBuilder(); + } + + public static TransportChannelProvider defaultTransportChannelProvider() { + return defaultGrpcTransportProviderBuilder().build(); + } + + public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(DatastoreAdminStubSettings.class)) + .setTransportToken( + GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(DatastoreAdminStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return DatastoreAdminStubSettings.defaultGrpcApiClientHeaderProviderBuilder(); + } + + /** Returns a new gRPC builder for this class. */ + public static Builder newBuilder() { + return Builder.createDefault(); + } + + /** Returns a new REST builder for this class. */ + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + + /** Returns a new builder for this class. */ + public static Builder newBuilder(ClientContext clientContext) { + return new Builder(clientContext); + } + + /** Returns a builder containing all the values of this settings class. */ + public Builder toBuilder() { + return new Builder(this); + } + + protected DatastoreAdminStubSettings(Builder settingsBuilder) throws IOException { + super(settingsBuilder); + + exportEntitiesSettings = settingsBuilder.exportEntitiesSettings().build(); + exportEntitiesOperationSettings = settingsBuilder.exportEntitiesOperationSettings().build(); + importEntitiesSettings = settingsBuilder.importEntitiesSettings().build(); + importEntitiesOperationSettings = settingsBuilder.importEntitiesOperationSettings().build(); + createIndexSettings = settingsBuilder.createIndexSettings().build(); + createIndexOperationSettings = settingsBuilder.createIndexOperationSettings().build(); + deleteIndexSettings = settingsBuilder.deleteIndexSettings().build(); + deleteIndexOperationSettings = settingsBuilder.deleteIndexOperationSettings().build(); + getIndexSettings = settingsBuilder.getIndexSettings().build(); + listIndexesSettings = settingsBuilder.listIndexesSettings().build(); + } + + /** Builder for DatastoreAdminStubSettings. */ + public static class Builder extends StubSettings.Builder { + private final ImmutableList> unaryMethodSettingsBuilders; + private final UnaryCallSettings.Builder + exportEntitiesSettings; + private final OperationCallSettings.Builder< + ExportEntitiesRequest, ExportEntitiesResponse, ExportEntitiesMetadata> + exportEntitiesOperationSettings; + private final UnaryCallSettings.Builder + importEntitiesSettings; + private final OperationCallSettings.Builder< + ImportEntitiesRequest, Empty, ImportEntitiesMetadata> + importEntitiesOperationSettings; + private final UnaryCallSettings.Builder createIndexSettings; + private final OperationCallSettings.Builder + createIndexOperationSettings; + private final UnaryCallSettings.Builder deleteIndexSettings; + private final OperationCallSettings.Builder + deleteIndexOperationSettings; + private final UnaryCallSettings.Builder getIndexSettings; + private final PagedCallSettings.Builder< + ListIndexesRequest, ListIndexesResponse, ListIndexesPagedResponse> + listIndexesSettings; + private static final ImmutableMap> + RETRYABLE_CODE_DEFINITIONS; + + static { + ImmutableMap.Builder> definitions = + ImmutableMap.builder(); + definitions.put( + "no_retry_0_codes", ImmutableSet.copyOf(Lists.newArrayList())); + definitions.put( + "retry_policy_1_codes", + ImmutableSet.copyOf( + Lists.newArrayList( + StatusCode.Code.UNAVAILABLE, StatusCode.Code.DEADLINE_EXCEEDED))); + RETRYABLE_CODE_DEFINITIONS = definitions.build(); + } + + private static final ImmutableMap RETRY_PARAM_DEFINITIONS; + + static { + ImmutableMap.Builder definitions = ImmutableMap.builder(); + RetrySettings settings = null; + settings = + RetrySettings.newBuilder() + .setInitialRpcTimeout(Duration.ofMillis(60000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(60000L)) + .setTotalTimeout(Duration.ofMillis(60000L)) + .build(); + definitions.put("no_retry_0_params", settings); + settings = + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(100L)) + .setRetryDelayMultiplier(1.3) + .setMaxRetryDelay(Duration.ofMillis(60000L)) + .setInitialRpcTimeout(Duration.ofMillis(60000L)) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ofMillis(60000L)) + .setTotalTimeout(Duration.ofMillis(60000L)) + .build(); + definitions.put("retry_policy_1_params", settings); + RETRY_PARAM_DEFINITIONS = definitions.build(); + } + + protected Builder() { + this(((ClientContext) null)); + } + + protected Builder(ClientContext clientContext) { + super(clientContext); + + exportEntitiesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + exportEntitiesOperationSettings = OperationCallSettings.newBuilder(); + importEntitiesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + importEntitiesOperationSettings = OperationCallSettings.newBuilder(); + createIndexSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + createIndexOperationSettings = OperationCallSettings.newBuilder(); + deleteIndexSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + deleteIndexOperationSettings = OperationCallSettings.newBuilder(); + getIndexSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); + listIndexesSettings = PagedCallSettings.newBuilder(LIST_INDEXES_PAGE_STR_FACT); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + exportEntitiesSettings, + importEntitiesSettings, + createIndexSettings, + deleteIndexSettings, + getIndexSettings, + listIndexesSettings); + initDefaults(this); + } + + protected Builder(DatastoreAdminStubSettings settings) { + super(settings); + + exportEntitiesSettings = settings.exportEntitiesSettings.toBuilder(); + exportEntitiesOperationSettings = settings.exportEntitiesOperationSettings.toBuilder(); + importEntitiesSettings = settings.importEntitiesSettings.toBuilder(); + importEntitiesOperationSettings = settings.importEntitiesOperationSettings.toBuilder(); + createIndexSettings = settings.createIndexSettings.toBuilder(); + createIndexOperationSettings = settings.createIndexOperationSettings.toBuilder(); + deleteIndexSettings = settings.deleteIndexSettings.toBuilder(); + deleteIndexOperationSettings = settings.deleteIndexOperationSettings.toBuilder(); + getIndexSettings = settings.getIndexSettings.toBuilder(); + listIndexesSettings = settings.listIndexesSettings.toBuilder(); + + unaryMethodSettingsBuilders = + ImmutableList.>of( + exportEntitiesSettings, + importEntitiesSettings, + createIndexSettings, + deleteIndexSettings, + getIndexSettings, + listIndexesSettings); + } + + private static Builder createDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultTransportChannelProvider()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder createHttpJsonDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + + private static Builder initDefaults(Builder builder) { + builder + .exportEntitiesSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); + + builder + .importEntitiesSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); + + builder + .createIndexSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); + + builder + .deleteIndexSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); + + builder + .getIndexSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params")); + + builder + .listIndexesSettings() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params")); + + builder + .exportEntitiesOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(ExportEntitiesResponse.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(ExportEntitiesMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + + builder + .importEntitiesOperationSettings() + .setInitialCallSettings( + UnaryCallSettings + .newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Empty.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(ImportEntitiesMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + + builder + .createIndexOperationSettings() + .setInitialCallSettings( + UnaryCallSettings.newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Index.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(IndexOperationMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + + builder + .deleteIndexOperationSettings() + .setInitialCallSettings( + UnaryCallSettings.newUnaryCallSettingsBuilder() + .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) + .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")) + .build()) + .setResponseTransformer( + ProtoOperationTransformers.ResponseTransformer.create(Index.class)) + .setMetadataTransformer( + ProtoOperationTransformers.MetadataTransformer.create(IndexOperationMetadata.class)) + .setPollingAlgorithm( + OperationTimedPollAlgorithm.create( + RetrySettings.newBuilder() + .setInitialRetryDelay(Duration.ofMillis(5000L)) + .setRetryDelayMultiplier(1.5) + .setMaxRetryDelay(Duration.ofMillis(45000L)) + .setInitialRpcTimeout(Duration.ZERO) + .setRpcTimeoutMultiplier(1.0) + .setMaxRpcTimeout(Duration.ZERO) + .setTotalTimeout(Duration.ofMillis(300000L)) + .build())); + + return builder; + } + + /** + * Applies the given settings updater function to all of the unary API methods in this service. + * + *

Note: This method does not support applying settings to streaming methods. + */ + public Builder applyToAllUnaryMethods( + ApiFunction, Void> settingsUpdater) { + super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); + return this; + } + + public ImmutableList> unaryMethodSettingsBuilders() { + return unaryMethodSettingsBuilders; + } + + /** Returns the builder for the settings used for calls to exportEntities. */ + public UnaryCallSettings.Builder exportEntitiesSettings() { + return exportEntitiesSettings; + } + + /** Returns the builder for the settings used for calls to exportEntities. */ + public OperationCallSettings.Builder< + ExportEntitiesRequest, ExportEntitiesResponse, ExportEntitiesMetadata> + exportEntitiesOperationSettings() { + return exportEntitiesOperationSettings; + } + + /** Returns the builder for the settings used for calls to importEntities. */ + public UnaryCallSettings.Builder importEntitiesSettings() { + return importEntitiesSettings; + } + + /** Returns the builder for the settings used for calls to importEntities. */ + public OperationCallSettings.Builder + importEntitiesOperationSettings() { + return importEntitiesOperationSettings; + } + + /** Returns the builder for the settings used for calls to createIndex. */ + public UnaryCallSettings.Builder createIndexSettings() { + return createIndexSettings; + } + + /** Returns the builder for the settings used for calls to createIndex. */ + public OperationCallSettings.Builder + createIndexOperationSettings() { + return createIndexOperationSettings; + } + + /** Returns the builder for the settings used for calls to deleteIndex. */ + public UnaryCallSettings.Builder deleteIndexSettings() { + return deleteIndexSettings; + } + + /** Returns the builder for the settings used for calls to deleteIndex. */ + public OperationCallSettings.Builder + deleteIndexOperationSettings() { + return deleteIndexOperationSettings; + } + + /** Returns the builder for the settings used for calls to getIndex. */ + public UnaryCallSettings.Builder getIndexSettings() { + return getIndexSettings; + } + + /** Returns the builder for the settings used for calls to listIndexes. */ + public PagedCallSettings.Builder< + ListIndexesRequest, ListIndexesResponse, ListIndexesPagedResponse> + listIndexesSettings() { + return listIndexesSettings; + } + + @Override + public DatastoreAdminStubSettings build() throws IOException { + return new DatastoreAdminStubSettings(this); + } + } +} diff --git a/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/GrpcDatastoreAdminCallableFactory.java b/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/GrpcDatastoreAdminCallableFactory.java new file mode 100644 index 000000000..9fa4e901b --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/GrpcDatastoreAdminCallableFactory.java @@ -0,0 +1,113 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.cloud.datastore.admin.v1.stub; + +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcCallableFactory; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.BidiStreamingCallable; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.ClientStreamingCallable; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.StreamingCallSettings; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.OperationsStub; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC callable factory implementation for the DatastoreAdmin service API. + * + *

This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +public class GrpcDatastoreAdminCallableFactory implements GrpcStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + GrpcCallSettings grpcCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createUnaryCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + GrpcCallSettings grpcCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createPagedCallable(grpcCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + GrpcCallSettings grpcCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBatchingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + OperationCallable createOperationCallable( + GrpcCallSettings grpcCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + return GrpcCallableFactory.createOperationCallable( + grpcCallSettings, callSettings, clientContext, operationsStub); + } + + @Override + public + BidiStreamingCallable createBidiStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createBidiStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + GrpcCallSettings grpcCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createServerStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } + + @Override + public + ClientStreamingCallable createClientStreamingCallable( + GrpcCallSettings grpcCallSettings, + StreamingCallSettings callSettings, + ClientContext clientContext) { + return GrpcCallableFactory.createClientStreamingCallable( + grpcCallSettings, callSettings, clientContext); + } +} diff --git a/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/GrpcDatastoreAdminStub.java b/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/GrpcDatastoreAdminStub.java new file mode 100644 index 000000000..bddd46e97 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/GrpcDatastoreAdminStub.java @@ -0,0 +1,386 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.cloud.datastore.admin.v1.stub; + +import static com.google.cloud.datastore.admin.v1.DatastoreAdminClient.ListIndexesPagedResponse; + +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.grpc.GrpcCallSettings; +import com.google.api.gax.grpc.GrpcStubCallableFactory; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.RequestParamsBuilder; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.datastore.admin.v1.CreateIndexRequest; +import com.google.datastore.admin.v1.DeleteIndexRequest; +import com.google.datastore.admin.v1.ExportEntitiesMetadata; +import com.google.datastore.admin.v1.ExportEntitiesRequest; +import com.google.datastore.admin.v1.ExportEntitiesResponse; +import com.google.datastore.admin.v1.GetIndexRequest; +import com.google.datastore.admin.v1.ImportEntitiesMetadata; +import com.google.datastore.admin.v1.ImportEntitiesRequest; +import com.google.datastore.admin.v1.Index; +import com.google.datastore.admin.v1.IndexOperationMetadata; +import com.google.datastore.admin.v1.ListIndexesRequest; +import com.google.datastore.admin.v1.ListIndexesResponse; +import com.google.longrunning.Operation; +import com.google.longrunning.stub.GrpcOperationsStub; +import com.google.protobuf.Empty; +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; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * gRPC stub implementation for the DatastoreAdmin service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public class GrpcDatastoreAdminStub extends DatastoreAdminStub { + private static final MethodDescriptor + exportEntitiesMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.datastore.admin.v1.DatastoreAdmin/ExportEntities") + .setRequestMarshaller( + ProtoUtils.marshaller(ExportEntitiesRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + importEntitiesMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.datastore.admin.v1.DatastoreAdmin/ImportEntities") + .setRequestMarshaller( + ProtoUtils.marshaller(ImportEntitiesRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor createIndexMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.datastore.admin.v1.DatastoreAdmin/CreateIndex") + .setRequestMarshaller(ProtoUtils.marshaller(CreateIndexRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor deleteIndexMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.datastore.admin.v1.DatastoreAdmin/DeleteIndex") + .setRequestMarshaller(ProtoUtils.marshaller(DeleteIndexRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) + .build(); + + private static final MethodDescriptor getIndexMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.datastore.admin.v1.DatastoreAdmin/GetIndex") + .setRequestMarshaller(ProtoUtils.marshaller(GetIndexRequest.getDefaultInstance())) + .setResponseMarshaller(ProtoUtils.marshaller(Index.getDefaultInstance())) + .build(); + + private static final MethodDescriptor + listIndexesMethodDescriptor = + MethodDescriptor.newBuilder() + .setType(MethodDescriptor.MethodType.UNARY) + .setFullMethodName("google.datastore.admin.v1.DatastoreAdmin/ListIndexes") + .setRequestMarshaller(ProtoUtils.marshaller(ListIndexesRequest.getDefaultInstance())) + .setResponseMarshaller( + ProtoUtils.marshaller(ListIndexesResponse.getDefaultInstance())) + .build(); + + private final UnaryCallable exportEntitiesCallable; + private final OperationCallable< + ExportEntitiesRequest, ExportEntitiesResponse, ExportEntitiesMetadata> + exportEntitiesOperationCallable; + private final UnaryCallable importEntitiesCallable; + private final OperationCallable + importEntitiesOperationCallable; + private final UnaryCallable createIndexCallable; + private final OperationCallable + createIndexOperationCallable; + private final UnaryCallable deleteIndexCallable; + private final OperationCallable + deleteIndexOperationCallable; + private final UnaryCallable getIndexCallable; + private final UnaryCallable listIndexesCallable; + private final UnaryCallable + listIndexesPagedCallable; + + private final BackgroundResource backgroundResources; + private final GrpcOperationsStub operationsStub; + private final GrpcStubCallableFactory callableFactory; + + public static final GrpcDatastoreAdminStub create(DatastoreAdminStubSettings settings) + throws IOException { + return new GrpcDatastoreAdminStub(settings, ClientContext.create(settings)); + } + + public static final GrpcDatastoreAdminStub create(ClientContext clientContext) + throws IOException { + return new GrpcDatastoreAdminStub( + DatastoreAdminStubSettings.newBuilder().build(), clientContext); + } + + public static final GrpcDatastoreAdminStub create( + ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException { + return new GrpcDatastoreAdminStub( + DatastoreAdminStubSettings.newBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of GrpcDatastoreAdminStub, using the given settings. This is protected + * so that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected GrpcDatastoreAdminStub(DatastoreAdminStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new GrpcDatastoreAdminCallableFactory()); + } + + /** + * Constructs an instance of GrpcDatastoreAdminStub, using the given settings. This is protected + * so that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected GrpcDatastoreAdminStub( + DatastoreAdminStubSettings settings, + ClientContext clientContext, + GrpcStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory); + + GrpcCallSettings exportEntitiesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(exportEntitiesMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("project_id", String.valueOf(request.getProjectId())); + return builder.build(); + }) + .build(); + GrpcCallSettings importEntitiesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(importEntitiesMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("project_id", String.valueOf(request.getProjectId())); + return builder.build(); + }) + .build(); + GrpcCallSettings createIndexTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(createIndexMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("project_id", String.valueOf(request.getProjectId())); + return builder.build(); + }) + .build(); + GrpcCallSettings deleteIndexTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(deleteIndexMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("index_id", String.valueOf(request.getIndexId())); + builder.add("project_id", String.valueOf(request.getProjectId())); + return builder.build(); + }) + .build(); + GrpcCallSettings getIndexTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(getIndexMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("index_id", String.valueOf(request.getIndexId())); + builder.add("project_id", String.valueOf(request.getProjectId())); + return builder.build(); + }) + .build(); + GrpcCallSettings listIndexesTransportSettings = + GrpcCallSettings.newBuilder() + .setMethodDescriptor(listIndexesMethodDescriptor) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("project_id", String.valueOf(request.getProjectId())); + return builder.build(); + }) + .build(); + + this.exportEntitiesCallable = + callableFactory.createUnaryCallable( + exportEntitiesTransportSettings, settings.exportEntitiesSettings(), clientContext); + this.exportEntitiesOperationCallable = + callableFactory.createOperationCallable( + exportEntitiesTransportSettings, + settings.exportEntitiesOperationSettings(), + clientContext, + operationsStub); + this.importEntitiesCallable = + callableFactory.createUnaryCallable( + importEntitiesTransportSettings, settings.importEntitiesSettings(), clientContext); + this.importEntitiesOperationCallable = + callableFactory.createOperationCallable( + importEntitiesTransportSettings, + settings.importEntitiesOperationSettings(), + clientContext, + operationsStub); + this.createIndexCallable = + callableFactory.createUnaryCallable( + createIndexTransportSettings, settings.createIndexSettings(), clientContext); + this.createIndexOperationCallable = + callableFactory.createOperationCallable( + createIndexTransportSettings, + settings.createIndexOperationSettings(), + clientContext, + operationsStub); + this.deleteIndexCallable = + callableFactory.createUnaryCallable( + deleteIndexTransportSettings, settings.deleteIndexSettings(), clientContext); + this.deleteIndexOperationCallable = + callableFactory.createOperationCallable( + deleteIndexTransportSettings, + settings.deleteIndexOperationSettings(), + clientContext, + operationsStub); + this.getIndexCallable = + callableFactory.createUnaryCallable( + getIndexTransportSettings, settings.getIndexSettings(), clientContext); + this.listIndexesCallable = + callableFactory.createUnaryCallable( + listIndexesTransportSettings, settings.listIndexesSettings(), clientContext); + this.listIndexesPagedCallable = + callableFactory.createPagedCallable( + listIndexesTransportSettings, settings.listIndexesSettings(), clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + public GrpcOperationsStub getOperationsStub() { + return operationsStub; + } + + @Override + public UnaryCallable exportEntitiesCallable() { + return exportEntitiesCallable; + } + + @Override + public OperationCallable + exportEntitiesOperationCallable() { + return exportEntitiesOperationCallable; + } + + @Override + public UnaryCallable importEntitiesCallable() { + return importEntitiesCallable; + } + + @Override + public OperationCallable + importEntitiesOperationCallable() { + return importEntitiesOperationCallable; + } + + @Override + public UnaryCallable createIndexCallable() { + return createIndexCallable; + } + + @Override + public OperationCallable + createIndexOperationCallable() { + return createIndexOperationCallable; + } + + @Override + public UnaryCallable deleteIndexCallable() { + return deleteIndexCallable; + } + + @Override + public OperationCallable + deleteIndexOperationCallable() { + return deleteIndexOperationCallable; + } + + @Override + public UnaryCallable getIndexCallable() { + return getIndexCallable; + } + + @Override + public UnaryCallable listIndexesCallable() { + return listIndexesCallable; + } + + @Override + public UnaryCallable listIndexesPagedCallable() { + return listIndexesPagedCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/HttpJsonDatastoreAdminCallableFactory.java b/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/HttpJsonDatastoreAdminCallableFactory.java new file mode 100644 index 000000000..0f992e4c2 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/HttpJsonDatastoreAdminCallableFactory.java @@ -0,0 +1,101 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.cloud.datastore.admin.v1.stub; + +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonCallableFactory; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.longrunning.stub.OperationsStub; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST callable factory implementation for the DatastoreAdmin service API. + * + *

This class is for advanced usage. + */ +@Generated("by gapic-generator-java") +public class HttpJsonDatastoreAdminCallableFactory + implements HttpJsonStubCallableFactory { + + @Override + public UnaryCallable createUnaryCallable( + HttpJsonCallSettings httpJsonCallSettings, + UnaryCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createUnaryCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + UnaryCallable createPagedCallable( + HttpJsonCallSettings httpJsonCallSettings, + PagedCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createPagedCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public UnaryCallable createBatchingCallable( + HttpJsonCallSettings httpJsonCallSettings, + BatchingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createBatchingCallable( + httpJsonCallSettings, callSettings, clientContext); + } + + @Override + public + OperationCallable createOperationCallable( + HttpJsonCallSettings httpJsonCallSettings, + OperationCallSettings callSettings, + ClientContext clientContext, + OperationsStub operationsStub) { + UnaryCallable innerCallable = + HttpJsonCallableFactory.createBaseUnaryCallable( + httpJsonCallSettings, callSettings.getInitialCallSettings(), clientContext); + HttpJsonOperationSnapshotCallable initialCallable = + new HttpJsonOperationSnapshotCallable( + innerCallable, + httpJsonCallSettings.getMethodDescriptor().getOperationSnapshotFactory()); + return HttpJsonCallableFactory.createOperationCallable( + callSettings, clientContext, operationsStub.longRunningClient(), initialCallable); + } + + @Override + public + ServerStreamingCallable createServerStreamingCallable( + HttpJsonCallSettings httpJsonCallSettings, + ServerStreamingCallSettings callSettings, + ClientContext clientContext) { + return HttpJsonCallableFactory.createServerStreamingCallable( + httpJsonCallSettings, callSettings, clientContext); + } +} diff --git a/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/HttpJsonDatastoreAdminStub.java b/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/HttpJsonDatastoreAdminStub.java new file mode 100644 index 000000000..0d215ada4 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/HttpJsonDatastoreAdminStub.java @@ -0,0 +1,620 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.cloud.datastore.admin.v1.stub; + +import static com.google.cloud.datastore.admin.v1.DatastoreAdminClient.ListIndexesPagedResponse; + +import com.google.api.HttpRule; +import com.google.api.core.InternalApi; +import com.google.api.gax.core.BackgroundResource; +import com.google.api.gax.core.BackgroundResourceAggregation; +import com.google.api.gax.httpjson.ApiMethodDescriptor; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshot; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.ProtoMessageRequestFormatter; +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.RequestParamsBuilder; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.common.collect.ImmutableMap; +import com.google.datastore.admin.v1.CreateIndexRequest; +import com.google.datastore.admin.v1.DeleteIndexRequest; +import com.google.datastore.admin.v1.ExportEntitiesMetadata; +import com.google.datastore.admin.v1.ExportEntitiesRequest; +import com.google.datastore.admin.v1.ExportEntitiesResponse; +import com.google.datastore.admin.v1.GetIndexRequest; +import com.google.datastore.admin.v1.ImportEntitiesMetadata; +import com.google.datastore.admin.v1.ImportEntitiesRequest; +import com.google.datastore.admin.v1.Index; +import com.google.datastore.admin.v1.IndexOperationMetadata; +import com.google.datastore.admin.v1.ListIndexesRequest; +import com.google.datastore.admin.v1.ListIndexesResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.Empty; +import com.google.protobuf.TypeRegistry; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.TimeUnit; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST stub implementation for the DatastoreAdmin service API. + * + *

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +public class HttpJsonDatastoreAdminStub extends DatastoreAdminStub { + private static final TypeRegistry typeRegistry = + TypeRegistry.newBuilder() + .add(Empty.getDescriptor()) + .add(ExportEntitiesResponse.getDescriptor()) + .add(IndexOperationMetadata.getDescriptor()) + .add(Index.getDescriptor()) + .add(ExportEntitiesMetadata.getDescriptor()) + .add(ImportEntitiesMetadata.getDescriptor()) + .build(); + + private static final ApiMethodDescriptor + exportEntitiesMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.datastore.admin.v1.DatastoreAdmin/ExportEntities") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/projects/{projectId}:export", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "projectId", request.getProjectId()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearProjectId().build(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (ExportEntitiesRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + importEntitiesMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.datastore.admin.v1.DatastoreAdmin/ImportEntities") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/projects/{projectId}:import", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "projectId", request.getProjectId()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearProjectId().build(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (ImportEntitiesRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + createIndexMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.datastore.admin.v1.DatastoreAdmin/CreateIndex") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/projects/{projectId}/indexes", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "projectId", request.getProjectId()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("index", request.getIndex(), true)) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (CreateIndexRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor + deleteIndexMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.datastore.admin.v1.DatastoreAdmin/DeleteIndex") + .setHttpMethod("DELETE") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/projects/{projectId}/indexes/{indexId}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "indexId", request.getIndexId()); + serializer.putPathParam(fields, "projectId", request.getProjectId()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Operation.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .setOperationSnapshotFactory( + (DeleteIndexRequest request, Operation response) -> + HttpJsonOperationSnapshot.create(response)) + .build(); + + private static final ApiMethodDescriptor getIndexMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.datastore.admin.v1.DatastoreAdmin/GetIndex") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/projects/{projectId}/indexes/{indexId}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "indexId", request.getIndexId()); + serializer.putPathParam(fields, "projectId", request.getProjectId()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Index.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + listIndexesMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.datastore.admin.v1.DatastoreAdmin/ListIndexes") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/projects/{projectId}/indexes", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "projectId", request.getProjectId()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "filter", request.getFilter()); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListIndexesResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private final UnaryCallable exportEntitiesCallable; + private final OperationCallable< + ExportEntitiesRequest, ExportEntitiesResponse, ExportEntitiesMetadata> + exportEntitiesOperationCallable; + private final UnaryCallable importEntitiesCallable; + private final OperationCallable + importEntitiesOperationCallable; + private final UnaryCallable createIndexCallable; + private final OperationCallable + createIndexOperationCallable; + private final UnaryCallable deleteIndexCallable; + private final OperationCallable + deleteIndexOperationCallable; + private final UnaryCallable getIndexCallable; + private final UnaryCallable listIndexesCallable; + private final UnaryCallable + listIndexesPagedCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonOperationsStub httpJsonOperationsStub; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonDatastoreAdminStub create(DatastoreAdminStubSettings settings) + throws IOException { + return new HttpJsonDatastoreAdminStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonDatastoreAdminStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonDatastoreAdminStub( + DatastoreAdminStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonDatastoreAdminStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonDatastoreAdminStub( + DatastoreAdminStubSettings.newHttpJsonBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of HttpJsonDatastoreAdminStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected HttpJsonDatastoreAdminStub( + DatastoreAdminStubSettings settings, ClientContext clientContext) throws IOException { + this(settings, clientContext, new HttpJsonDatastoreAdminCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonDatastoreAdminStub, using the given settings. This is + * protected so that it is easy to make a subclass, but otherwise, the static factory methods + * should be preferred. + */ + protected HttpJsonDatastoreAdminStub( + DatastoreAdminStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + this.httpJsonOperationsStub = + HttpJsonOperationsStub.create( + clientContext, + callableFactory, + typeRegistry, + ImmutableMap.builder() + .put( + "google.longrunning.Operations.CancelOperation", + HttpRule.newBuilder() + .setPost("/v1/{name=projects/*/operations/*}:cancel") + .build()) + .put( + "google.longrunning.Operations.DeleteOperation", + HttpRule.newBuilder().setDelete("/v1/{name=projects/*/operations/*}").build()) + .put( + "google.longrunning.Operations.GetOperation", + HttpRule.newBuilder().setGet("/v1/{name=projects/*/operations/*}").build()) + .put( + "google.longrunning.Operations.ListOperations", + HttpRule.newBuilder().setGet("/v1/{name=projects/*}/operations").build()) + .build()); + + HttpJsonCallSettings exportEntitiesTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(exportEntitiesMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("project_id", String.valueOf(request.getProjectId())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings importEntitiesTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(importEntitiesMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("project_id", String.valueOf(request.getProjectId())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings createIndexTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createIndexMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("project_id", String.valueOf(request.getProjectId())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings deleteIndexTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(deleteIndexMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("index_id", String.valueOf(request.getIndexId())); + builder.add("project_id", String.valueOf(request.getProjectId())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings getIndexTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getIndexMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("index_id", String.valueOf(request.getIndexId())); + builder.add("project_id", String.valueOf(request.getProjectId())); + return builder.build(); + }) + .build(); + HttpJsonCallSettings listIndexesTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listIndexesMethodDescriptor) + .setTypeRegistry(typeRegistry) + .setParamsExtractor( + request -> { + RequestParamsBuilder builder = RequestParamsBuilder.create(); + builder.add("project_id", String.valueOf(request.getProjectId())); + return builder.build(); + }) + .build(); + + this.exportEntitiesCallable = + callableFactory.createUnaryCallable( + exportEntitiesTransportSettings, settings.exportEntitiesSettings(), clientContext); + this.exportEntitiesOperationCallable = + callableFactory.createOperationCallable( + exportEntitiesTransportSettings, + settings.exportEntitiesOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.importEntitiesCallable = + callableFactory.createUnaryCallable( + importEntitiesTransportSettings, settings.importEntitiesSettings(), clientContext); + this.importEntitiesOperationCallable = + callableFactory.createOperationCallable( + importEntitiesTransportSettings, + settings.importEntitiesOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.createIndexCallable = + callableFactory.createUnaryCallable( + createIndexTransportSettings, settings.createIndexSettings(), clientContext); + this.createIndexOperationCallable = + callableFactory.createOperationCallable( + createIndexTransportSettings, + settings.createIndexOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.deleteIndexCallable = + callableFactory.createUnaryCallable( + deleteIndexTransportSettings, settings.deleteIndexSettings(), clientContext); + this.deleteIndexOperationCallable = + callableFactory.createOperationCallable( + deleteIndexTransportSettings, + settings.deleteIndexOperationSettings(), + clientContext, + httpJsonOperationsStub); + this.getIndexCallable = + callableFactory.createUnaryCallable( + getIndexTransportSettings, settings.getIndexSettings(), clientContext); + this.listIndexesCallable = + callableFactory.createUnaryCallable( + listIndexesTransportSettings, settings.listIndexesSettings(), clientContext); + this.listIndexesPagedCallable = + callableFactory.createPagedCallable( + listIndexesTransportSettings, settings.listIndexesSettings(), clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(exportEntitiesMethodDescriptor); + methodDescriptors.add(importEntitiesMethodDescriptor); + methodDescriptors.add(createIndexMethodDescriptor); + methodDescriptors.add(deleteIndexMethodDescriptor); + methodDescriptors.add(getIndexMethodDescriptor); + methodDescriptors.add(listIndexesMethodDescriptor); + return methodDescriptors; + } + + public HttpJsonOperationsStub getHttpJsonOperationsStub() { + return httpJsonOperationsStub; + } + + @Override + public UnaryCallable exportEntitiesCallable() { + return exportEntitiesCallable; + } + + @Override + public OperationCallable + exportEntitiesOperationCallable() { + return exportEntitiesOperationCallable; + } + + @Override + public UnaryCallable importEntitiesCallable() { + return importEntitiesCallable; + } + + @Override + public OperationCallable + importEntitiesOperationCallable() { + return importEntitiesOperationCallable; + } + + @Override + public UnaryCallable createIndexCallable() { + return createIndexCallable; + } + + @Override + public OperationCallable + createIndexOperationCallable() { + return createIndexOperationCallable; + } + + @Override + public UnaryCallable deleteIndexCallable() { + return deleteIndexCallable; + } + + @Override + public OperationCallable + deleteIndexOperationCallable() { + return deleteIndexOperationCallable; + } + + @Override + public UnaryCallable getIndexCallable() { + return getIndexCallable; + } + + @Override + public UnaryCallable listIndexesCallable() { + return listIndexesCallable; + } + + @Override + public UnaryCallable listIndexesPagedCallable() { + return listIndexesPagedCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/owl-bot-staging/v1/google-cloud-datastore/src/main/resources/META-INF/native-image/com.google.cloud.datastore.admin.v1/reflect-config.json b/owl-bot-staging/v1/google-cloud-datastore/src/main/resources/META-INF/native-image/com.google.cloud.datastore.admin.v1/reflect-config.json new file mode 100644 index 000000000..5ed5e01e5 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-datastore/src/main/resources/META-INF/native-image/com.google.cloud.datastore.admin.v1/reflect-config.json @@ -0,0 +1,1793 @@ +[ + { + "name": "com.google.api.ClientLibraryDestination", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibraryOrganization", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibrarySettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ClientLibrarySettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CommonLanguageSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CommonLanguageSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CppSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CppSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CustomHttpPattern", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.CustomHttpPattern$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.DotnetSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.DotnetSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.FieldBehavior", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.GoSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.GoSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Http", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Http$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.HttpRule", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.HttpRule$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.JavaSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.JavaSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.LaunchStage", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$LongRunning", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.MethodSettings$LongRunning$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.NodeSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.NodeSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PhpSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PhpSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Publishing", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.Publishing$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$History", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceDescriptor$Style", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceReference", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.ResourceReference$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.RubySettings", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.RubySettings$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.CommonMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.CommonMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.CommonMetadata$State", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.CreateIndexRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.CreateIndexRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.DeleteIndexRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.DeleteIndexRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.EntityFilter", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.EntityFilter$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.ExportEntitiesMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.ExportEntitiesMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.ExportEntitiesRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.ExportEntitiesRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.ExportEntitiesResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.ExportEntitiesResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.GetIndexRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.GetIndexRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.ImportEntitiesMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.ImportEntitiesMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.ImportEntitiesRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.ImportEntitiesRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.Index", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.Index$AncestorMode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.Index$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.Index$Direction", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.Index$IndexedProperty", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.Index$IndexedProperty$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.Index$State", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.IndexOperationMetadata", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.IndexOperationMetadata$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.ListIndexesRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.ListIndexesRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.ListIndexesResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.ListIndexesResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.MigrationProgressEvent", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.MigrationProgressEvent$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.MigrationProgressEvent$ConcurrencyMode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.MigrationProgressEvent$PrepareStepDetails", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.MigrationProgressEvent$PrepareStepDetails$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.MigrationProgressEvent$RedirectWritesStepDetails", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.MigrationProgressEvent$RedirectWritesStepDetails$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.MigrationState", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.MigrationStateEvent", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.MigrationStateEvent$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.MigrationStep", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.OperationType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.Progress", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.datastore.admin.v1.Progress$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.CancelOperationRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.CancelOperationRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.DeleteOperationRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.DeleteOperationRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.GetOperationRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.GetOperationRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.ListOperationsRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.ListOperationsRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.ListOperationsResponse", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.ListOperationsResponse$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.Operation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.Operation$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.OperationInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.OperationInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.WaitOperationRequest", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.longrunning.WaitOperationRequest$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Any", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Any$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ExtensionRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ExtensionRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ReservedRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ReservedRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$Edition", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$EnumReservedRange", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$EnumReservedRange$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$EnumValueOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Declaration", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Declaration$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$VerificationState", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$EnumType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$FieldPresence", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$JsonFormat", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$MessageEncoding", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$RepeatedFieldEncoding", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSet$Utf8Validation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$FeatureSetEditionDefault", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$FeatureSetEditionDefault$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Label", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$CType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$EditionDefault", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$EditionDefault$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$JSType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$OptionRetention", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FieldOptions$OptionTargetType", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorSet", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileDescriptorSet$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$FileOptions$OptimizeMode", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation$Semantic", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MessageOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MessageOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$MethodOptions$IdempotencyLevel", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$OneofOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceDescriptorProto", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceDescriptorProto$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceOptions", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$ServiceOptions$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Location", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Location$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$NamePart", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$NamePart$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Duration", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Duration$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Empty", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Empty$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Timestamp", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.protobuf.Timestamp$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.rpc.Status", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.rpc.Status$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + } +] \ No newline at end of file diff --git a/owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/DatastoreAdminClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/DatastoreAdminClientHttpJsonTest.java new file mode 100644 index 000000000..eff9e6b3a --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/DatastoreAdminClientHttpJsonTest.java @@ -0,0 +1,434 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.cloud.datastore.admin.v1; + +import static com.google.cloud.datastore.admin.v1.DatastoreAdminClient.ListIndexesPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.cloud.datastore.admin.v1.stub.HttpJsonDatastoreAdminStub; +import com.google.common.collect.Lists; +import com.google.datastore.admin.v1.CreateIndexRequest; +import com.google.datastore.admin.v1.DeleteIndexRequest; +import com.google.datastore.admin.v1.EntityFilter; +import com.google.datastore.admin.v1.ExportEntitiesResponse; +import com.google.datastore.admin.v1.GetIndexRequest; +import com.google.datastore.admin.v1.Index; +import com.google.datastore.admin.v1.ListIndexesRequest; +import com.google.datastore.admin.v1.ListIndexesResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.Any; +import com.google.protobuf.Empty; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class DatastoreAdminClientHttpJsonTest { + private static MockHttpService mockService; + private static DatastoreAdminClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonDatastoreAdminStub.getMethodDescriptors(), + DatastoreAdminSettings.getDefaultEndpoint()); + DatastoreAdminSettings settings = + DatastoreAdminSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + DatastoreAdminSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = DatastoreAdminClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void exportEntitiesTest() throws Exception { + ExportEntitiesResponse expectedResponse = + ExportEntitiesResponse.newBuilder().setOutputUrl("outputUrl-2119300946").build(); + Operation resultOperation = + Operation.newBuilder() + .setName("exportEntitiesTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String projectId = "projectId-1530"; + Map labels = new HashMap<>(); + EntityFilter entityFilter = EntityFilter.newBuilder().build(); + String outputUrlPrefix = "outputUrlPrefix-1132598048"; + + ExportEntitiesResponse actualResponse = + client.exportEntitiesAsync(projectId, labels, entityFilter, outputUrlPrefix).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void exportEntitiesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String projectId = "projectId-1530"; + Map labels = new HashMap<>(); + EntityFilter entityFilter = EntityFilter.newBuilder().build(); + String outputUrlPrefix = "outputUrlPrefix-1132598048"; + client.exportEntitiesAsync(projectId, labels, entityFilter, outputUrlPrefix).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void importEntitiesTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("importEntitiesTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + String projectId = "projectId-1530"; + Map labels = new HashMap<>(); + String inputUrl = "inputUrl470706501"; + EntityFilter entityFilter = EntityFilter.newBuilder().build(); + + client.importEntitiesAsync(projectId, labels, inputUrl, entityFilter).get(); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void importEntitiesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String projectId = "projectId-1530"; + Map labels = new HashMap<>(); + String inputUrl = "inputUrl470706501"; + EntityFilter entityFilter = EntityFilter.newBuilder().build(); + client.importEntitiesAsync(projectId, labels, inputUrl, entityFilter).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void createIndexTest() throws Exception { + Index expectedResponse = + Index.newBuilder() + .setProjectId("projectId-894832108") + .setIndexId("indexId1943291277") + .setKind("kind3292052") + .addAllProperties(new ArrayList()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createIndexTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + CreateIndexRequest request = + CreateIndexRequest.newBuilder() + .setProjectId("projectId-1530") + .setIndex(Index.newBuilder().build()) + .build(); + + Index actualResponse = client.createIndexAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createIndexExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + CreateIndexRequest request = + CreateIndexRequest.newBuilder() + .setProjectId("projectId-1530") + .setIndex(Index.newBuilder().build()) + .build(); + client.createIndexAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void deleteIndexTest() throws Exception { + Index expectedResponse = + Index.newBuilder() + .setProjectId("projectId-894832108") + .setIndexId("indexId1943291277") + .setKind("kind3292052") + .addAllProperties(new ArrayList()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deleteIndexTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockService.addResponse(resultOperation); + + DeleteIndexRequest request = + DeleteIndexRequest.newBuilder() + .setProjectId("projectId-1530") + .setIndexId("indexId-7485") + .build(); + + Index actualResponse = client.deleteIndexAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void deleteIndexExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + DeleteIndexRequest request = + DeleteIndexRequest.newBuilder() + .setProjectId("projectId-1530") + .setIndexId("indexId-7485") + .build(); + client.deleteIndexAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + } + } + + @Test + public void getIndexTest() throws Exception { + Index expectedResponse = + Index.newBuilder() + .setProjectId("projectId-894832108") + .setIndexId("indexId1943291277") + .setKind("kind3292052") + .addAllProperties(new ArrayList()) + .build(); + mockService.addResponse(expectedResponse); + + GetIndexRequest request = + GetIndexRequest.newBuilder() + .setProjectId("projectId-1530") + .setIndexId("indexId-7485") + .build(); + + Index actualResponse = client.getIndex(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getIndexExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + GetIndexRequest request = + GetIndexRequest.newBuilder() + .setProjectId("projectId-1530") + .setIndexId("indexId-7485") + .build(); + client.getIndex(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listIndexesTest() throws Exception { + Index responsesElement = Index.newBuilder().build(); + ListIndexesResponse expectedResponse = + ListIndexesResponse.newBuilder() + .setNextPageToken("") + .addAllIndexes(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + ListIndexesRequest request = + ListIndexesRequest.newBuilder() + .setProjectId("projectId-1530") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + + ListIndexesPagedResponse pagedListResponse = client.listIndexes(request); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getIndexesList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listIndexesExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ListIndexesRequest request = + ListIndexesRequest.newBuilder() + .setProjectId("projectId-1530") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + client.listIndexes(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/DatastoreAdminClientTest.java b/owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/DatastoreAdminClientTest.java new file mode 100644 index 000000000..0632151c6 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/DatastoreAdminClientTest.java @@ -0,0 +1,428 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.cloud.datastore.admin.v1; + +import static com.google.cloud.datastore.admin.v1.DatastoreAdminClient.ListIndexesPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.grpc.GaxGrpcProperties; +import com.google.api.gax.grpc.testing.LocalChannelProvider; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.api.gax.grpc.testing.MockServiceHelper; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.common.collect.Lists; +import com.google.datastore.admin.v1.CreateIndexRequest; +import com.google.datastore.admin.v1.DeleteIndexRequest; +import com.google.datastore.admin.v1.EntityFilter; +import com.google.datastore.admin.v1.ExportEntitiesRequest; +import com.google.datastore.admin.v1.ExportEntitiesResponse; +import com.google.datastore.admin.v1.GetIndexRequest; +import com.google.datastore.admin.v1.ImportEntitiesRequest; +import com.google.datastore.admin.v1.Index; +import com.google.datastore.admin.v1.ListIndexesRequest; +import com.google.datastore.admin.v1.ListIndexesResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.AbstractMessage; +import com.google.protobuf.Any; +import com.google.protobuf.Empty; +import io.grpc.StatusRuntimeException; +import java.io.IOException; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.UUID; +import java.util.concurrent.ExecutionException; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class DatastoreAdminClientTest { + private static MockDatastoreAdmin mockDatastoreAdmin; + private static MockServiceHelper mockServiceHelper; + private LocalChannelProvider channelProvider; + private DatastoreAdminClient client; + + @BeforeClass + public static void startStaticServer() { + mockDatastoreAdmin = new MockDatastoreAdmin(); + mockServiceHelper = + new MockServiceHelper( + UUID.randomUUID().toString(), Arrays.asList(mockDatastoreAdmin)); + mockServiceHelper.start(); + } + + @AfterClass + public static void stopServer() { + mockServiceHelper.stop(); + } + + @Before + public void setUp() throws IOException { + mockServiceHelper.reset(); + channelProvider = mockServiceHelper.createChannelProvider(); + DatastoreAdminSettings settings = + DatastoreAdminSettings.newBuilder() + .setTransportChannelProvider(channelProvider) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = DatastoreAdminClient.create(settings); + } + + @After + public void tearDown() throws Exception { + client.close(); + } + + @Test + public void exportEntitiesTest() throws Exception { + ExportEntitiesResponse expectedResponse = + ExportEntitiesResponse.newBuilder().setOutputUrl("outputUrl-2119300946").build(); + Operation resultOperation = + Operation.newBuilder() + .setName("exportEntitiesTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatastoreAdmin.addResponse(resultOperation); + + String projectId = "projectId-894832108"; + Map labels = new HashMap<>(); + EntityFilter entityFilter = EntityFilter.newBuilder().build(); + String outputUrlPrefix = "outputUrlPrefix-1132598048"; + + ExportEntitiesResponse actualResponse = + client.exportEntitiesAsync(projectId, labels, entityFilter, outputUrlPrefix).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatastoreAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ExportEntitiesRequest actualRequest = ((ExportEntitiesRequest) actualRequests.get(0)); + + Assert.assertEquals(projectId, actualRequest.getProjectId()); + Assert.assertEquals(labels, actualRequest.getLabelsMap()); + Assert.assertEquals(entityFilter, actualRequest.getEntityFilter()); + Assert.assertEquals(outputUrlPrefix, actualRequest.getOutputUrlPrefix()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void exportEntitiesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatastoreAdmin.addException(exception); + + try { + String projectId = "projectId-894832108"; + Map labels = new HashMap<>(); + EntityFilter entityFilter = EntityFilter.newBuilder().build(); + String outputUrlPrefix = "outputUrlPrefix-1132598048"; + client.exportEntitiesAsync(projectId, labels, entityFilter, outputUrlPrefix).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void importEntitiesTest() throws Exception { + Empty expectedResponse = Empty.newBuilder().build(); + Operation resultOperation = + Operation.newBuilder() + .setName("importEntitiesTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatastoreAdmin.addResponse(resultOperation); + + String projectId = "projectId-894832108"; + Map labels = new HashMap<>(); + String inputUrl = "inputUrl470706501"; + EntityFilter entityFilter = EntityFilter.newBuilder().build(); + + client.importEntitiesAsync(projectId, labels, inputUrl, entityFilter).get(); + + List actualRequests = mockDatastoreAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ImportEntitiesRequest actualRequest = ((ImportEntitiesRequest) actualRequests.get(0)); + + Assert.assertEquals(projectId, actualRequest.getProjectId()); + Assert.assertEquals(labels, actualRequest.getLabelsMap()); + Assert.assertEquals(inputUrl, actualRequest.getInputUrl()); + Assert.assertEquals(entityFilter, actualRequest.getEntityFilter()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void importEntitiesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatastoreAdmin.addException(exception); + + try { + String projectId = "projectId-894832108"; + Map labels = new HashMap<>(); + String inputUrl = "inputUrl470706501"; + EntityFilter entityFilter = EntityFilter.newBuilder().build(); + client.importEntitiesAsync(projectId, labels, inputUrl, entityFilter).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void createIndexTest() throws Exception { + Index expectedResponse = + Index.newBuilder() + .setProjectId("projectId-894832108") + .setIndexId("indexId1943291277") + .setKind("kind3292052") + .addAllProperties(new ArrayList()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("createIndexTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatastoreAdmin.addResponse(resultOperation); + + CreateIndexRequest request = + CreateIndexRequest.newBuilder() + .setProjectId("projectId-894832108") + .setIndex(Index.newBuilder().build()) + .build(); + + Index actualResponse = client.createIndexAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatastoreAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + CreateIndexRequest actualRequest = ((CreateIndexRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getProjectId(), actualRequest.getProjectId()); + Assert.assertEquals(request.getIndex(), actualRequest.getIndex()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void createIndexExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatastoreAdmin.addException(exception); + + try { + CreateIndexRequest request = + CreateIndexRequest.newBuilder() + .setProjectId("projectId-894832108") + .setIndex(Index.newBuilder().build()) + .build(); + client.createIndexAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void deleteIndexTest() throws Exception { + Index expectedResponse = + Index.newBuilder() + .setProjectId("projectId-894832108") + .setIndexId("indexId1943291277") + .setKind("kind3292052") + .addAllProperties(new ArrayList()) + .build(); + Operation resultOperation = + Operation.newBuilder() + .setName("deleteIndexTest") + .setDone(true) + .setResponse(Any.pack(expectedResponse)) + .build(); + mockDatastoreAdmin.addResponse(resultOperation); + + DeleteIndexRequest request = + DeleteIndexRequest.newBuilder() + .setProjectId("projectId-894832108") + .setIndexId("indexId1943291277") + .build(); + + Index actualResponse = client.deleteIndexAsync(request).get(); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatastoreAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + DeleteIndexRequest actualRequest = ((DeleteIndexRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getProjectId(), actualRequest.getProjectId()); + Assert.assertEquals(request.getIndexId(), actualRequest.getIndexId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void deleteIndexExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatastoreAdmin.addException(exception); + + try { + DeleteIndexRequest request = + DeleteIndexRequest.newBuilder() + .setProjectId("projectId-894832108") + .setIndexId("indexId1943291277") + .build(); + client.deleteIndexAsync(request).get(); + Assert.fail("No exception raised"); + } catch (ExecutionException e) { + Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); + InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); + Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); + } + } + + @Test + public void getIndexTest() throws Exception { + Index expectedResponse = + Index.newBuilder() + .setProjectId("projectId-894832108") + .setIndexId("indexId1943291277") + .setKind("kind3292052") + .addAllProperties(new ArrayList()) + .build(); + mockDatastoreAdmin.addResponse(expectedResponse); + + GetIndexRequest request = + GetIndexRequest.newBuilder() + .setProjectId("projectId-894832108") + .setIndexId("indexId1943291277") + .build(); + + Index actualResponse = client.getIndex(request); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockDatastoreAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + GetIndexRequest actualRequest = ((GetIndexRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getProjectId(), actualRequest.getProjectId()); + Assert.assertEquals(request.getIndexId(), actualRequest.getIndexId()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void getIndexExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatastoreAdmin.addException(exception); + + try { + GetIndexRequest request = + GetIndexRequest.newBuilder() + .setProjectId("projectId-894832108") + .setIndexId("indexId1943291277") + .build(); + client.getIndex(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listIndexesTest() throws Exception { + Index responsesElement = Index.newBuilder().build(); + ListIndexesResponse expectedResponse = + ListIndexesResponse.newBuilder() + .setNextPageToken("") + .addAllIndexes(Arrays.asList(responsesElement)) + .build(); + mockDatastoreAdmin.addResponse(expectedResponse); + + ListIndexesRequest request = + ListIndexesRequest.newBuilder() + .setProjectId("projectId-894832108") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + + ListIndexesPagedResponse pagedListResponse = client.listIndexes(request); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getIndexesList().get(0), resources.get(0)); + + List actualRequests = mockDatastoreAdmin.getRequests(); + Assert.assertEquals(1, actualRequests.size()); + ListIndexesRequest actualRequest = ((ListIndexesRequest) actualRequests.get(0)); + + Assert.assertEquals(request.getProjectId(), actualRequest.getProjectId()); + Assert.assertEquals(request.getFilter(), actualRequest.getFilter()); + Assert.assertEquals(request.getPageSize(), actualRequest.getPageSize()); + Assert.assertEquals(request.getPageToken(), actualRequest.getPageToken()); + Assert.assertTrue( + channelProvider.isHeaderSent( + ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), + GaxGrpcProperties.getDefaultApiClientHeaderPattern())); + } + + @Test + public void listIndexesExceptionTest() throws Exception { + StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); + mockDatastoreAdmin.addException(exception); + + try { + ListIndexesRequest request = + ListIndexesRequest.newBuilder() + .setProjectId("projectId-894832108") + .setFilter("filter-1274492040") + .setPageSize(883849137) + .setPageToken("pageToken873572522") + .build(); + client.listIndexes(request); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/MockDatastoreAdmin.java b/owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/MockDatastoreAdmin.java new file mode 100644 index 000000000..ab9b5b1fb --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/MockDatastoreAdmin.java @@ -0,0 +1,59 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.cloud.datastore.admin.v1; + +import com.google.api.core.BetaApi; +import com.google.api.gax.grpc.testing.MockGrpcService; +import com.google.protobuf.AbstractMessage; +import io.grpc.ServerServiceDefinition; +import java.util.List; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockDatastoreAdmin implements MockGrpcService { + private final MockDatastoreAdminImpl serviceImpl; + + public MockDatastoreAdmin() { + serviceImpl = new MockDatastoreAdminImpl(); + } + + @Override + public List getRequests() { + return serviceImpl.getRequests(); + } + + @Override + public void addResponse(AbstractMessage response) { + serviceImpl.addResponse(response); + } + + @Override + public void addException(Exception exception) { + serviceImpl.addException(exception); + } + + @Override + public ServerServiceDefinition getServiceDefinition() { + return serviceImpl.bindService(); + } + + @Override + public void reset() { + serviceImpl.reset(); + } +} diff --git a/owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/MockDatastoreAdminImpl.java b/owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/MockDatastoreAdminImpl.java new file mode 100644 index 000000000..cc63d5248 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/MockDatastoreAdminImpl.java @@ -0,0 +1,192 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.cloud.datastore.admin.v1; + +import com.google.api.core.BetaApi; +import com.google.datastore.admin.v1.CreateIndexRequest; +import com.google.datastore.admin.v1.DatastoreAdminGrpc.DatastoreAdminImplBase; +import com.google.datastore.admin.v1.DeleteIndexRequest; +import com.google.datastore.admin.v1.ExportEntitiesRequest; +import com.google.datastore.admin.v1.GetIndexRequest; +import com.google.datastore.admin.v1.ImportEntitiesRequest; +import com.google.datastore.admin.v1.Index; +import com.google.datastore.admin.v1.ListIndexesRequest; +import com.google.datastore.admin.v1.ListIndexesResponse; +import com.google.longrunning.Operation; +import com.google.protobuf.AbstractMessage; +import io.grpc.stub.StreamObserver; +import java.util.ArrayList; +import java.util.LinkedList; +import java.util.List; +import java.util.Queue; +import javax.annotation.Generated; + +@BetaApi +@Generated("by gapic-generator-java") +public class MockDatastoreAdminImpl extends DatastoreAdminImplBase { + private List requests; + private Queue responses; + + public MockDatastoreAdminImpl() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + public List getRequests() { + return requests; + } + + public void addResponse(AbstractMessage response) { + responses.add(response); + } + + public void setResponses(List responses) { + this.responses = new LinkedList(responses); + } + + public void addException(Exception exception) { + responses.add(exception); + } + + public void reset() { + requests = new ArrayList<>(); + responses = new LinkedList<>(); + } + + @Override + public void exportEntities( + ExportEntitiesRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ExportEntities, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void importEntities( + ImportEntitiesRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ImportEntities, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void createIndex(CreateIndexRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method CreateIndex, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void deleteIndex(DeleteIndexRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Operation) { + requests.add(request); + responseObserver.onNext(((Operation) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method DeleteIndex, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Operation.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void getIndex(GetIndexRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof Index) { + requests.add(request); + responseObserver.onNext(((Index) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method GetIndex, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + Index.class.getName(), + Exception.class.getName()))); + } + } + + @Override + public void listIndexes( + ListIndexesRequest request, StreamObserver responseObserver) { + Object response = responses.poll(); + if (response instanceof ListIndexesResponse) { + requests.add(request); + responseObserver.onNext(((ListIndexesResponse) response)); + responseObserver.onCompleted(); + } else if (response instanceof Exception) { + responseObserver.onError(((Exception) response)); + } else { + responseObserver.onError( + new IllegalArgumentException( + String.format( + "Unrecognized response type %s for method ListIndexes, expected %s or %s", + response == null ? "null" : response.getClass().getName(), + ListIndexesResponse.class.getName(), + Exception.class.getName()))); + } + } +} diff --git a/owl-bot-staging/v1/grpc-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreAdminGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreAdminGrpc.java new file mode 100644 index 000000000..b60aa920c --- /dev/null +++ b/owl-bot-staging/v1/grpc-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreAdminGrpc.java @@ -0,0 +1,1101 @@ +package com.google.datastore.admin.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Google Cloud Datastore Admin API
+ * The Datastore Admin API provides several admin services for Cloud Datastore.
+ * Concepts: Project, namespace, kind, and entity as defined in the Google Cloud
+ * Datastore API.
+ * Operation: An Operation represents work being performed in the background.
+ * EntityFilter: Allows specifying a subset of entities in a project. This is
+ * specified as a combination of kinds and namespaces (either or both of which
+ * may be all).
+ * Export/Import Service:
+ * - The Export/Import service provides the ability to copy all or a subset of
+ * entities to/from Google Cloud Storage.
+ * - Exported data may be imported into Cloud Datastore for any Google Cloud
+ * Platform project. It is not restricted to the export source project. It is
+ * possible to export from one project and then import into another.
+ * - Exported data can also be loaded into Google BigQuery for analysis.
+ * - Exports and imports are performed asynchronously. An Operation resource is
+ * created for each export/import. The state (including any errors encountered)
+ * of the export/import may be queried via the Operation resource.
+ * Index Service:
+ * - The index service manages Cloud Datastore composite indexes.
+ * - Index creation and deletion are performed asynchronously.
+ * An Operation resource is created for each such asynchronous operation.
+ * The state of the operation (including any errors encountered)
+ * may be queried via the Operation resource.
+ * Operation Service:
+ * - The Operations collection provides a record of actions performed for the
+ * specified project (including any operations in progress). Operations are not
+ * created directly but through calls on other collections or resources.
+ * - An operation that is not yet done may be cancelled. The request to cancel
+ * is asynchronous and the operation may continue to run for some time after the
+ * request to cancel is made.
+ * - An operation that is done may be deleted so that it is no longer listed as
+ * part of the Operation collection.
+ * - ListOperations returns all pending operations, but not completed
+ * operations.
+ * - Operations are created by service DatastoreAdmin, but are accessed via
+ * service google.longrunning.Operations.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/datastore/admin/v1/datastore_admin.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class DatastoreAdminGrpc { + + private DatastoreAdminGrpc() {} + + public static final java.lang.String SERVICE_NAME = "google.datastore.admin.v1.DatastoreAdmin"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getExportEntitiesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ExportEntities", + requestType = com.google.datastore.admin.v1.ExportEntitiesRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getExportEntitiesMethod() { + io.grpc.MethodDescriptor getExportEntitiesMethod; + if ((getExportEntitiesMethod = DatastoreAdminGrpc.getExportEntitiesMethod) == null) { + synchronized (DatastoreAdminGrpc.class) { + if ((getExportEntitiesMethod = DatastoreAdminGrpc.getExportEntitiesMethod) == null) { + DatastoreAdminGrpc.getExportEntitiesMethod = getExportEntitiesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportEntities")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.datastore.admin.v1.ExportEntitiesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DatastoreAdminMethodDescriptorSupplier("ExportEntities")) + .build(); + } + } + } + return getExportEntitiesMethod; + } + + private static volatile io.grpc.MethodDescriptor getImportEntitiesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ImportEntities", + requestType = com.google.datastore.admin.v1.ImportEntitiesRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getImportEntitiesMethod() { + io.grpc.MethodDescriptor getImportEntitiesMethod; + if ((getImportEntitiesMethod = DatastoreAdminGrpc.getImportEntitiesMethod) == null) { + synchronized (DatastoreAdminGrpc.class) { + if ((getImportEntitiesMethod = DatastoreAdminGrpc.getImportEntitiesMethod) == null) { + DatastoreAdminGrpc.getImportEntitiesMethod = getImportEntitiesMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportEntities")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.datastore.admin.v1.ImportEntitiesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DatastoreAdminMethodDescriptorSupplier("ImportEntities")) + .build(); + } + } + } + return getImportEntitiesMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateIndexMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateIndex", + requestType = com.google.datastore.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; + if ((getCreateIndexMethod = DatastoreAdminGrpc.getCreateIndexMethod) == null) { + synchronized (DatastoreAdminGrpc.class) { + if ((getCreateIndexMethod = DatastoreAdminGrpc.getCreateIndexMethod) == null) { + DatastoreAdminGrpc.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.datastore.admin.v1.CreateIndexRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DatastoreAdminMethodDescriptorSupplier("CreateIndex")) + .build(); + } + } + } + return getCreateIndexMethod; + } + + private static volatile io.grpc.MethodDescriptor getDeleteIndexMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "DeleteIndex", + requestType = com.google.datastore.admin.v1.DeleteIndexRequest.class, + responseType = com.google.longrunning.Operation.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getDeleteIndexMethod() { + io.grpc.MethodDescriptor getDeleteIndexMethod; + if ((getDeleteIndexMethod = DatastoreAdminGrpc.getDeleteIndexMethod) == null) { + synchronized (DatastoreAdminGrpc.class) { + if ((getDeleteIndexMethod = DatastoreAdminGrpc.getDeleteIndexMethod) == null) { + DatastoreAdminGrpc.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.datastore.admin.v1.DeleteIndexRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.longrunning.Operation.getDefaultInstance())) + .setSchemaDescriptor(new DatastoreAdminMethodDescriptorSupplier("DeleteIndex")) + .build(); + } + } + } + return getDeleteIndexMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetIndexMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetIndex", + requestType = com.google.datastore.admin.v1.GetIndexRequest.class, + responseType = com.google.datastore.admin.v1.Index.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetIndexMethod() { + io.grpc.MethodDescriptor getGetIndexMethod; + if ((getGetIndexMethod = DatastoreAdminGrpc.getGetIndexMethod) == null) { + synchronized (DatastoreAdminGrpc.class) { + if ((getGetIndexMethod = DatastoreAdminGrpc.getGetIndexMethod) == null) { + DatastoreAdminGrpc.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.datastore.admin.v1.GetIndexRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.datastore.admin.v1.Index.getDefaultInstance())) + .setSchemaDescriptor(new DatastoreAdminMethodDescriptorSupplier("GetIndex")) + .build(); + } + } + } + return getGetIndexMethod; + } + + private static volatile io.grpc.MethodDescriptor getListIndexesMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListIndexes", + requestType = com.google.datastore.admin.v1.ListIndexesRequest.class, + responseType = com.google.datastore.admin.v1.ListIndexesResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListIndexesMethod() { + io.grpc.MethodDescriptor getListIndexesMethod; + if ((getListIndexesMethod = DatastoreAdminGrpc.getListIndexesMethod) == null) { + synchronized (DatastoreAdminGrpc.class) { + if ((getListIndexesMethod = DatastoreAdminGrpc.getListIndexesMethod) == null) { + DatastoreAdminGrpc.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.datastore.admin.v1.ListIndexesRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.datastore.admin.v1.ListIndexesResponse.getDefaultInstance())) + .setSchemaDescriptor(new DatastoreAdminMethodDescriptorSupplier("ListIndexes")) + .build(); + } + } + } + return getListIndexesMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static DatastoreAdminStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DatastoreAdminStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DatastoreAdminStub(channel, callOptions); + } + }; + return DatastoreAdminStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static DatastoreAdminBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DatastoreAdminBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DatastoreAdminBlockingStub(channel, callOptions); + } + }; + return DatastoreAdminBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static DatastoreAdminFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public DatastoreAdminFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DatastoreAdminFutureStub(channel, callOptions); + } + }; + return DatastoreAdminFutureStub.newStub(factory, channel); + } + + /** + *
+   * Google Cloud Datastore Admin API
+   * The Datastore Admin API provides several admin services for Cloud Datastore.
+   * Concepts: Project, namespace, kind, and entity as defined in the Google Cloud
+   * Datastore API.
+   * Operation: An Operation represents work being performed in the background.
+   * EntityFilter: Allows specifying a subset of entities in a project. This is
+   * specified as a combination of kinds and namespaces (either or both of which
+   * may be all).
+   * Export/Import Service:
+   * - The Export/Import service provides the ability to copy all or a subset of
+   * entities to/from Google Cloud Storage.
+   * - Exported data may be imported into Cloud Datastore for any Google Cloud
+   * Platform project. It is not restricted to the export source project. It is
+   * possible to export from one project and then import into another.
+   * - Exported data can also be loaded into Google BigQuery for analysis.
+   * - Exports and imports are performed asynchronously. An Operation resource is
+   * created for each export/import. The state (including any errors encountered)
+   * of the export/import may be queried via the Operation resource.
+   * Index Service:
+   * - The index service manages Cloud Datastore composite indexes.
+   * - Index creation and deletion are performed asynchronously.
+   * An Operation resource is created for each such asynchronous operation.
+   * The state of the operation (including any errors encountered)
+   * may be queried via the Operation resource.
+   * Operation Service:
+   * - The Operations collection provides a record of actions performed for the
+   * specified project (including any operations in progress). Operations are not
+   * created directly but through calls on other collections or resources.
+   * - An operation that is not yet done may be cancelled. The request to cancel
+   * is asynchronous and the operation may continue to run for some time after the
+   * request to cancel is made.
+   * - An operation that is done may be deleted so that it is no longer listed as
+   * part of the Operation collection.
+   * - ListOperations returns all pending operations, but not completed
+   * operations.
+   * - Operations are created by service DatastoreAdmin, but are accessed via
+   * service google.longrunning.Operations.
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * Exports a copy of all or a subset of entities from Google Cloud Datastore
+     * to another storage system, such as Google Cloud Storage. Recent updates to
+     * entities may not be reflected in the export. The export occurs in the
+     * background and its progress can be monitored and managed via the
+     * Operation resource that is created. The output of an export may only be
+     * used once the associated operation is done. If an export operation is
+     * cancelled before completion it may leave partial data behind in Google
+     * Cloud Storage.
+     * 
+ */ + default void exportEntities(com.google.datastore.admin.v1.ExportEntitiesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportEntitiesMethod(), responseObserver); + } + + /** + *
+     * Imports entities into Google Cloud Datastore. Existing entities with the
+     * same key are overwritten. The import occurs in the background and its
+     * progress can be monitored and managed via the Operation resource that is
+     * created. If an ImportEntities operation is cancelled, it is possible
+     * that a subset of the data has already been imported to Cloud Datastore.
+     * 
+ */ + default void importEntities(com.google.datastore.admin.v1.ImportEntitiesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportEntitiesMethod(), responseObserver); + } + + /** + *
+     * Creates the specified index.
+     * A newly created index's initial state is `CREATING`. On completion of the
+     * returned [google.longrunning.Operation][google.longrunning.Operation], the
+     * state will be `READY`. If the index already exists, the call will return an
+     * `ALREADY_EXISTS` status.
+     * During index creation, the process could result in an error, in which
+     * case the index will move to the `ERROR` state. The process can be recovered
+     * by fixing the data that caused the error, removing the index with
+     * [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex], then
+     * re-creating the index with [create]
+     * [google.datastore.admin.v1.DatastoreAdmin.CreateIndex].
+     * Indexes with a single property cannot be created.
+     * 
+ */ + default void createIndex(com.google.datastore.admin.v1.CreateIndexRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateIndexMethod(), responseObserver); + } + + /** + *
+     * Deletes an existing index.
+     * An index can only be deleted if it is in a `READY` or `ERROR` state. On
+     * successful execution of the request, the index will be in a `DELETING`
+     * [state][google.datastore.admin.v1.Index.State]. And on completion of the
+     * returned [google.longrunning.Operation][google.longrunning.Operation], the
+     * index will be removed.
+     * During index deletion, the process could result in an error, in which
+     * case the index will move to the `ERROR` state. The process can be recovered
+     * by fixing the data that caused the error, followed by calling
+     * [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex] again.
+     * 
+ */ + default void deleteIndex(com.google.datastore.admin.v1.DeleteIndexRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteIndexMethod(), responseObserver); + } + + /** + *
+     * Gets an index.
+     * 
+ */ + default void getIndex(com.google.datastore.admin.v1.GetIndexRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIndexMethod(), responseObserver); + } + + /** + *
+     * Lists the indexes that match the specified filters.  Datastore uses an
+     * eventually consistent query to fetch the list of indexes and may
+     * occasionally return stale results.
+     * 
+ */ + default void listIndexes(com.google.datastore.admin.v1.ListIndexesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListIndexesMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service DatastoreAdmin. + *
+   * Google Cloud Datastore Admin API
+   * The Datastore Admin API provides several admin services for Cloud Datastore.
+   * Concepts: Project, namespace, kind, and entity as defined in the Google Cloud
+   * Datastore API.
+   * Operation: An Operation represents work being performed in the background.
+   * EntityFilter: Allows specifying a subset of entities in a project. This is
+   * specified as a combination of kinds and namespaces (either or both of which
+   * may be all).
+   * Export/Import Service:
+   * - The Export/Import service provides the ability to copy all or a subset of
+   * entities to/from Google Cloud Storage.
+   * - Exported data may be imported into Cloud Datastore for any Google Cloud
+   * Platform project. It is not restricted to the export source project. It is
+   * possible to export from one project and then import into another.
+   * - Exported data can also be loaded into Google BigQuery for analysis.
+   * - Exports and imports are performed asynchronously. An Operation resource is
+   * created for each export/import. The state (including any errors encountered)
+   * of the export/import may be queried via the Operation resource.
+   * Index Service:
+   * - The index service manages Cloud Datastore composite indexes.
+   * - Index creation and deletion are performed asynchronously.
+   * An Operation resource is created for each such asynchronous operation.
+   * The state of the operation (including any errors encountered)
+   * may be queried via the Operation resource.
+   * Operation Service:
+   * - The Operations collection provides a record of actions performed for the
+   * specified project (including any operations in progress). Operations are not
+   * created directly but through calls on other collections or resources.
+   * - An operation that is not yet done may be cancelled. The request to cancel
+   * is asynchronous and the operation may continue to run for some time after the
+   * request to cancel is made.
+   * - An operation that is done may be deleted so that it is no longer listed as
+   * part of the Operation collection.
+   * - ListOperations returns all pending operations, but not completed
+   * operations.
+   * - Operations are created by service DatastoreAdmin, but are accessed via
+   * service google.longrunning.Operations.
+   * 
+ */ + public static abstract class DatastoreAdminImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return DatastoreAdminGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service DatastoreAdmin. + *
+   * Google Cloud Datastore Admin API
+   * The Datastore Admin API provides several admin services for Cloud Datastore.
+   * Concepts: Project, namespace, kind, and entity as defined in the Google Cloud
+   * Datastore API.
+   * Operation: An Operation represents work being performed in the background.
+   * EntityFilter: Allows specifying a subset of entities in a project. This is
+   * specified as a combination of kinds and namespaces (either or both of which
+   * may be all).
+   * Export/Import Service:
+   * - The Export/Import service provides the ability to copy all or a subset of
+   * entities to/from Google Cloud Storage.
+   * - Exported data may be imported into Cloud Datastore for any Google Cloud
+   * Platform project. It is not restricted to the export source project. It is
+   * possible to export from one project and then import into another.
+   * - Exported data can also be loaded into Google BigQuery for analysis.
+   * - Exports and imports are performed asynchronously. An Operation resource is
+   * created for each export/import. The state (including any errors encountered)
+   * of the export/import may be queried via the Operation resource.
+   * Index Service:
+   * - The index service manages Cloud Datastore composite indexes.
+   * - Index creation and deletion are performed asynchronously.
+   * An Operation resource is created for each such asynchronous operation.
+   * The state of the operation (including any errors encountered)
+   * may be queried via the Operation resource.
+   * Operation Service:
+   * - The Operations collection provides a record of actions performed for the
+   * specified project (including any operations in progress). Operations are not
+   * created directly but through calls on other collections or resources.
+   * - An operation that is not yet done may be cancelled. The request to cancel
+   * is asynchronous and the operation may continue to run for some time after the
+   * request to cancel is made.
+   * - An operation that is done may be deleted so that it is no longer listed as
+   * part of the Operation collection.
+   * - ListOperations returns all pending operations, but not completed
+   * operations.
+   * - Operations are created by service DatastoreAdmin, but are accessed via
+   * service google.longrunning.Operations.
+   * 
+ */ + public static final class DatastoreAdminStub + extends io.grpc.stub.AbstractAsyncStub { + private DatastoreAdminStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DatastoreAdminStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DatastoreAdminStub(channel, callOptions); + } + + /** + *
+     * Exports a copy of all or a subset of entities from Google Cloud Datastore
+     * to another storage system, such as Google Cloud Storage. Recent updates to
+     * entities may not be reflected in the export. The export occurs in the
+     * background and its progress can be monitored and managed via the
+     * Operation resource that is created. The output of an export may only be
+     * used once the associated operation is done. If an export operation is
+     * cancelled before completion it may leave partial data behind in Google
+     * Cloud Storage.
+     * 
+ */ + public void exportEntities(com.google.datastore.admin.v1.ExportEntitiesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getExportEntitiesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Imports entities into Google Cloud Datastore. Existing entities with the
+     * same key are overwritten. The import occurs in the background and its
+     * progress can be monitored and managed via the Operation resource that is
+     * created. If an ImportEntities operation is cancelled, it is possible
+     * that a subset of the data has already been imported to Cloud Datastore.
+     * 
+ */ + public void importEntities(com.google.datastore.admin.v1.ImportEntitiesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getImportEntitiesMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates the specified index.
+     * A newly created index's initial state is `CREATING`. On completion of the
+     * returned [google.longrunning.Operation][google.longrunning.Operation], the
+     * state will be `READY`. If the index already exists, the call will return an
+     * `ALREADY_EXISTS` status.
+     * During index creation, the process could result in an error, in which
+     * case the index will move to the `ERROR` state. The process can be recovered
+     * by fixing the data that caused the error, removing the index with
+     * [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex], then
+     * re-creating the index with [create]
+     * [google.datastore.admin.v1.DatastoreAdmin.CreateIndex].
+     * Indexes with a single property cannot be created.
+     * 
+ */ + public void createIndex(com.google.datastore.admin.v1.CreateIndexRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateIndexMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Deletes an existing index.
+     * An index can only be deleted if it is in a `READY` or `ERROR` state. On
+     * successful execution of the request, the index will be in a `DELETING`
+     * [state][google.datastore.admin.v1.Index.State]. And on completion of the
+     * returned [google.longrunning.Operation][google.longrunning.Operation], the
+     * index will be removed.
+     * During index deletion, the process could result in an error, in which
+     * case the index will move to the `ERROR` state. The process can be recovered
+     * by fixing the data that caused the error, followed by calling
+     * [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex] again.
+     * 
+ */ + public void deleteIndex(com.google.datastore.admin.v1.DeleteIndexRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getDeleteIndexMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Gets an index.
+     * 
+ */ + public void getIndex(com.google.datastore.admin.v1.GetIndexRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetIndexMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Lists the indexes that match the specified filters.  Datastore uses an
+     * eventually consistent query to fetch the list of indexes and may
+     * occasionally return stale results.
+     * 
+ */ + public void listIndexes(com.google.datastore.admin.v1.ListIndexesRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListIndexesMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service DatastoreAdmin. + *
+   * Google Cloud Datastore Admin API
+   * The Datastore Admin API provides several admin services for Cloud Datastore.
+   * Concepts: Project, namespace, kind, and entity as defined in the Google Cloud
+   * Datastore API.
+   * Operation: An Operation represents work being performed in the background.
+   * EntityFilter: Allows specifying a subset of entities in a project. This is
+   * specified as a combination of kinds and namespaces (either or both of which
+   * may be all).
+   * Export/Import Service:
+   * - The Export/Import service provides the ability to copy all or a subset of
+   * entities to/from Google Cloud Storage.
+   * - Exported data may be imported into Cloud Datastore for any Google Cloud
+   * Platform project. It is not restricted to the export source project. It is
+   * possible to export from one project and then import into another.
+   * - Exported data can also be loaded into Google BigQuery for analysis.
+   * - Exports and imports are performed asynchronously. An Operation resource is
+   * created for each export/import. The state (including any errors encountered)
+   * of the export/import may be queried via the Operation resource.
+   * Index Service:
+   * - The index service manages Cloud Datastore composite indexes.
+   * - Index creation and deletion are performed asynchronously.
+   * An Operation resource is created for each such asynchronous operation.
+   * The state of the operation (including any errors encountered)
+   * may be queried via the Operation resource.
+   * Operation Service:
+   * - The Operations collection provides a record of actions performed for the
+   * specified project (including any operations in progress). Operations are not
+   * created directly but through calls on other collections or resources.
+   * - An operation that is not yet done may be cancelled. The request to cancel
+   * is asynchronous and the operation may continue to run for some time after the
+   * request to cancel is made.
+   * - An operation that is done may be deleted so that it is no longer listed as
+   * part of the Operation collection.
+   * - ListOperations returns all pending operations, but not completed
+   * operations.
+   * - Operations are created by service DatastoreAdmin, but are accessed via
+   * service google.longrunning.Operations.
+   * 
+ */ + public static final class DatastoreAdminBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private DatastoreAdminBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DatastoreAdminBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DatastoreAdminBlockingStub(channel, callOptions); + } + + /** + *
+     * Exports a copy of all or a subset of entities from Google Cloud Datastore
+     * to another storage system, such as Google Cloud Storage. Recent updates to
+     * entities may not be reflected in the export. The export occurs in the
+     * background and its progress can be monitored and managed via the
+     * Operation resource that is created. The output of an export may only be
+     * used once the associated operation is done. If an export operation is
+     * cancelled before completion it may leave partial data behind in Google
+     * Cloud Storage.
+     * 
+ */ + public com.google.longrunning.Operation exportEntities(com.google.datastore.admin.v1.ExportEntitiesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getExportEntitiesMethod(), getCallOptions(), request); + } + + /** + *
+     * Imports entities into Google Cloud Datastore. Existing entities with the
+     * same key are overwritten. The import occurs in the background and its
+     * progress can be monitored and managed via the Operation resource that is
+     * created. If an ImportEntities operation is cancelled, it is possible
+     * that a subset of the data has already been imported to Cloud Datastore.
+     * 
+ */ + public com.google.longrunning.Operation importEntities(com.google.datastore.admin.v1.ImportEntitiesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getImportEntitiesMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates the specified index.
+     * A newly created index's initial state is `CREATING`. On completion of the
+     * returned [google.longrunning.Operation][google.longrunning.Operation], the
+     * state will be `READY`. If the index already exists, the call will return an
+     * `ALREADY_EXISTS` status.
+     * During index creation, the process could result in an error, in which
+     * case the index will move to the `ERROR` state. The process can be recovered
+     * by fixing the data that caused the error, removing the index with
+     * [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex], then
+     * re-creating the index with [create]
+     * [google.datastore.admin.v1.DatastoreAdmin.CreateIndex].
+     * Indexes with a single property cannot be created.
+     * 
+ */ + public com.google.longrunning.Operation createIndex(com.google.datastore.admin.v1.CreateIndexRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateIndexMethod(), getCallOptions(), request); + } + + /** + *
+     * Deletes an existing index.
+     * An index can only be deleted if it is in a `READY` or `ERROR` state. On
+     * successful execution of the request, the index will be in a `DELETING`
+     * [state][google.datastore.admin.v1.Index.State]. And on completion of the
+     * returned [google.longrunning.Operation][google.longrunning.Operation], the
+     * index will be removed.
+     * During index deletion, the process could result in an error, in which
+     * case the index will move to the `ERROR` state. The process can be recovered
+     * by fixing the data that caused the error, followed by calling
+     * [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex] again.
+     * 
+ */ + public com.google.longrunning.Operation deleteIndex(com.google.datastore.admin.v1.DeleteIndexRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteIndexMethod(), getCallOptions(), request); + } + + /** + *
+     * Gets an index.
+     * 
+ */ + public com.google.datastore.admin.v1.Index getIndex(com.google.datastore.admin.v1.GetIndexRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetIndexMethod(), getCallOptions(), request); + } + + /** + *
+     * Lists the indexes that match the specified filters.  Datastore uses an
+     * eventually consistent query to fetch the list of indexes and may
+     * occasionally return stale results.
+     * 
+ */ + public com.google.datastore.admin.v1.ListIndexesResponse listIndexes(com.google.datastore.admin.v1.ListIndexesRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListIndexesMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service DatastoreAdmin. + *
+   * Google Cloud Datastore Admin API
+   * The Datastore Admin API provides several admin services for Cloud Datastore.
+   * Concepts: Project, namespace, kind, and entity as defined in the Google Cloud
+   * Datastore API.
+   * Operation: An Operation represents work being performed in the background.
+   * EntityFilter: Allows specifying a subset of entities in a project. This is
+   * specified as a combination of kinds and namespaces (either or both of which
+   * may be all).
+   * Export/Import Service:
+   * - The Export/Import service provides the ability to copy all or a subset of
+   * entities to/from Google Cloud Storage.
+   * - Exported data may be imported into Cloud Datastore for any Google Cloud
+   * Platform project. It is not restricted to the export source project. It is
+   * possible to export from one project and then import into another.
+   * - Exported data can also be loaded into Google BigQuery for analysis.
+   * - Exports and imports are performed asynchronously. An Operation resource is
+   * created for each export/import. The state (including any errors encountered)
+   * of the export/import may be queried via the Operation resource.
+   * Index Service:
+   * - The index service manages Cloud Datastore composite indexes.
+   * - Index creation and deletion are performed asynchronously.
+   * An Operation resource is created for each such asynchronous operation.
+   * The state of the operation (including any errors encountered)
+   * may be queried via the Operation resource.
+   * Operation Service:
+   * - The Operations collection provides a record of actions performed for the
+   * specified project (including any operations in progress). Operations are not
+   * created directly but through calls on other collections or resources.
+   * - An operation that is not yet done may be cancelled. The request to cancel
+   * is asynchronous and the operation may continue to run for some time after the
+   * request to cancel is made.
+   * - An operation that is done may be deleted so that it is no longer listed as
+   * part of the Operation collection.
+   * - ListOperations returns all pending operations, but not completed
+   * operations.
+   * - Operations are created by service DatastoreAdmin, but are accessed via
+   * service google.longrunning.Operations.
+   * 
+ */ + public static final class DatastoreAdminFutureStub + extends io.grpc.stub.AbstractFutureStub { + private DatastoreAdminFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected DatastoreAdminFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new DatastoreAdminFutureStub(channel, callOptions); + } + + /** + *
+     * Exports a copy of all or a subset of entities from Google Cloud Datastore
+     * to another storage system, such as Google Cloud Storage. Recent updates to
+     * entities may not be reflected in the export. The export occurs in the
+     * background and its progress can be monitored and managed via the
+     * Operation resource that is created. The output of an export may only be
+     * used once the associated operation is done. If an export operation is
+     * cancelled before completion it may leave partial data behind in Google
+     * Cloud Storage.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture exportEntities( + com.google.datastore.admin.v1.ExportEntitiesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getExportEntitiesMethod(), getCallOptions()), request); + } + + /** + *
+     * Imports entities into Google Cloud Datastore. Existing entities with the
+     * same key are overwritten. The import occurs in the background and its
+     * progress can be monitored and managed via the Operation resource that is
+     * created. If an ImportEntities operation is cancelled, it is possible
+     * that a subset of the data has already been imported to Cloud Datastore.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture importEntities( + com.google.datastore.admin.v1.ImportEntitiesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getImportEntitiesMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates the specified index.
+     * A newly created index's initial state is `CREATING`. On completion of the
+     * returned [google.longrunning.Operation][google.longrunning.Operation], the
+     * state will be `READY`. If the index already exists, the call will return an
+     * `ALREADY_EXISTS` status.
+     * During index creation, the process could result in an error, in which
+     * case the index will move to the `ERROR` state. The process can be recovered
+     * by fixing the data that caused the error, removing the index with
+     * [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex], then
+     * re-creating the index with [create]
+     * [google.datastore.admin.v1.DatastoreAdmin.CreateIndex].
+     * Indexes with a single property cannot be created.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createIndex( + com.google.datastore.admin.v1.CreateIndexRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateIndexMethod(), getCallOptions()), request); + } + + /** + *
+     * Deletes an existing index.
+     * An index can only be deleted if it is in a `READY` or `ERROR` state. On
+     * successful execution of the request, the index will be in a `DELETING`
+     * [state][google.datastore.admin.v1.Index.State]. And on completion of the
+     * returned [google.longrunning.Operation][google.longrunning.Operation], the
+     * index will be removed.
+     * During index deletion, the process could result in an error, in which
+     * case the index will move to the `ERROR` state. The process can be recovered
+     * by fixing the data that caused the error, followed by calling
+     * [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex] again.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture deleteIndex( + com.google.datastore.admin.v1.DeleteIndexRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getDeleteIndexMethod(), getCallOptions()), request); + } + + /** + *
+     * Gets an index.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getIndex( + com.google.datastore.admin.v1.GetIndexRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetIndexMethod(), getCallOptions()), request); + } + + /** + *
+     * Lists the indexes that match the specified filters.  Datastore uses an
+     * eventually consistent query to fetch the list of indexes and may
+     * occasionally return stale results.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listIndexes( + com.google.datastore.admin.v1.ListIndexesRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListIndexesMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_EXPORT_ENTITIES = 0; + private static final int METHODID_IMPORT_ENTITIES = 1; + private static final int METHODID_CREATE_INDEX = 2; + private static final int METHODID_DELETE_INDEX = 3; + private static final int METHODID_GET_INDEX = 4; + private static final int METHODID_LIST_INDEXES = 5; + + private static final class MethodHandlers implements + io.grpc.stub.ServerCalls.UnaryMethod, + io.grpc.stub.ServerCalls.ServerStreamingMethod, + io.grpc.stub.ServerCalls.ClientStreamingMethod, + io.grpc.stub.ServerCalls.BidiStreamingMethod { + private final AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_EXPORT_ENTITIES: + serviceImpl.exportEntities((com.google.datastore.admin.v1.ExportEntitiesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_IMPORT_ENTITIES: + serviceImpl.importEntities((com.google.datastore.admin.v1.ImportEntitiesRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_INDEX: + serviceImpl.createIndex((com.google.datastore.admin.v1.CreateIndexRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_DELETE_INDEX: + serviceImpl.deleteIndex((com.google.datastore.admin.v1.DeleteIndexRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_INDEX: + serviceImpl.getIndex((com.google.datastore.admin.v1.GetIndexRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_LIST_INDEXES: + serviceImpl.listIndexes((com.google.datastore.admin.v1.ListIndexesRequest) 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) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getExportEntitiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.datastore.admin.v1.ExportEntitiesRequest, + com.google.longrunning.Operation>( + service, METHODID_EXPORT_ENTITIES))) + .addMethod( + getImportEntitiesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.datastore.admin.v1.ImportEntitiesRequest, + com.google.longrunning.Operation>( + service, METHODID_IMPORT_ENTITIES))) + .addMethod( + getCreateIndexMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.datastore.admin.v1.CreateIndexRequest, + com.google.longrunning.Operation>( + service, METHODID_CREATE_INDEX))) + .addMethod( + getDeleteIndexMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.datastore.admin.v1.DeleteIndexRequest, + com.google.longrunning.Operation>( + service, METHODID_DELETE_INDEX))) + .addMethod( + getGetIndexMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.datastore.admin.v1.GetIndexRequest, + com.google.datastore.admin.v1.Index>( + service, METHODID_GET_INDEX))) + .addMethod( + getListIndexesMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.datastore.admin.v1.ListIndexesRequest, + com.google.datastore.admin.v1.ListIndexesResponse>( + service, METHODID_LIST_INDEXES))) + .build(); + } + + private static abstract class DatastoreAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + DatastoreAdminBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.datastore.admin.v1.DatastoreAdminProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("DatastoreAdmin"); + } + } + + private static final class DatastoreAdminFileDescriptorSupplier + extends DatastoreAdminBaseDescriptorSupplier { + DatastoreAdminFileDescriptorSupplier() {} + } + + private static final class DatastoreAdminMethodDescriptorSupplier + extends DatastoreAdminBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final java.lang.String methodName; + + DatastoreAdminMethodDescriptorSupplier(java.lang.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 (DatastoreAdminGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new DatastoreAdminFileDescriptorSupplier()) + .addMethod(getExportEntitiesMethod()) + .addMethod(getImportEntitiesMethod()) + .addMethod(getCreateIndexMethod()) + .addMethod(getDeleteIndexMethod()) + .addMethod(getGetIndexMethod()) + .addMethod(getListIndexesMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CommonMetadata.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CommonMetadata.java similarity index 69% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CommonMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CommonMetadata.java index 2c078756d..c4da36e63 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CommonMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CommonMetadata.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto @@ -20,24 +5,21 @@ package com.google.datastore.admin.v1; /** - * - * *
  * Metadata common to all Datastore Admin operations.
  * 
* * Protobuf type {@code google.datastore.admin.v1.CommonMetadata} */ -public final class CommonMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CommonMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.datastore.admin.v1.CommonMetadata) CommonMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use CommonMetadata.newBuilder() to construct. private CommonMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private CommonMetadata() { operationType_ = 0; state_ = 0; @@ -45,13 +27,14 @@ private CommonMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CommonMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.admin.v1.DatastoreAdminProto - .internal_static_google_datastore_admin_v1_CommonMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_CommonMetadata_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -62,33 +45,28 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl 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.datastore.admin.v1.DatastoreAdminProto - .internal_static_google_datastore_admin_v1_CommonMetadata_fieldAccessorTable + return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_CommonMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.CommonMetadata.class, - com.google.datastore.admin.v1.CommonMetadata.Builder.class); + com.google.datastore.admin.v1.CommonMetadata.class, com.google.datastore.admin.v1.CommonMetadata.Builder.class); } /** - * - * *
    * The various possible states for an ongoing Operation.
    * 
* * Protobuf enum {@code google.datastore.admin.v1.CommonMetadata.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified.
      * 
@@ -97,8 +75,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * Request is being prepared for processing.
      * 
@@ -107,8 +83,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ INITIALIZING(1), /** - * - * *
      * Request is actively being processed.
      * 
@@ -117,8 +91,6 @@ public enum State 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.
@@ -128,8 +100,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     CANCELLING(3),
     /**
-     *
-     *
      * 
      * Request has been processed and is in its finalization stage.
      * 
@@ -138,8 +108,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FINALIZING(4), /** - * - * *
      * Request has completed successfully.
      * 
@@ -148,8 +116,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCESSFUL(5), /** - * - * *
      * Request has finished being processed, but encountered an error.
      * 
@@ -158,8 +124,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(6), /** - * - * *
      * Request has finished being cancelled after user called
      * google.longrunning.Operations.CancelOperation.
@@ -172,8 +136,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified.
      * 
@@ -182,8 +144,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Request is being prepared for processing.
      * 
@@ -192,8 +152,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int INITIALIZING_VALUE = 1; /** - * - * *
      * Request is actively being processed.
      * 
@@ -202,8 +160,6 @@ public enum State 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.
@@ -213,8 +169,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CANCELLING_VALUE = 3;
     /**
-     *
-     *
      * 
      * Request has been processed and is in its finalization stage.
      * 
@@ -223,8 +177,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FINALIZING_VALUE = 4; /** - * - * *
      * Request has completed successfully.
      * 
@@ -233,8 +185,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCESSFUL_VALUE = 5; /** - * - * *
      * Request has finished being processed, but encountered an error.
      * 
@@ -243,8 +193,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 6; /** - * - * *
      * Request has finished being cancelled after user called
      * google.longrunning.Operations.CancelOperation.
@@ -254,6 +202,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int CANCELLED_VALUE = 7;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -278,59 +227,54 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0:
-          return 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 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<
+        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.datastore.admin.v1.CommonMetadata.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;
@@ -351,14 +295,11 @@ private State(int value) {
   public static final int START_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Timestamp startTime_;
   /**
-   *
-   *
    * 
    * The time that work began on the operation.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ @java.lang.Override @@ -366,14 +307,11 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The time that work began on the operation.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ @java.lang.Override @@ -381,8 +319,6 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * The time that work began on the operation.
    * 
@@ -397,14 +333,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * The time the operation ended, either successfully or otherwise.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ @java.lang.Override @@ -412,14 +345,11 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The time the operation ended, either successfully or otherwise.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ @java.lang.Override @@ -427,8 +357,6 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * The time the operation ended, either successfully or otherwise.
    * 
@@ -443,69 +371,58 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int OPERATION_TYPE_FIELD_NUMBER = 3; private int operationType_ = 0; /** - * - * *
    * The type of the operation. Can be used as a filter in
    * ListOperationsRequest.
    * 
* * .google.datastore.admin.v1.OperationType operation_type = 3; - * * @return The enum numeric value on the wire for operationType. */ - @java.lang.Override - public int getOperationTypeValue() { + @java.lang.Override public int getOperationTypeValue() { return operationType_; } /** - * - * *
    * The type of the operation. Can be used as a filter in
    * ListOperationsRequest.
    * 
* * .google.datastore.admin.v1.OperationType operation_type = 3; - * * @return The operationType. */ - @java.lang.Override - public com.google.datastore.admin.v1.OperationType getOperationType() { - com.google.datastore.admin.v1.OperationType result = - com.google.datastore.admin.v1.OperationType.forNumber(operationType_); + @java.lang.Override public com.google.datastore.admin.v1.OperationType getOperationType() { + com.google.datastore.admin.v1.OperationType result = com.google.datastore.admin.v1.OperationType.forNumber(operationType_); return result == null ? com.google.datastore.admin.v1.OperationType.UNRECOGNIZED : result; } 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.datastore.admin.v1.DatastoreAdminProto - .internal_static_google_datastore_admin_v1_CommonMetadata_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.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_CommonMetadata_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * The client-assigned labels which were provided when the operation was
    * created. May also include additional labels.
@@ -514,21 +431,20 @@ public int getLabelsCount() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-  public boolean containsLabels(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsLabels(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /** Use {@link #getLabelsMap()} instead. */
+  /**
+   * Use {@link #getLabelsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
-   *
-   *
    * 
    * The client-assigned labels which were provided when the operation was
    * created. May also include additional labels.
@@ -541,8 +457,6 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
-   *
-   *
    * 
    * The client-assigned labels which were provided when the operation was
    * created. May also include additional labels.
@@ -551,19 +465,17 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-  public /* nullable */ java.lang.String getLabelsOrDefault(
+  public /* nullable */
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+java.lang.String defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The client-assigned labels which were provided when the operation was
    * created. May also include additional labels.
@@ -572,11 +484,11 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
-    java.util.Map map = internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
+    java.util.Map map =
+        internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -586,42 +498,30 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
   public static final int STATE_FIELD_NUMBER = 5;
   private int state_ = 0;
   /**
-   *
-   *
    * 
    * The current state of the Operation.
    * 
* * .google.datastore.admin.v1.CommonMetadata.State 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 current state of the Operation.
    * 
* * .google.datastore.admin.v1.CommonMetadata.State state = 5; - * * @return The state. */ - @java.lang.Override - public com.google.datastore.admin.v1.CommonMetadata.State getState() { - com.google.datastore.admin.v1.CommonMetadata.State result = - com.google.datastore.admin.v1.CommonMetadata.State.forNumber(state_); - return result == null - ? com.google.datastore.admin.v1.CommonMetadata.State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.datastore.admin.v1.CommonMetadata.State getState() { + com.google.datastore.admin.v1.CommonMetadata.State result = com.google.datastore.admin.v1.CommonMetadata.State.forNumber(state_); + return result == null ? com.google.datastore.admin.v1.CommonMetadata.State.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -633,21 +533,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getStartTime()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getEndTime()); } - if (operationType_ - != com.google.datastore.admin.v1.OperationType.OPERATION_TYPE_UNSPECIFIED.getNumber()) { + if (operationType_ != com.google.datastore.admin.v1.OperationType.OPERATION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, operationType_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); - if (state_ - != com.google.datastore.admin.v1.CommonMetadata.State.STATE_UNSPECIFIED.getNumber()) { + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 4); + if (state_ != com.google.datastore.admin.v1.CommonMetadata.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(5, state_); } getUnknownFields().writeTo(output); @@ -660,28 +563,30 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getStartTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); - } - if (operationType_ - != com.google.datastore.admin.v1.OperationType.OPERATION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, operationType_); - } - 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__); - } - if (state_ - != com.google.datastore.admin.v1.CommonMetadata.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getEndTime()); + } + if (operationType_ != com.google.datastore.admin.v1.OperationType.OPERATION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(3, operationType_); + } + 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__); + } + if (state_ != com.google.datastore.admin.v1.CommonMetadata.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, state_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -691,24 +596,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.datastore.admin.v1.CommonMetadata)) { return super.equals(obj); } - com.google.datastore.admin.v1.CommonMetadata other = - (com.google.datastore.admin.v1.CommonMetadata) obj; + com.google.datastore.admin.v1.CommonMetadata other = (com.google.datastore.admin.v1.CommonMetadata) 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 (operationType_ != other.operationType_) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (state_ != other.state_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -742,117 +649,112 @@ public int hashCode() { return hash; } - public static com.google.datastore.admin.v1.CommonMetadata parseFrom(java.nio.ByteBuffer data) + public static com.google.datastore.admin.v1.CommonMetadata parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.admin.v1.CommonMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.CommonMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.admin.v1.CommonMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.CommonMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.admin.v1.CommonMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.CommonMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.admin.v1.CommonMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.CommonMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.CommonMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.admin.v1.CommonMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.CommonMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.admin.v1.CommonMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.datastore.admin.v1.CommonMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 common to all Datastore Admin operations.
    * 
* * Protobuf type {@code google.datastore.admin.v1.CommonMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.datastore.admin.v1.CommonMetadata) com.google.datastore.admin.v1.CommonMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.admin.v1.DatastoreAdminProto - .internal_static_google_datastore_admin_v1_CommonMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_CommonMetadata_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -862,10 +764,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl 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.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( int number) { @@ -873,18 +775,16 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi 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.datastore.admin.v1.DatastoreAdminProto - .internal_static_google_datastore_admin_v1_CommonMetadata_fieldAccessorTable + return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_CommonMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.CommonMetadata.class, - com.google.datastore.admin.v1.CommonMetadata.Builder.class); + com.google.datastore.admin.v1.CommonMetadata.class, com.google.datastore.admin.v1.CommonMetadata.Builder.class); } // Construct using com.google.datastore.admin.v1.CommonMetadata.newBuilder() @@ -892,18 +792,18 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getStartTimeFieldBuilder(); getEndTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -925,9 +825,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.admin.v1.DatastoreAdminProto - .internal_static_google_datastore_admin_v1_CommonMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_CommonMetadata_descriptor; } @java.lang.Override @@ -946,11 +846,8 @@ public com.google.datastore.admin.v1.CommonMetadata build() { @java.lang.Override public com.google.datastore.admin.v1.CommonMetadata buildPartial() { - com.google.datastore.admin.v1.CommonMetadata result = - new com.google.datastore.admin.v1.CommonMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.datastore.admin.v1.CommonMetadata result = new com.google.datastore.admin.v1.CommonMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -959,11 +856,15 @@ private void buildPartial0(com.google.datastore.admin.v1.CommonMetadata result) int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null + ? startTime_ + : startTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { @@ -983,39 +884,38 @@ private void buildPartial0(com.google.datastore.admin.v1.CommonMetadata result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.admin.v1.CommonMetadata) { - return mergeFrom((com.google.datastore.admin.v1.CommonMetadata) other); + return mergeFrom((com.google.datastore.admin.v1.CommonMetadata)other); } else { super.mergeFrom(other); return this; @@ -1033,7 +933,8 @@ public Builder mergeFrom(com.google.datastore.admin.v1.CommonMetadata other) { if (other.operationType_ != 0) { setOperationTypeValue(other.getOperationTypeValue()); } - internalGetMutableLabels().mergeFrom(other.internalGetLabels()); + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); bitField0_ |= 0x00000008; if (other.state_ != 0) { setStateValue(other.getStateValue()); @@ -1064,49 +965,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: - { - operationType_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: - { - com.google.protobuf.MapEntry labels__ = - input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), - extensionRegistry); - internalGetMutableLabels() - .getMutableMap() - .put(labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: { + operationType_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: { + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLabels().getMutableMap().put( + labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: { + state_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1116,38 +1013,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * The time that work began on the operation.
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The time that work began on the operation.
      * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -1158,8 +1045,6 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * The time that work began on the operation.
      * 
@@ -1180,15 +1065,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time that work began on the operation.
      * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -1199,8 +1083,6 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * The time that work began on the operation.
      * 
@@ -1209,9 +1091,9 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -1226,8 +1108,6 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time that work began on the operation.
      * 
@@ -1245,8 +1125,6 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * The time that work began on the operation.
      * 
@@ -1259,8 +1137,6 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time that work began on the operation.
      * 
@@ -1271,12 +1147,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 that work began on the operation.
      * 
@@ -1284,17 +1159,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_; @@ -1302,33 +1174,24 @@ 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 the operation ended, either successfully or otherwise.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The time the operation ended, either successfully or otherwise.
      * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1339,8 +1202,6 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * The time the operation ended, either successfully or otherwise.
      * 
@@ -1361,15 +1222,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation ended, either successfully or otherwise.
      * 
* * .google.protobuf.Timestamp end_time = 2; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1380,8 +1240,6 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * The time the operation ended, either successfully or otherwise.
      * 
@@ -1390,9 +1248,9 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1407,8 +1265,6 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time the operation ended, either successfully or otherwise.
      * 
@@ -1426,8 +1282,6 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * The time the operation ended, either successfully or otherwise.
      * 
@@ -1440,8 +1294,6 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time the operation ended, either successfully or otherwise.
      * 
@@ -1452,12 +1304,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 the operation ended, either successfully or otherwise.
      * 
@@ -1465,17 +1316,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_; @@ -1483,31 +1331,24 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private int operationType_ = 0; /** - * - * *
      * The type of the operation. Can be used as a filter in
      * ListOperationsRequest.
      * 
* * .google.datastore.admin.v1.OperationType operation_type = 3; - * * @return The enum numeric value on the wire for operationType. */ - @java.lang.Override - public int getOperationTypeValue() { + @java.lang.Override public int getOperationTypeValue() { return operationType_; } /** - * - * *
      * The type of the operation. Can be used as a filter in
      * ListOperationsRequest.
      * 
* * .google.datastore.admin.v1.OperationType operation_type = 3; - * * @param value The enum numeric value on the wire for operationType to set. * @return This builder for chaining. */ @@ -1518,33 +1359,26 @@ public Builder setOperationTypeValue(int value) { return this; } /** - * - * *
      * The type of the operation. Can be used as a filter in
      * ListOperationsRequest.
      * 
* * .google.datastore.admin.v1.OperationType operation_type = 3; - * * @return The operationType. */ @java.lang.Override public com.google.datastore.admin.v1.OperationType getOperationType() { - com.google.datastore.admin.v1.OperationType result = - com.google.datastore.admin.v1.OperationType.forNumber(operationType_); + com.google.datastore.admin.v1.OperationType result = com.google.datastore.admin.v1.OperationType.forNumber(operationType_); return result == null ? com.google.datastore.admin.v1.OperationType.UNRECOGNIZED : result; } /** - * - * *
      * The type of the operation. Can be used as a filter in
      * ListOperationsRequest.
      * 
* * .google.datastore.admin.v1.OperationType operation_type = 3; - * * @param value The operationType to set. * @return This builder for chaining. */ @@ -1558,15 +1392,12 @@ public Builder setOperationType(com.google.datastore.admin.v1.OperationType valu return this; } /** - * - * *
      * The type of the operation. Can be used as a filter in
      * ListOperationsRequest.
      * 
* * .google.datastore.admin.v1.OperationType operation_type = 3; - * * @return This builder for chaining. */ public Builder clearOperationType() { @@ -1576,19 +1407,21 @@ public Builder clearOperationType() { return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -1597,13 +1430,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * The client-assigned labels which were provided when the operation was
      * created. May also include additional labels.
@@ -1612,21 +1442,20 @@ public int getLabelsCount() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
-    public boolean containsLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /** Use {@link #getLabelsMap()} instead. */
+    /**
+     * Use {@link #getLabelsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
-     *
-     *
      * 
      * The client-assigned labels which were provided when the operation was
      * created. May also include additional labels.
@@ -1639,8 +1468,6 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
-     *
-     *
      * 
      * The client-assigned labels which were provided when the operation was
      * created. May also include additional labels.
@@ -1649,19 +1476,17 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
-    public /* nullable */ java.lang.String getLabelsOrDefault(
+    public /* nullable */
+java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-        java.lang.String defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+java.lang.String defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The client-assigned labels which were provided when the operation was
      * created. May also include additional labels.
@@ -1670,25 +1495,23 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map = internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map =
+          internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
-
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000008);
-      internalGetMutableLabels().getMutableMap().clear();
+      internalGetMutableLabels().getMutableMap()
+          .clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The client-assigned labels which were provided when the operation was
      * created. May also include additional labels.
@@ -1696,22 +1519,23 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 4;
      */
-    public Builder removeLabels(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableLabels().getMutableMap().remove(key);
+    public Builder removeLabels(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableLabels().getMutableMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableLabels() {
+    public java.util.Map
+        getMutableLabels() {
       bitField0_ |= 0x00000008;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
-     *
-     *
      * 
      * The client-assigned labels which were provided when the operation was
      * created. May also include additional labels.
@@ -1719,20 +1543,17 @@ public java.util.Map getMutableLabels() {
      *
      * map<string, string> labels = 4;
      */
-    public Builder putLabels(java.lang.String key, java.lang.String value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableLabels().getMutableMap().put(key, value);
+    public Builder putLabels(
+        java.lang.String key,
+        java.lang.String value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableLabels().getMutableMap()
+          .put(key, value);
       bitField0_ |= 0x00000008;
       return this;
     }
     /**
-     *
-     *
      * 
      * The client-assigned labels which were provided when the operation was
      * created. May also include additional labels.
@@ -1740,37 +1561,32 @@ public Builder putLabels(java.lang.String key, java.lang.String value) {
      *
      * map<string, string> labels = 4;
      */
-    public Builder putAllLabels(java.util.Map values) {
-      internalGetMutableLabels().getMutableMap().putAll(values);
+    public Builder putAllLabels(
+        java.util.Map values) {
+      internalGetMutableLabels().getMutableMap()
+          .putAll(values);
       bitField0_ |= 0x00000008;
       return this;
     }
 
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * The current state of the Operation.
      * 
* * .google.datastore.admin.v1.CommonMetadata.State 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 current state of the Operation.
      * 
* * .google.datastore.admin.v1.CommonMetadata.State state = 5; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -1781,33 +1597,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * The current state of the Operation.
      * 
* * .google.datastore.admin.v1.CommonMetadata.State state = 5; - * * @return The state. */ @java.lang.Override public com.google.datastore.admin.v1.CommonMetadata.State getState() { - com.google.datastore.admin.v1.CommonMetadata.State result = - com.google.datastore.admin.v1.CommonMetadata.State.forNumber(state_); - return result == null - ? com.google.datastore.admin.v1.CommonMetadata.State.UNRECOGNIZED - : result; + com.google.datastore.admin.v1.CommonMetadata.State result = com.google.datastore.admin.v1.CommonMetadata.State.forNumber(state_); + return result == null ? com.google.datastore.admin.v1.CommonMetadata.State.UNRECOGNIZED : result; } /** - * - * *
      * The current state of the Operation.
      * 
* * .google.datastore.admin.v1.CommonMetadata.State state = 5; - * * @param value The state to set. * @return This builder for chaining. */ @@ -1821,14 +1628,11 @@ public Builder setState(com.google.datastore.admin.v1.CommonMetadata.State value return this; } /** - * - * *
      * The current state of the Operation.
      * 
* * .google.datastore.admin.v1.CommonMetadata.State state = 5; - * * @return This builder for chaining. */ public Builder clearState() { @@ -1837,9 +1641,9 @@ public Builder clearState() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1849,12 +1653,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.CommonMetadata) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.CommonMetadata) private static final com.google.datastore.admin.v1.CommonMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.CommonMetadata(); } @@ -1863,27 +1667,27 @@ public static com.google.datastore.admin.v1.CommonMetadata getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CommonMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CommonMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1898,4 +1702,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.CommonMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CommonMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CommonMetadataOrBuilder.java similarity index 77% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CommonMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CommonMetadataOrBuilder.java index fa127dc7c..50da49cfb 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CommonMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CommonMetadataOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface CommonMetadataOrBuilder - extends +public interface CommonMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.CommonMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The time that work began on the operation.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * The time that work began on the operation.
    * 
* * .google.protobuf.Timestamp start_time = 1; - * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * The time that work began on the operation.
    * 
@@ -60,32 +36,24 @@ public interface CommonMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * The time the operation ended, either successfully or otherwise.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * The time the operation ended, either successfully or otherwise.
    * 
* * .google.protobuf.Timestamp end_time = 2; - * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * The time the operation ended, either successfully or otherwise.
    * 
@@ -95,35 +63,27 @@ public interface CommonMetadataOrBuilder com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * The type of the operation. Can be used as a filter in
    * ListOperationsRequest.
    * 
* * .google.datastore.admin.v1.OperationType operation_type = 3; - * * @return The enum numeric value on the wire for operationType. */ int getOperationTypeValue(); /** - * - * *
    * The type of the operation. Can be used as a filter in
    * ListOperationsRequest.
    * 
* * .google.datastore.admin.v1.OperationType operation_type = 3; - * * @return The operationType. */ com.google.datastore.admin.v1.OperationType getOperationType(); /** - * - * *
    * The client-assigned labels which were provided when the operation was
    * created. May also include additional labels.
@@ -133,8 +93,6 @@ public interface CommonMetadataOrBuilder
    */
   int getLabelsCount();
   /**
-   *
-   *
    * 
    * The client-assigned labels which were provided when the operation was
    * created. May also include additional labels.
@@ -142,13 +100,15 @@ public interface CommonMetadataOrBuilder
    *
    * 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();
   /**
-   *
-   *
    * 
    * The client-assigned labels which were provided when the operation was
    * created. May also include additional labels.
@@ -156,10 +116,9 @@ public interface CommonMetadataOrBuilder
    *
    * map<string, string> labels = 4;
    */
-  java.util.Map getLabelsMap();
+  java.util.Map
+  getLabelsMap();
   /**
-   *
-   *
    * 
    * The client-assigned labels which were provided when the operation was
    * created. May also include additional labels.
@@ -168,13 +127,11 @@ public interface CommonMetadataOrBuilder
    * map<string, string> labels = 4;
    */
   /* nullable */
-  java.lang.String getLabelsOrDefault(
+java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-      java.lang.String defaultValue);
+java.lang.String defaultValue);
   /**
-   *
-   *
    * 
    * The client-assigned labels which were provided when the operation was
    * created. May also include additional labels.
@@ -182,29 +139,24 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 4;
    */
-  java.lang.String getLabelsOrThrow(java.lang.String key);
+  java.lang.String getLabelsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * The current state of the Operation.
    * 
* * .google.datastore.admin.v1.CommonMetadata.State state = 5; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * The current state of the Operation.
    * 
* * .google.datastore.admin.v1.CommonMetadata.State state = 5; - * * @return The state. */ com.google.datastore.admin.v1.CommonMetadata.State getState(); diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CreateIndexRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CreateIndexRequest.java similarity index 70% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CreateIndexRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CreateIndexRequest.java index c86b9a967..41e9dc522 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CreateIndexRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CreateIndexRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto @@ -20,8 +5,6 @@ package com.google.datastore.admin.v1; /** - * - * *
  * The request for
  * [google.datastore.admin.v1.DatastoreAdmin.CreateIndex][google.datastore.admin.v1.DatastoreAdmin.CreateIndex].
@@ -29,55 +12,49 @@
  *
  * Protobuf type {@code google.datastore.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.datastore.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() {
     projectId_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateIndexRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto
-        .internal_static_google_datastore_admin_v1_CreateIndexRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_CreateIndexRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto
-        .internal_static_google_datastore_admin_v1_CreateIndexRequest_fieldAccessorTable
+    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_CreateIndexRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.admin.v1.CreateIndexRequest.class,
-            com.google.datastore.admin.v1.CreateIndexRequest.Builder.class);
+            com.google.datastore.admin.v1.CreateIndexRequest.class, com.google.datastore.admin.v1.CreateIndexRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object projectId_ = "";
   /**
-   *
-   *
    * 
    * Project ID against which to make the request.
    * 
* * string project_id = 1; - * * @return The projectId. */ @java.lang.Override @@ -86,29 +63,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Project ID against which to make the request.
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -119,15 +96,12 @@ public com.google.protobuf.ByteString getProjectIdBytes() { public static final int INDEX_FIELD_NUMBER = 3; private com.google.datastore.admin.v1.Index index_; /** - * - * *
    * The index to create. The name and state fields are output only and will be
    * ignored. Single property indexes cannot be created or deleted.
    * 
* * .google.datastore.admin.v1.Index index = 3; - * * @return Whether the index field is set. */ @java.lang.Override @@ -135,15 +109,12 @@ public boolean hasIndex() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The index to create. The name and state fields are output only and will be
    * ignored. Single property indexes cannot be created or deleted.
    * 
* * .google.datastore.admin.v1.Index index = 3; - * * @return The index. */ @java.lang.Override @@ -151,8 +122,6 @@ public com.google.datastore.admin.v1.Index getIndex() { return index_ == null ? com.google.datastore.admin.v1.Index.getDefaultInstance() : index_; } /** - * - * *
    * The index to create. The name and state fields are output only and will be
    * ignored. Single property indexes cannot be created or deleted.
@@ -166,7 +135,6 @@ public com.google.datastore.admin.v1.IndexOrBuilder getIndexOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -178,7 +146,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(projectId_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_);
     }
@@ -198,7 +167,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, projectId_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getIndex());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getIndex());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -208,18 +178,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.datastore.admin.v1.CreateIndexRequest)) {
       return super.equals(obj);
     }
-    com.google.datastore.admin.v1.CreateIndexRequest other =
-        (com.google.datastore.admin.v1.CreateIndexRequest) obj;
+    com.google.datastore.admin.v1.CreateIndexRequest other = (com.google.datastore.admin.v1.CreateIndexRequest) obj;
 
-    if (!getProjectId().equals(other.getProjectId())) return false;
+    if (!getProjectId()
+        .equals(other.getProjectId())) 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;
@@ -243,104 +214,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.admin.v1.CreateIndexRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.datastore.admin.v1.CreateIndexRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.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.datastore.admin.v1.CreateIndexRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.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.datastore.admin.v1.CreateIndexRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.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.datastore.admin.v1.CreateIndexRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.datastore.admin.v1.CreateIndexRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.datastore.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.datastore.admin.v1.CreateIndexRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.datastore.admin.v1.CreateIndexRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.datastore.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.datastore.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.datastore.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.datastore.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
    * [google.datastore.admin.v1.DatastoreAdmin.CreateIndex][google.datastore.admin.v1.DatastoreAdmin.CreateIndex].
@@ -348,23 +314,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.datastore.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.datastore.admin.v1.CreateIndexRequest)
       com.google.datastore.admin.v1.CreateIndexRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto
-          .internal_static_google_datastore_admin_v1_CreateIndexRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_CreateIndexRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto
-          .internal_static_google_datastore_admin_v1_CreateIndexRequest_fieldAccessorTable
+      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_CreateIndexRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.admin.v1.CreateIndexRequest.class,
-              com.google.datastore.admin.v1.CreateIndexRequest.Builder.class);
+              com.google.datastore.admin.v1.CreateIndexRequest.class, com.google.datastore.admin.v1.CreateIndexRequest.Builder.class);
     }
 
     // Construct using com.google.datastore.admin.v1.CreateIndexRequest.newBuilder()
@@ -372,17 +336,17 @@ 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) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getIndexFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -397,9 +361,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto
-          .internal_static_google_datastore_admin_v1_CreateIndexRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_CreateIndexRequest_descriptor;
     }
 
     @java.lang.Override
@@ -418,11 +382,8 @@ public com.google.datastore.admin.v1.CreateIndexRequest build() {
 
     @java.lang.Override
     public com.google.datastore.admin.v1.CreateIndexRequest buildPartial() {
-      com.google.datastore.admin.v1.CreateIndexRequest result =
-          new com.google.datastore.admin.v1.CreateIndexRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.datastore.admin.v1.CreateIndexRequest result = new com.google.datastore.admin.v1.CreateIndexRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -434,7 +395,9 @@ private void buildPartial0(com.google.datastore.admin.v1.CreateIndexRequest resu
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.index_ = indexBuilder_ == null ? index_ : indexBuilder_.build();
+        result.index_ = indexBuilder_ == null
+            ? index_
+            : indexBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -444,39 +407,38 @@ private void buildPartial0(com.google.datastore.admin.v1.CreateIndexRequest resu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.admin.v1.CreateIndexRequest) {
-        return mergeFrom((com.google.datastore.admin.v1.CreateIndexRequest) other);
+        return mergeFrom((com.google.datastore.admin.v1.CreateIndexRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -484,8 +446,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.datastore.admin.v1.CreateIndexRequest other) {
-      if (other == com.google.datastore.admin.v1.CreateIndexRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.datastore.admin.v1.CreateIndexRequest.getDefaultInstance()) return this;
       if (!other.getProjectId().isEmpty()) {
         projectId_ = other.projectId_;
         bitField0_ |= 0x00000001;
@@ -520,25 +481,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                projectId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 26:
-              {
-                input.readMessage(getIndexFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              projectId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 26: {
+              input.readMessage(
+                  getIndexFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              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) {
@@ -548,25 +508,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object projectId_ = "";
     /**
-     *
-     *
      * 
      * Project ID against which to make the request.
      * 
* * string project_id = 1; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -575,21 +532,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -597,35 +553,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -635,21 +584,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -659,35 +604,26 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private com.google.datastore.admin.v1.Index index_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Index, - com.google.datastore.admin.v1.Index.Builder, - com.google.datastore.admin.v1.IndexOrBuilder> - indexBuilder_; + com.google.datastore.admin.v1.Index, com.google.datastore.admin.v1.Index.Builder, com.google.datastore.admin.v1.IndexOrBuilder> indexBuilder_; /** - * - * *
      * The index to create. The name and state fields are output only and will be
      * ignored. Single property indexes cannot be created or deleted.
      * 
* * .google.datastore.admin.v1.Index index = 3; - * * @return Whether the index field is set. */ public boolean hasIndex() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The index to create. The name and state fields are output only and will be
      * ignored. Single property indexes cannot be created or deleted.
      * 
* * .google.datastore.admin.v1.Index index = 3; - * * @return The index. */ public com.google.datastore.admin.v1.Index getIndex() { @@ -698,8 +634,6 @@ public com.google.datastore.admin.v1.Index getIndex() { } } /** - * - * *
      * The index to create. The name and state fields are output only and will be
      * ignored. Single property indexes cannot be created or deleted.
@@ -721,8 +655,6 @@ public Builder setIndex(com.google.datastore.admin.v1.Index value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The index to create. The name and state fields are output only and will be
      * ignored. Single property indexes cannot be created or deleted.
@@ -730,7 +662,8 @@ public Builder setIndex(com.google.datastore.admin.v1.Index value) {
      *
      * .google.datastore.admin.v1.Index index = 3;
      */
-    public Builder setIndex(com.google.datastore.admin.v1.Index.Builder builderForValue) {
+    public Builder setIndex(
+        com.google.datastore.admin.v1.Index.Builder builderForValue) {
       if (indexBuilder_ == null) {
         index_ = builderForValue.build();
       } else {
@@ -741,8 +674,6 @@ public Builder setIndex(com.google.datastore.admin.v1.Index.Builder builderForVa
       return this;
     }
     /**
-     *
-     *
      * 
      * The index to create. The name and state fields are output only and will be
      * ignored. Single property indexes cannot be created or deleted.
@@ -752,9 +683,9 @@ public Builder setIndex(com.google.datastore.admin.v1.Index.Builder builderForVa
      */
     public Builder mergeIndex(com.google.datastore.admin.v1.Index value) {
       if (indexBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && index_ != null
-            && index_ != com.google.datastore.admin.v1.Index.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          index_ != null &&
+          index_ != com.google.datastore.admin.v1.Index.getDefaultInstance()) {
           getIndexBuilder().mergeFrom(value);
         } else {
           index_ = value;
@@ -769,8 +700,6 @@ public Builder mergeIndex(com.google.datastore.admin.v1.Index value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The index to create. The name and state fields are output only and will be
      * ignored. Single property indexes cannot be created or deleted.
@@ -789,8 +718,6 @@ public Builder clearIndex() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The index to create. The name and state fields are output only and will be
      * ignored. Single property indexes cannot be created or deleted.
@@ -804,8 +731,6 @@ public com.google.datastore.admin.v1.Index.Builder getIndexBuilder() {
       return getIndexFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The index to create. The name and state fields are output only and will be
      * ignored. Single property indexes cannot be created or deleted.
@@ -817,12 +742,11 @@ public com.google.datastore.admin.v1.IndexOrBuilder getIndexOrBuilder() {
       if (indexBuilder_ != null) {
         return indexBuilder_.getMessageOrBuilder();
       } else {
-        return index_ == null ? com.google.datastore.admin.v1.Index.getDefaultInstance() : index_;
+        return index_ == null ?
+            com.google.datastore.admin.v1.Index.getDefaultInstance() : index_;
       }
     }
     /**
-     *
-     *
      * 
      * The index to create. The name and state fields are output only and will be
      * ignored. Single property indexes cannot be created or deleted.
@@ -831,24 +755,21 @@ public com.google.datastore.admin.v1.IndexOrBuilder getIndexOrBuilder() {
      * .google.datastore.admin.v1.Index index = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.admin.v1.Index,
-            com.google.datastore.admin.v1.Index.Builder,
-            com.google.datastore.admin.v1.IndexOrBuilder>
+        com.google.datastore.admin.v1.Index, com.google.datastore.admin.v1.Index.Builder, com.google.datastore.admin.v1.IndexOrBuilder> 
         getIndexFieldBuilder() {
       if (indexBuilder_ == null) {
-        indexBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.datastore.admin.v1.Index,
-                com.google.datastore.admin.v1.Index.Builder,
-                com.google.datastore.admin.v1.IndexOrBuilder>(
-                getIndex(), getParentForChildren(), isClean());
+        indexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.datastore.admin.v1.Index, com.google.datastore.admin.v1.Index.Builder, com.google.datastore.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);
     }
 
@@ -858,12 +779,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.CreateIndexRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.CreateIndexRequest)
   private static final com.google.datastore.admin.v1.CreateIndexRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.datastore.admin.v1.CreateIndexRequest();
   }
@@ -872,27 +793,27 @@ public static com.google.datastore.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;
@@ -907,4 +828,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.admin.v1.CreateIndexRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CreateIndexRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CreateIndexRequestOrBuilder.java
similarity index 68%
rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CreateIndexRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CreateIndexRequestOrBuilder.java
index 537fb10b9..9f829b7b3 100644
--- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CreateIndexRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CreateIndexRequestOrBuilder.java
@@ -1,83 +1,54 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/admin/v1/datastore_admin.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.admin.v1;
 
-public interface CreateIndexRequestOrBuilder
-    extends
+public interface CreateIndexRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.CreateIndexRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Project ID against which to make the request.
    * 
* * string project_id = 1; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Project ID against which to make the request.
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * The index to create. The name and state fields are output only and will be
    * ignored. Single property indexes cannot be created or deleted.
    * 
* * .google.datastore.admin.v1.Index index = 3; - * * @return Whether the index field is set. */ boolean hasIndex(); /** - * - * *
    * The index to create. The name and state fields are output only and will be
    * ignored. Single property indexes cannot be created or deleted.
    * 
* * .google.datastore.admin.v1.Index index = 3; - * * @return The index. */ com.google.datastore.admin.v1.Index getIndex(); /** - * - * *
    * The index to create. The name and state fields are output only and will be
    * ignored. Single property indexes cannot be created or deleted.
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreAdminProto.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreAdminProto.java
new file mode 100644
index 000000000..cb60d540d
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreAdminProto.java
@@ -0,0 +1,370 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/datastore/admin/v1/datastore_admin.proto
+
+// Protobuf Java Version: 3.25.3
+package com.google.datastore.admin.v1;
+
+public final class DatastoreAdminProto {
+  private DatastoreAdminProto() {}
+  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_datastore_admin_v1_CommonMetadata_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_CommonMetadata_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_admin_v1_CommonMetadata_LabelsEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_CommonMetadata_LabelsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_admin_v1_Progress_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_Progress_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_admin_v1_ExportEntitiesRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_ExportEntitiesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_admin_v1_ExportEntitiesRequest_LabelsEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_ExportEntitiesRequest_LabelsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_admin_v1_ImportEntitiesRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_ImportEntitiesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_admin_v1_ImportEntitiesRequest_LabelsEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_ImportEntitiesRequest_LabelsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_admin_v1_ExportEntitiesResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_ExportEntitiesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_admin_v1_EntityFilter_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_EntityFilter_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_admin_v1_CreateIndexRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_CreateIndexRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_admin_v1_DeleteIndexRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_DeleteIndexRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_admin_v1_GetIndexRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_GetIndexRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_admin_v1_ListIndexesRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_ListIndexesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_admin_v1_ListIndexesResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_ListIndexesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_admin_v1_IndexOperationMetadata_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_IndexOperationMetadata_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_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/datastore/admin/v1/datastore_ad" +
+      "min.proto\022\031google.datastore.admin.v1\032\034go" +
+      "ogle/api/annotations.proto\032\027google/api/c" +
+      "lient.proto\032\037google/api/field_behavior.p" +
+      "roto\032%google/datastore/admin/v1/index.pr" +
+      "oto\032)google/datastore/admin/v1/migration" +
+      ".proto\032#google/longrunning/operations.pr" +
+      "oto\032\037google/protobuf/timestamp.proto\"\364\003\n" +
+      "\016CommonMetadata\022.\n\nstart_time\030\001 \001(\0132\032.go" +
+      "ogle.protobuf.Timestamp\022,\n\010end_time\030\002 \001(" +
+      "\0132\032.google.protobuf.Timestamp\022@\n\016operati" +
+      "on_type\030\003 \001(\0162(.google.datastore.admin.v" +
+      "1.OperationType\022E\n\006labels\030\004 \003(\01325.google" +
+      ".datastore.admin.v1.CommonMetadata.Label" +
+      "sEntry\022>\n\005state\030\005 \001(\0162/.google.datastore" +
+      ".admin.v1.CommonMetadata.State\032-\n\013Labels" +
+      "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\213\001" +
+      "\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\020\n\014INITIA" +
+      "LIZING\020\001\022\016\n\nPROCESSING\020\002\022\016\n\nCANCELLING\020\003" +
+      "\022\016\n\nFINALIZING\020\004\022\016\n\nSUCCESSFUL\020\005\022\n\n\006FAIL" +
+      "ED\020\006\022\r\n\tCANCELLED\020\007\":\n\010Progress\022\026\n\016work_" +
+      "completed\030\001 \001(\003\022\026\n\016work_estimated\030\002 \001(\003\"" +
+      "\215\002\n\025ExportEntitiesRequest\022\027\n\nproject_id\030" +
+      "\001 \001(\tB\003\340A\002\022L\n\006labels\030\002 \003(\0132<.google.data" +
+      "store.admin.v1.ExportEntitiesRequest.Lab" +
+      "elsEntry\022>\n\rentity_filter\030\003 \001(\0132\'.google" +
+      ".datastore.admin.v1.EntityFilter\022\036\n\021outp" +
+      "ut_url_prefix\030\004 \001(\tB\003\340A\002\032-\n\013LabelsEntry\022" +
+      "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\205\002\n\025Impo" +
+      "rtEntitiesRequest\022\027\n\nproject_id\030\001 \001(\tB\003\340" +
+      "A\002\022L\n\006labels\030\002 \003(\0132<.google.datastore.ad" +
+      "min.v1.ImportEntitiesRequest.LabelsEntry" +
+      "\022\026\n\tinput_url\030\003 \001(\tB\003\340A\002\022>\n\rentity_filte" +
+      "r\030\004 \001(\0132\'.google.datastore.admin.v1.Enti" +
+      "tyFilter\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" +
+      "value\030\002 \001(\t:\0028\001\",\n\026ExportEntitiesRespons" +
+      "e\022\022\n\noutput_url\030\001 \001(\t\"\253\002\n\026ExportEntities" +
+      "Metadata\0229\n\006common\030\001 \001(\0132).google.datast" +
+      "ore.admin.v1.CommonMetadata\022>\n\021progress_" +
+      "entities\030\002 \001(\0132#.google.datastore.admin." +
+      "v1.Progress\022;\n\016progress_bytes\030\003 \001(\0132#.go" +
+      "ogle.datastore.admin.v1.Progress\022>\n\renti" +
+      "ty_filter\030\004 \001(\0132\'.google.datastore.admin" +
+      ".v1.EntityFilter\022\031\n\021output_url_prefix\030\005 " +
+      "\001(\t\"\243\002\n\026ImportEntitiesMetadata\0229\n\006common" +
+      "\030\001 \001(\0132).google.datastore.admin.v1.Commo" +
+      "nMetadata\022>\n\021progress_entities\030\002 \001(\0132#.g" +
+      "oogle.datastore.admin.v1.Progress\022;\n\016pro" +
+      "gress_bytes\030\003 \001(\0132#.google.datastore.adm" +
+      "in.v1.Progress\022>\n\rentity_filter\030\004 \001(\0132\'." +
+      "google.datastore.admin.v1.EntityFilter\022\021" +
+      "\n\tinput_url\030\005 \001(\t\"4\n\014EntityFilter\022\r\n\005kin" +
+      "ds\030\001 \003(\t\022\025\n\rnamespace_ids\030\002 \003(\t\"Y\n\022Creat" +
+      "eIndexRequest\022\022\n\nproject_id\030\001 \001(\t\022/\n\005ind" +
+      "ex\030\003 \001(\0132 .google.datastore.admin.v1.Ind" +
+      "ex\":\n\022DeleteIndexRequest\022\022\n\nproject_id\030\001" +
+      " \001(\t\022\020\n\010index_id\030\003 \001(\t\"7\n\017GetIndexReques" +
+      "t\022\022\n\nproject_id\030\001 \001(\t\022\020\n\010index_id\030\003 \001(\t\"" +
+      "_\n\022ListIndexesRequest\022\022\n\nproject_id\030\001 \001(" +
+      "\t\022\016\n\006filter\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\022\022\n\n" +
+      "page_token\030\005 \001(\t\"a\n\023ListIndexesResponse\022" +
+      "1\n\007indexes\030\001 \003(\0132 .google.datastore.admi" +
+      "n.v1.Index\022\027\n\017next_page_token\030\002 \001(\t\"\245\001\n\026" +
+      "IndexOperationMetadata\0229\n\006common\030\001 \001(\0132)" +
+      ".google.datastore.admin.v1.CommonMetadat" +
+      "a\022>\n\021progress_entities\030\002 \001(\0132#.google.da" +
+      "tastore.admin.v1.Progress\022\020\n\010index_id\030\003 " +
+      "\001(\t\"\253\001\n#DatastoreFirestoreMigrationMetad" +
+      "ata\022B\n\017migration_state\030\001 \001(\0162).google.da" +
+      "tastore.admin.v1.MigrationState\022@\n\016migra" +
+      "tion_step\030\002 \001(\0162(.google.datastore.admin" +
+      ".v1.MigrationStep*}\n\rOperationType\022\036\n\032OP" +
+      "ERATION_TYPE_UNSPECIFIED\020\000\022\023\n\017EXPORT_ENT" +
+      "ITIES\020\001\022\023\n\017IMPORT_ENTITIES\020\002\022\020\n\014CREATE_I" +
+      "NDEX\020\003\022\020\n\014DELETE_INDEX\020\0042\204\n\n\016DatastoreAd" +
+      "min\022\366\001\n\016ExportEntities\0220.google.datastor" +
+      "e.admin.v1.ExportEntitiesRequest\032\035.googl" +
+      "e.longrunning.Operation\"\222\001\312A0\n\026ExportEnt" +
+      "itiesResponse\022\026ExportEntitiesMetadata\332A1" +
+      "project_id,labels,entity_filter,output_u" +
+      "rl_prefix\202\323\344\223\002%\" /v1/projects/{project_i" +
+      "d}:export:\001*\022\355\001\n\016ImportEntities\0220.google" +
+      ".datastore.admin.v1.ImportEntitiesReques" +
+      "t\032\035.google.longrunning.Operation\"\211\001\312A/\n\025" +
+      "google.protobuf.Empty\022\026ImportEntitiesMet" +
+      "adata\332A)project_id,labels,input_url,enti" +
+      "ty_filter\202\323\344\223\002%\" /v1/projects/{project_i" +
+      "d}:import:\001*\022\257\001\n\013CreateIndex\022-.google.da" +
+      "tastore.admin.v1.CreateIndexRequest\032\035.go" +
+      "ogle.longrunning.Operation\"R\312A\037\n\005Index\022\026" +
+      "IndexOperationMetadata\202\323\344\223\002*\"!/v1/projec" +
+      "ts/{project_id}/indexes:\005index\022\263\001\n\013Delet" +
+      "eIndex\022-.google.datastore.admin.v1.Delet" +
+      "eIndexRequest\032\035.google.longrunning.Opera" +
+      "tion\"V\312A\037\n\005Index\022\026IndexOperationMetadata" +
+      "\202\323\344\223\002.*,/v1/projects/{project_id}/indexe" +
+      "s/{index_id}\022\216\001\n\010GetIndex\022*.google.datas" +
+      "tore.admin.v1.GetIndexRequest\032 .google.d" +
+      "atastore.admin.v1.Index\"4\202\323\344\223\002.\022,/v1/pro" +
+      "jects/{project_id}/indexes/{index_id}\022\227\001" +
+      "\n\013ListIndexes\022-.google.datastore.admin.v" +
+      "1.ListIndexesRequest\032..google.datastore." +
+      "admin.v1.ListIndexesResponse\")\202\323\344\223\002#\022!/v" +
+      "1/projects/{project_id}/indexes\032v\312A\030data" +
+      "store.googleapis.com\322AXhttps://www.googl" +
+      "eapis.com/auth/cloud-platform,https://ww" +
+      "w.googleapis.com/auth/datastoreB\333\001\n\035com." +
+      "google.datastore.admin.v1B\023DatastoreAdmi" +
+      "nProtoP\001Z9cloud.google.com/go/datastore/" +
+      "admin/apiv1/adminpb;adminpb\252\002\037Google.Clo" +
+      "ud.Datastore.Admin.V1\312\002\037Google\\Cloud\\Dat" +
+      "astore\\Admin\\V1\352\002#Google::Cloud::Datasto" +
+      "re::Admin::V1b\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.datastore.admin.v1.IndexProto.getDescriptor(),
+          com.google.datastore.admin.v1.MigrationProto.getDescriptor(),
+          com.google.longrunning.OperationsProto.getDescriptor(),
+          com.google.protobuf.TimestampProto.getDescriptor(),
+        });
+    internal_static_google_datastore_admin_v1_CommonMetadata_descriptor =
+      getDescriptor().getMessageTypes().get(0);
+    internal_static_google_datastore_admin_v1_CommonMetadata_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_datastore_admin_v1_CommonMetadata_descriptor,
+        new java.lang.String[] { "StartTime", "EndTime", "OperationType", "Labels", "State", });
+    internal_static_google_datastore_admin_v1_CommonMetadata_LabelsEntry_descriptor =
+      internal_static_google_datastore_admin_v1_CommonMetadata_descriptor.getNestedTypes().get(0);
+    internal_static_google_datastore_admin_v1_CommonMetadata_LabelsEntry_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_datastore_admin_v1_CommonMetadata_LabelsEntry_descriptor,
+        new java.lang.String[] { "Key", "Value", });
+    internal_static_google_datastore_admin_v1_Progress_descriptor =
+      getDescriptor().getMessageTypes().get(1);
+    internal_static_google_datastore_admin_v1_Progress_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_datastore_admin_v1_Progress_descriptor,
+        new java.lang.String[] { "WorkCompleted", "WorkEstimated", });
+    internal_static_google_datastore_admin_v1_ExportEntitiesRequest_descriptor =
+      getDescriptor().getMessageTypes().get(2);
+    internal_static_google_datastore_admin_v1_ExportEntitiesRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_datastore_admin_v1_ExportEntitiesRequest_descriptor,
+        new java.lang.String[] { "ProjectId", "Labels", "EntityFilter", "OutputUrlPrefix", });
+    internal_static_google_datastore_admin_v1_ExportEntitiesRequest_LabelsEntry_descriptor =
+      internal_static_google_datastore_admin_v1_ExportEntitiesRequest_descriptor.getNestedTypes().get(0);
+    internal_static_google_datastore_admin_v1_ExportEntitiesRequest_LabelsEntry_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_datastore_admin_v1_ExportEntitiesRequest_LabelsEntry_descriptor,
+        new java.lang.String[] { "Key", "Value", });
+    internal_static_google_datastore_admin_v1_ImportEntitiesRequest_descriptor =
+      getDescriptor().getMessageTypes().get(3);
+    internal_static_google_datastore_admin_v1_ImportEntitiesRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_datastore_admin_v1_ImportEntitiesRequest_descriptor,
+        new java.lang.String[] { "ProjectId", "Labels", "InputUrl", "EntityFilter", });
+    internal_static_google_datastore_admin_v1_ImportEntitiesRequest_LabelsEntry_descriptor =
+      internal_static_google_datastore_admin_v1_ImportEntitiesRequest_descriptor.getNestedTypes().get(0);
+    internal_static_google_datastore_admin_v1_ImportEntitiesRequest_LabelsEntry_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_datastore_admin_v1_ImportEntitiesRequest_LabelsEntry_descriptor,
+        new java.lang.String[] { "Key", "Value", });
+    internal_static_google_datastore_admin_v1_ExportEntitiesResponse_descriptor =
+      getDescriptor().getMessageTypes().get(4);
+    internal_static_google_datastore_admin_v1_ExportEntitiesResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_datastore_admin_v1_ExportEntitiesResponse_descriptor,
+        new java.lang.String[] { "OutputUrl", });
+    internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_descriptor =
+      getDescriptor().getMessageTypes().get(5);
+    internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_descriptor,
+        new java.lang.String[] { "Common", "ProgressEntities", "ProgressBytes", "EntityFilter", "OutputUrlPrefix", });
+    internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_descriptor =
+      getDescriptor().getMessageTypes().get(6);
+    internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_descriptor,
+        new java.lang.String[] { "Common", "ProgressEntities", "ProgressBytes", "EntityFilter", "InputUrl", });
+    internal_static_google_datastore_admin_v1_EntityFilter_descriptor =
+      getDescriptor().getMessageTypes().get(7);
+    internal_static_google_datastore_admin_v1_EntityFilter_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_datastore_admin_v1_EntityFilter_descriptor,
+        new java.lang.String[] { "Kinds", "NamespaceIds", });
+    internal_static_google_datastore_admin_v1_CreateIndexRequest_descriptor =
+      getDescriptor().getMessageTypes().get(8);
+    internal_static_google_datastore_admin_v1_CreateIndexRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_datastore_admin_v1_CreateIndexRequest_descriptor,
+        new java.lang.String[] { "ProjectId", "Index", });
+    internal_static_google_datastore_admin_v1_DeleteIndexRequest_descriptor =
+      getDescriptor().getMessageTypes().get(9);
+    internal_static_google_datastore_admin_v1_DeleteIndexRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_datastore_admin_v1_DeleteIndexRequest_descriptor,
+        new java.lang.String[] { "ProjectId", "IndexId", });
+    internal_static_google_datastore_admin_v1_GetIndexRequest_descriptor =
+      getDescriptor().getMessageTypes().get(10);
+    internal_static_google_datastore_admin_v1_GetIndexRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_datastore_admin_v1_GetIndexRequest_descriptor,
+        new java.lang.String[] { "ProjectId", "IndexId", });
+    internal_static_google_datastore_admin_v1_ListIndexesRequest_descriptor =
+      getDescriptor().getMessageTypes().get(11);
+    internal_static_google_datastore_admin_v1_ListIndexesRequest_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_datastore_admin_v1_ListIndexesRequest_descriptor,
+        new java.lang.String[] { "ProjectId", "Filter", "PageSize", "PageToken", });
+    internal_static_google_datastore_admin_v1_ListIndexesResponse_descriptor =
+      getDescriptor().getMessageTypes().get(12);
+    internal_static_google_datastore_admin_v1_ListIndexesResponse_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_datastore_admin_v1_ListIndexesResponse_descriptor,
+        new java.lang.String[] { "Indexes", "NextPageToken", });
+    internal_static_google_datastore_admin_v1_IndexOperationMetadata_descriptor =
+      getDescriptor().getMessageTypes().get(13);
+    internal_static_google_datastore_admin_v1_IndexOperationMetadata_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_datastore_admin_v1_IndexOperationMetadata_descriptor,
+        new java.lang.String[] { "Common", "ProgressEntities", "IndexId", });
+    internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_descriptor =
+      getDescriptor().getMessageTypes().get(14);
+    internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_fieldAccessorTable = new
+      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+        internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_descriptor,
+        new java.lang.String[] { "MigrationState", "MigrationStep", });
+    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.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.datastore.admin.v1.IndexProto.getDescriptor();
+    com.google.datastore.admin.v1.MigrationProto.getDescriptor();
+    com.google.longrunning.OperationsProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreFirestoreMigrationMetadata.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreFirestoreMigrationMetadata.java
similarity index 64%
rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreFirestoreMigrationMetadata.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreFirestoreMigrationMetadata.java
index a0695ffd0..e2812558d 100644
--- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreFirestoreMigrationMetadata.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreFirestoreMigrationMetadata.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/admin/v1/datastore_admin.proto
 
@@ -20,8 +5,6 @@
 package com.google.datastore.admin.v1;
 
 /**
- *
- *
  * 
  * Metadata for Datastore to Firestore migration operations.
  *
@@ -35,18 +18,15 @@
  *
  * Protobuf type {@code google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata}
  */
-public final class DatastoreFirestoreMigrationMetadata
-    extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class DatastoreFirestoreMigrationMetadata extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata)
     DatastoreFirestoreMigrationMetadataOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use DatastoreFirestoreMigrationMetadata.newBuilder() to construct.
-  private DatastoreFirestoreMigrationMetadata(
-      com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private DatastoreFirestoreMigrationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private DatastoreFirestoreMigrationMetadata() {
     migrationState_ = 0;
     migrationStep_ = 0;
@@ -54,101 +34,81 @@ private DatastoreFirestoreMigrationMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DatastoreFirestoreMigrationMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto
-        .internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto
-        .internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_fieldAccessorTable
+    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata.class,
-            com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata.Builder.class);
+            com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata.class, com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata.Builder.class);
   }
 
   public static final int MIGRATION_STATE_FIELD_NUMBER = 1;
   private int migrationState_ = 0;
   /**
-   *
-   *
    * 
    * The current state of migration from Cloud Datastore to Cloud Firestore in
    * Datastore mode.
    * 
* * .google.datastore.admin.v1.MigrationState migration_state = 1; - * * @return The enum numeric value on the wire for migrationState. */ - @java.lang.Override - public int getMigrationStateValue() { + @java.lang.Override public int getMigrationStateValue() { return migrationState_; } /** - * - * *
    * The current state of migration from Cloud Datastore to Cloud Firestore in
    * Datastore mode.
    * 
* * .google.datastore.admin.v1.MigrationState migration_state = 1; - * * @return The migrationState. */ - @java.lang.Override - public com.google.datastore.admin.v1.MigrationState getMigrationState() { - com.google.datastore.admin.v1.MigrationState result = - com.google.datastore.admin.v1.MigrationState.forNumber(migrationState_); + @java.lang.Override public com.google.datastore.admin.v1.MigrationState getMigrationState() { + com.google.datastore.admin.v1.MigrationState result = com.google.datastore.admin.v1.MigrationState.forNumber(migrationState_); return result == null ? com.google.datastore.admin.v1.MigrationState.UNRECOGNIZED : result; } public static final int MIGRATION_STEP_FIELD_NUMBER = 2; private int migrationStep_ = 0; /** - * - * *
    * The current step of migration from Cloud Datastore to Cloud Firestore in
    * Datastore mode.
    * 
* * .google.datastore.admin.v1.MigrationStep migration_step = 2; - * * @return The enum numeric value on the wire for migrationStep. */ - @java.lang.Override - public int getMigrationStepValue() { + @java.lang.Override public int getMigrationStepValue() { return migrationStep_; } /** - * - * *
    * The current step of migration from Cloud Datastore to Cloud Firestore in
    * Datastore mode.
    * 
* * .google.datastore.admin.v1.MigrationStep migration_step = 2; - * * @return The migrationStep. */ - @java.lang.Override - public com.google.datastore.admin.v1.MigrationStep getMigrationStep() { - com.google.datastore.admin.v1.MigrationStep result = - com.google.datastore.admin.v1.MigrationStep.forNumber(migrationStep_); + @java.lang.Override public com.google.datastore.admin.v1.MigrationStep getMigrationStep() { + com.google.datastore.admin.v1.MigrationStep result = com.google.datastore.admin.v1.MigrationStep.forNumber(migrationStep_); return result == null ? com.google.datastore.admin.v1.MigrationStep.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -160,13 +120,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (migrationState_ - != com.google.datastore.admin.v1.MigrationState.MIGRATION_STATE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (migrationState_ != com.google.datastore.admin.v1.MigrationState.MIGRATION_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(1, migrationState_); } - if (migrationStep_ - != com.google.datastore.admin.v1.MigrationStep.MIGRATION_STEP_UNSPECIFIED.getNumber()) { + if (migrationStep_ != com.google.datastore.admin.v1.MigrationStep.MIGRATION_STEP_UNSPECIFIED.getNumber()) { output.writeEnum(2, migrationStep_); } getUnknownFields().writeTo(output); @@ -178,13 +137,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (migrationState_ - != com.google.datastore.admin.v1.MigrationState.MIGRATION_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, migrationState_); + if (migrationState_ != com.google.datastore.admin.v1.MigrationState.MIGRATION_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, migrationState_); } - if (migrationStep_ - != com.google.datastore.admin.v1.MigrationStep.MIGRATION_STEP_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, migrationStep_); + if (migrationStep_ != com.google.datastore.admin.v1.MigrationStep.MIGRATION_STEP_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, migrationStep_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -194,13 +153,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata)) { return super.equals(obj); } - com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata other = - (com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata) obj; + com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata other = (com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata) obj; if (migrationState_ != other.migrationState_) return false; if (migrationStep_ != other.migrationStep_) return false; @@ -225,105 +183,98 @@ public int hashCode() { } public static com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata 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.datastore.admin.v1.DatastoreFirestoreMigrationMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata - 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.datastore.admin.v1.DatastoreFirestoreMigrationMetadata 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.datastore.admin.v1.DatastoreFirestoreMigrationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata prototype) { + public static Builder newBuilder(com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 Datastore to Firestore migration operations.
    *
@@ -337,33 +288,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata)
       com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto
-          .internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto
-          .internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_fieldAccessorTable
+      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata.class,
-              com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata.Builder.class);
+              com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata.class, com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata.Builder.class);
     }
 
-    // Construct using
-    // com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata.newBuilder()
-    private Builder() {}
+    // Construct using com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -374,14 +325,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto
-          .internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata
-        getDefaultInstanceForType() {
+    public com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata getDefaultInstanceForType() {
       return com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata.getDefaultInstance();
     }
 
@@ -396,17 +346,13 @@ public com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata build()
 
     @java.lang.Override
     public com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata buildPartial() {
-      com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata result =
-          new com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata result = new com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata result) {
+    private void buildPartial0(com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.migrationState_ = migrationState_;
@@ -420,50 +366,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata) {
-        return mergeFrom((com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata) other);
+        return mergeFrom((com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata other) {
-      if (other
-          == com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata other) {
+      if (other == com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata.getDefaultInstance()) return this;
       if (other.migrationState_ != 0) {
         setMigrationStateValue(other.getMigrationStateValue());
       }
@@ -496,25 +438,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                migrationState_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 16:
-              {
-                migrationStep_ = input.readEnum();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              migrationState_ = input.readEnum();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 16: {
+              migrationStep_ = input.readEnum();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -524,36 +463,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int migrationState_ = 0;
     /**
-     *
-     *
      * 
      * The current state of migration from Cloud Datastore to Cloud Firestore in
      * Datastore mode.
      * 
* * .google.datastore.admin.v1.MigrationState migration_state = 1; - * * @return The enum numeric value on the wire for migrationState. */ - @java.lang.Override - public int getMigrationStateValue() { + @java.lang.Override public int getMigrationStateValue() { return migrationState_; } /** - * - * *
      * The current state of migration from Cloud Datastore to Cloud Firestore in
      * Datastore mode.
      * 
* * .google.datastore.admin.v1.MigrationState migration_state = 1; - * * @param value The enum numeric value on the wire for migrationState to set. * @return This builder for chaining. */ @@ -564,33 +495,26 @@ public Builder setMigrationStateValue(int value) { return this; } /** - * - * *
      * The current state of migration from Cloud Datastore to Cloud Firestore in
      * Datastore mode.
      * 
* * .google.datastore.admin.v1.MigrationState migration_state = 1; - * * @return The migrationState. */ @java.lang.Override public com.google.datastore.admin.v1.MigrationState getMigrationState() { - com.google.datastore.admin.v1.MigrationState result = - com.google.datastore.admin.v1.MigrationState.forNumber(migrationState_); + com.google.datastore.admin.v1.MigrationState result = com.google.datastore.admin.v1.MigrationState.forNumber(migrationState_); return result == null ? com.google.datastore.admin.v1.MigrationState.UNRECOGNIZED : result; } /** - * - * *
      * The current state of migration from Cloud Datastore to Cloud Firestore in
      * Datastore mode.
      * 
* * .google.datastore.admin.v1.MigrationState migration_state = 1; - * * @param value The migrationState to set. * @return This builder for chaining. */ @@ -604,15 +528,12 @@ public Builder setMigrationState(com.google.datastore.admin.v1.MigrationState va return this; } /** - * - * *
      * The current state of migration from Cloud Datastore to Cloud Firestore in
      * Datastore mode.
      * 
* * .google.datastore.admin.v1.MigrationState migration_state = 1; - * * @return This builder for chaining. */ public Builder clearMigrationState() { @@ -624,31 +545,24 @@ public Builder clearMigrationState() { private int migrationStep_ = 0; /** - * - * *
      * The current step of migration from Cloud Datastore to Cloud Firestore in
      * Datastore mode.
      * 
* * .google.datastore.admin.v1.MigrationStep migration_step = 2; - * * @return The enum numeric value on the wire for migrationStep. */ - @java.lang.Override - public int getMigrationStepValue() { + @java.lang.Override public int getMigrationStepValue() { return migrationStep_; } /** - * - * *
      * The current step of migration from Cloud Datastore to Cloud Firestore in
      * Datastore mode.
      * 
* * .google.datastore.admin.v1.MigrationStep migration_step = 2; - * * @param value The enum numeric value on the wire for migrationStep to set. * @return This builder for chaining. */ @@ -659,33 +573,26 @@ public Builder setMigrationStepValue(int value) { return this; } /** - * - * *
      * The current step of migration from Cloud Datastore to Cloud Firestore in
      * Datastore mode.
      * 
* * .google.datastore.admin.v1.MigrationStep migration_step = 2; - * * @return The migrationStep. */ @java.lang.Override public com.google.datastore.admin.v1.MigrationStep getMigrationStep() { - com.google.datastore.admin.v1.MigrationStep result = - com.google.datastore.admin.v1.MigrationStep.forNumber(migrationStep_); + com.google.datastore.admin.v1.MigrationStep result = com.google.datastore.admin.v1.MigrationStep.forNumber(migrationStep_); return result == null ? com.google.datastore.admin.v1.MigrationStep.UNRECOGNIZED : result; } /** - * - * *
      * The current step of migration from Cloud Datastore to Cloud Firestore in
      * Datastore mode.
      * 
* * .google.datastore.admin.v1.MigrationStep migration_step = 2; - * * @param value The migrationStep to set. * @return This builder for chaining. */ @@ -699,15 +606,12 @@ public Builder setMigrationStep(com.google.datastore.admin.v1.MigrationStep valu return this; } /** - * - * *
      * The current step of migration from Cloud Datastore to Cloud Firestore in
      * Datastore mode.
      * 
* * .google.datastore.admin.v1.MigrationStep migration_step = 2; - * * @return This builder for chaining. */ public Builder clearMigrationStep() { @@ -716,9 +620,9 @@ public Builder clearMigrationStep() { 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); } @@ -728,43 +632,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata) - private static final com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata - DEFAULT_INSTANCE; - + private static final com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata(); } - public static com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata - getDefaultInstance() { + public static com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DatastoreFirestoreMigrationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DatastoreFirestoreMigrationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -776,8 +678,9 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata - getDefaultInstanceForType() { + public com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreFirestoreMigrationMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreFirestoreMigrationMetadataOrBuilder.java similarity index 69% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreFirestoreMigrationMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreFirestoreMigrationMetadataOrBuilder.java index 3bf3c03f8..19053b4ab 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreFirestoreMigrationMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreFirestoreMigrationMetadataOrBuilder.java @@ -1,79 +1,51 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface DatastoreFirestoreMigrationMetadataOrBuilder - extends +public interface DatastoreFirestoreMigrationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The current state of migration from Cloud Datastore to Cloud Firestore in
    * Datastore mode.
    * 
* * .google.datastore.admin.v1.MigrationState migration_state = 1; - * * @return The enum numeric value on the wire for migrationState. */ int getMigrationStateValue(); /** - * - * *
    * The current state of migration from Cloud Datastore to Cloud Firestore in
    * Datastore mode.
    * 
* * .google.datastore.admin.v1.MigrationState migration_state = 1; - * * @return The migrationState. */ com.google.datastore.admin.v1.MigrationState getMigrationState(); /** - * - * *
    * The current step of migration from Cloud Datastore to Cloud Firestore in
    * Datastore mode.
    * 
* * .google.datastore.admin.v1.MigrationStep migration_step = 2; - * * @return The enum numeric value on the wire for migrationStep. */ int getMigrationStepValue(); /** - * - * *
    * The current step of migration from Cloud Datastore to Cloud Firestore in
    * Datastore mode.
    * 
* * .google.datastore.admin.v1.MigrationStep migration_step = 2; - * * @return The migrationStep. */ com.google.datastore.admin.v1.MigrationStep getMigrationStep(); diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DeleteIndexRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DeleteIndexRequest.java similarity index 67% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DeleteIndexRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DeleteIndexRequest.java index 0b82ce7cc..19d52cc12 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DeleteIndexRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DeleteIndexRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto @@ -20,8 +5,6 @@ package com.google.datastore.admin.v1; /** - * - * *
  * The request for
  * [google.datastore.admin.v1.DatastoreAdmin.DeleteIndex][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.datastore.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.datastore.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() {
     projectId_ = "";
     indexId_ = "";
@@ -46,38 +28,33 @@ private DeleteIndexRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new DeleteIndexRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto
-        .internal_static_google_datastore_admin_v1_DeleteIndexRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_DeleteIndexRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto
-        .internal_static_google_datastore_admin_v1_DeleteIndexRequest_fieldAccessorTable
+    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_DeleteIndexRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.admin.v1.DeleteIndexRequest.class,
-            com.google.datastore.admin.v1.DeleteIndexRequest.Builder.class);
+            com.google.datastore.admin.v1.DeleteIndexRequest.class, com.google.datastore.admin.v1.DeleteIndexRequest.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object projectId_ = "";
   /**
-   *
-   *
    * 
    * Project ID against which to make the request.
    * 
* * string project_id = 1; - * * @return The projectId. */ @java.lang.Override @@ -86,29 +63,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Project ID against which to make the request.
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -117,18 +94,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int INDEX_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object indexId_ = ""; /** - * - * *
    * The resource ID of the index to delete.
    * 
* * string index_id = 3; - * * @return The indexId. */ @java.lang.Override @@ -137,29 +110,29 @@ public java.lang.String getIndexId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); indexId_ = s; return s; } } /** - * - * *
    * The resource ID of the index to delete.
    * 
* * string index_id = 3; - * * @return The bytes for indexId. */ @java.lang.Override - public com.google.protobuf.ByteString getIndexIdBytes() { + public com.google.protobuf.ByteString + getIndexIdBytes() { java.lang.Object ref = indexId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); indexId_ = b; return b; } else { @@ -168,7 +141,6 @@ public com.google.protobuf.ByteString getIndexIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,7 +152,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(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -210,16 +183,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.datastore.admin.v1.DeleteIndexRequest)) { return super.equals(obj); } - com.google.datastore.admin.v1.DeleteIndexRequest other = - (com.google.datastore.admin.v1.DeleteIndexRequest) obj; + com.google.datastore.admin.v1.DeleteIndexRequest other = (com.google.datastore.admin.v1.DeleteIndexRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getIndexId().equals(other.getIndexId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getIndexId() + .equals(other.getIndexId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -240,104 +214,99 @@ public int hashCode() { return hash; } - public static com.google.datastore.admin.v1.DeleteIndexRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.datastore.admin.v1.DeleteIndexRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.admin.v1.DeleteIndexRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.admin.v1.DeleteIndexRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.admin.v1.DeleteIndexRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.DeleteIndexRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.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.datastore.admin.v1.DeleteIndexRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.DeleteIndexRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.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.datastore.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.datastore.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.datastore.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
    * [google.datastore.admin.v1.DatastoreAdmin.DeleteIndex][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex].
@@ -345,32 +314,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.datastore.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.datastore.admin.v1.DeleteIndexRequest)
       com.google.datastore.admin.v1.DeleteIndexRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto
-          .internal_static_google_datastore_admin_v1_DeleteIndexRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_DeleteIndexRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto
-          .internal_static_google_datastore_admin_v1_DeleteIndexRequest_fieldAccessorTable
+      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_DeleteIndexRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.admin.v1.DeleteIndexRequest.class,
-              com.google.datastore.admin.v1.DeleteIndexRequest.Builder.class);
+              com.google.datastore.admin.v1.DeleteIndexRequest.class, com.google.datastore.admin.v1.DeleteIndexRequest.Builder.class);
     }
 
     // Construct using com.google.datastore.admin.v1.DeleteIndexRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -381,9 +351,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto
-          .internal_static_google_datastore_admin_v1_DeleteIndexRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_DeleteIndexRequest_descriptor;
     }
 
     @java.lang.Override
@@ -402,11 +372,8 @@ public com.google.datastore.admin.v1.DeleteIndexRequest build() {
 
     @java.lang.Override
     public com.google.datastore.admin.v1.DeleteIndexRequest buildPartial() {
-      com.google.datastore.admin.v1.DeleteIndexRequest result =
-          new com.google.datastore.admin.v1.DeleteIndexRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.datastore.admin.v1.DeleteIndexRequest result = new com.google.datastore.admin.v1.DeleteIndexRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -425,39 +392,38 @@ private void buildPartial0(com.google.datastore.admin.v1.DeleteIndexRequest resu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.admin.v1.DeleteIndexRequest) {
-        return mergeFrom((com.google.datastore.admin.v1.DeleteIndexRequest) other);
+        return mergeFrom((com.google.datastore.admin.v1.DeleteIndexRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -465,8 +431,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.datastore.admin.v1.DeleteIndexRequest other) {
-      if (other == com.google.datastore.admin.v1.DeleteIndexRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.datastore.admin.v1.DeleteIndexRequest.getDefaultInstance()) return this;
       if (!other.getProjectId().isEmpty()) {
         projectId_ = other.projectId_;
         bitField0_ |= 0x00000001;
@@ -503,25 +468,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                projectId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 26:
-              {
-                indexId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              projectId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 26: {
+              indexId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              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) {
@@ -531,25 +493,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object projectId_ = "";
     /**
-     *
-     *
      * 
      * Project ID against which to make the request.
      * 
* * string project_id = 1; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -558,21 +517,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -580,35 +538,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -618,21 +569,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -642,20 +589,18 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object indexId_ = ""; /** - * - * *
      * The resource ID of the index to delete.
      * 
* * string index_id = 3; - * * @return The indexId. */ public java.lang.String getIndexId() { java.lang.Object ref = indexId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); indexId_ = s; return s; @@ -664,21 +609,20 @@ public java.lang.String getIndexId() { } } /** - * - * *
      * The resource ID of the index to delete.
      * 
* * string index_id = 3; - * * @return The bytes for indexId. */ - public com.google.protobuf.ByteString getIndexIdBytes() { + public com.google.protobuf.ByteString + getIndexIdBytes() { java.lang.Object ref = indexId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); indexId_ = b; return b; } else { @@ -686,35 +630,28 @@ public com.google.protobuf.ByteString getIndexIdBytes() { } } /** - * - * *
      * The resource ID of the index to delete.
      * 
* * string index_id = 3; - * * @param value The indexId to set. * @return This builder for chaining. */ - public Builder setIndexId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIndexId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } indexId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The resource ID of the index to delete.
      * 
* * string index_id = 3; - * * @return This builder for chaining. */ public Builder clearIndexId() { @@ -724,30 +661,26 @@ public Builder clearIndexId() { return this; } /** - * - * *
      * The resource ID of the index to delete.
      * 
* * string index_id = 3; - * * @param value The bytes for indexId to set. * @return This builder for chaining. */ - public Builder setIndexIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIndexIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); indexId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -757,12 +690,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.DeleteIndexRequest) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.DeleteIndexRequest) private static final com.google.datastore.admin.v1.DeleteIndexRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.DeleteIndexRequest(); } @@ -771,27 +704,27 @@ public static com.google.datastore.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; @@ -806,4 +739,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.DeleteIndexRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DeleteIndexRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DeleteIndexRequestOrBuilder.java similarity index 56% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DeleteIndexRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DeleteIndexRequestOrBuilder.java index 9ac5d5411..8c60a0884 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DeleteIndexRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DeleteIndexRequestOrBuilder.java @@ -1,76 +1,50 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface DeleteIndexRequestOrBuilder - extends +public interface DeleteIndexRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.DeleteIndexRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Project ID against which to make the request.
    * 
* * string project_id = 1; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Project ID against which to make the request.
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * The resource ID of the index to delete.
    * 
* * string index_id = 3; - * * @return The indexId. */ java.lang.String getIndexId(); /** - * - * *
    * The resource ID of the index to delete.
    * 
* * string index_id = 3; - * * @return The bytes for indexId. */ - com.google.protobuf.ByteString getIndexIdBytes(); + com.google.protobuf.ByteString + getIndexIdBytes(); } diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/EntityFilter.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/EntityFilter.java similarity index 73% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/EntityFilter.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/EntityFilter.java index a4c6617c3..82c0389a9 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/EntityFilter.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/EntityFilter.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto @@ -20,8 +5,6 @@ package com.google.datastore.admin.v1; /** - * - * *
  * Identifies a subset of entities in a project. This is specified as
  * combinations of kinds and namespaces (either or both of which may be all, as
@@ -46,84 +29,75 @@
  *
  * Protobuf type {@code google.datastore.admin.v1.EntityFilter}
  */
-public final class EntityFilter extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class EntityFilter extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.datastore.admin.v1.EntityFilter)
     EntityFilterOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use EntityFilter.newBuilder() to construct.
   private EntityFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private EntityFilter() {
-    kinds_ = com.google.protobuf.LazyStringArrayList.emptyList();
-    namespaceIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    kinds_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
+    namespaceIds_ =
+        com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new EntityFilter();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto
-        .internal_static_google_datastore_admin_v1_EntityFilter_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_EntityFilter_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto
-        .internal_static_google_datastore_admin_v1_EntityFilter_fieldAccessorTable
+    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_EntityFilter_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.admin.v1.EntityFilter.class,
-            com.google.datastore.admin.v1.EntityFilter.Builder.class);
+            com.google.datastore.admin.v1.EntityFilter.class, com.google.datastore.admin.v1.EntityFilter.Builder.class);
   }
 
   public static final int KINDS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringArrayList kinds_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
-   *
-   *
    * 
    * If empty, then this represents all kinds.
    * 
* * repeated string kinds = 1; - * * @return A list containing the kinds. */ - public com.google.protobuf.ProtocolStringList getKindsList() { + public com.google.protobuf.ProtocolStringList + getKindsList() { return kinds_; } /** - * - * *
    * If empty, then this represents all kinds.
    * 
* * repeated string kinds = 1; - * * @return The count of kinds. */ public int getKindsCount() { return kinds_.size(); } /** - * - * *
    * If empty, then this represents all kinds.
    * 
* * repeated string kinds = 1; - * * @param index The index of the element to return. * @return The kinds at the given index. */ @@ -131,29 +105,24 @@ public java.lang.String getKinds(int index) { return kinds_.get(index); } /** - * - * *
    * If empty, then this represents all kinds.
    * 
* * repeated string kinds = 1; - * * @param index The index of the value to return. * @return The bytes of the kinds at the given index. */ - public com.google.protobuf.ByteString getKindsBytes(int index) { + public com.google.protobuf.ByteString + getKindsBytes(int index) { return kinds_.getByteString(index); } public static final int NAMESPACE_IDS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList namespaceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** - * - * *
    * An empty list represents all namespaces. This is the preferred
    * usage for projects that don't use namespaces.
@@ -165,15 +134,13 @@ public com.google.protobuf.ByteString getKindsBytes(int index) {
    * 
* * repeated string namespace_ids = 2; - * * @return A list containing the namespaceIds. */ - public com.google.protobuf.ProtocolStringList getNamespaceIdsList() { + public com.google.protobuf.ProtocolStringList + getNamespaceIdsList() { return namespaceIds_; } /** - * - * *
    * An empty list represents all namespaces. This is the preferred
    * usage for projects that don't use namespaces.
@@ -185,15 +152,12 @@ public com.google.protobuf.ProtocolStringList getNamespaceIdsList() {
    * 
* * repeated string namespace_ids = 2; - * * @return The count of namespaceIds. */ public int getNamespaceIdsCount() { return namespaceIds_.size(); } /** - * - * *
    * An empty list represents all namespaces. This is the preferred
    * usage for projects that don't use namespaces.
@@ -205,7 +169,6 @@ public int getNamespaceIdsCount() {
    * 
* * repeated string namespace_ids = 2; - * * @param index The index of the element to return. * @return The namespaceIds at the given index. */ @@ -213,8 +176,6 @@ public java.lang.String getNamespaceIds(int index) { return namespaceIds_.get(index); } /** - * - * *
    * An empty list represents all namespaces. This is the preferred
    * usage for projects that don't use namespaces.
@@ -226,16 +187,15 @@ public java.lang.String getNamespaceIds(int index) {
    * 
* * repeated string namespace_ids = 2; - * * @param index The index of the value to return. * @return The bytes of the namespaceIds at the given index. */ - public com.google.protobuf.ByteString getNamespaceIdsBytes(int index) { + public com.google.protobuf.ByteString + getNamespaceIdsBytes(int index) { return namespaceIds_.getByteString(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -247,7 +207,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 < kinds_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kinds_.getRaw(i)); } @@ -287,16 +248,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.datastore.admin.v1.EntityFilter)) { return super.equals(obj); } - com.google.datastore.admin.v1.EntityFilter other = - (com.google.datastore.admin.v1.EntityFilter) obj; + com.google.datastore.admin.v1.EntityFilter other = (com.google.datastore.admin.v1.EntityFilter) obj; - if (!getKindsList().equals(other.getKindsList())) return false; - if (!getNamespaceIdsList().equals(other.getNamespaceIdsList())) return false; + if (!getKindsList() + .equals(other.getKindsList())) return false; + if (!getNamespaceIdsList() + .equals(other.getNamespaceIdsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -321,104 +283,99 @@ public int hashCode() { return hash; } - public static com.google.datastore.admin.v1.EntityFilter parseFrom(java.nio.ByteBuffer data) + public static com.google.datastore.admin.v1.EntityFilter parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.admin.v1.EntityFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.EntityFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.admin.v1.EntityFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.EntityFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.admin.v1.EntityFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.EntityFilter parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.admin.v1.EntityFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.EntityFilter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.EntityFilter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.admin.v1.EntityFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.EntityFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.admin.v1.EntityFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.datastore.admin.v1.EntityFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Identifies a subset of entities in a project. This is specified as
    * combinations of kinds and namespaces (either or both of which may be all, as
@@ -443,45 +400,48 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.datastore.admin.v1.EntityFilter}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.datastore.admin.v1.EntityFilter)
       com.google.datastore.admin.v1.EntityFilterOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto
-          .internal_static_google_datastore_admin_v1_EntityFilter_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_EntityFilter_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto
-          .internal_static_google_datastore_admin_v1_EntityFilter_fieldAccessorTable
+      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_EntityFilter_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.admin.v1.EntityFilter.class,
-              com.google.datastore.admin.v1.EntityFilter.Builder.class);
+              com.google.datastore.admin.v1.EntityFilter.class, com.google.datastore.admin.v1.EntityFilter.Builder.class);
     }
 
     // Construct using com.google.datastore.admin.v1.EntityFilter.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
-      kinds_ = com.google.protobuf.LazyStringArrayList.emptyList();
-      namespaceIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      kinds_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
+      namespaceIds_ =
+          com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto
-          .internal_static_google_datastore_admin_v1_EntityFilter_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_EntityFilter_descriptor;
     }
 
     @java.lang.Override
@@ -500,11 +460,8 @@ public com.google.datastore.admin.v1.EntityFilter build() {
 
     @java.lang.Override
     public com.google.datastore.admin.v1.EntityFilter buildPartial() {
-      com.google.datastore.admin.v1.EntityFilter result =
-          new com.google.datastore.admin.v1.EntityFilter(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.datastore.admin.v1.EntityFilter result = new com.google.datastore.admin.v1.EntityFilter(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -525,39 +482,38 @@ private void buildPartial0(com.google.datastore.admin.v1.EntityFilter result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.admin.v1.EntityFilter) {
-        return mergeFrom((com.google.datastore.admin.v1.EntityFilter) other);
+        return mergeFrom((com.google.datastore.admin.v1.EntityFilter)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -612,27 +568,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureKindsIsMutable();
-                kinds_.add(s);
-                break;
-              } // case 10
-            case 18:
-              {
-                java.lang.String s = input.readStringRequireUtf8();
-                ensureNamespaceIdsIsMutable();
-                namespaceIds_.add(s);
-                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();
+              ensureKindsIsMutable();
+              kinds_.add(s);
+              break;
+            } // case 10
+            case 18: {
+              java.lang.String s = input.readStringRequireUtf8();
+              ensureNamespaceIdsIsMutable();
+              namespaceIds_.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) {
@@ -642,12 +595,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.protobuf.LazyStringArrayList kinds_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
-
     private void ensureKindsIsMutable() {
       if (!kinds_.isModifiable()) {
         kinds_ = new com.google.protobuf.LazyStringArrayList(kinds_);
@@ -655,43 +606,35 @@ private void ensureKindsIsMutable() {
       bitField0_ |= 0x00000001;
     }
     /**
-     *
-     *
      * 
      * If empty, then this represents all kinds.
      * 
* * repeated string kinds = 1; - * * @return A list containing the kinds. */ - public com.google.protobuf.ProtocolStringList getKindsList() { + public com.google.protobuf.ProtocolStringList + getKindsList() { kinds_.makeImmutable(); return kinds_; } /** - * - * *
      * If empty, then this represents all kinds.
      * 
* * repeated string kinds = 1; - * * @return The count of kinds. */ public int getKindsCount() { return kinds_.size(); } /** - * - * *
      * If empty, then this represents all kinds.
      * 
* * repeated string kinds = 1; - * * @param index The index of the element to return. * @return The kinds at the given index. */ @@ -699,37 +642,31 @@ public java.lang.String getKinds(int index) { return kinds_.get(index); } /** - * - * *
      * If empty, then this represents all kinds.
      * 
* * repeated string kinds = 1; - * * @param index The index of the value to return. * @return The bytes of the kinds at the given index. */ - public com.google.protobuf.ByteString getKindsBytes(int index) { + public com.google.protobuf.ByteString + getKindsBytes(int index) { return kinds_.getByteString(index); } /** - * - * *
      * If empty, then this represents all kinds.
      * 
* * repeated string kinds = 1; - * * @param index The index to set the value at. * @param value The kinds to set. * @return This builder for chaining. */ - public Builder setKinds(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKinds( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureKindsIsMutable(); kinds_.set(index, value); bitField0_ |= 0x00000001; @@ -737,21 +674,17 @@ public Builder setKinds(int index, java.lang.String value) { return this; } /** - * - * *
      * If empty, then this represents all kinds.
      * 
* * repeated string kinds = 1; - * * @param value The kinds to add. * @return This builder for chaining. */ - public Builder addKinds(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addKinds( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureKindsIsMutable(); kinds_.add(value); bitField0_ |= 0x00000001; @@ -759,58 +692,50 @@ public Builder addKinds(java.lang.String value) { return this; } /** - * - * *
      * If empty, then this represents all kinds.
      * 
* * repeated string kinds = 1; - * * @param values The kinds to add. * @return This builder for chaining. */ - public Builder addAllKinds(java.lang.Iterable values) { + public Builder addAllKinds( + java.lang.Iterable values) { ensureKindsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, kinds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, kinds_); bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * If empty, then this represents all kinds.
      * 
* * repeated string kinds = 1; - * * @return This builder for chaining. */ public Builder clearKinds() { - kinds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - ; + kinds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001);; onChanged(); return this; } /** - * - * *
      * If empty, then this represents all kinds.
      * 
* * repeated string kinds = 1; - * * @param value The bytes of the kinds to add. * @return This builder for chaining. */ - public Builder addKindsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addKindsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureKindsIsMutable(); kinds_.add(value); @@ -821,7 +746,6 @@ public Builder addKindsBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.LazyStringArrayList namespaceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - private void ensureNamespaceIdsIsMutable() { if (!namespaceIds_.isModifiable()) { namespaceIds_ = new com.google.protobuf.LazyStringArrayList(namespaceIds_); @@ -829,8 +753,6 @@ private void ensureNamespaceIdsIsMutable() { bitField0_ |= 0x00000002; } /** - * - * *
      * An empty list represents all namespaces. This is the preferred
      * usage for projects that don't use namespaces.
@@ -842,16 +764,14 @@ private void ensureNamespaceIdsIsMutable() {
      * 
* * repeated string namespace_ids = 2; - * * @return A list containing the namespaceIds. */ - public com.google.protobuf.ProtocolStringList getNamespaceIdsList() { + public com.google.protobuf.ProtocolStringList + getNamespaceIdsList() { namespaceIds_.makeImmutable(); return namespaceIds_; } /** - * - * *
      * An empty list represents all namespaces. This is the preferred
      * usage for projects that don't use namespaces.
@@ -863,15 +783,12 @@ public com.google.protobuf.ProtocolStringList getNamespaceIdsList() {
      * 
* * repeated string namespace_ids = 2; - * * @return The count of namespaceIds. */ public int getNamespaceIdsCount() { return namespaceIds_.size(); } /** - * - * *
      * An empty list represents all namespaces. This is the preferred
      * usage for projects that don't use namespaces.
@@ -883,7 +800,6 @@ public int getNamespaceIdsCount() {
      * 
* * repeated string namespace_ids = 2; - * * @param index The index of the element to return. * @return The namespaceIds at the given index. */ @@ -891,8 +807,6 @@ public java.lang.String getNamespaceIds(int index) { return namespaceIds_.get(index); } /** - * - * *
      * An empty list represents all namespaces. This is the preferred
      * usage for projects that don't use namespaces.
@@ -904,16 +818,14 @@ public java.lang.String getNamespaceIds(int index) {
      * 
* * repeated string namespace_ids = 2; - * * @param index The index of the value to return. * @return The bytes of the namespaceIds at the given index. */ - public com.google.protobuf.ByteString getNamespaceIdsBytes(int index) { + public com.google.protobuf.ByteString + getNamespaceIdsBytes(int index) { return namespaceIds_.getByteString(index); } /** - * - * *
      * An empty list represents all namespaces. This is the preferred
      * usage for projects that don't use namespaces.
@@ -925,15 +837,13 @@ public com.google.protobuf.ByteString getNamespaceIdsBytes(int index) {
      * 
* * repeated string namespace_ids = 2; - * * @param index The index to set the value at. * @param value The namespaceIds to set. * @return This builder for chaining. */ - public Builder setNamespaceIds(int index, java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNamespaceIds( + int index, java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureNamespaceIdsIsMutable(); namespaceIds_.set(index, value); bitField0_ |= 0x00000002; @@ -941,8 +851,6 @@ public Builder setNamespaceIds(int index, java.lang.String value) { return this; } /** - * - * *
      * An empty list represents all namespaces. This is the preferred
      * usage for projects that don't use namespaces.
@@ -954,14 +862,12 @@ public Builder setNamespaceIds(int index, java.lang.String value) {
      * 
* * repeated string namespace_ids = 2; - * * @param value The namespaceIds to add. * @return This builder for chaining. */ - public Builder addNamespaceIds(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addNamespaceIds( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } ensureNamespaceIdsIsMutable(); namespaceIds_.add(value); bitField0_ |= 0x00000002; @@ -969,8 +875,6 @@ public Builder addNamespaceIds(java.lang.String value) { return this; } /** - * - * *
      * An empty list represents all namespaces. This is the preferred
      * usage for projects that don't use namespaces.
@@ -982,20 +886,19 @@ public Builder addNamespaceIds(java.lang.String value) {
      * 
* * repeated string namespace_ids = 2; - * * @param values The namespaceIds to add. * @return This builder for chaining. */ - public Builder addAllNamespaceIds(java.lang.Iterable values) { + public Builder addAllNamespaceIds( + java.lang.Iterable values) { ensureNamespaceIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, namespaceIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, namespaceIds_); bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * An empty list represents all namespaces. This is the preferred
      * usage for projects that don't use namespaces.
@@ -1007,19 +910,16 @@ public Builder addAllNamespaceIds(java.lang.Iterable values) {
      * 
* * repeated string namespace_ids = 2; - * * @return This builder for chaining. */ public Builder clearNamespaceIds() { - namespaceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002); - ; + namespaceIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002);; onChanged(); return this; } /** - * - * *
      * An empty list represents all namespaces. This is the preferred
      * usage for projects that don't use namespaces.
@@ -1031,14 +931,12 @@ public Builder clearNamespaceIds() {
      * 
* * repeated string namespace_ids = 2; - * * @param value The bytes of the namespaceIds to add. * @return This builder for chaining. */ - public Builder addNamespaceIdsBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder addNamespaceIdsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureNamespaceIdsIsMutable(); namespaceIds_.add(value); @@ -1046,9 +944,9 @@ public Builder addNamespaceIdsBytes(com.google.protobuf.ByteString 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); } @@ -1058,12 +956,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.EntityFilter) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.EntityFilter) private static final com.google.datastore.admin.v1.EntityFilter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.EntityFilter(); } @@ -1072,27 +970,27 @@ public static com.google.datastore.admin.v1.EntityFilter getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EntityFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EntityFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1107,4 +1005,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.EntityFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/EntityFilterOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/EntityFilterOrBuilder.java similarity index 77% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/EntityFilterOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/EntityFilterOrBuilder.java index 59fff0657..24beed369 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/EntityFilterOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/EntityFilterOrBuilder.java @@ -1,83 +1,55 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface EntityFilterOrBuilder - extends +public interface EntityFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.EntityFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * If empty, then this represents all kinds.
    * 
* * repeated string kinds = 1; - * * @return A list containing the kinds. */ - java.util.List getKindsList(); + java.util.List + getKindsList(); /** - * - * *
    * If empty, then this represents all kinds.
    * 
* * repeated string kinds = 1; - * * @return The count of kinds. */ int getKindsCount(); /** - * - * *
    * If empty, then this represents all kinds.
    * 
* * repeated string kinds = 1; - * * @param index The index of the element to return. * @return The kinds at the given index. */ java.lang.String getKinds(int index); /** - * - * *
    * If empty, then this represents all kinds.
    * 
* * repeated string kinds = 1; - * * @param index The index of the value to return. * @return The bytes of the kinds at the given index. */ - com.google.protobuf.ByteString getKindsBytes(int index); + com.google.protobuf.ByteString + getKindsBytes(int index); /** - * - * *
    * An empty list represents all namespaces. This is the preferred
    * usage for projects that don't use namespaces.
@@ -89,13 +61,11 @@ public interface EntityFilterOrBuilder
    * 
* * repeated string namespace_ids = 2; - * * @return A list containing the namespaceIds. */ - java.util.List getNamespaceIdsList(); + java.util.List + getNamespaceIdsList(); /** - * - * *
    * An empty list represents all namespaces. This is the preferred
    * usage for projects that don't use namespaces.
@@ -107,13 +77,10 @@ public interface EntityFilterOrBuilder
    * 
* * repeated string namespace_ids = 2; - * * @return The count of namespaceIds. */ int getNamespaceIdsCount(); /** - * - * *
    * An empty list represents all namespaces. This is the preferred
    * usage for projects that don't use namespaces.
@@ -125,14 +92,11 @@ public interface EntityFilterOrBuilder
    * 
* * repeated string namespace_ids = 2; - * * @param index The index of the element to return. * @return The namespaceIds at the given index. */ java.lang.String getNamespaceIds(int index); /** - * - * *
    * An empty list represents all namespaces. This is the preferred
    * usage for projects that don't use namespaces.
@@ -144,9 +108,9 @@ public interface EntityFilterOrBuilder
    * 
* * repeated string namespace_ids = 2; - * * @param index The index of the value to return. * @return The bytes of the namespaceIds at the given index. */ - com.google.protobuf.ByteString getNamespaceIdsBytes(int index); + com.google.protobuf.ByteString + getNamespaceIdsBytes(int index); } diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesMetadata.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesMetadata.java similarity index 71% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesMetadata.java index 360a2c5c6..e1150e423 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesMetadata.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto @@ -20,61 +5,54 @@ package com.google.datastore.admin.v1; /** - * - * *
  * Metadata for ExportEntities operations.
  * 
* * Protobuf type {@code google.datastore.admin.v1.ExportEntitiesMetadata} */ -public final class ExportEntitiesMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExportEntitiesMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.datastore.admin.v1.ExportEntitiesMetadata) ExportEntitiesMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExportEntitiesMetadata.newBuilder() to construct. private ExportEntitiesMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExportEntitiesMetadata() { outputUrlPrefix_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExportEntitiesMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.admin.v1.DatastoreAdminProto - .internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.DatastoreAdminProto - .internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_fieldAccessorTable + return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.ExportEntitiesMetadata.class, - com.google.datastore.admin.v1.ExportEntitiesMetadata.Builder.class); + com.google.datastore.admin.v1.ExportEntitiesMetadata.class, com.google.datastore.admin.v1.ExportEntitiesMetadata.Builder.class); } private int bitField0_; public static final int COMMON_FIELD_NUMBER = 1; private com.google.datastore.admin.v1.CommonMetadata common_; /** - * - * *
    * Metadata common to all Datastore Admin operations.
    * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; - * * @return Whether the common field is set. */ @java.lang.Override @@ -82,25 +60,18 @@ public boolean hasCommon() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Metadata common to all Datastore Admin operations.
    * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; - * * @return The common. */ @java.lang.Override public com.google.datastore.admin.v1.CommonMetadata getCommon() { - return common_ == null - ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() - : common_; + return common_ == null ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() : common_; } /** - * - * *
    * Metadata common to all Datastore Admin operations.
    * 
@@ -109,22 +80,17 @@ public com.google.datastore.admin.v1.CommonMetadata getCommon() { */ @java.lang.Override public com.google.datastore.admin.v1.CommonMetadataOrBuilder getCommonOrBuilder() { - return common_ == null - ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() - : common_; + return common_ == null ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() : common_; } public static final int PROGRESS_ENTITIES_FIELD_NUMBER = 2; private com.google.datastore.admin.v1.Progress progressEntities_; /** - * - * *
    * An estimate of the number of entities processed.
    * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; - * * @return Whether the progressEntities field is set. */ @java.lang.Override @@ -132,25 +98,18 @@ public boolean hasProgressEntities() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * An estimate of the number of entities processed.
    * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; - * * @return The progressEntities. */ @java.lang.Override public com.google.datastore.admin.v1.Progress getProgressEntities() { - return progressEntities_ == null - ? com.google.datastore.admin.v1.Progress.getDefaultInstance() - : progressEntities_; + return progressEntities_ == null ? com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressEntities_; } /** - * - * *
    * An estimate of the number of entities processed.
    * 
@@ -159,22 +118,17 @@ public com.google.datastore.admin.v1.Progress getProgressEntities() { */ @java.lang.Override public com.google.datastore.admin.v1.ProgressOrBuilder getProgressEntitiesOrBuilder() { - return progressEntities_ == null - ? com.google.datastore.admin.v1.Progress.getDefaultInstance() - : progressEntities_; + return progressEntities_ == null ? com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressEntities_; } public static final int PROGRESS_BYTES_FIELD_NUMBER = 3; private com.google.datastore.admin.v1.Progress progressBytes_; /** - * - * *
    * An estimate of the number of bytes processed.
    * 
* * .google.datastore.admin.v1.Progress progress_bytes = 3; - * * @return Whether the progressBytes field is set. */ @java.lang.Override @@ -182,25 +136,18 @@ public boolean hasProgressBytes() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * An estimate of the number of bytes processed.
    * 
* * .google.datastore.admin.v1.Progress progress_bytes = 3; - * * @return The progressBytes. */ @java.lang.Override public com.google.datastore.admin.v1.Progress getProgressBytes() { - return progressBytes_ == null - ? com.google.datastore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } /** - * - * *
    * An estimate of the number of bytes processed.
    * 
@@ -209,22 +156,17 @@ public com.google.datastore.admin.v1.Progress getProgressBytes() { */ @java.lang.Override public com.google.datastore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder() { - return progressBytes_ == null - ? com.google.datastore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } public static final int ENTITY_FILTER_FIELD_NUMBER = 4; private com.google.datastore.admin.v1.EntityFilter entityFilter_; /** - * - * *
    * Description of which entities are being exported.
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; - * * @return Whether the entityFilter field is set. */ @java.lang.Override @@ -232,25 +174,18 @@ public boolean hasEntityFilter() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
    * Description of which entities are being exported.
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; - * * @return The entityFilter. */ @java.lang.Override public com.google.datastore.admin.v1.EntityFilter getEntityFilter() { - return entityFilter_ == null - ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() - : entityFilter_; + return entityFilter_ == null ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_; } /** - * - * *
    * Description of which entities are being exported.
    * 
@@ -259,18 +194,13 @@ public com.google.datastore.admin.v1.EntityFilter getEntityFilter() { */ @java.lang.Override public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuilder() { - return entityFilter_ == null - ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() - : entityFilter_; + return entityFilter_ == null ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_; } public static final int OUTPUT_URL_PREFIX_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object outputUrlPrefix_ = ""; /** - * - * *
    * Location for the export metadata and data files. This will be the same
    * value as the
@@ -280,7 +210,6 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil
    * 
* * string output_url_prefix = 5; - * * @return The outputUrlPrefix. */ @java.lang.Override @@ -289,15 +218,14 @@ public java.lang.String getOutputUrlPrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputUrlPrefix_ = s; return s; } } /** - * - * *
    * Location for the export metadata and data files. This will be the same
    * value as the
@@ -307,15 +235,16 @@ public java.lang.String getOutputUrlPrefix() {
    * 
* * string output_url_prefix = 5; - * * @return The bytes for outputUrlPrefix. */ @java.lang.Override - public com.google.protobuf.ByteString getOutputUrlPrefixBytes() { + public com.google.protobuf.ByteString + getOutputUrlPrefixBytes() { java.lang.Object ref = outputUrlPrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputUrlPrefix_ = b; return b; } else { @@ -324,7 +253,6 @@ public com.google.protobuf.ByteString getOutputUrlPrefixBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -336,7 +264,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getCommon()); } @@ -362,16 +291,20 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCommon()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCommon()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProgressEntities()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getProgressEntities()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getProgressBytes()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getProgressBytes()); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEntityFilter()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEntityFilter()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputUrlPrefix_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, outputUrlPrefix_); @@ -384,31 +317,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.datastore.admin.v1.ExportEntitiesMetadata)) { return super.equals(obj); } - com.google.datastore.admin.v1.ExportEntitiesMetadata other = - (com.google.datastore.admin.v1.ExportEntitiesMetadata) obj; + com.google.datastore.admin.v1.ExportEntitiesMetadata other = (com.google.datastore.admin.v1.ExportEntitiesMetadata) obj; if (hasCommon() != other.hasCommon()) return false; if (hasCommon()) { - if (!getCommon().equals(other.getCommon())) return false; + if (!getCommon() + .equals(other.getCommon())) return false; } if (hasProgressEntities() != other.hasProgressEntities()) return false; if (hasProgressEntities()) { - if (!getProgressEntities().equals(other.getProgressEntities())) return false; + if (!getProgressEntities() + .equals(other.getProgressEntities())) 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 (hasEntityFilter() != other.hasEntityFilter()) return false; if (hasEntityFilter()) { - if (!getEntityFilter().equals(other.getEntityFilter())) return false; + if (!getEntityFilter() + .equals(other.getEntityFilter())) return false; } - if (!getOutputUrlPrefix().equals(other.getOutputUrlPrefix())) return false; + if (!getOutputUrlPrefix() + .equals(other.getOutputUrlPrefix())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -444,126 +381,119 @@ public int hashCode() { } public static com.google.datastore.admin.v1.ExportEntitiesMetadata 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.datastore.admin.v1.ExportEntitiesMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.ExportEntitiesMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.admin.v1.ExportEntitiesMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.ExportEntitiesMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.admin.v1.ExportEntitiesMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.datastore.admin.v1.ExportEntitiesMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.ExportEntitiesMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.admin.v1.ExportEntitiesMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.ExportEntitiesMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.ExportEntitiesMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.admin.v1.ExportEntitiesMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.ExportEntitiesMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.admin.v1.ExportEntitiesMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.datastore.admin.v1.ExportEntitiesMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ExportEntities operations.
    * 
* * Protobuf type {@code google.datastore.admin.v1.ExportEntitiesMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.datastore.admin.v1.ExportEntitiesMetadata) com.google.datastore.admin.v1.ExportEntitiesMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.admin.v1.DatastoreAdminProto - .internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.DatastoreAdminProto - .internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_fieldAccessorTable + return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.ExportEntitiesMetadata.class, - com.google.datastore.admin.v1.ExportEntitiesMetadata.Builder.class); + com.google.datastore.admin.v1.ExportEntitiesMetadata.class, com.google.datastore.admin.v1.ExportEntitiesMetadata.Builder.class); } // Construct using com.google.datastore.admin.v1.ExportEntitiesMetadata.newBuilder() @@ -571,20 +501,20 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getCommonFieldBuilder(); getProgressEntitiesFieldBuilder(); getProgressBytesFieldBuilder(); getEntityFilterFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -614,9 +544,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.admin.v1.DatastoreAdminProto - .internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_descriptor; } @java.lang.Override @@ -635,11 +565,8 @@ public com.google.datastore.admin.v1.ExportEntitiesMetadata build() { @java.lang.Override public com.google.datastore.admin.v1.ExportEntitiesMetadata buildPartial() { - com.google.datastore.admin.v1.ExportEntitiesMetadata result = - new com.google.datastore.admin.v1.ExportEntitiesMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.datastore.admin.v1.ExportEntitiesMetadata result = new com.google.datastore.admin.v1.ExportEntitiesMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -648,22 +575,27 @@ private void buildPartial0(com.google.datastore.admin.v1.ExportEntitiesMetadata int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.common_ = commonBuilder_ == null ? common_ : commonBuilder_.build(); + result.common_ = commonBuilder_ == null + ? common_ + : commonBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.progressEntities_ = - progressEntitiesBuilder_ == null ? progressEntities_ : progressEntitiesBuilder_.build(); + result.progressEntities_ = progressEntitiesBuilder_ == null + ? progressEntities_ + : progressEntitiesBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.progressBytes_ = - progressBytesBuilder_ == null ? progressBytes_ : progressBytesBuilder_.build(); + result.progressBytes_ = progressBytesBuilder_ == null + ? progressBytes_ + : progressBytesBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.entityFilter_ = - entityFilterBuilder_ == null ? entityFilter_ : entityFilterBuilder_.build(); + result.entityFilter_ = entityFilterBuilder_ == null + ? entityFilter_ + : entityFilterBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { @@ -676,39 +608,38 @@ private void buildPartial0(com.google.datastore.admin.v1.ExportEntitiesMetadata public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.admin.v1.ExportEntitiesMetadata) { - return mergeFrom((com.google.datastore.admin.v1.ExportEntitiesMetadata) other); + return mergeFrom((com.google.datastore.admin.v1.ExportEntitiesMetadata)other); } else { super.mergeFrom(other); return this; @@ -716,8 +647,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.datastore.admin.v1.ExportEntitiesMetadata other) { - if (other == com.google.datastore.admin.v1.ExportEntitiesMetadata.getDefaultInstance()) - return this; + if (other == com.google.datastore.admin.v1.ExportEntitiesMetadata.getDefaultInstance()) return this; if (other.hasCommon()) { mergeCommon(other.getCommon()); } @@ -761,44 +691,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCommonFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage( - getProgressEntitiesFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getProgressBytesFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getEntityFilterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - outputUrlPrefix_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getCommonFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getProgressEntitiesFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getProgressBytesFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getEntityFilterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + outputUrlPrefix_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -808,52 +739,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.datastore.admin.v1.CommonMetadata common_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.CommonMetadata, - com.google.datastore.admin.v1.CommonMetadata.Builder, - com.google.datastore.admin.v1.CommonMetadataOrBuilder> - commonBuilder_; + com.google.datastore.admin.v1.CommonMetadata, com.google.datastore.admin.v1.CommonMetadata.Builder, com.google.datastore.admin.v1.CommonMetadataOrBuilder> commonBuilder_; /** - * - * *
      * Metadata common to all Datastore Admin operations.
      * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; - * * @return Whether the common field is set. */ public boolean hasCommon() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Metadata common to all Datastore Admin operations.
      * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; - * * @return The common. */ public com.google.datastore.admin.v1.CommonMetadata getCommon() { if (commonBuilder_ == null) { - return common_ == null - ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() - : common_; + return common_ == null ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() : common_; } else { return commonBuilder_.getMessage(); } } /** - * - * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -874,15 +791,14 @@ public Builder setCommon(com.google.datastore.admin.v1.CommonMetadata value) { return this; } /** - * - * *
      * Metadata common to all Datastore Admin operations.
      * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; */ - public Builder setCommon(com.google.datastore.admin.v1.CommonMetadata.Builder builderForValue) { + public Builder setCommon( + com.google.datastore.admin.v1.CommonMetadata.Builder builderForValue) { if (commonBuilder_ == null) { common_ = builderForValue.build(); } else { @@ -893,8 +809,6 @@ public Builder setCommon(com.google.datastore.admin.v1.CommonMetadata.Builder bu return this; } /** - * - * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -903,9 +817,9 @@ public Builder setCommon(com.google.datastore.admin.v1.CommonMetadata.Builder bu */ public Builder mergeCommon(com.google.datastore.admin.v1.CommonMetadata value) { if (commonBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && common_ != null - && common_ != com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + common_ != null && + common_ != com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance()) { getCommonBuilder().mergeFrom(value); } else { common_ = value; @@ -920,8 +834,6 @@ public Builder mergeCommon(com.google.datastore.admin.v1.CommonMetadata value) { return this; } /** - * - * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -939,8 +851,6 @@ public Builder clearCommon() { return this; } /** - * - * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -953,8 +863,6 @@ public com.google.datastore.admin.v1.CommonMetadata.Builder getCommonBuilder() { return getCommonFieldBuilder().getBuilder(); } /** - * - * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -965,14 +873,11 @@ public com.google.datastore.admin.v1.CommonMetadataOrBuilder getCommonOrBuilder( if (commonBuilder_ != null) { return commonBuilder_.getMessageOrBuilder(); } else { - return common_ == null - ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() - : common_; + return common_ == null ? + com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() : common_; } } /** - * - * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -980,17 +885,14 @@ public com.google.datastore.admin.v1.CommonMetadataOrBuilder getCommonOrBuilder( * .google.datastore.admin.v1.CommonMetadata common = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.CommonMetadata, - com.google.datastore.admin.v1.CommonMetadata.Builder, - com.google.datastore.admin.v1.CommonMetadataOrBuilder> + com.google.datastore.admin.v1.CommonMetadata, com.google.datastore.admin.v1.CommonMetadata.Builder, com.google.datastore.admin.v1.CommonMetadataOrBuilder> getCommonFieldBuilder() { if (commonBuilder_ == null) { - commonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.CommonMetadata, - com.google.datastore.admin.v1.CommonMetadata.Builder, - com.google.datastore.admin.v1.CommonMetadataOrBuilder>( - getCommon(), getParentForChildren(), isClean()); + commonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.admin.v1.CommonMetadata, com.google.datastore.admin.v1.CommonMetadata.Builder, com.google.datastore.admin.v1.CommonMetadataOrBuilder>( + getCommon(), + getParentForChildren(), + isClean()); common_ = null; } return commonBuilder_; @@ -998,47 +900,34 @@ public com.google.datastore.admin.v1.CommonMetadataOrBuilder getCommonOrBuilder( private com.google.datastore.admin.v1.Progress progressEntities_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Progress, - com.google.datastore.admin.v1.Progress.Builder, - com.google.datastore.admin.v1.ProgressOrBuilder> - progressEntitiesBuilder_; + com.google.datastore.admin.v1.Progress, com.google.datastore.admin.v1.Progress.Builder, com.google.datastore.admin.v1.ProgressOrBuilder> progressEntitiesBuilder_; /** - * - * *
      * An estimate of the number of entities processed.
      * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; - * * @return Whether the progressEntities field is set. */ public boolean hasProgressEntities() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * An estimate of the number of entities processed.
      * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; - * * @return The progressEntities. */ public com.google.datastore.admin.v1.Progress getProgressEntities() { if (progressEntitiesBuilder_ == null) { - return progressEntities_ == null - ? com.google.datastore.admin.v1.Progress.getDefaultInstance() - : progressEntities_; + return progressEntities_ == null ? com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressEntities_; } else { return progressEntitiesBuilder_.getMessage(); } } /** - * - * *
      * An estimate of the number of entities processed.
      * 
@@ -1059,8 +948,6 @@ public Builder setProgressEntities(com.google.datastore.admin.v1.Progress value) return this; } /** - * - * *
      * An estimate of the number of entities processed.
      * 
@@ -1079,8 +966,6 @@ public Builder setProgressEntities( return this; } /** - * - * *
      * An estimate of the number of entities processed.
      * 
@@ -1089,9 +974,9 @@ public Builder setProgressEntities( */ public Builder mergeProgressEntities(com.google.datastore.admin.v1.Progress value) { if (progressEntitiesBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && progressEntities_ != null - && progressEntities_ != com.google.datastore.admin.v1.Progress.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + progressEntities_ != null && + progressEntities_ != com.google.datastore.admin.v1.Progress.getDefaultInstance()) { getProgressEntitiesBuilder().mergeFrom(value); } else { progressEntities_ = value; @@ -1106,8 +991,6 @@ public Builder mergeProgressEntities(com.google.datastore.admin.v1.Progress valu return this; } /** - * - * *
      * An estimate of the number of entities processed.
      * 
@@ -1125,8 +1008,6 @@ public Builder clearProgressEntities() { return this; } /** - * - * *
      * An estimate of the number of entities processed.
      * 
@@ -1139,8 +1020,6 @@ public com.google.datastore.admin.v1.Progress.Builder getProgressEntitiesBuilder return getProgressEntitiesFieldBuilder().getBuilder(); } /** - * - * *
      * An estimate of the number of entities processed.
      * 
@@ -1151,14 +1030,11 @@ public com.google.datastore.admin.v1.ProgressOrBuilder getProgressEntitiesOrBuil if (progressEntitiesBuilder_ != null) { return progressEntitiesBuilder_.getMessageOrBuilder(); } else { - return progressEntities_ == null - ? com.google.datastore.admin.v1.Progress.getDefaultInstance() - : progressEntities_; + return progressEntities_ == null ? + com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressEntities_; } } /** - * - * *
      * An estimate of the number of entities processed.
      * 
@@ -1166,17 +1042,14 @@ public com.google.datastore.admin.v1.ProgressOrBuilder getProgressEntitiesOrBuil * .google.datastore.admin.v1.Progress progress_entities = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Progress, - com.google.datastore.admin.v1.Progress.Builder, - com.google.datastore.admin.v1.ProgressOrBuilder> + com.google.datastore.admin.v1.Progress, com.google.datastore.admin.v1.Progress.Builder, com.google.datastore.admin.v1.ProgressOrBuilder> getProgressEntitiesFieldBuilder() { if (progressEntitiesBuilder_ == null) { - progressEntitiesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Progress, - com.google.datastore.admin.v1.Progress.Builder, - com.google.datastore.admin.v1.ProgressOrBuilder>( - getProgressEntities(), getParentForChildren(), isClean()); + progressEntitiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.admin.v1.Progress, com.google.datastore.admin.v1.Progress.Builder, com.google.datastore.admin.v1.ProgressOrBuilder>( + getProgressEntities(), + getParentForChildren(), + isClean()); progressEntities_ = null; } return progressEntitiesBuilder_; @@ -1184,47 +1057,34 @@ public com.google.datastore.admin.v1.ProgressOrBuilder getProgressEntitiesOrBuil private com.google.datastore.admin.v1.Progress progressBytes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Progress, - com.google.datastore.admin.v1.Progress.Builder, - com.google.datastore.admin.v1.ProgressOrBuilder> - progressBytesBuilder_; + com.google.datastore.admin.v1.Progress, com.google.datastore.admin.v1.Progress.Builder, com.google.datastore.admin.v1.ProgressOrBuilder> progressBytesBuilder_; /** - * - * *
      * An estimate of the number of bytes processed.
      * 
* * .google.datastore.admin.v1.Progress progress_bytes = 3; - * * @return Whether the progressBytes field is set. */ public boolean hasProgressBytes() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * An estimate of the number of bytes processed.
      * 
* * .google.datastore.admin.v1.Progress progress_bytes = 3; - * * @return The progressBytes. */ public com.google.datastore.admin.v1.Progress getProgressBytes() { if (progressBytesBuilder_ == null) { - return progressBytes_ == null - ? com.google.datastore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } else { return progressBytesBuilder_.getMessage(); } } /** - * - * *
      * An estimate of the number of bytes processed.
      * 
@@ -1245,8 +1105,6 @@ public Builder setProgressBytes(com.google.datastore.admin.v1.Progress value) { return this; } /** - * - * *
      * An estimate of the number of bytes processed.
      * 
@@ -1265,8 +1123,6 @@ public Builder setProgressBytes( return this; } /** - * - * *
      * An estimate of the number of bytes processed.
      * 
@@ -1275,9 +1131,9 @@ public Builder setProgressBytes( */ public Builder mergeProgressBytes(com.google.datastore.admin.v1.Progress value) { if (progressBytesBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && progressBytes_ != null - && progressBytes_ != com.google.datastore.admin.v1.Progress.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + progressBytes_ != null && + progressBytes_ != com.google.datastore.admin.v1.Progress.getDefaultInstance()) { getProgressBytesBuilder().mergeFrom(value); } else { progressBytes_ = value; @@ -1292,8 +1148,6 @@ public Builder mergeProgressBytes(com.google.datastore.admin.v1.Progress value) return this; } /** - * - * *
      * An estimate of the number of bytes processed.
      * 
@@ -1311,8 +1165,6 @@ public Builder clearProgressBytes() { return this; } /** - * - * *
      * An estimate of the number of bytes processed.
      * 
@@ -1325,8 +1177,6 @@ public com.google.datastore.admin.v1.Progress.Builder getProgressBytesBuilder() return getProgressBytesFieldBuilder().getBuilder(); } /** - * - * *
      * An estimate of the number of bytes processed.
      * 
@@ -1337,14 +1187,11 @@ public com.google.datastore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder if (progressBytesBuilder_ != null) { return progressBytesBuilder_.getMessageOrBuilder(); } else { - return progressBytes_ == null - ? com.google.datastore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? + com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } } /** - * - * *
      * An estimate of the number of bytes processed.
      * 
@@ -1352,17 +1199,14 @@ public com.google.datastore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder * .google.datastore.admin.v1.Progress progress_bytes = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Progress, - com.google.datastore.admin.v1.Progress.Builder, - com.google.datastore.admin.v1.ProgressOrBuilder> + com.google.datastore.admin.v1.Progress, com.google.datastore.admin.v1.Progress.Builder, com.google.datastore.admin.v1.ProgressOrBuilder> getProgressBytesFieldBuilder() { if (progressBytesBuilder_ == null) { - progressBytesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Progress, - com.google.datastore.admin.v1.Progress.Builder, - com.google.datastore.admin.v1.ProgressOrBuilder>( - getProgressBytes(), getParentForChildren(), isClean()); + progressBytesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.admin.v1.Progress, com.google.datastore.admin.v1.Progress.Builder, com.google.datastore.admin.v1.ProgressOrBuilder>( + getProgressBytes(), + getParentForChildren(), + isClean()); progressBytes_ = null; } return progressBytesBuilder_; @@ -1370,47 +1214,34 @@ public com.google.datastore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder private com.google.datastore.admin.v1.EntityFilter entityFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.EntityFilter, - com.google.datastore.admin.v1.EntityFilter.Builder, - com.google.datastore.admin.v1.EntityFilterOrBuilder> - entityFilterBuilder_; + com.google.datastore.admin.v1.EntityFilter, com.google.datastore.admin.v1.EntityFilter.Builder, com.google.datastore.admin.v1.EntityFilterOrBuilder> entityFilterBuilder_; /** - * - * *
      * Description of which entities are being exported.
      * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; - * * @return Whether the entityFilter field is set. */ public boolean hasEntityFilter() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Description of which entities are being exported.
      * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; - * * @return The entityFilter. */ public com.google.datastore.admin.v1.EntityFilter getEntityFilter() { if (entityFilterBuilder_ == null) { - return entityFilter_ == null - ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() - : entityFilter_; + return entityFilter_ == null ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_; } else { return entityFilterBuilder_.getMessage(); } } /** - * - * *
      * Description of which entities are being exported.
      * 
@@ -1431,8 +1262,6 @@ public Builder setEntityFilter(com.google.datastore.admin.v1.EntityFilter value) return this; } /** - * - * *
      * Description of which entities are being exported.
      * 
@@ -1451,8 +1280,6 @@ public Builder setEntityFilter( return this; } /** - * - * *
      * Description of which entities are being exported.
      * 
@@ -1461,9 +1288,9 @@ public Builder setEntityFilter( */ public Builder mergeEntityFilter(com.google.datastore.admin.v1.EntityFilter value) { if (entityFilterBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && entityFilter_ != null - && entityFilter_ != com.google.datastore.admin.v1.EntityFilter.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + entityFilter_ != null && + entityFilter_ != com.google.datastore.admin.v1.EntityFilter.getDefaultInstance()) { getEntityFilterBuilder().mergeFrom(value); } else { entityFilter_ = value; @@ -1478,8 +1305,6 @@ public Builder mergeEntityFilter(com.google.datastore.admin.v1.EntityFilter valu return this; } /** - * - * *
      * Description of which entities are being exported.
      * 
@@ -1497,8 +1322,6 @@ public Builder clearEntityFilter() { return this; } /** - * - * *
      * Description of which entities are being exported.
      * 
@@ -1511,8 +1334,6 @@ public com.google.datastore.admin.v1.EntityFilter.Builder getEntityFilterBuilder return getEntityFilterFieldBuilder().getBuilder(); } /** - * - * *
      * Description of which entities are being exported.
      * 
@@ -1523,14 +1344,11 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil if (entityFilterBuilder_ != null) { return entityFilterBuilder_.getMessageOrBuilder(); } else { - return entityFilter_ == null - ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() - : entityFilter_; + return entityFilter_ == null ? + com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_; } } /** - * - * *
      * Description of which entities are being exported.
      * 
@@ -1538,17 +1356,14 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil * .google.datastore.admin.v1.EntityFilter entity_filter = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.EntityFilter, - com.google.datastore.admin.v1.EntityFilter.Builder, - com.google.datastore.admin.v1.EntityFilterOrBuilder> + com.google.datastore.admin.v1.EntityFilter, com.google.datastore.admin.v1.EntityFilter.Builder, com.google.datastore.admin.v1.EntityFilterOrBuilder> getEntityFilterFieldBuilder() { if (entityFilterBuilder_ == null) { - entityFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.EntityFilter, - com.google.datastore.admin.v1.EntityFilter.Builder, - com.google.datastore.admin.v1.EntityFilterOrBuilder>( - getEntityFilter(), getParentForChildren(), isClean()); + entityFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.admin.v1.EntityFilter, com.google.datastore.admin.v1.EntityFilter.Builder, com.google.datastore.admin.v1.EntityFilterOrBuilder>( + getEntityFilter(), + getParentForChildren(), + isClean()); entityFilter_ = null; } return entityFilterBuilder_; @@ -1556,8 +1371,6 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil private java.lang.Object outputUrlPrefix_ = ""; /** - * - * *
      * Location for the export metadata and data files. This will be the same
      * value as the
@@ -1567,13 +1380,13 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil
      * 
* * string output_url_prefix = 5; - * * @return The outputUrlPrefix. */ public java.lang.String getOutputUrlPrefix() { java.lang.Object ref = outputUrlPrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputUrlPrefix_ = s; return s; @@ -1582,8 +1395,6 @@ public java.lang.String getOutputUrlPrefix() { } } /** - * - * *
      * Location for the export metadata and data files. This will be the same
      * value as the
@@ -1593,14 +1404,15 @@ public java.lang.String getOutputUrlPrefix() {
      * 
* * string output_url_prefix = 5; - * * @return The bytes for outputUrlPrefix. */ - public com.google.protobuf.ByteString getOutputUrlPrefixBytes() { + public com.google.protobuf.ByteString + getOutputUrlPrefixBytes() { java.lang.Object ref = outputUrlPrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputUrlPrefix_ = b; return b; } else { @@ -1608,8 +1420,6 @@ public com.google.protobuf.ByteString getOutputUrlPrefixBytes() { } } /** - * - * *
      * Location for the export metadata and data files. This will be the same
      * value as the
@@ -1619,22 +1429,18 @@ public com.google.protobuf.ByteString getOutputUrlPrefixBytes() {
      * 
* * string output_url_prefix = 5; - * * @param value The outputUrlPrefix to set. * @return This builder for chaining. */ - public Builder setOutputUrlPrefix(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOutputUrlPrefix( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } outputUrlPrefix_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Location for the export metadata and data files. This will be the same
      * value as the
@@ -1644,7 +1450,6 @@ public Builder setOutputUrlPrefix(java.lang.String value) {
      * 
* * string output_url_prefix = 5; - * * @return This builder for chaining. */ public Builder clearOutputUrlPrefix() { @@ -1654,8 +1459,6 @@ public Builder clearOutputUrlPrefix() { return this; } /** - * - * *
      * Location for the export metadata and data files. This will be the same
      * value as the
@@ -1665,23 +1468,21 @@ public Builder clearOutputUrlPrefix() {
      * 
* * string output_url_prefix = 5; - * * @param value The bytes for outputUrlPrefix to set. * @return This builder for chaining. */ - public Builder setOutputUrlPrefixBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOutputUrlPrefixBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); outputUrlPrefix_ = value; bitField0_ |= 0x00000010; 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); } @@ -1691,12 +1492,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.ExportEntitiesMetadata) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.ExportEntitiesMetadata) private static final com.google.datastore.admin.v1.ExportEntitiesMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.ExportEntitiesMetadata(); } @@ -1705,27 +1506,27 @@ public static com.google.datastore.admin.v1.ExportEntitiesMetadata getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportEntitiesMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportEntitiesMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1740,4 +1541,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.ExportEntitiesMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesMetadataOrBuilder.java similarity index 83% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesMetadataOrBuilder.java index a65dedc9c..097627da6 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesMetadataOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface ExportEntitiesMetadataOrBuilder - extends +public interface ExportEntitiesMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.ExportEntitiesMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Metadata common to all Datastore Admin operations.
    * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; - * * @return Whether the common field is set. */ boolean hasCommon(); /** - * - * *
    * Metadata common to all Datastore Admin operations.
    * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; - * * @return The common. */ com.google.datastore.admin.v1.CommonMetadata getCommon(); /** - * - * *
    * Metadata common to all Datastore Admin operations.
    * 
@@ -60,32 +36,24 @@ public interface ExportEntitiesMetadataOrBuilder com.google.datastore.admin.v1.CommonMetadataOrBuilder getCommonOrBuilder(); /** - * - * *
    * An estimate of the number of entities processed.
    * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; - * * @return Whether the progressEntities field is set. */ boolean hasProgressEntities(); /** - * - * *
    * An estimate of the number of entities processed.
    * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; - * * @return The progressEntities. */ com.google.datastore.admin.v1.Progress getProgressEntities(); /** - * - * *
    * An estimate of the number of entities processed.
    * 
@@ -95,32 +63,24 @@ public interface ExportEntitiesMetadataOrBuilder com.google.datastore.admin.v1.ProgressOrBuilder getProgressEntitiesOrBuilder(); /** - * - * *
    * An estimate of the number of bytes processed.
    * 
* * .google.datastore.admin.v1.Progress progress_bytes = 3; - * * @return Whether the progressBytes field is set. */ boolean hasProgressBytes(); /** - * - * *
    * An estimate of the number of bytes processed.
    * 
* * .google.datastore.admin.v1.Progress progress_bytes = 3; - * * @return The progressBytes. */ com.google.datastore.admin.v1.Progress getProgressBytes(); /** - * - * *
    * An estimate of the number of bytes processed.
    * 
@@ -130,32 +90,24 @@ public interface ExportEntitiesMetadataOrBuilder com.google.datastore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder(); /** - * - * *
    * Description of which entities are being exported.
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; - * * @return Whether the entityFilter field is set. */ boolean hasEntityFilter(); /** - * - * *
    * Description of which entities are being exported.
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; - * * @return The entityFilter. */ com.google.datastore.admin.v1.EntityFilter getEntityFilter(); /** - * - * *
    * Description of which entities are being exported.
    * 
@@ -165,8 +117,6 @@ public interface ExportEntitiesMetadataOrBuilder com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuilder(); /** - * - * *
    * Location for the export metadata and data files. This will be the same
    * value as the
@@ -176,13 +126,10 @@ public interface ExportEntitiesMetadataOrBuilder
    * 
* * string output_url_prefix = 5; - * * @return The outputUrlPrefix. */ java.lang.String getOutputUrlPrefix(); /** - * - * *
    * Location for the export metadata and data files. This will be the same
    * value as the
@@ -192,8 +139,8 @@ public interface ExportEntitiesMetadataOrBuilder
    * 
* * string output_url_prefix = 5; - * * @return The bytes for outputUrlPrefix. */ - com.google.protobuf.ByteString getOutputUrlPrefixBytes(); + com.google.protobuf.ByteString + getOutputUrlPrefixBytes(); } diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesRequest.java similarity index 70% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesRequest.java index acad36a3e..41d5d7cd9 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto @@ -20,8 +5,6 @@ package com.google.datastore.admin.v1; /** - * - * *
  * The request for
  * [google.datastore.admin.v1.DatastoreAdmin.ExportEntities][google.datastore.admin.v1.DatastoreAdmin.ExportEntities].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.datastore.admin.v1.ExportEntitiesRequest}
  */
-public final class ExportEntitiesRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ExportEntitiesRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.datastore.admin.v1.ExportEntitiesRequest)
     ExportEntitiesRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ExportEntitiesRequest.newBuilder() to construct.
   private ExportEntitiesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ExportEntitiesRequest() {
     projectId_ = "";
     outputUrlPrefix_ = "";
@@ -46,13 +28,14 @@ private ExportEntitiesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ExportEntitiesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto
-        .internal_static_google_datastore_admin_v1_ExportEntitiesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
@@ -63,34 +46,28 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
       case 2:
         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.datastore.admin.v1.DatastoreAdminProto
-        .internal_static_google_datastore_admin_v1_ExportEntitiesRequest_fieldAccessorTable
+    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.admin.v1.ExportEntitiesRequest.class,
-            com.google.datastore.admin.v1.ExportEntitiesRequest.Builder.class);
+            com.google.datastore.admin.v1.ExportEntitiesRequest.class, com.google.datastore.admin.v1.ExportEntitiesRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object projectId_ = "";
   /**
-   *
-   *
    * 
    * Required. Project ID against which to make the request.
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ @java.lang.Override @@ -99,29 +76,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. Project ID against which to make the request.
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -130,34 +107,32 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int LABELS_FIELD_NUMBER = 2; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.datastore.admin.v1.DatastoreAdminProto - .internal_static_google_datastore_admin_v1_ExportEntitiesRequest_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.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesRequest_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Client-assigned labels.
    * 
@@ -165,21 +140,20 @@ public int getLabelsCount() { * map<string, string> labels = 2; */ @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(); } /** - * - * *
    * Client-assigned labels.
    * 
@@ -191,8 +165,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Client-assigned labels.
    * 
@@ -200,19 +172,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 2; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Client-assigned labels.
    * 
@@ -220,11 +190,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 2; */ @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(); } @@ -234,14 +204,11 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { public static final int ENTITY_FILTER_FIELD_NUMBER = 3; private com.google.datastore.admin.v1.EntityFilter entityFilter_; /** - * - * *
    * Description of what data from the project is included in the export.
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 3; - * * @return Whether the entityFilter field is set. */ @java.lang.Override @@ -249,25 +216,18 @@ public boolean hasEntityFilter() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Description of what data from the project is included in the export.
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 3; - * * @return The entityFilter. */ @java.lang.Override public com.google.datastore.admin.v1.EntityFilter getEntityFilter() { - return entityFilter_ == null - ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() - : entityFilter_; + return entityFilter_ == null ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_; } /** - * - * *
    * Description of what data from the project is included in the export.
    * 
@@ -276,18 +236,13 @@ public com.google.datastore.admin.v1.EntityFilter getEntityFilter() { */ @java.lang.Override public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuilder() { - return entityFilter_ == null - ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() - : entityFilter_; + return entityFilter_ == null ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_; } public static final int OUTPUT_URL_PREFIX_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object outputUrlPrefix_ = ""; /** - * - * *
    * Required. Location for the export metadata and data files.
    *
@@ -310,7 +265,6 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil
    * 
* * string output_url_prefix = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The outputUrlPrefix. */ @java.lang.Override @@ -319,15 +273,14 @@ public java.lang.String getOutputUrlPrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputUrlPrefix_ = s; return s; } } /** - * - * *
    * Required. Location for the export metadata and data files.
    *
@@ -350,15 +303,16 @@ public java.lang.String getOutputUrlPrefix() {
    * 
* * string output_url_prefix = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for outputUrlPrefix. */ @java.lang.Override - public com.google.protobuf.ByteString getOutputUrlPrefixBytes() { + public com.google.protobuf.ByteString + getOutputUrlPrefixBytes() { java.lang.Object ref = outputUrlPrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputUrlPrefix_ = b; return b; } else { @@ -367,7 +321,6 @@ public com.google.protobuf.ByteString getOutputUrlPrefixBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -379,12 +332,17 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } - com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( - output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 2); + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 2); if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getEntityFilter()); } @@ -403,18 +361,19 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, projectId_); } - 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(2, labels__); + 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(2, labels__); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEntityFilter()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getEntityFilter()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputUrlPrefix_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, outputUrlPrefix_); @@ -427,21 +386,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.datastore.admin.v1.ExportEntitiesRequest)) { return super.equals(obj); } - com.google.datastore.admin.v1.ExportEntitiesRequest other = - (com.google.datastore.admin.v1.ExportEntitiesRequest) obj; + com.google.datastore.admin.v1.ExportEntitiesRequest other = (com.google.datastore.admin.v1.ExportEntitiesRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!internalGetLabels().equals(other.internalGetLabels())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; if (hasEntityFilter() != other.hasEntityFilter()) return false; if (hasEntityFilter()) { - if (!getEntityFilter().equals(other.getEntityFilter())) return false; + if (!getEntityFilter() + .equals(other.getEntityFilter())) return false; } - if (!getOutputUrlPrefix().equals(other.getOutputUrlPrefix())) return false; + if (!getOutputUrlPrefix() + .equals(other.getOutputUrlPrefix())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -471,103 +433,98 @@ public int hashCode() { } public static com.google.datastore.admin.v1.ExportEntitiesRequest 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.datastore.admin.v1.ExportEntitiesRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.ExportEntitiesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.admin.v1.ExportEntitiesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.ExportEntitiesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.admin.v1.ExportEntitiesRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.datastore.admin.v1.ExportEntitiesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.ExportEntitiesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.admin.v1.ExportEntitiesRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.ExportEntitiesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.ExportEntitiesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.admin.v1.ExportEntitiesRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.ExportEntitiesRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.admin.v1.ExportEntitiesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.datastore.admin.v1.ExportEntitiesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [google.datastore.admin.v1.DatastoreAdmin.ExportEntities][google.datastore.admin.v1.DatastoreAdmin.ExportEntities].
@@ -575,13 +532,13 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.datastore.admin.v1.ExportEntitiesRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.datastore.admin.v1.ExportEntitiesRequest)
       com.google.datastore.admin.v1.ExportEntitiesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto
-          .internal_static_google_datastore_admin_v1_ExportEntitiesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
@@ -591,10 +548,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
         case 2:
           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.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
         int number) {
@@ -602,18 +559,16 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi
         case 2:
           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.datastore.admin.v1.DatastoreAdminProto
-          .internal_static_google_datastore_admin_v1_ExportEntitiesRequest_fieldAccessorTable
+      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.admin.v1.ExportEntitiesRequest.class,
-              com.google.datastore.admin.v1.ExportEntitiesRequest.Builder.class);
+              com.google.datastore.admin.v1.ExportEntitiesRequest.class, com.google.datastore.admin.v1.ExportEntitiesRequest.Builder.class);
     }
 
     // Construct using com.google.datastore.admin.v1.ExportEntitiesRequest.newBuilder()
@@ -621,17 +576,17 @@ 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) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getEntityFilterFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -648,9 +603,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto
-          .internal_static_google_datastore_admin_v1_ExportEntitiesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -669,11 +624,8 @@ public com.google.datastore.admin.v1.ExportEntitiesRequest build() {
 
     @java.lang.Override
     public com.google.datastore.admin.v1.ExportEntitiesRequest buildPartial() {
-      com.google.datastore.admin.v1.ExportEntitiesRequest result =
-          new com.google.datastore.admin.v1.ExportEntitiesRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.datastore.admin.v1.ExportEntitiesRequest result = new com.google.datastore.admin.v1.ExportEntitiesRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -689,8 +641,9 @@ private void buildPartial0(com.google.datastore.admin.v1.ExportEntitiesRequest r
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.entityFilter_ =
-            entityFilterBuilder_ == null ? entityFilter_ : entityFilterBuilder_.build();
+        result.entityFilter_ = entityFilterBuilder_ == null
+            ? entityFilter_
+            : entityFilterBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
@@ -703,39 +656,38 @@ private void buildPartial0(com.google.datastore.admin.v1.ExportEntitiesRequest r
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.admin.v1.ExportEntitiesRequest) {
-        return mergeFrom((com.google.datastore.admin.v1.ExportEntitiesRequest) other);
+        return mergeFrom((com.google.datastore.admin.v1.ExportEntitiesRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -743,14 +695,14 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.datastore.admin.v1.ExportEntitiesRequest other) {
-      if (other == com.google.datastore.admin.v1.ExportEntitiesRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.datastore.admin.v1.ExportEntitiesRequest.getDefaultInstance()) return this;
       if (!other.getProjectId().isEmpty()) {
         projectId_ = other.projectId_;
         bitField0_ |= 0x00000001;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       bitField0_ |= 0x00000002;
       if (other.hasEntityFilter()) {
         mergeEntityFilter(other.getEntityFilter());
@@ -786,43 +738,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                projectId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(getEntityFilterFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                outputUrlPrefix_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              projectId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getEntityFilterFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              outputUrlPrefix_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -832,25 +779,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object projectId_ = "";
     /**
-     *
-     *
      * 
      * Required. Project ID against which to make the request.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -859,21 +803,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. Project ID against which to make the request.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -881,35 +824,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. Project ID against which to make the request.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Project ID against which to make the request.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -919,21 +855,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Required. Project ID against which to make the request.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -941,19 +873,21 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -962,13 +896,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Client-assigned labels.
      * 
@@ -976,21 +907,20 @@ public int getLabelsCount() { * map<string, string> labels = 2; */ @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(); } /** - * - * *
      * Client-assigned labels.
      * 
@@ -1002,8 +932,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Client-assigned labels.
      * 
@@ -1011,19 +939,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 2; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Client-assigned labels.
      * 
@@ -1031,122 +957,107 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 2; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000002); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Client-assigned labels.
      * 
* * map<string, string> labels = 2; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000002; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Client-assigned labels.
      * 
* * map<string, string> labels = 2; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000002; return this; } /** - * - * *
      * Client-assigned labels.
      * 
* * map<string, string> labels = 2; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000002; return this; } private com.google.datastore.admin.v1.EntityFilter entityFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.EntityFilter, - com.google.datastore.admin.v1.EntityFilter.Builder, - com.google.datastore.admin.v1.EntityFilterOrBuilder> - entityFilterBuilder_; + com.google.datastore.admin.v1.EntityFilter, com.google.datastore.admin.v1.EntityFilter.Builder, com.google.datastore.admin.v1.EntityFilterOrBuilder> entityFilterBuilder_; /** - * - * *
      * Description of what data from the project is included in the export.
      * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 3; - * * @return Whether the entityFilter field is set. */ public boolean hasEntityFilter() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Description of what data from the project is included in the export.
      * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 3; - * * @return The entityFilter. */ public com.google.datastore.admin.v1.EntityFilter getEntityFilter() { if (entityFilterBuilder_ == null) { - return entityFilter_ == null - ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() - : entityFilter_; + return entityFilter_ == null ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_; } else { return entityFilterBuilder_.getMessage(); } } /** - * - * *
      * Description of what data from the project is included in the export.
      * 
@@ -1167,8 +1078,6 @@ public Builder setEntityFilter(com.google.datastore.admin.v1.EntityFilter value) return this; } /** - * - * *
      * Description of what data from the project is included in the export.
      * 
@@ -1187,8 +1096,6 @@ public Builder setEntityFilter( return this; } /** - * - * *
      * Description of what data from the project is included in the export.
      * 
@@ -1197,9 +1104,9 @@ public Builder setEntityFilter( */ public Builder mergeEntityFilter(com.google.datastore.admin.v1.EntityFilter value) { if (entityFilterBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && entityFilter_ != null - && entityFilter_ != com.google.datastore.admin.v1.EntityFilter.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + entityFilter_ != null && + entityFilter_ != com.google.datastore.admin.v1.EntityFilter.getDefaultInstance()) { getEntityFilterBuilder().mergeFrom(value); } else { entityFilter_ = value; @@ -1214,8 +1121,6 @@ public Builder mergeEntityFilter(com.google.datastore.admin.v1.EntityFilter valu return this; } /** - * - * *
      * Description of what data from the project is included in the export.
      * 
@@ -1233,8 +1138,6 @@ public Builder clearEntityFilter() { return this; } /** - * - * *
      * Description of what data from the project is included in the export.
      * 
@@ -1247,8 +1150,6 @@ public com.google.datastore.admin.v1.EntityFilter.Builder getEntityFilterBuilder return getEntityFilterFieldBuilder().getBuilder(); } /** - * - * *
      * Description of what data from the project is included in the export.
      * 
@@ -1259,14 +1160,11 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil if (entityFilterBuilder_ != null) { return entityFilterBuilder_.getMessageOrBuilder(); } else { - return entityFilter_ == null - ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() - : entityFilter_; + return entityFilter_ == null ? + com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_; } } /** - * - * *
      * Description of what data from the project is included in the export.
      * 
@@ -1274,17 +1172,14 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil * .google.datastore.admin.v1.EntityFilter entity_filter = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.EntityFilter, - com.google.datastore.admin.v1.EntityFilter.Builder, - com.google.datastore.admin.v1.EntityFilterOrBuilder> + com.google.datastore.admin.v1.EntityFilter, com.google.datastore.admin.v1.EntityFilter.Builder, com.google.datastore.admin.v1.EntityFilterOrBuilder> getEntityFilterFieldBuilder() { if (entityFilterBuilder_ == null) { - entityFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.EntityFilter, - com.google.datastore.admin.v1.EntityFilter.Builder, - com.google.datastore.admin.v1.EntityFilterOrBuilder>( - getEntityFilter(), getParentForChildren(), isClean()); + entityFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.admin.v1.EntityFilter, com.google.datastore.admin.v1.EntityFilter.Builder, com.google.datastore.admin.v1.EntityFilterOrBuilder>( + getEntityFilter(), + getParentForChildren(), + isClean()); entityFilter_ = null; } return entityFilterBuilder_; @@ -1292,8 +1187,6 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil private java.lang.Object outputUrlPrefix_ = ""; /** - * - * *
      * Required. Location for the export metadata and data files.
      *
@@ -1316,13 +1209,13 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil
      * 
* * string output_url_prefix = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The outputUrlPrefix. */ public java.lang.String getOutputUrlPrefix() { java.lang.Object ref = outputUrlPrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputUrlPrefix_ = s; return s; @@ -1331,8 +1224,6 @@ public java.lang.String getOutputUrlPrefix() { } } /** - * - * *
      * Required. Location for the export metadata and data files.
      *
@@ -1355,14 +1246,15 @@ public java.lang.String getOutputUrlPrefix() {
      * 
* * string output_url_prefix = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for outputUrlPrefix. */ - public com.google.protobuf.ByteString getOutputUrlPrefixBytes() { + public com.google.protobuf.ByteString + getOutputUrlPrefixBytes() { java.lang.Object ref = outputUrlPrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputUrlPrefix_ = b; return b; } else { @@ -1370,8 +1262,6 @@ public com.google.protobuf.ByteString getOutputUrlPrefixBytes() { } } /** - * - * *
      * Required. Location for the export metadata and data files.
      *
@@ -1394,22 +1284,18 @@ public com.google.protobuf.ByteString getOutputUrlPrefixBytes() {
      * 
* * string output_url_prefix = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The outputUrlPrefix to set. * @return This builder for chaining. */ - public Builder setOutputUrlPrefix(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOutputUrlPrefix( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } outputUrlPrefix_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * Required. Location for the export metadata and data files.
      *
@@ -1432,7 +1318,6 @@ public Builder setOutputUrlPrefix(java.lang.String value) {
      * 
* * string output_url_prefix = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearOutputUrlPrefix() { @@ -1442,8 +1327,6 @@ public Builder clearOutputUrlPrefix() { return this; } /** - * - * *
      * Required. Location for the export metadata and data files.
      *
@@ -1466,23 +1349,21 @@ public Builder clearOutputUrlPrefix() {
      * 
* * string output_url_prefix = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for outputUrlPrefix to set. * @return This builder for chaining. */ - public Builder setOutputUrlPrefixBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOutputUrlPrefixBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); outputUrlPrefix_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1492,12 +1373,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.ExportEntitiesRequest) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.ExportEntitiesRequest) private static final com.google.datastore.admin.v1.ExportEntitiesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.ExportEntitiesRequest(); } @@ -1506,27 +1387,27 @@ public static com.google.datastore.admin.v1.ExportEntitiesRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportEntitiesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportEntitiesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1541,4 +1422,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.ExportEntitiesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesRequestOrBuilder.java similarity index 79% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesRequestOrBuilder.java index 01f5ec35d..f275b08a5 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesRequestOrBuilder.java @@ -1,57 +1,34 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface ExportEntitiesRequestOrBuilder - extends +public interface ExportEntitiesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.ExportEntitiesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Project ID against which to make the request.
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Required. Project ID against which to make the request.
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Client-assigned labels.
    * 
@@ -60,31 +37,30 @@ public interface ExportEntitiesRequestOrBuilder */ int getLabelsCount(); /** - * - * *
    * Client-assigned labels.
    * 
* * map<string, string> labels = 2; */ - 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(); /** - * - * *
    * Client-assigned labels.
    * 
* * map<string, string> labels = 2; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Client-assigned labels.
    * 
@@ -92,48 +68,39 @@ public interface ExportEntitiesRequestOrBuilder * map<string, string> labels = 2; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Client-assigned labels.
    * 
* * map<string, string> labels = 2; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Description of what data from the project is included in the export.
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 3; - * * @return Whether the entityFilter field is set. */ boolean hasEntityFilter(); /** - * - * *
    * Description of what data from the project is included in the export.
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 3; - * * @return The entityFilter. */ com.google.datastore.admin.v1.EntityFilter getEntityFilter(); /** - * - * *
    * Description of what data from the project is included in the export.
    * 
@@ -143,8 +110,6 @@ java.lang.String getLabelsOrDefault( com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuilder(); /** - * - * *
    * Required. Location for the export metadata and data files.
    *
@@ -167,13 +132,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string output_url_prefix = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The outputUrlPrefix. */ java.lang.String getOutputUrlPrefix(); /** - * - * *
    * Required. Location for the export metadata and data files.
    *
@@ -196,8 +158,8 @@ java.lang.String getLabelsOrDefault(
    * 
* * string output_url_prefix = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for outputUrlPrefix. */ - com.google.protobuf.ByteString getOutputUrlPrefixBytes(); + com.google.protobuf.ByteString + getOutputUrlPrefixBytes(); } diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesResponse.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesResponse.java similarity index 68% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesResponse.java index fd3350685..adc01ddec 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto @@ -20,8 +5,6 @@ package com.google.datastore.admin.v1; /** - * - * *
  * The response for
  * [google.datastore.admin.v1.DatastoreAdmin.ExportEntities][google.datastore.admin.v1.DatastoreAdmin.ExportEntities].
@@ -29,48 +12,43 @@
  *
  * Protobuf type {@code google.datastore.admin.v1.ExportEntitiesResponse}
  */
-public final class ExportEntitiesResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ExportEntitiesResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.datastore.admin.v1.ExportEntitiesResponse)
     ExportEntitiesResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ExportEntitiesResponse.newBuilder() to construct.
   private ExportEntitiesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ExportEntitiesResponse() {
     outputUrl_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ExportEntitiesResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto
-        .internal_static_google_datastore_admin_v1_ExportEntitiesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto
-        .internal_static_google_datastore_admin_v1_ExportEntitiesResponse_fieldAccessorTable
+    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.admin.v1.ExportEntitiesResponse.class,
-            com.google.datastore.admin.v1.ExportEntitiesResponse.Builder.class);
+            com.google.datastore.admin.v1.ExportEntitiesResponse.class, com.google.datastore.admin.v1.ExportEntitiesResponse.Builder.class);
   }
 
   public static final int OUTPUT_URL_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object outputUrl_ = "";
   /**
-   *
-   *
    * 
    * Location of the output metadata file. This can be used to begin an import
    * into Cloud Datastore (this project or another project). See
@@ -79,7 +57,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string output_url = 1; - * * @return The outputUrl. */ @java.lang.Override @@ -88,15 +65,14 @@ public java.lang.String getOutputUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputUrl_ = s; return s; } } /** - * - * *
    * Location of the output metadata file. This can be used to begin an import
    * into Cloud Datastore (this project or another project). See
@@ -105,15 +81,16 @@ public java.lang.String getOutputUrl() {
    * 
* * string output_url = 1; - * * @return The bytes for outputUrl. */ @java.lang.Override - public com.google.protobuf.ByteString getOutputUrlBytes() { + public com.google.protobuf.ByteString + getOutputUrlBytes() { java.lang.Object ref = outputUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputUrl_ = b; return b; } else { @@ -122,7 +99,6 @@ public com.google.protobuf.ByteString getOutputUrlBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -134,7 +110,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(outputUrl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, outputUrl_); } @@ -158,15 +135,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.datastore.admin.v1.ExportEntitiesResponse)) { return super.equals(obj); } - com.google.datastore.admin.v1.ExportEntitiesResponse other = - (com.google.datastore.admin.v1.ExportEntitiesResponse) obj; + com.google.datastore.admin.v1.ExportEntitiesResponse other = (com.google.datastore.admin.v1.ExportEntitiesResponse) obj; - if (!getOutputUrl().equals(other.getOutputUrl())) return false; + if (!getOutputUrl() + .equals(other.getOutputUrl())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -186,103 +163,98 @@ public int hashCode() { } public static com.google.datastore.admin.v1.ExportEntitiesResponse 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.datastore.admin.v1.ExportEntitiesResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.ExportEntitiesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.admin.v1.ExportEntitiesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.ExportEntitiesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.admin.v1.ExportEntitiesResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.datastore.admin.v1.ExportEntitiesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.ExportEntitiesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.admin.v1.ExportEntitiesResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.ExportEntitiesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.ExportEntitiesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.admin.v1.ExportEntitiesResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.ExportEntitiesResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.admin.v1.ExportEntitiesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.datastore.admin.v1.ExportEntitiesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [google.datastore.admin.v1.DatastoreAdmin.ExportEntities][google.datastore.admin.v1.DatastoreAdmin.ExportEntities].
@@ -290,32 +262,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.datastore.admin.v1.ExportEntitiesResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.datastore.admin.v1.ExportEntitiesResponse)
       com.google.datastore.admin.v1.ExportEntitiesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto
-          .internal_static_google_datastore_admin_v1_ExportEntitiesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto
-          .internal_static_google_datastore_admin_v1_ExportEntitiesResponse_fieldAccessorTable
+      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.admin.v1.ExportEntitiesResponse.class,
-              com.google.datastore.admin.v1.ExportEntitiesResponse.Builder.class);
+              com.google.datastore.admin.v1.ExportEntitiesResponse.class, com.google.datastore.admin.v1.ExportEntitiesResponse.Builder.class);
     }
 
     // Construct using com.google.datastore.admin.v1.ExportEntitiesResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -325,9 +298,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto
-          .internal_static_google_datastore_admin_v1_ExportEntitiesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesResponse_descriptor;
     }
 
     @java.lang.Override
@@ -346,11 +319,8 @@ public com.google.datastore.admin.v1.ExportEntitiesResponse build() {
 
     @java.lang.Override
     public com.google.datastore.admin.v1.ExportEntitiesResponse buildPartial() {
-      com.google.datastore.admin.v1.ExportEntitiesResponse result =
-          new com.google.datastore.admin.v1.ExportEntitiesResponse(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.datastore.admin.v1.ExportEntitiesResponse result = new com.google.datastore.admin.v1.ExportEntitiesResponse(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -366,39 +336,38 @@ private void buildPartial0(com.google.datastore.admin.v1.ExportEntitiesResponse
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.admin.v1.ExportEntitiesResponse) {
-        return mergeFrom((com.google.datastore.admin.v1.ExportEntitiesResponse) other);
+        return mergeFrom((com.google.datastore.admin.v1.ExportEntitiesResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -406,8 +375,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.datastore.admin.v1.ExportEntitiesResponse other) {
-      if (other == com.google.datastore.admin.v1.ExportEntitiesResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.datastore.admin.v1.ExportEntitiesResponse.getDefaultInstance()) return this;
       if (!other.getOutputUrl().isEmpty()) {
         outputUrl_ = other.outputUrl_;
         bitField0_ |= 0x00000001;
@@ -439,19 +407,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                outputUrl_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              outputUrl_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -461,13 +427,10 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object outputUrl_ = "";
     /**
-     *
-     *
      * 
      * Location of the output metadata file. This can be used to begin an import
      * into Cloud Datastore (this project or another project). See
@@ -476,13 +439,13 @@ public Builder mergeFrom(
      * 
* * string output_url = 1; - * * @return The outputUrl. */ public java.lang.String getOutputUrl() { java.lang.Object ref = outputUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputUrl_ = s; return s; @@ -491,8 +454,6 @@ public java.lang.String getOutputUrl() { } } /** - * - * *
      * Location of the output metadata file. This can be used to begin an import
      * into Cloud Datastore (this project or another project). See
@@ -501,14 +462,15 @@ public java.lang.String getOutputUrl() {
      * 
* * string output_url = 1; - * * @return The bytes for outputUrl. */ - public com.google.protobuf.ByteString getOutputUrlBytes() { + public com.google.protobuf.ByteString + getOutputUrlBytes() { java.lang.Object ref = outputUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); outputUrl_ = b; return b; } else { @@ -516,8 +478,6 @@ public com.google.protobuf.ByteString getOutputUrlBytes() { } } /** - * - * *
      * Location of the output metadata file. This can be used to begin an import
      * into Cloud Datastore (this project or another project). See
@@ -526,22 +486,18 @@ public com.google.protobuf.ByteString getOutputUrlBytes() {
      * 
* * string output_url = 1; - * * @param value The outputUrl to set. * @return This builder for chaining. */ - public Builder setOutputUrl(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOutputUrl( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } outputUrl_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Location of the output metadata file. This can be used to begin an import
      * into Cloud Datastore (this project or another project). See
@@ -550,7 +506,6 @@ public Builder setOutputUrl(java.lang.String value) {
      * 
* * string output_url = 1; - * * @return This builder for chaining. */ public Builder clearOutputUrl() { @@ -560,8 +515,6 @@ public Builder clearOutputUrl() { return this; } /** - * - * *
      * Location of the output metadata file. This can be used to begin an import
      * into Cloud Datastore (this project or another project). See
@@ -570,23 +523,21 @@ public Builder clearOutputUrl() {
      * 
* * string output_url = 1; - * * @param value The bytes for outputUrl to set. * @return This builder for chaining. */ - public Builder setOutputUrlBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setOutputUrlBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); outputUrl_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -596,12 +547,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.ExportEntitiesResponse) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.ExportEntitiesResponse) private static final com.google.datastore.admin.v1.ExportEntitiesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.ExportEntitiesResponse(); } @@ -610,27 +561,27 @@ public static com.google.datastore.admin.v1.ExportEntitiesResponse getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportEntitiesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportEntitiesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -645,4 +596,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.ExportEntitiesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesResponseOrBuilder.java similarity index 62% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesResponseOrBuilder.java index 77bf913fb..cf1f08178 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesResponseOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface ExportEntitiesResponseOrBuilder - extends +public interface ExportEntitiesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.ExportEntitiesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Location of the output metadata file. This can be used to begin an import
    * into Cloud Datastore (this project or another project). See
@@ -35,13 +17,10 @@ public interface ExportEntitiesResponseOrBuilder
    * 
* * string output_url = 1; - * * @return The outputUrl. */ java.lang.String getOutputUrl(); /** - * - * *
    * Location of the output metadata file. This can be used to begin an import
    * into Cloud Datastore (this project or another project). See
@@ -50,8 +29,8 @@ public interface ExportEntitiesResponseOrBuilder
    * 
* * string output_url = 1; - * * @return The bytes for outputUrl. */ - com.google.protobuf.ByteString getOutputUrlBytes(); + com.google.protobuf.ByteString + getOutputUrlBytes(); } diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/GetIndexRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/GetIndexRequest.java similarity index 67% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/GetIndexRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/GetIndexRequest.java index 00fb79822..a07db893c 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/GetIndexRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/GetIndexRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto @@ -20,8 +5,6 @@ package com.google.datastore.admin.v1; /** - * - * *
  * The request for
  * [google.datastore.admin.v1.DatastoreAdmin.GetIndex][google.datastore.admin.v1.DatastoreAdmin.GetIndex].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.datastore.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.datastore.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() {
     projectId_ = "";
     indexId_ = "";
@@ -46,38 +28,33 @@ private GetIndexRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GetIndexRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto
-        .internal_static_google_datastore_admin_v1_GetIndexRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_GetIndexRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto
-        .internal_static_google_datastore_admin_v1_GetIndexRequest_fieldAccessorTable
+    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_GetIndexRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.admin.v1.GetIndexRequest.class,
-            com.google.datastore.admin.v1.GetIndexRequest.Builder.class);
+            com.google.datastore.admin.v1.GetIndexRequest.class, com.google.datastore.admin.v1.GetIndexRequest.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object projectId_ = "";
   /**
-   *
-   *
    * 
    * Project ID against which to make the request.
    * 
* * string project_id = 1; - * * @return The projectId. */ @java.lang.Override @@ -86,29 +63,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Project ID against which to make the request.
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -117,18 +94,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int INDEX_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object indexId_ = ""; /** - * - * *
    * The resource ID of the index to get.
    * 
* * string index_id = 3; - * * @return The indexId. */ @java.lang.Override @@ -137,29 +110,29 @@ public java.lang.String getIndexId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); indexId_ = s; return s; } } /** - * - * *
    * The resource ID of the index to get.
    * 
* * string index_id = 3; - * * @return The bytes for indexId. */ @java.lang.Override - public com.google.protobuf.ByteString getIndexIdBytes() { + public com.google.protobuf.ByteString + getIndexIdBytes() { java.lang.Object ref = indexId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); indexId_ = b; return b; } else { @@ -168,7 +141,6 @@ public com.google.protobuf.ByteString getIndexIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,7 +152,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(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -210,16 +183,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.datastore.admin.v1.GetIndexRequest)) { return super.equals(obj); } - com.google.datastore.admin.v1.GetIndexRequest other = - (com.google.datastore.admin.v1.GetIndexRequest) obj; + com.google.datastore.admin.v1.GetIndexRequest other = (com.google.datastore.admin.v1.GetIndexRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getIndexId().equals(other.getIndexId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getIndexId() + .equals(other.getIndexId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -240,104 +214,99 @@ public int hashCode() { return hash; } - public static com.google.datastore.admin.v1.GetIndexRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.datastore.admin.v1.GetIndexRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.admin.v1.GetIndexRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.admin.v1.GetIndexRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.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.datastore.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.datastore.admin.v1.GetIndexRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.GetIndexRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.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.datastore.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.datastore.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.datastore.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
    * [google.datastore.admin.v1.DatastoreAdmin.GetIndex][google.datastore.admin.v1.DatastoreAdmin.GetIndex].
@@ -345,32 +314,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.datastore.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.datastore.admin.v1.GetIndexRequest)
       com.google.datastore.admin.v1.GetIndexRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto
-          .internal_static_google_datastore_admin_v1_GetIndexRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_GetIndexRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto
-          .internal_static_google_datastore_admin_v1_GetIndexRequest_fieldAccessorTable
+      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_GetIndexRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.admin.v1.GetIndexRequest.class,
-              com.google.datastore.admin.v1.GetIndexRequest.Builder.class);
+              com.google.datastore.admin.v1.GetIndexRequest.class, com.google.datastore.admin.v1.GetIndexRequest.Builder.class);
     }
 
     // Construct using com.google.datastore.admin.v1.GetIndexRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -381,9 +351,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto
-          .internal_static_google_datastore_admin_v1_GetIndexRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_GetIndexRequest_descriptor;
     }
 
     @java.lang.Override
@@ -402,11 +372,8 @@ public com.google.datastore.admin.v1.GetIndexRequest build() {
 
     @java.lang.Override
     public com.google.datastore.admin.v1.GetIndexRequest buildPartial() {
-      com.google.datastore.admin.v1.GetIndexRequest result =
-          new com.google.datastore.admin.v1.GetIndexRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.datastore.admin.v1.GetIndexRequest result = new com.google.datastore.admin.v1.GetIndexRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -425,39 +392,38 @@ private void buildPartial0(com.google.datastore.admin.v1.GetIndexRequest result)
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.admin.v1.GetIndexRequest) {
-        return mergeFrom((com.google.datastore.admin.v1.GetIndexRequest) other);
+        return mergeFrom((com.google.datastore.admin.v1.GetIndexRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -502,25 +468,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                projectId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 26:
-              {
-                indexId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              projectId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 26: {
+              indexId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              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) {
@@ -530,25 +493,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object projectId_ = "";
     /**
-     *
-     *
      * 
      * Project ID against which to make the request.
      * 
* * string project_id = 1; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -557,21 +517,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -579,35 +538,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -617,21 +569,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -641,20 +589,18 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object indexId_ = ""; /** - * - * *
      * The resource ID of the index to get.
      * 
* * string index_id = 3; - * * @return The indexId. */ public java.lang.String getIndexId() { java.lang.Object ref = indexId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); indexId_ = s; return s; @@ -663,21 +609,20 @@ public java.lang.String getIndexId() { } } /** - * - * *
      * The resource ID of the index to get.
      * 
* * string index_id = 3; - * * @return The bytes for indexId. */ - public com.google.protobuf.ByteString getIndexIdBytes() { + public com.google.protobuf.ByteString + getIndexIdBytes() { java.lang.Object ref = indexId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); indexId_ = b; return b; } else { @@ -685,35 +630,28 @@ public com.google.protobuf.ByteString getIndexIdBytes() { } } /** - * - * *
      * The resource ID of the index to get.
      * 
* * string index_id = 3; - * * @param value The indexId to set. * @return This builder for chaining. */ - public Builder setIndexId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIndexId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } indexId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The resource ID of the index to get.
      * 
* * string index_id = 3; - * * @return This builder for chaining. */ public Builder clearIndexId() { @@ -723,30 +661,26 @@ public Builder clearIndexId() { return this; } /** - * - * *
      * The resource ID of the index to get.
      * 
* * string index_id = 3; - * * @param value The bytes for indexId to set. * @return This builder for chaining. */ - public Builder setIndexIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIndexIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); indexId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -756,12 +690,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.GetIndexRequest) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.GetIndexRequest) private static final com.google.datastore.admin.v1.GetIndexRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.GetIndexRequest(); } @@ -770,27 +704,27 @@ public static com.google.datastore.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; @@ -805,4 +739,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.GetIndexRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/GetIndexRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/GetIndexRequestOrBuilder.java similarity index 55% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/GetIndexRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/GetIndexRequestOrBuilder.java index e33a2bd2e..b3600519b 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/GetIndexRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/GetIndexRequestOrBuilder.java @@ -1,76 +1,50 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface GetIndexRequestOrBuilder - extends +public interface GetIndexRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.GetIndexRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Project ID against which to make the request.
    * 
* * string project_id = 1; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Project ID against which to make the request.
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * The resource ID of the index to get.
    * 
* * string index_id = 3; - * * @return The indexId. */ java.lang.String getIndexId(); /** - * - * *
    * The resource ID of the index to get.
    * 
* * string index_id = 3; - * * @return The bytes for indexId. */ - com.google.protobuf.ByteString getIndexIdBytes(); + com.google.protobuf.ByteString + getIndexIdBytes(); } diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesMetadata.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesMetadata.java similarity index 71% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesMetadata.java index f89135ebd..9d2180cba 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesMetadata.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto @@ -20,61 +5,54 @@ package com.google.datastore.admin.v1; /** - * - * *
  * Metadata for ImportEntities operations.
  * 
* * Protobuf type {@code google.datastore.admin.v1.ImportEntitiesMetadata} */ -public final class ImportEntitiesMetadata extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ImportEntitiesMetadata extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.datastore.admin.v1.ImportEntitiesMetadata) ImportEntitiesMetadataOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ImportEntitiesMetadata.newBuilder() to construct. private ImportEntitiesMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ImportEntitiesMetadata() { inputUrl_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ImportEntitiesMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.admin.v1.DatastoreAdminProto - .internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.DatastoreAdminProto - .internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_fieldAccessorTable + return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.ImportEntitiesMetadata.class, - com.google.datastore.admin.v1.ImportEntitiesMetadata.Builder.class); + com.google.datastore.admin.v1.ImportEntitiesMetadata.class, com.google.datastore.admin.v1.ImportEntitiesMetadata.Builder.class); } private int bitField0_; public static final int COMMON_FIELD_NUMBER = 1; private com.google.datastore.admin.v1.CommonMetadata common_; /** - * - * *
    * Metadata common to all Datastore Admin operations.
    * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; - * * @return Whether the common field is set. */ @java.lang.Override @@ -82,25 +60,18 @@ public boolean hasCommon() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Metadata common to all Datastore Admin operations.
    * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; - * * @return The common. */ @java.lang.Override public com.google.datastore.admin.v1.CommonMetadata getCommon() { - return common_ == null - ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() - : common_; + return common_ == null ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() : common_; } /** - * - * *
    * Metadata common to all Datastore Admin operations.
    * 
@@ -109,22 +80,17 @@ public com.google.datastore.admin.v1.CommonMetadata getCommon() { */ @java.lang.Override public com.google.datastore.admin.v1.CommonMetadataOrBuilder getCommonOrBuilder() { - return common_ == null - ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() - : common_; + return common_ == null ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() : common_; } public static final int PROGRESS_ENTITIES_FIELD_NUMBER = 2; private com.google.datastore.admin.v1.Progress progressEntities_; /** - * - * *
    * An estimate of the number of entities processed.
    * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; - * * @return Whether the progressEntities field is set. */ @java.lang.Override @@ -132,25 +98,18 @@ public boolean hasProgressEntities() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * An estimate of the number of entities processed.
    * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; - * * @return The progressEntities. */ @java.lang.Override public com.google.datastore.admin.v1.Progress getProgressEntities() { - return progressEntities_ == null - ? com.google.datastore.admin.v1.Progress.getDefaultInstance() - : progressEntities_; + return progressEntities_ == null ? com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressEntities_; } /** - * - * *
    * An estimate of the number of entities processed.
    * 
@@ -159,22 +118,17 @@ public com.google.datastore.admin.v1.Progress getProgressEntities() { */ @java.lang.Override public com.google.datastore.admin.v1.ProgressOrBuilder getProgressEntitiesOrBuilder() { - return progressEntities_ == null - ? com.google.datastore.admin.v1.Progress.getDefaultInstance() - : progressEntities_; + return progressEntities_ == null ? com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressEntities_; } public static final int PROGRESS_BYTES_FIELD_NUMBER = 3; private com.google.datastore.admin.v1.Progress progressBytes_; /** - * - * *
    * An estimate of the number of bytes processed.
    * 
* * .google.datastore.admin.v1.Progress progress_bytes = 3; - * * @return Whether the progressBytes field is set. */ @java.lang.Override @@ -182,25 +136,18 @@ public boolean hasProgressBytes() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * An estimate of the number of bytes processed.
    * 
* * .google.datastore.admin.v1.Progress progress_bytes = 3; - * * @return The progressBytes. */ @java.lang.Override public com.google.datastore.admin.v1.Progress getProgressBytes() { - return progressBytes_ == null - ? com.google.datastore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } /** - * - * *
    * An estimate of the number of bytes processed.
    * 
@@ -209,22 +156,17 @@ public com.google.datastore.admin.v1.Progress getProgressBytes() { */ @java.lang.Override public com.google.datastore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder() { - return progressBytes_ == null - ? com.google.datastore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } public static final int ENTITY_FILTER_FIELD_NUMBER = 4; private com.google.datastore.admin.v1.EntityFilter entityFilter_; /** - * - * *
    * Description of which entities are being imported.
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; - * * @return Whether the entityFilter field is set. */ @java.lang.Override @@ -232,25 +174,18 @@ public boolean hasEntityFilter() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
    * Description of which entities are being imported.
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; - * * @return The entityFilter. */ @java.lang.Override public com.google.datastore.admin.v1.EntityFilter getEntityFilter() { - return entityFilter_ == null - ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() - : entityFilter_; + return entityFilter_ == null ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_; } /** - * - * *
    * Description of which entities are being imported.
    * 
@@ -259,18 +194,13 @@ public com.google.datastore.admin.v1.EntityFilter getEntityFilter() { */ @java.lang.Override public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuilder() { - return entityFilter_ == null - ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() - : entityFilter_; + return entityFilter_ == null ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_; } public static final int INPUT_URL_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object inputUrl_ = ""; /** - * - * *
    * The location of the import metadata file. This will be the same value as
    * the
@@ -279,7 +209,6 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil
    * 
* * string input_url = 5; - * * @return The inputUrl. */ @java.lang.Override @@ -288,15 +217,14 @@ public java.lang.String getInputUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputUrl_ = s; return s; } } /** - * - * *
    * The location of the import metadata file. This will be the same value as
    * the
@@ -305,15 +233,16 @@ public java.lang.String getInputUrl() {
    * 
* * string input_url = 5; - * * @return The bytes for inputUrl. */ @java.lang.Override - public com.google.protobuf.ByteString getInputUrlBytes() { + public com.google.protobuf.ByteString + getInputUrlBytes() { java.lang.Object ref = inputUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inputUrl_ = b; return b; } else { @@ -322,7 +251,6 @@ public com.google.protobuf.ByteString getInputUrlBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -334,7 +262,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getCommon()); } @@ -360,16 +289,20 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCommon()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCommon()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProgressEntities()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getProgressEntities()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getProgressBytes()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getProgressBytes()); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEntityFilter()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(4, getEntityFilter()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputUrl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, inputUrl_); @@ -382,31 +315,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.datastore.admin.v1.ImportEntitiesMetadata)) { return super.equals(obj); } - com.google.datastore.admin.v1.ImportEntitiesMetadata other = - (com.google.datastore.admin.v1.ImportEntitiesMetadata) obj; + com.google.datastore.admin.v1.ImportEntitiesMetadata other = (com.google.datastore.admin.v1.ImportEntitiesMetadata) obj; if (hasCommon() != other.hasCommon()) return false; if (hasCommon()) { - if (!getCommon().equals(other.getCommon())) return false; + if (!getCommon() + .equals(other.getCommon())) return false; } if (hasProgressEntities() != other.hasProgressEntities()) return false; if (hasProgressEntities()) { - if (!getProgressEntities().equals(other.getProgressEntities())) return false; + if (!getProgressEntities() + .equals(other.getProgressEntities())) 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 (hasEntityFilter() != other.hasEntityFilter()) return false; if (hasEntityFilter()) { - if (!getEntityFilter().equals(other.getEntityFilter())) return false; + if (!getEntityFilter() + .equals(other.getEntityFilter())) return false; } - if (!getInputUrl().equals(other.getInputUrl())) return false; + if (!getInputUrl() + .equals(other.getInputUrl())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -442,126 +379,119 @@ public int hashCode() { } public static com.google.datastore.admin.v1.ImportEntitiesMetadata 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.datastore.admin.v1.ImportEntitiesMetadata parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.ImportEntitiesMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.admin.v1.ImportEntitiesMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.ImportEntitiesMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.admin.v1.ImportEntitiesMetadata parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.datastore.admin.v1.ImportEntitiesMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.ImportEntitiesMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.admin.v1.ImportEntitiesMetadata parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.ImportEntitiesMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.ImportEntitiesMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.admin.v1.ImportEntitiesMetadata parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.ImportEntitiesMetadata parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.admin.v1.ImportEntitiesMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.datastore.admin.v1.ImportEntitiesMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ImportEntities operations.
    * 
* * Protobuf type {@code google.datastore.admin.v1.ImportEntitiesMetadata} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.datastore.admin.v1.ImportEntitiesMetadata) com.google.datastore.admin.v1.ImportEntitiesMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.admin.v1.DatastoreAdminProto - .internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.DatastoreAdminProto - .internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_fieldAccessorTable + return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.ImportEntitiesMetadata.class, - com.google.datastore.admin.v1.ImportEntitiesMetadata.Builder.class); + com.google.datastore.admin.v1.ImportEntitiesMetadata.class, com.google.datastore.admin.v1.ImportEntitiesMetadata.Builder.class); } // Construct using com.google.datastore.admin.v1.ImportEntitiesMetadata.newBuilder() @@ -569,20 +499,20 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getCommonFieldBuilder(); getProgressEntitiesFieldBuilder(); getProgressBytesFieldBuilder(); getEntityFilterFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -612,9 +542,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.admin.v1.DatastoreAdminProto - .internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_descriptor; } @java.lang.Override @@ -633,11 +563,8 @@ public com.google.datastore.admin.v1.ImportEntitiesMetadata build() { @java.lang.Override public com.google.datastore.admin.v1.ImportEntitiesMetadata buildPartial() { - com.google.datastore.admin.v1.ImportEntitiesMetadata result = - new com.google.datastore.admin.v1.ImportEntitiesMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.datastore.admin.v1.ImportEntitiesMetadata result = new com.google.datastore.admin.v1.ImportEntitiesMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -646,22 +573,27 @@ private void buildPartial0(com.google.datastore.admin.v1.ImportEntitiesMetadata int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.common_ = commonBuilder_ == null ? common_ : commonBuilder_.build(); + result.common_ = commonBuilder_ == null + ? common_ + : commonBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.progressEntities_ = - progressEntitiesBuilder_ == null ? progressEntities_ : progressEntitiesBuilder_.build(); + result.progressEntities_ = progressEntitiesBuilder_ == null + ? progressEntities_ + : progressEntitiesBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.progressBytes_ = - progressBytesBuilder_ == null ? progressBytes_ : progressBytesBuilder_.build(); + result.progressBytes_ = progressBytesBuilder_ == null + ? progressBytes_ + : progressBytesBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.entityFilter_ = - entityFilterBuilder_ == null ? entityFilter_ : entityFilterBuilder_.build(); + result.entityFilter_ = entityFilterBuilder_ == null + ? entityFilter_ + : entityFilterBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { @@ -674,39 +606,38 @@ private void buildPartial0(com.google.datastore.admin.v1.ImportEntitiesMetadata public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.admin.v1.ImportEntitiesMetadata) { - return mergeFrom((com.google.datastore.admin.v1.ImportEntitiesMetadata) other); + return mergeFrom((com.google.datastore.admin.v1.ImportEntitiesMetadata)other); } else { super.mergeFrom(other); return this; @@ -714,8 +645,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.datastore.admin.v1.ImportEntitiesMetadata other) { - if (other == com.google.datastore.admin.v1.ImportEntitiesMetadata.getDefaultInstance()) - return this; + if (other == com.google.datastore.admin.v1.ImportEntitiesMetadata.getDefaultInstance()) return this; if (other.hasCommon()) { mergeCommon(other.getCommon()); } @@ -759,44 +689,45 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCommonFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage( - getProgressEntitiesFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getProgressBytesFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: - { - input.readMessage(getEntityFilterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: - { - inputUrl_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getCommonFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getProgressEntitiesFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getProgressBytesFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: { + input.readMessage( + getEntityFilterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: { + inputUrl_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -806,52 +737,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.datastore.admin.v1.CommonMetadata common_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.CommonMetadata, - com.google.datastore.admin.v1.CommonMetadata.Builder, - com.google.datastore.admin.v1.CommonMetadataOrBuilder> - commonBuilder_; + com.google.datastore.admin.v1.CommonMetadata, com.google.datastore.admin.v1.CommonMetadata.Builder, com.google.datastore.admin.v1.CommonMetadataOrBuilder> commonBuilder_; /** - * - * *
      * Metadata common to all Datastore Admin operations.
      * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; - * * @return Whether the common field is set. */ public boolean hasCommon() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Metadata common to all Datastore Admin operations.
      * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; - * * @return The common. */ public com.google.datastore.admin.v1.CommonMetadata getCommon() { if (commonBuilder_ == null) { - return common_ == null - ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() - : common_; + return common_ == null ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() : common_; } else { return commonBuilder_.getMessage(); } } /** - * - * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -872,15 +789,14 @@ public Builder setCommon(com.google.datastore.admin.v1.CommonMetadata value) { return this; } /** - * - * *
      * Metadata common to all Datastore Admin operations.
      * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; */ - public Builder setCommon(com.google.datastore.admin.v1.CommonMetadata.Builder builderForValue) { + public Builder setCommon( + com.google.datastore.admin.v1.CommonMetadata.Builder builderForValue) { if (commonBuilder_ == null) { common_ = builderForValue.build(); } else { @@ -891,8 +807,6 @@ public Builder setCommon(com.google.datastore.admin.v1.CommonMetadata.Builder bu return this; } /** - * - * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -901,9 +815,9 @@ public Builder setCommon(com.google.datastore.admin.v1.CommonMetadata.Builder bu */ public Builder mergeCommon(com.google.datastore.admin.v1.CommonMetadata value) { if (commonBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && common_ != null - && common_ != com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + common_ != null && + common_ != com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance()) { getCommonBuilder().mergeFrom(value); } else { common_ = value; @@ -918,8 +832,6 @@ public Builder mergeCommon(com.google.datastore.admin.v1.CommonMetadata value) { return this; } /** - * - * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -937,8 +849,6 @@ public Builder clearCommon() { return this; } /** - * - * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -951,8 +861,6 @@ public com.google.datastore.admin.v1.CommonMetadata.Builder getCommonBuilder() { return getCommonFieldBuilder().getBuilder(); } /** - * - * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -963,14 +871,11 @@ public com.google.datastore.admin.v1.CommonMetadataOrBuilder getCommonOrBuilder( if (commonBuilder_ != null) { return commonBuilder_.getMessageOrBuilder(); } else { - return common_ == null - ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() - : common_; + return common_ == null ? + com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() : common_; } } /** - * - * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -978,17 +883,14 @@ public com.google.datastore.admin.v1.CommonMetadataOrBuilder getCommonOrBuilder( * .google.datastore.admin.v1.CommonMetadata common = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.CommonMetadata, - com.google.datastore.admin.v1.CommonMetadata.Builder, - com.google.datastore.admin.v1.CommonMetadataOrBuilder> + com.google.datastore.admin.v1.CommonMetadata, com.google.datastore.admin.v1.CommonMetadata.Builder, com.google.datastore.admin.v1.CommonMetadataOrBuilder> getCommonFieldBuilder() { if (commonBuilder_ == null) { - commonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.CommonMetadata, - com.google.datastore.admin.v1.CommonMetadata.Builder, - com.google.datastore.admin.v1.CommonMetadataOrBuilder>( - getCommon(), getParentForChildren(), isClean()); + commonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.admin.v1.CommonMetadata, com.google.datastore.admin.v1.CommonMetadata.Builder, com.google.datastore.admin.v1.CommonMetadataOrBuilder>( + getCommon(), + getParentForChildren(), + isClean()); common_ = null; } return commonBuilder_; @@ -996,47 +898,34 @@ public com.google.datastore.admin.v1.CommonMetadataOrBuilder getCommonOrBuilder( private com.google.datastore.admin.v1.Progress progressEntities_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Progress, - com.google.datastore.admin.v1.Progress.Builder, - com.google.datastore.admin.v1.ProgressOrBuilder> - progressEntitiesBuilder_; + com.google.datastore.admin.v1.Progress, com.google.datastore.admin.v1.Progress.Builder, com.google.datastore.admin.v1.ProgressOrBuilder> progressEntitiesBuilder_; /** - * - * *
      * An estimate of the number of entities processed.
      * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; - * * @return Whether the progressEntities field is set. */ public boolean hasProgressEntities() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * An estimate of the number of entities processed.
      * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; - * * @return The progressEntities. */ public com.google.datastore.admin.v1.Progress getProgressEntities() { if (progressEntitiesBuilder_ == null) { - return progressEntities_ == null - ? com.google.datastore.admin.v1.Progress.getDefaultInstance() - : progressEntities_; + return progressEntities_ == null ? com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressEntities_; } else { return progressEntitiesBuilder_.getMessage(); } } /** - * - * *
      * An estimate of the number of entities processed.
      * 
@@ -1057,8 +946,6 @@ public Builder setProgressEntities(com.google.datastore.admin.v1.Progress value) return this; } /** - * - * *
      * An estimate of the number of entities processed.
      * 
@@ -1077,8 +964,6 @@ public Builder setProgressEntities( return this; } /** - * - * *
      * An estimate of the number of entities processed.
      * 
@@ -1087,9 +972,9 @@ public Builder setProgressEntities( */ public Builder mergeProgressEntities(com.google.datastore.admin.v1.Progress value) { if (progressEntitiesBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && progressEntities_ != null - && progressEntities_ != com.google.datastore.admin.v1.Progress.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + progressEntities_ != null && + progressEntities_ != com.google.datastore.admin.v1.Progress.getDefaultInstance()) { getProgressEntitiesBuilder().mergeFrom(value); } else { progressEntities_ = value; @@ -1104,8 +989,6 @@ public Builder mergeProgressEntities(com.google.datastore.admin.v1.Progress valu return this; } /** - * - * *
      * An estimate of the number of entities processed.
      * 
@@ -1123,8 +1006,6 @@ public Builder clearProgressEntities() { return this; } /** - * - * *
      * An estimate of the number of entities processed.
      * 
@@ -1137,8 +1018,6 @@ public com.google.datastore.admin.v1.Progress.Builder getProgressEntitiesBuilder return getProgressEntitiesFieldBuilder().getBuilder(); } /** - * - * *
      * An estimate of the number of entities processed.
      * 
@@ -1149,14 +1028,11 @@ public com.google.datastore.admin.v1.ProgressOrBuilder getProgressEntitiesOrBuil if (progressEntitiesBuilder_ != null) { return progressEntitiesBuilder_.getMessageOrBuilder(); } else { - return progressEntities_ == null - ? com.google.datastore.admin.v1.Progress.getDefaultInstance() - : progressEntities_; + return progressEntities_ == null ? + com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressEntities_; } } /** - * - * *
      * An estimate of the number of entities processed.
      * 
@@ -1164,17 +1040,14 @@ public com.google.datastore.admin.v1.ProgressOrBuilder getProgressEntitiesOrBuil * .google.datastore.admin.v1.Progress progress_entities = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Progress, - com.google.datastore.admin.v1.Progress.Builder, - com.google.datastore.admin.v1.ProgressOrBuilder> + com.google.datastore.admin.v1.Progress, com.google.datastore.admin.v1.Progress.Builder, com.google.datastore.admin.v1.ProgressOrBuilder> getProgressEntitiesFieldBuilder() { if (progressEntitiesBuilder_ == null) { - progressEntitiesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Progress, - com.google.datastore.admin.v1.Progress.Builder, - com.google.datastore.admin.v1.ProgressOrBuilder>( - getProgressEntities(), getParentForChildren(), isClean()); + progressEntitiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.admin.v1.Progress, com.google.datastore.admin.v1.Progress.Builder, com.google.datastore.admin.v1.ProgressOrBuilder>( + getProgressEntities(), + getParentForChildren(), + isClean()); progressEntities_ = null; } return progressEntitiesBuilder_; @@ -1182,47 +1055,34 @@ public com.google.datastore.admin.v1.ProgressOrBuilder getProgressEntitiesOrBuil private com.google.datastore.admin.v1.Progress progressBytes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Progress, - com.google.datastore.admin.v1.Progress.Builder, - com.google.datastore.admin.v1.ProgressOrBuilder> - progressBytesBuilder_; + com.google.datastore.admin.v1.Progress, com.google.datastore.admin.v1.Progress.Builder, com.google.datastore.admin.v1.ProgressOrBuilder> progressBytesBuilder_; /** - * - * *
      * An estimate of the number of bytes processed.
      * 
* * .google.datastore.admin.v1.Progress progress_bytes = 3; - * * @return Whether the progressBytes field is set. */ public boolean hasProgressBytes() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * An estimate of the number of bytes processed.
      * 
* * .google.datastore.admin.v1.Progress progress_bytes = 3; - * * @return The progressBytes. */ public com.google.datastore.admin.v1.Progress getProgressBytes() { if (progressBytesBuilder_ == null) { - return progressBytes_ == null - ? com.google.datastore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } else { return progressBytesBuilder_.getMessage(); } } /** - * - * *
      * An estimate of the number of bytes processed.
      * 
@@ -1243,8 +1103,6 @@ public Builder setProgressBytes(com.google.datastore.admin.v1.Progress value) { return this; } /** - * - * *
      * An estimate of the number of bytes processed.
      * 
@@ -1263,8 +1121,6 @@ public Builder setProgressBytes( return this; } /** - * - * *
      * An estimate of the number of bytes processed.
      * 
@@ -1273,9 +1129,9 @@ public Builder setProgressBytes( */ public Builder mergeProgressBytes(com.google.datastore.admin.v1.Progress value) { if (progressBytesBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && progressBytes_ != null - && progressBytes_ != com.google.datastore.admin.v1.Progress.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + progressBytes_ != null && + progressBytes_ != com.google.datastore.admin.v1.Progress.getDefaultInstance()) { getProgressBytesBuilder().mergeFrom(value); } else { progressBytes_ = value; @@ -1290,8 +1146,6 @@ public Builder mergeProgressBytes(com.google.datastore.admin.v1.Progress value) return this; } /** - * - * *
      * An estimate of the number of bytes processed.
      * 
@@ -1309,8 +1163,6 @@ public Builder clearProgressBytes() { return this; } /** - * - * *
      * An estimate of the number of bytes processed.
      * 
@@ -1323,8 +1175,6 @@ public com.google.datastore.admin.v1.Progress.Builder getProgressBytesBuilder() return getProgressBytesFieldBuilder().getBuilder(); } /** - * - * *
      * An estimate of the number of bytes processed.
      * 
@@ -1335,14 +1185,11 @@ public com.google.datastore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder if (progressBytesBuilder_ != null) { return progressBytesBuilder_.getMessageOrBuilder(); } else { - return progressBytes_ == null - ? com.google.datastore.admin.v1.Progress.getDefaultInstance() - : progressBytes_; + return progressBytes_ == null ? + com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressBytes_; } } /** - * - * *
      * An estimate of the number of bytes processed.
      * 
@@ -1350,17 +1197,14 @@ public com.google.datastore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder * .google.datastore.admin.v1.Progress progress_bytes = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Progress, - com.google.datastore.admin.v1.Progress.Builder, - com.google.datastore.admin.v1.ProgressOrBuilder> + com.google.datastore.admin.v1.Progress, com.google.datastore.admin.v1.Progress.Builder, com.google.datastore.admin.v1.ProgressOrBuilder> getProgressBytesFieldBuilder() { if (progressBytesBuilder_ == null) { - progressBytesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Progress, - com.google.datastore.admin.v1.Progress.Builder, - com.google.datastore.admin.v1.ProgressOrBuilder>( - getProgressBytes(), getParentForChildren(), isClean()); + progressBytesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.admin.v1.Progress, com.google.datastore.admin.v1.Progress.Builder, com.google.datastore.admin.v1.ProgressOrBuilder>( + getProgressBytes(), + getParentForChildren(), + isClean()); progressBytes_ = null; } return progressBytesBuilder_; @@ -1368,47 +1212,34 @@ public com.google.datastore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder private com.google.datastore.admin.v1.EntityFilter entityFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.EntityFilter, - com.google.datastore.admin.v1.EntityFilter.Builder, - com.google.datastore.admin.v1.EntityFilterOrBuilder> - entityFilterBuilder_; + com.google.datastore.admin.v1.EntityFilter, com.google.datastore.admin.v1.EntityFilter.Builder, com.google.datastore.admin.v1.EntityFilterOrBuilder> entityFilterBuilder_; /** - * - * *
      * Description of which entities are being imported.
      * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; - * * @return Whether the entityFilter field is set. */ public boolean hasEntityFilter() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Description of which entities are being imported.
      * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; - * * @return The entityFilter. */ public com.google.datastore.admin.v1.EntityFilter getEntityFilter() { if (entityFilterBuilder_ == null) { - return entityFilter_ == null - ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() - : entityFilter_; + return entityFilter_ == null ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_; } else { return entityFilterBuilder_.getMessage(); } } /** - * - * *
      * Description of which entities are being imported.
      * 
@@ -1429,8 +1260,6 @@ public Builder setEntityFilter(com.google.datastore.admin.v1.EntityFilter value) return this; } /** - * - * *
      * Description of which entities are being imported.
      * 
@@ -1449,8 +1278,6 @@ public Builder setEntityFilter( return this; } /** - * - * *
      * Description of which entities are being imported.
      * 
@@ -1459,9 +1286,9 @@ public Builder setEntityFilter( */ public Builder mergeEntityFilter(com.google.datastore.admin.v1.EntityFilter value) { if (entityFilterBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && entityFilter_ != null - && entityFilter_ != com.google.datastore.admin.v1.EntityFilter.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + entityFilter_ != null && + entityFilter_ != com.google.datastore.admin.v1.EntityFilter.getDefaultInstance()) { getEntityFilterBuilder().mergeFrom(value); } else { entityFilter_ = value; @@ -1476,8 +1303,6 @@ public Builder mergeEntityFilter(com.google.datastore.admin.v1.EntityFilter valu return this; } /** - * - * *
      * Description of which entities are being imported.
      * 
@@ -1495,8 +1320,6 @@ public Builder clearEntityFilter() { return this; } /** - * - * *
      * Description of which entities are being imported.
      * 
@@ -1509,8 +1332,6 @@ public com.google.datastore.admin.v1.EntityFilter.Builder getEntityFilterBuilder return getEntityFilterFieldBuilder().getBuilder(); } /** - * - * *
      * Description of which entities are being imported.
      * 
@@ -1521,14 +1342,11 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil if (entityFilterBuilder_ != null) { return entityFilterBuilder_.getMessageOrBuilder(); } else { - return entityFilter_ == null - ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() - : entityFilter_; + return entityFilter_ == null ? + com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_; } } /** - * - * *
      * Description of which entities are being imported.
      * 
@@ -1536,17 +1354,14 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil * .google.datastore.admin.v1.EntityFilter entity_filter = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.EntityFilter, - com.google.datastore.admin.v1.EntityFilter.Builder, - com.google.datastore.admin.v1.EntityFilterOrBuilder> + com.google.datastore.admin.v1.EntityFilter, com.google.datastore.admin.v1.EntityFilter.Builder, com.google.datastore.admin.v1.EntityFilterOrBuilder> getEntityFilterFieldBuilder() { if (entityFilterBuilder_ == null) { - entityFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.EntityFilter, - com.google.datastore.admin.v1.EntityFilter.Builder, - com.google.datastore.admin.v1.EntityFilterOrBuilder>( - getEntityFilter(), getParentForChildren(), isClean()); + entityFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.admin.v1.EntityFilter, com.google.datastore.admin.v1.EntityFilter.Builder, com.google.datastore.admin.v1.EntityFilterOrBuilder>( + getEntityFilter(), + getParentForChildren(), + isClean()); entityFilter_ = null; } return entityFilterBuilder_; @@ -1554,8 +1369,6 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil private java.lang.Object inputUrl_ = ""; /** - * - * *
      * The location of the import metadata file. This will be the same value as
      * the
@@ -1564,13 +1377,13 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil
      * 
* * string input_url = 5; - * * @return The inputUrl. */ public java.lang.String getInputUrl() { java.lang.Object ref = inputUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputUrl_ = s; return s; @@ -1579,8 +1392,6 @@ public java.lang.String getInputUrl() { } } /** - * - * *
      * The location of the import metadata file. This will be the same value as
      * the
@@ -1589,14 +1400,15 @@ public java.lang.String getInputUrl() {
      * 
* * string input_url = 5; - * * @return The bytes for inputUrl. */ - public com.google.protobuf.ByteString getInputUrlBytes() { + public com.google.protobuf.ByteString + getInputUrlBytes() { java.lang.Object ref = inputUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inputUrl_ = b; return b; } else { @@ -1604,8 +1416,6 @@ public com.google.protobuf.ByteString getInputUrlBytes() { } } /** - * - * *
      * The location of the import metadata file. This will be the same value as
      * the
@@ -1614,22 +1424,18 @@ public com.google.protobuf.ByteString getInputUrlBytes() {
      * 
* * string input_url = 5; - * * @param value The inputUrl to set. * @return This builder for chaining. */ - public Builder setInputUrl(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInputUrl( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } inputUrl_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * The location of the import metadata file. This will be the same value as
      * the
@@ -1638,7 +1444,6 @@ public Builder setInputUrl(java.lang.String value) {
      * 
* * string input_url = 5; - * * @return This builder for chaining. */ public Builder clearInputUrl() { @@ -1648,8 +1453,6 @@ public Builder clearInputUrl() { return this; } /** - * - * *
      * The location of the import metadata file. This will be the same value as
      * the
@@ -1658,23 +1461,21 @@ public Builder clearInputUrl() {
      * 
* * string input_url = 5; - * * @param value The bytes for inputUrl to set. * @return This builder for chaining. */ - public Builder setInputUrlBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInputUrlBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); inputUrl_ = value; bitField0_ |= 0x00000010; 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); } @@ -1684,12 +1485,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.ImportEntitiesMetadata) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.ImportEntitiesMetadata) private static final com.google.datastore.admin.v1.ImportEntitiesMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.ImportEntitiesMetadata(); } @@ -1698,27 +1499,27 @@ public static com.google.datastore.admin.v1.ImportEntitiesMetadata getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportEntitiesMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportEntitiesMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1733,4 +1534,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.ImportEntitiesMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesMetadataOrBuilder.java similarity index 82% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesMetadataOrBuilder.java index 71c6928af..ec3bf5a9f 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesMetadataOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface ImportEntitiesMetadataOrBuilder - extends +public interface ImportEntitiesMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.ImportEntitiesMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Metadata common to all Datastore Admin operations.
    * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; - * * @return Whether the common field is set. */ boolean hasCommon(); /** - * - * *
    * Metadata common to all Datastore Admin operations.
    * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; - * * @return The common. */ com.google.datastore.admin.v1.CommonMetadata getCommon(); /** - * - * *
    * Metadata common to all Datastore Admin operations.
    * 
@@ -60,32 +36,24 @@ public interface ImportEntitiesMetadataOrBuilder com.google.datastore.admin.v1.CommonMetadataOrBuilder getCommonOrBuilder(); /** - * - * *
    * An estimate of the number of entities processed.
    * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; - * * @return Whether the progressEntities field is set. */ boolean hasProgressEntities(); /** - * - * *
    * An estimate of the number of entities processed.
    * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; - * * @return The progressEntities. */ com.google.datastore.admin.v1.Progress getProgressEntities(); /** - * - * *
    * An estimate of the number of entities processed.
    * 
@@ -95,32 +63,24 @@ public interface ImportEntitiesMetadataOrBuilder com.google.datastore.admin.v1.ProgressOrBuilder getProgressEntitiesOrBuilder(); /** - * - * *
    * An estimate of the number of bytes processed.
    * 
* * .google.datastore.admin.v1.Progress progress_bytes = 3; - * * @return Whether the progressBytes field is set. */ boolean hasProgressBytes(); /** - * - * *
    * An estimate of the number of bytes processed.
    * 
* * .google.datastore.admin.v1.Progress progress_bytes = 3; - * * @return The progressBytes. */ com.google.datastore.admin.v1.Progress getProgressBytes(); /** - * - * *
    * An estimate of the number of bytes processed.
    * 
@@ -130,32 +90,24 @@ public interface ImportEntitiesMetadataOrBuilder com.google.datastore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder(); /** - * - * *
    * Description of which entities are being imported.
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; - * * @return Whether the entityFilter field is set. */ boolean hasEntityFilter(); /** - * - * *
    * Description of which entities are being imported.
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; - * * @return The entityFilter. */ com.google.datastore.admin.v1.EntityFilter getEntityFilter(); /** - * - * *
    * Description of which entities are being imported.
    * 
@@ -165,8 +117,6 @@ public interface ImportEntitiesMetadataOrBuilder com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuilder(); /** - * - * *
    * The location of the import metadata file. This will be the same value as
    * the
@@ -175,13 +125,10 @@ public interface ImportEntitiesMetadataOrBuilder
    * 
* * string input_url = 5; - * * @return The inputUrl. */ java.lang.String getInputUrl(); /** - * - * *
    * The location of the import metadata file. This will be the same value as
    * the
@@ -190,8 +137,8 @@ public interface ImportEntitiesMetadataOrBuilder
    * 
* * string input_url = 5; - * * @return The bytes for inputUrl. */ - com.google.protobuf.ByteString getInputUrlBytes(); + com.google.protobuf.ByteString + getInputUrlBytes(); } diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesRequest.java similarity index 71% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesRequest.java index 596bbfa1a..3da172467 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto @@ -20,8 +5,6 @@ package com.google.datastore.admin.v1; /** - * - * *
  * The request for
  * [google.datastore.admin.v1.DatastoreAdmin.ImportEntities][google.datastore.admin.v1.DatastoreAdmin.ImportEntities].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.datastore.admin.v1.ImportEntitiesRequest}
  */
-public final class ImportEntitiesRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ImportEntitiesRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.datastore.admin.v1.ImportEntitiesRequest)
     ImportEntitiesRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ImportEntitiesRequest.newBuilder() to construct.
   private ImportEntitiesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ImportEntitiesRequest() {
     projectId_ = "";
     inputUrl_ = "";
@@ -46,13 +28,14 @@ private ImportEntitiesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ImportEntitiesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto
-        .internal_static_google_datastore_admin_v1_ImportEntitiesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ImportEntitiesRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
@@ -63,34 +46,28 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
       case 2:
         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.datastore.admin.v1.DatastoreAdminProto
-        .internal_static_google_datastore_admin_v1_ImportEntitiesRequest_fieldAccessorTable
+    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ImportEntitiesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.admin.v1.ImportEntitiesRequest.class,
-            com.google.datastore.admin.v1.ImportEntitiesRequest.Builder.class);
+            com.google.datastore.admin.v1.ImportEntitiesRequest.class, com.google.datastore.admin.v1.ImportEntitiesRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object projectId_ = "";
   /**
-   *
-   *
    * 
    * Required. Project ID against which to make the request.
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ @java.lang.Override @@ -99,29 +76,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. Project ID against which to make the request.
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -130,34 +107,32 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int LABELS_FIELD_NUMBER = 2; - private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry defaultEntry = - com.google.protobuf.MapEntry.newDefaultInstance( - com.google.datastore.admin.v1.DatastoreAdminProto - .internal_static_google_datastore_admin_v1_ImportEntitiesRequest_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.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ImportEntitiesRequest_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } - @SuppressWarnings("serial") - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
    * Client-assigned labels.
    * 
@@ -165,21 +140,20 @@ public int getLabelsCount() { * map<string, string> labels = 2; */ @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(); } /** - * - * *
    * Client-assigned labels.
    * 
@@ -191,8 +165,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
    * Client-assigned labels.
    * 
@@ -200,19 +172,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 2; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
    * Client-assigned labels.
    * 
@@ -220,11 +190,11 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 2; */ @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(); } @@ -232,12 +202,9 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) { } public static final int INPUT_URL_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object inputUrl_ = ""; /** - * - * *
    * Required. The full resource URL of the external storage location.
    * Currently, only Google Cloud Storage is supported. So input_url should be
@@ -256,7 +223,6 @@ public java.lang.String getLabelsOrThrow(java.lang.String key) {
    * 
* * string input_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The inputUrl. */ @java.lang.Override @@ -265,15 +231,14 @@ public java.lang.String getInputUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputUrl_ = s; return s; } } /** - * - * *
    * Required. The full resource URL of the external storage location.
    * Currently, only Google Cloud Storage is supported. So input_url should be
@@ -292,15 +257,16 @@ public java.lang.String getInputUrl() {
    * 
* * string input_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for inputUrl. */ @java.lang.Override - public com.google.protobuf.ByteString getInputUrlBytes() { + public com.google.protobuf.ByteString + getInputUrlBytes() { java.lang.Object ref = inputUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inputUrl_ = b; return b; } else { @@ -311,8 +277,6 @@ public com.google.protobuf.ByteString getInputUrlBytes() { public static final int ENTITY_FILTER_FIELD_NUMBER = 4; private com.google.datastore.admin.v1.EntityFilter entityFilter_; /** - * - * *
    * Optionally specify which kinds/namespaces are to be imported. If provided,
    * the list must be a subset of the EntityFilter used in creating the export,
@@ -321,7 +285,6 @@ public com.google.protobuf.ByteString getInputUrlBytes() {
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; - * * @return Whether the entityFilter field is set. */ @java.lang.Override @@ -329,8 +292,6 @@ public boolean hasEntityFilter() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Optionally specify which kinds/namespaces are to be imported. If provided,
    * the list must be a subset of the EntityFilter used in creating the export,
@@ -339,18 +300,13 @@ public boolean hasEntityFilter() {
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; - * * @return The entityFilter. */ @java.lang.Override public com.google.datastore.admin.v1.EntityFilter getEntityFilter() { - return entityFilter_ == null - ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() - : entityFilter_; + return entityFilter_ == null ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_; } /** - * - * *
    * Optionally specify which kinds/namespaces are to be imported. If provided,
    * the list must be a subset of the EntityFilter used in creating the export,
@@ -362,13 +318,10 @@ public com.google.datastore.admin.v1.EntityFilter getEntityFilter() {
    */
   @java.lang.Override
   public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuilder() {
-    return entityFilter_ == null
-        ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance()
-        : entityFilter_;
+    return entityFilter_ == null ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -380,12 +333,17 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_);
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 2);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetLabels(),
+        LabelsDefaultEntryHolder.defaultEntry,
+        2);
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputUrl_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 3, inputUrl_);
     }
@@ -404,21 +362,22 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, projectId_);
     }
-    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(2, labels__);
+    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(2, labels__);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputUrl_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, inputUrl_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEntityFilter());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getEntityFilter());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -428,20 +387,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.datastore.admin.v1.ImportEntitiesRequest)) {
       return super.equals(obj);
     }
-    com.google.datastore.admin.v1.ImportEntitiesRequest other =
-        (com.google.datastore.admin.v1.ImportEntitiesRequest) obj;
+    com.google.datastore.admin.v1.ImportEntitiesRequest other = (com.google.datastore.admin.v1.ImportEntitiesRequest) obj;
 
-    if (!getProjectId().equals(other.getProjectId())) return false;
-    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
-    if (!getInputUrl().equals(other.getInputUrl())) return false;
+    if (!getProjectId()
+        .equals(other.getProjectId())) return false;
+    if (!internalGetLabels().equals(
+        other.internalGetLabels())) return false;
+    if (!getInputUrl()
+        .equals(other.getInputUrl())) return false;
     if (hasEntityFilter() != other.hasEntityFilter()) return false;
     if (hasEntityFilter()) {
-      if (!getEntityFilter().equals(other.getEntityFilter())) return false;
+      if (!getEntityFilter()
+          .equals(other.getEntityFilter())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -472,103 +434,98 @@ public int hashCode() {
   }
 
   public static com.google.datastore.admin.v1.ImportEntitiesRequest 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.datastore.admin.v1.ImportEntitiesRequest parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.admin.v1.ImportEntitiesRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.admin.v1.ImportEntitiesRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.admin.v1.ImportEntitiesRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.admin.v1.ImportEntitiesRequest parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.datastore.admin.v1.ImportEntitiesRequest parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.datastore.admin.v1.ImportEntitiesRequest parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.datastore.admin.v1.ImportEntitiesRequest parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.datastore.admin.v1.ImportEntitiesRequest parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.datastore.admin.v1.ImportEntitiesRequest parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.datastore.admin.v1.ImportEntitiesRequest parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.datastore.admin.v1.ImportEntitiesRequest parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.datastore.admin.v1.ImportEntitiesRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.datastore.admin.v1.ImportEntitiesRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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
    * [google.datastore.admin.v1.DatastoreAdmin.ImportEntities][google.datastore.admin.v1.DatastoreAdmin.ImportEntities].
@@ -576,13 +533,13 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.datastore.admin.v1.ImportEntitiesRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.datastore.admin.v1.ImportEntitiesRequest)
       com.google.datastore.admin.v1.ImportEntitiesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto
-          .internal_static_google_datastore_admin_v1_ImportEntitiesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ImportEntitiesRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
@@ -592,10 +549,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
         case 2:
           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.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
         int number) {
@@ -603,18 +560,16 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi
         case 2:
           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.datastore.admin.v1.DatastoreAdminProto
-          .internal_static_google_datastore_admin_v1_ImportEntitiesRequest_fieldAccessorTable
+      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ImportEntitiesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.admin.v1.ImportEntitiesRequest.class,
-              com.google.datastore.admin.v1.ImportEntitiesRequest.Builder.class);
+              com.google.datastore.admin.v1.ImportEntitiesRequest.class, com.google.datastore.admin.v1.ImportEntitiesRequest.Builder.class);
     }
 
     // Construct using com.google.datastore.admin.v1.ImportEntitiesRequest.newBuilder()
@@ -622,17 +577,17 @@ 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) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getEntityFilterFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -649,9 +604,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto
-          .internal_static_google_datastore_admin_v1_ImportEntitiesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ImportEntitiesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -670,11 +625,8 @@ public com.google.datastore.admin.v1.ImportEntitiesRequest build() {
 
     @java.lang.Override
     public com.google.datastore.admin.v1.ImportEntitiesRequest buildPartial() {
-      com.google.datastore.admin.v1.ImportEntitiesRequest result =
-          new com.google.datastore.admin.v1.ImportEntitiesRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.datastore.admin.v1.ImportEntitiesRequest result = new com.google.datastore.admin.v1.ImportEntitiesRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -693,8 +645,9 @@ private void buildPartial0(com.google.datastore.admin.v1.ImportEntitiesRequest r
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.entityFilter_ =
-            entityFilterBuilder_ == null ? entityFilter_ : entityFilterBuilder_.build();
+        result.entityFilter_ = entityFilterBuilder_ == null
+            ? entityFilter_
+            : entityFilterBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -704,39 +657,38 @@ private void buildPartial0(com.google.datastore.admin.v1.ImportEntitiesRequest r
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.admin.v1.ImportEntitiesRequest) {
-        return mergeFrom((com.google.datastore.admin.v1.ImportEntitiesRequest) other);
+        return mergeFrom((com.google.datastore.admin.v1.ImportEntitiesRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -744,14 +696,14 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.datastore.admin.v1.ImportEntitiesRequest other) {
-      if (other == com.google.datastore.admin.v1.ImportEntitiesRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.datastore.admin.v1.ImportEntitiesRequest.getDefaultInstance()) return this;
       if (!other.getProjectId().isEmpty()) {
         projectId_ = other.projectId_;
         bitField0_ |= 0x00000001;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(
+          other.internalGetLabels());
       bitField0_ |= 0x00000002;
       if (!other.getInputUrl().isEmpty()) {
         inputUrl_ = other.inputUrl_;
@@ -787,43 +739,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                projectId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.protobuf.MapEntry labels__ =
-                    input.readMessage(
-                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
-                        extensionRegistry);
-                internalGetMutableLabels()
-                    .getMutableMap()
-                    .put(labels__.getKey(), labels__.getValue());
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 26:
-              {
-                inputUrl_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 34:
-              {
-                input.readMessage(getEntityFilterFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              projectId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.protobuf.MapEntry
+              labels__ = input.readMessage(
+                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableLabels().getMutableMap().put(
+                  labels__.getKey(), labels__.getValue());
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 26: {
+              inputUrl_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 34: {
+              input.readMessage(
+                  getEntityFilterFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -833,25 +780,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object projectId_ = "";
     /**
-     *
-     *
      * 
      * Required. Project ID against which to make the request.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -860,21 +804,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. Project ID against which to make the request.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -882,35 +825,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. Project ID against which to make the request.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Project ID against which to make the request.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -920,21 +856,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Required. Project ID against which to make the request.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -942,19 +874,21 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { return this; } - private com.google.protobuf.MapField labels_; - - private com.google.protobuf.MapField internalGetLabels() { + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); } return labels_; } - private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -963,13 +897,10 @@ private com.google.protobuf.MapField interna onChanged(); return labels_; } - public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** - * - * *
      * Client-assigned labels.
      * 
@@ -977,21 +908,20 @@ public int getLabelsCount() { * map<string, string> labels = 2; */ @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(); } /** - * - * *
      * Client-assigned labels.
      * 
@@ -1003,8 +933,6 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** - * - * *
      * Client-assigned labels.
      * 
@@ -1012,19 +940,17 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 2; */ @java.lang.Override - public /* nullable */ java.lang.String getLabelsOrDefault( + public /* nullable */ +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** - * - * *
      * Client-assigned labels.
      * 
@@ -1032,83 +958,79 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 2; */ @java.lang.Override - public java.lang.String getLabelsOrThrow(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - java.util.Map map = internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } - public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000002); - internalGetMutableLabels().getMutableMap().clear(); + internalGetMutableLabels().getMutableMap() + .clear(); return this; } /** - * - * *
      * Client-assigned labels.
      * 
* * map<string, string> labels = 2; */ - public Builder removeLabels(java.lang.String key) { - if (key == null) { - throw new NullPointerException("map key"); - } - internalGetMutableLabels().getMutableMap().remove(key); + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); return this; } - /** Use alternate mutation accessors instead. */ + /** + * Use alternate mutation accessors instead. + */ @java.lang.Deprecated - public java.util.Map getMutableLabels() { + public java.util.Map + getMutableLabels() { bitField0_ |= 0x00000002; return internalGetMutableLabels().getMutableMap(); } /** - * - * *
      * Client-assigned labels.
      * 
* * map<string, string> labels = 2; */ - public Builder putLabels(java.lang.String key, java.lang.String value) { - if (key == null) { - throw new NullPointerException("map key"); - } - if (value == null) { - throw new NullPointerException("map value"); - } - internalGetMutableLabels().getMutableMap().put(key, value); + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); bitField0_ |= 0x00000002; return this; } /** - * - * *
      * Client-assigned labels.
      * 
* * map<string, string> labels = 2; */ - public Builder putAllLabels(java.util.Map values) { - internalGetMutableLabels().getMutableMap().putAll(values); + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); bitField0_ |= 0x00000002; return this; } private java.lang.Object inputUrl_ = ""; /** - * - * *
      * Required. The full resource URL of the external storage location.
      * Currently, only Google Cloud Storage is supported. So input_url should be
@@ -1127,13 +1049,13 @@ public Builder putAllLabels(java.util.Map va
      * 
* * string input_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The inputUrl. */ public java.lang.String getInputUrl() { java.lang.Object ref = inputUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputUrl_ = s; return s; @@ -1142,8 +1064,6 @@ public java.lang.String getInputUrl() { } } /** - * - * *
      * Required. The full resource URL of the external storage location.
      * Currently, only Google Cloud Storage is supported. So input_url should be
@@ -1162,14 +1082,15 @@ public java.lang.String getInputUrl() {
      * 
* * string input_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for inputUrl. */ - public com.google.protobuf.ByteString getInputUrlBytes() { + public com.google.protobuf.ByteString + getInputUrlBytes() { java.lang.Object ref = inputUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); inputUrl_ = b; return b; } else { @@ -1177,8 +1098,6 @@ public com.google.protobuf.ByteString getInputUrlBytes() { } } /** - * - * *
      * Required. The full resource URL of the external storage location.
      * Currently, only Google Cloud Storage is supported. So input_url should be
@@ -1197,22 +1116,18 @@ public com.google.protobuf.ByteString getInputUrlBytes() {
      * 
* * string input_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The inputUrl to set. * @return This builder for chaining. */ - public Builder setInputUrl(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInputUrl( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } inputUrl_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The full resource URL of the external storage location.
      * Currently, only Google Cloud Storage is supported. So input_url should be
@@ -1231,7 +1146,6 @@ public Builder setInputUrl(java.lang.String value) {
      * 
* * string input_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearInputUrl() { @@ -1241,8 +1155,6 @@ public Builder clearInputUrl() { return this; } /** - * - * *
      * Required. The full resource URL of the external storage location.
      * Currently, only Google Cloud Storage is supported. So input_url should be
@@ -1261,14 +1173,12 @@ public Builder clearInputUrl() {
      * 
* * string input_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for inputUrl to set. * @return This builder for chaining. */ - public Builder setInputUrlBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setInputUrlBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); inputUrl_ = value; bitField0_ |= 0x00000004; @@ -1278,13 +1188,8 @@ public Builder setInputUrlBytes(com.google.protobuf.ByteString value) { private com.google.datastore.admin.v1.EntityFilter entityFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.EntityFilter, - com.google.datastore.admin.v1.EntityFilter.Builder, - com.google.datastore.admin.v1.EntityFilterOrBuilder> - entityFilterBuilder_; + com.google.datastore.admin.v1.EntityFilter, com.google.datastore.admin.v1.EntityFilter.Builder, com.google.datastore.admin.v1.EntityFilterOrBuilder> entityFilterBuilder_; /** - * - * *
      * Optionally specify which kinds/namespaces are to be imported. If provided,
      * the list must be a subset of the EntityFilter used in creating the export,
@@ -1293,15 +1198,12 @@ public Builder setInputUrlBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; - * * @return Whether the entityFilter field is set. */ public boolean hasEntityFilter() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Optionally specify which kinds/namespaces are to be imported. If provided,
      * the list must be a subset of the EntityFilter used in creating the export,
@@ -1310,21 +1212,16 @@ public boolean hasEntityFilter() {
      * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; - * * @return The entityFilter. */ public com.google.datastore.admin.v1.EntityFilter getEntityFilter() { if (entityFilterBuilder_ == null) { - return entityFilter_ == null - ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() - : entityFilter_; + return entityFilter_ == null ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_; } else { return entityFilterBuilder_.getMessage(); } } /** - * - * *
      * Optionally specify which kinds/namespaces are to be imported. If provided,
      * the list must be a subset of the EntityFilter used in creating the export,
@@ -1348,8 +1245,6 @@ public Builder setEntityFilter(com.google.datastore.admin.v1.EntityFilter value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Optionally specify which kinds/namespaces are to be imported. If provided,
      * the list must be a subset of the EntityFilter used in creating the export,
@@ -1371,8 +1266,6 @@ public Builder setEntityFilter(
       return this;
     }
     /**
-     *
-     *
      * 
      * Optionally specify which kinds/namespaces are to be imported. If provided,
      * the list must be a subset of the EntityFilter used in creating the export,
@@ -1384,9 +1277,9 @@ public Builder setEntityFilter(
      */
     public Builder mergeEntityFilter(com.google.datastore.admin.v1.EntityFilter value) {
       if (entityFilterBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && entityFilter_ != null
-            && entityFilter_ != com.google.datastore.admin.v1.EntityFilter.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          entityFilter_ != null &&
+          entityFilter_ != com.google.datastore.admin.v1.EntityFilter.getDefaultInstance()) {
           getEntityFilterBuilder().mergeFrom(value);
         } else {
           entityFilter_ = value;
@@ -1401,8 +1294,6 @@ public Builder mergeEntityFilter(com.google.datastore.admin.v1.EntityFilter valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Optionally specify which kinds/namespaces are to be imported. If provided,
      * the list must be a subset of the EntityFilter used in creating the export,
@@ -1423,8 +1314,6 @@ public Builder clearEntityFilter() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Optionally specify which kinds/namespaces are to be imported. If provided,
      * the list must be a subset of the EntityFilter used in creating the export,
@@ -1440,8 +1329,6 @@ public com.google.datastore.admin.v1.EntityFilter.Builder getEntityFilterBuilder
       return getEntityFilterFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Optionally specify which kinds/namespaces are to be imported. If provided,
      * the list must be a subset of the EntityFilter used in creating the export,
@@ -1455,14 +1342,11 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil
       if (entityFilterBuilder_ != null) {
         return entityFilterBuilder_.getMessageOrBuilder();
       } else {
-        return entityFilter_ == null
-            ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance()
-            : entityFilter_;
+        return entityFilter_ == null ?
+            com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_;
       }
     }
     /**
-     *
-     *
      * 
      * Optionally specify which kinds/namespaces are to be imported. If provided,
      * the list must be a subset of the EntityFilter used in creating the export,
@@ -1473,24 +1357,21 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil
      * .google.datastore.admin.v1.EntityFilter entity_filter = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.admin.v1.EntityFilter,
-            com.google.datastore.admin.v1.EntityFilter.Builder,
-            com.google.datastore.admin.v1.EntityFilterOrBuilder>
+        com.google.datastore.admin.v1.EntityFilter, com.google.datastore.admin.v1.EntityFilter.Builder, com.google.datastore.admin.v1.EntityFilterOrBuilder> 
         getEntityFilterFieldBuilder() {
       if (entityFilterBuilder_ == null) {
-        entityFilterBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.datastore.admin.v1.EntityFilter,
-                com.google.datastore.admin.v1.EntityFilter.Builder,
-                com.google.datastore.admin.v1.EntityFilterOrBuilder>(
-                getEntityFilter(), getParentForChildren(), isClean());
+        entityFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.datastore.admin.v1.EntityFilter, com.google.datastore.admin.v1.EntityFilter.Builder, com.google.datastore.admin.v1.EntityFilterOrBuilder>(
+                getEntityFilter(),
+                getParentForChildren(),
+                isClean());
         entityFilter_ = null;
       }
       return entityFilterBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1500,12 +1381,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.ImportEntitiesRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.ImportEntitiesRequest)
   private static final com.google.datastore.admin.v1.ImportEntitiesRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.datastore.admin.v1.ImportEntitiesRequest();
   }
@@ -1514,27 +1395,27 @@ public static com.google.datastore.admin.v1.ImportEntitiesRequest getDefaultInst
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ImportEntitiesRequest parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ImportEntitiesRequest parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1549,4 +1430,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.admin.v1.ImportEntitiesRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesRequestOrBuilder.java
similarity index 80%
rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesRequestOrBuilder.java
index 922616586..274b716e0 100644
--- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesRequestOrBuilder.java
@@ -1,57 +1,34 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/admin/v1/datastore_admin.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.admin.v1;
 
-public interface ImportEntitiesRequestOrBuilder
-    extends
+public interface ImportEntitiesRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.ImportEntitiesRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. Project ID against which to make the request.
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Required. Project ID against which to make the request.
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Client-assigned labels.
    * 
@@ -60,31 +37,30 @@ public interface ImportEntitiesRequestOrBuilder */ int getLabelsCount(); /** - * - * *
    * Client-assigned labels.
    * 
* * map<string, string> labels = 2; */ - 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(); /** - * - * *
    * Client-assigned labels.
    * 
* * map<string, string> labels = 2; */ - java.util.Map getLabelsMap(); + java.util.Map + getLabelsMap(); /** - * - * *
    * Client-assigned labels.
    * 
@@ -92,24 +68,21 @@ public interface ImportEntitiesRequestOrBuilder * map<string, string> labels = 2; */ /* nullable */ - java.lang.String getLabelsOrDefault( +java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ - java.lang.String defaultValue); +java.lang.String defaultValue); /** - * - * *
    * Client-assigned labels.
    * 
* * map<string, string> labels = 2; */ - java.lang.String getLabelsOrThrow(java.lang.String key); + java.lang.String getLabelsOrThrow( + java.lang.String key); /** - * - * *
    * Required. The full resource URL of the external storage location.
    * Currently, only Google Cloud Storage is supported. So input_url should be
@@ -128,13 +101,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * string input_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The inputUrl. */ java.lang.String getInputUrl(); /** - * - * *
    * Required. The full resource URL of the external storage location.
    * Currently, only Google Cloud Storage is supported. So input_url should be
@@ -153,14 +123,12 @@ java.lang.String getLabelsOrDefault(
    * 
* * string input_url = 3 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for inputUrl. */ - com.google.protobuf.ByteString getInputUrlBytes(); + com.google.protobuf.ByteString + getInputUrlBytes(); /** - * - * *
    * Optionally specify which kinds/namespaces are to be imported. If provided,
    * the list must be a subset of the EntityFilter used in creating the export,
@@ -169,13 +137,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; - * * @return Whether the entityFilter field is set. */ boolean hasEntityFilter(); /** - * - * *
    * Optionally specify which kinds/namespaces are to be imported. If provided,
    * the list must be a subset of the EntityFilter used in creating the export,
@@ -184,13 +149,10 @@ java.lang.String getLabelsOrDefault(
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; - * * @return The entityFilter. */ com.google.datastore.admin.v1.EntityFilter getEntityFilter(); /** - * - * *
    * Optionally specify which kinds/namespaces are to be imported. If provided,
    * the list must be a subset of the EntityFilter used in creating the export,
diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/Index.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/Index.java
similarity index 69%
rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/Index.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/Index.java
index 7244182dc..9cef365f9 100644
--- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/Index.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/Index.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/admin/v1/index.proto
 
@@ -20,24 +5,21 @@
 package com.google.datastore.admin.v1;
 
 /**
- *
- *
  * 
  * Datastore composite index definition.
  * 
* * Protobuf type {@code google.datastore.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.datastore.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() { projectId_ = ""; indexId_ = ""; @@ -49,28 +31,25 @@ private Index() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Index(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.admin.v1.IndexProto - .internal_static_google_datastore_admin_v1_Index_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.admin.v1.IndexProto.internal_static_google_datastore_admin_v1_Index_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.IndexProto - .internal_static_google_datastore_admin_v1_Index_fieldAccessorTable + return com.google.datastore.admin.v1.IndexProto.internal_static_google_datastore_admin_v1_Index_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.Index.class, - com.google.datastore.admin.v1.Index.Builder.class); + com.google.datastore.admin.v1.Index.class, com.google.datastore.admin.v1.Index.Builder.class); } /** - * - * *
    * For an ordered index, specifies whether each of the entity's ancestors
    * will be included.
@@ -78,10 +57,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.datastore.admin.v1.Index.AncestorMode}
    */
-  public enum AncestorMode implements com.google.protobuf.ProtocolMessageEnum {
+  public enum AncestorMode
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * The ancestor mode is unspecified.
      * 
@@ -90,8 +68,6 @@ public enum AncestorMode implements com.google.protobuf.ProtocolMessageEnum { */ ANCESTOR_MODE_UNSPECIFIED(0), /** - * - * *
      * Do not include the entity's ancestors in the index.
      * 
@@ -100,8 +76,6 @@ public enum AncestorMode implements com.google.protobuf.ProtocolMessageEnum { */ NONE(1), /** - * - * *
      * Include all the entity's ancestors in the index.
      * 
@@ -113,8 +87,6 @@ public enum AncestorMode implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * The ancestor mode is unspecified.
      * 
@@ -123,8 +95,6 @@ public enum AncestorMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ANCESTOR_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Do not include the entity's ancestors in the index.
      * 
@@ -133,8 +103,6 @@ public enum AncestorMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NONE_VALUE = 1; /** - * - * *
      * Include all the entity's ancestors in the index.
      * 
@@ -143,6 +111,7 @@ public enum AncestorMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ALL_ANCESTORS_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -167,49 +136,49 @@ public static AncestorMode valueOf(int value) { */ public static AncestorMode forNumber(int value) { switch (value) { - case 0: - return ANCESTOR_MODE_UNSPECIFIED; - case 1: - return NONE; - case 2: - return ALL_ANCESTORS; - default: - return null; + case 0: return ANCESTOR_MODE_UNSPECIFIED; + case 1: return NONE; + case 2: return ALL_ANCESTORS; + 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< + AncestorMode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public AncestorMode findValueByNumber(int number) { + return AncestorMode.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AncestorMode findValueByNumber(int number) { - return AncestorMode.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.datastore.admin.v1.Index.getDescriptor().getEnumTypes().get(0); } private static final AncestorMode[] VALUES = values(); - public static AncestorMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static AncestorMode 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; @@ -227,18 +196,15 @@ private AncestorMode(int value) { } /** - * - * *
    * The direction determines how a property is indexed.
    * 
* * Protobuf enum {@code google.datastore.admin.v1.Index.Direction} */ - public enum Direction implements com.google.protobuf.ProtocolMessageEnum { + public enum Direction + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The direction is unspecified.
      * 
@@ -247,8 +213,6 @@ public enum Direction implements com.google.protobuf.ProtocolMessageEnum { */ DIRECTION_UNSPECIFIED(0), /** - * - * *
      * The property's values are indexed so as to support sequencing in
      * ascending order and also query by <, >, <=, >=, and =.
@@ -258,8 +222,6 @@ public enum Direction implements com.google.protobuf.ProtocolMessageEnum {
      */
     ASCENDING(1),
     /**
-     *
-     *
      * 
      * The property's values are indexed so as to support sequencing in
      * descending order and also query by <, >, <=, >=, and =.
@@ -272,8 +234,6 @@ public enum Direction implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The direction is unspecified.
      * 
@@ -282,8 +242,6 @@ public enum Direction implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DIRECTION_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The property's values are indexed so as to support sequencing in
      * ascending order and also query by <, >, <=, >=, and =.
@@ -293,8 +251,6 @@ public enum Direction implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ASCENDING_VALUE = 1;
     /**
-     *
-     *
      * 
      * The property's values are indexed so as to support sequencing in
      * descending order and also query by <, >, <=, >=, and =.
@@ -304,6 +260,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(
@@ -328,49 +285,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.datastore.admin.v1.Index.getDescriptor().getEnumTypes().get(1);
     }
 
     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;
@@ -388,18 +345,15 @@ private Direction(int value) {
   }
 
   /**
-   *
-   *
    * 
    * The possible set of states of an index.
    * 
* * Protobuf enum {@code google.datastore.admin.v1.Index.State} */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { + public enum State + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * The state is unspecified.
      * 
@@ -408,8 +362,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The index is being created, and cannot be used by queries.
      * There is an active long-running operation for the index.
@@ -421,8 +373,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     CREATING(1),
     /**
-     *
-     *
      * 
      * The index is ready to be used.
      * The index is updated when writing an entity.
@@ -433,8 +383,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     READY(2),
     /**
-     *
-     *
      * 
      * The index is being deleted, and cannot be used by queries.
      * There is an active long-running operation for the index.
@@ -446,8 +394,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     DELETING(3),
     /**
-     *
-     *
      * 
      * The index was being created or deleted, but something went wrong.
      * The index cannot by used by queries.
@@ -464,8 +410,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * The state is unspecified.
      * 
@@ -474,8 +418,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The index is being created, and cannot be used by queries.
      * There is an active long-running operation for the index.
@@ -487,8 +429,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 an entity.
@@ -499,8 +439,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int READY_VALUE = 2;
     /**
-     *
-     *
      * 
      * The index is being deleted, and cannot be used by queries.
      * There is an active long-running operation for the index.
@@ -512,8 +450,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int DELETING_VALUE = 3;
     /**
-     *
-     *
      * 
      * The index was being created or deleted, but something went wrong.
      * The index cannot by used by queries.
@@ -527,6 +463,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int ERROR_VALUE = 4;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -551,53 +488,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 DELETING;
-        case 4:
-          return ERROR;
-        default:
-          return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() {
-      return internalValueMap;
+        case 0: return STATE_UNSPECIFIED;
+        case 1: return CREATING;
+        case 2: return READY;
+        case 3: return DELETING;
+        case 4: return ERROR;
+        default: return null;
+      }
     }
 
-    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 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() {
+    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.datastore.admin.v1.Index.getDescriptor().getEnumTypes().get(2);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(
+        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException(
+          "EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -614,86 +549,67 @@ private State(int value) {
     // @@protoc_insertion_point(enum_scope:google.datastore.admin.v1.Index.State)
   }
 
-  public interface IndexedPropertyOrBuilder
-      extends
+  public interface IndexedPropertyOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.Index.IndexedProperty)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Required. The property name to index.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * Required. The property name to index.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
      * Required. The indexed property's direction.  Must not be
      * DIRECTION_UNSPECIFIED.
      * 
* - * - * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for direction. */ int getDirectionValue(); /** - * - * *
      * Required. The indexed property's direction.  Must not be
      * DIRECTION_UNSPECIFIED.
      * 
* - * - * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The direction. */ com.google.datastore.admin.v1.Index.Direction getDirection(); } /** - * - * *
    * A property of an index.
    * 
* * Protobuf type {@code google.datastore.admin.v1.Index.IndexedProperty} */ - public static final class IndexedProperty extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class IndexedProperty extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.datastore.admin.v1.Index.IndexedProperty) IndexedPropertyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IndexedProperty.newBuilder() to construct. private IndexedProperty(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private IndexedProperty() { name_ = ""; direction_ = 0; @@ -701,38 +617,33 @@ private IndexedProperty() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IndexedProperty(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.admin.v1.IndexProto - .internal_static_google_datastore_admin_v1_Index_IndexedProperty_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.admin.v1.IndexProto.internal_static_google_datastore_admin_v1_Index_IndexedProperty_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.IndexProto - .internal_static_google_datastore_admin_v1_Index_IndexedProperty_fieldAccessorTable + return com.google.datastore.admin.v1.IndexProto.internal_static_google_datastore_admin_v1_Index_IndexedProperty_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.Index.IndexedProperty.class, - com.google.datastore.admin.v1.Index.IndexedProperty.Builder.class); + com.google.datastore.admin.v1.Index.IndexedProperty.class, com.google.datastore.admin.v1.Index.IndexedProperty.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
      * Required. The property name to index.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The name. */ @java.lang.Override @@ -741,29 +652,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; } } /** - * - * *
      * Required. The property name to index.
      * 
* * 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 { @@ -774,46 +685,32 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int DIRECTION_FIELD_NUMBER = 2; private int direction_ = 0; /** - * - * *
      * Required. The indexed property's direction.  Must not be
      * DIRECTION_UNSPECIFIED.
      * 
* - * - * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for direction. */ - @java.lang.Override - public int getDirectionValue() { + @java.lang.Override public int getDirectionValue() { return direction_; } /** - * - * *
      * Required. The indexed property's direction.  Must not be
      * DIRECTION_UNSPECIFIED.
      * 
* - * - * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The direction. */ - @java.lang.Override - public com.google.datastore.admin.v1.Index.Direction getDirection() { - com.google.datastore.admin.v1.Index.Direction result = - com.google.datastore.admin.v1.Index.Direction.forNumber(direction_); + @java.lang.Override public com.google.datastore.admin.v1.Index.Direction getDirection() { + com.google.datastore.admin.v1.Index.Direction result = com.google.datastore.admin.v1.Index.Direction.forNumber(direction_); return result == null ? com.google.datastore.admin.v1.Index.Direction.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -825,12 +722,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 (direction_ - != com.google.datastore.admin.v1.Index.Direction.DIRECTION_UNSPECIFIED.getNumber()) { + if (direction_ != com.google.datastore.admin.v1.Index.Direction.DIRECTION_UNSPECIFIED.getNumber()) { output.writeEnum(2, direction_); } getUnknownFields().writeTo(output); @@ -845,9 +742,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (direction_ - != com.google.datastore.admin.v1.Index.Direction.DIRECTION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, direction_); + if (direction_ != com.google.datastore.admin.v1.Index.Direction.DIRECTION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, direction_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -857,15 +754,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.datastore.admin.v1.Index.IndexedProperty)) { return super.equals(obj); } - com.google.datastore.admin.v1.Index.IndexedProperty other = - (com.google.datastore.admin.v1.Index.IndexedProperty) obj; + com.google.datastore.admin.v1.Index.IndexedProperty other = (com.google.datastore.admin.v1.Index.IndexedProperty) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (direction_ != other.direction_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -888,94 +785,89 @@ public int hashCode() { } public static com.google.datastore.admin.v1.Index.IndexedProperty 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.datastore.admin.v1.Index.IndexedProperty parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.Index.IndexedProperty parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.admin.v1.Index.IndexedProperty parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.Index.IndexedProperty parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.admin.v1.Index.IndexedProperty parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.datastore.admin.v1.Index.IndexedProperty parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.Index.IndexedProperty parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.admin.v1.Index.IndexedProperty parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.Index.IndexedProperty parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.Index.IndexedProperty parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.admin.v1.Index.IndexedProperty parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.Index.IndexedProperty parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.admin.v1.Index.IndexedProperty parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.datastore.admin.v1.Index.IndexedProperty prototype) { + public static Builder newBuilder(com.google.datastore.admin.v1.Index.IndexedProperty prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -985,41 +877,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A property of an index.
      * 
* * Protobuf type {@code google.datastore.admin.v1.Index.IndexedProperty} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.datastore.admin.v1.Index.IndexedProperty) com.google.datastore.admin.v1.Index.IndexedPropertyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.admin.v1.IndexProto - .internal_static_google_datastore_admin_v1_Index_IndexedProperty_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.admin.v1.IndexProto.internal_static_google_datastore_admin_v1_Index_IndexedProperty_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.IndexProto - .internal_static_google_datastore_admin_v1_Index_IndexedProperty_fieldAccessorTable + return com.google.datastore.admin.v1.IndexProto.internal_static_google_datastore_admin_v1_Index_IndexedProperty_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.Index.IndexedProperty.class, - com.google.datastore.admin.v1.Index.IndexedProperty.Builder.class); + com.google.datastore.admin.v1.Index.IndexedProperty.class, com.google.datastore.admin.v1.Index.IndexedProperty.Builder.class); } // Construct using com.google.datastore.admin.v1.Index.IndexedProperty.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1030,9 +920,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.admin.v1.IndexProto - .internal_static_google_datastore_admin_v1_Index_IndexedProperty_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.admin.v1.IndexProto.internal_static_google_datastore_admin_v1_Index_IndexedProperty_descriptor; } @java.lang.Override @@ -1051,11 +941,8 @@ public com.google.datastore.admin.v1.Index.IndexedProperty build() { @java.lang.Override public com.google.datastore.admin.v1.Index.IndexedProperty buildPartial() { - com.google.datastore.admin.v1.Index.IndexedProperty result = - new com.google.datastore.admin.v1.Index.IndexedProperty(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.datastore.admin.v1.Index.IndexedProperty result = new com.google.datastore.admin.v1.Index.IndexedProperty(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1074,41 +961,38 @@ private void buildPartial0(com.google.datastore.admin.v1.Index.IndexedProperty r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.admin.v1.Index.IndexedProperty) { - return mergeFrom((com.google.datastore.admin.v1.Index.IndexedProperty) other); + return mergeFrom((com.google.datastore.admin.v1.Index.IndexedProperty)other); } else { super.mergeFrom(other); return this; @@ -1116,8 +1000,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.datastore.admin.v1.Index.IndexedProperty other) { - if (other == com.google.datastore.admin.v1.Index.IndexedProperty.getDefaultInstance()) - return this; + if (other == com.google.datastore.admin.v1.Index.IndexedProperty.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1152,25 +1035,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - direction_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + direction_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1180,25 +1060,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
        * Required. The property name to index.
        * 
* * 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; @@ -1207,21 +1084,20 @@ public java.lang.String getName() { } } /** - * - * *
        * Required. The property name to index.
        * 
* * 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 { @@ -1229,35 +1105,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * Required. The property name to index.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Required. The property name to index.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1267,21 +1136,17 @@ public Builder clearName() { return this; } /** - * - * *
        * Required. The property name to index.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1291,35 +1156,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int direction_ = 0; /** - * - * *
        * Required. The indexed property's direction.  Must not be
        * DIRECTION_UNSPECIFIED.
        * 
* - * - * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for direction. */ - @java.lang.Override - public int getDirectionValue() { + @java.lang.Override public int getDirectionValue() { return direction_; } /** - * - * *
        * Required. The indexed property's direction.  Must not be
        * DIRECTION_UNSPECIFIED.
        * 
* - * - * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for direction to set. * @return This builder for chaining. */ @@ -1330,37 +1184,26 @@ public Builder setDirectionValue(int value) { return this; } /** - * - * *
        * Required. The indexed property's direction.  Must not be
        * DIRECTION_UNSPECIFIED.
        * 
* - * - * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The direction. */ @java.lang.Override public com.google.datastore.admin.v1.Index.Direction getDirection() { - com.google.datastore.admin.v1.Index.Direction result = - com.google.datastore.admin.v1.Index.Direction.forNumber(direction_); + com.google.datastore.admin.v1.Index.Direction result = com.google.datastore.admin.v1.Index.Direction.forNumber(direction_); return result == null ? com.google.datastore.admin.v1.Index.Direction.UNRECOGNIZED : result; } /** - * - * *
        * Required. The indexed property's direction.  Must not be
        * DIRECTION_UNSPECIFIED.
        * 
* - * - * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; * @param value The direction to set. * @return This builder for chaining. */ @@ -1374,17 +1217,12 @@ public Builder setDirection(com.google.datastore.admin.v1.Index.Direction value) return this; } /** - * - * *
        * Required. The indexed property's direction.  Must not be
        * DIRECTION_UNSPECIFIED.
        * 
* - * - * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearDirection() { @@ -1393,7 +1231,6 @@ public Builder clearDirection() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1406,12 +1243,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.Index.IndexedProperty) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.Index.IndexedProperty) private static final com.google.datastore.admin.v1.Index.IndexedProperty DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.Index.IndexedProperty(); } @@ -1420,28 +1257,27 @@ public static com.google.datastore.admin.v1.Index.IndexedProperty getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IndexedProperty parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IndexedProperty parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1456,21 +1292,18 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.Index.IndexedProperty getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int PROJECT_ID_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Output only. Project ID.
    * 
* * string project_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The projectId. */ @java.lang.Override @@ -1479,29 +1312,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Output only. Project ID.
    * 
* * string project_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -1510,18 +1343,14 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int INDEX_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object indexId_ = ""; /** - * - * *
    * Output only. The resource ID of the index.
    * 
* * string index_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The indexId. */ @java.lang.Override @@ -1530,29 +1359,29 @@ public java.lang.String getIndexId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); indexId_ = s; return s; } } /** - * - * *
    * Output only. The resource ID of the index.
    * 
* * string index_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for indexId. */ @java.lang.Override - public com.google.protobuf.ByteString getIndexIdBytes() { + public com.google.protobuf.ByteString + getIndexIdBytes() { java.lang.Object ref = indexId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); indexId_ = b; return b; } else { @@ -1561,18 +1390,14 @@ public com.google.protobuf.ByteString getIndexIdBytes() { } public static final int KIND_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object kind_ = ""; /** - * - * *
    * Required. The entity kind to which this index applies.
    * 
* * string kind = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The kind. */ @java.lang.Override @@ -1581,29 +1406,29 @@ public java.lang.String getKind() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; } } /** - * - * *
    * Required. The entity kind to which this index applies.
    * 
* * string kind = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for kind. */ @java.lang.Override - public com.google.protobuf.ByteString getKindBytes() { + public com.google.protobuf.ByteString + getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kind_ = b; return b; } else { @@ -1614,51 +1439,35 @@ public com.google.protobuf.ByteString getKindBytes() { public static final int ANCESTOR_FIELD_NUMBER = 5; private int ancestor_ = 0; /** - * - * *
    * Required. The index's ancestor mode.  Must not be
    * ANCESTOR_MODE_UNSPECIFIED.
    * 
* - * - * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for ancestor. */ - @java.lang.Override - public int getAncestorValue() { + @java.lang.Override public int getAncestorValue() { return ancestor_; } /** - * - * *
    * Required. The index's ancestor mode.  Must not be
    * ANCESTOR_MODE_UNSPECIFIED.
    * 
* - * - * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The ancestor. */ - @java.lang.Override - public com.google.datastore.admin.v1.Index.AncestorMode getAncestor() { - com.google.datastore.admin.v1.Index.AncestorMode result = - com.google.datastore.admin.v1.Index.AncestorMode.forNumber(ancestor_); + @java.lang.Override public com.google.datastore.admin.v1.Index.AncestorMode getAncestor() { + com.google.datastore.admin.v1.Index.AncestorMode result = com.google.datastore.admin.v1.Index.AncestorMode.forNumber(ancestor_); return result == null ? com.google.datastore.admin.v1.Index.AncestorMode.UNRECOGNIZED : result; } public static final int PROPERTIES_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private java.util.List properties_; /** - * - * *
    * Required. An ordered sequence of property names and their index attributes.
    *
@@ -1667,17 +1476,13 @@ public com.google.datastore.admin.v1.Index.AncestorMode getAncestor() {
    * * A maximum of 100 properties.
    * 
* - * - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getPropertiesList() { return properties_; } /** - * - * *
    * Required. An ordered sequence of property names and their index attributes.
    *
@@ -1686,18 +1491,14 @@ public java.util.List getPr
    * * A maximum of 100 properties.
    * 
* - * - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List + public java.util.List getPropertiesOrBuilderList() { return properties_; } /** - * - * *
    * Required. An ordered sequence of property names and their index attributes.
    *
@@ -1706,17 +1507,13 @@ public java.util.List getPr
    * * A maximum of 100 properties.
    * 
* - * - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getPropertiesCount() { return properties_.size(); } /** - * - * *
    * Required. An ordered sequence of property names and their index attributes.
    *
@@ -1725,17 +1522,13 @@ public int getPropertiesCount() {
    * * A maximum of 100 properties.
    * 
* - * - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.datastore.admin.v1.Index.IndexedProperty getProperties(int index) { return properties_.get(index); } /** - * - * *
    * Required. An ordered sequence of property names and their index attributes.
    *
@@ -1744,9 +1537,7 @@ public com.google.datastore.admin.v1.Index.IndexedProperty getProperties(int ind
    * * A maximum of 100 properties.
    * 
* - * - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.datastore.admin.v1.Index.IndexedPropertyOrBuilder getPropertiesOrBuilder( @@ -1757,44 +1548,30 @@ public com.google.datastore.admin.v1.Index.IndexedPropertyOrBuilder getPropertie public static final int STATE_FIELD_NUMBER = 7; private int state_ = 0; /** - * - * *
    * Output only. The state of the index.
    * 
* - * - * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.datastore.admin.v1.Index.State state = 7 [(.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 index.
    * 
* - * - * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.datastore.admin.v1.Index.State getState() { - com.google.datastore.admin.v1.Index.State result = - com.google.datastore.admin.v1.Index.State.forNumber(state_); + @java.lang.Override public com.google.datastore.admin.v1.Index.State getState() { + com.google.datastore.admin.v1.Index.State result = com.google.datastore.admin.v1.Index.State.forNumber(state_); return result == null ? com.google.datastore.admin.v1.Index.State.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1806,7 +1583,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(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -1816,8 +1594,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, kind_); } - if (ancestor_ - != com.google.datastore.admin.v1.Index.AncestorMode.ANCESTOR_MODE_UNSPECIFIED.getNumber()) { + if (ancestor_ != com.google.datastore.admin.v1.Index.AncestorMode.ANCESTOR_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(5, ancestor_); } for (int i = 0; i < properties_.size(); i++) { @@ -1844,15 +1621,17 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, kind_); } - if (ancestor_ - != com.google.datastore.admin.v1.Index.AncestorMode.ANCESTOR_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, ancestor_); + if (ancestor_ != com.google.datastore.admin.v1.Index.AncestorMode.ANCESTOR_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(5, ancestor_); } for (int i = 0; i < properties_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, properties_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, properties_.get(i)); } if (state_ != com.google.datastore.admin.v1.Index.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(7, state_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1862,18 +1641,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.datastore.admin.v1.Index)) { return super.equals(obj); } com.google.datastore.admin.v1.Index other = (com.google.datastore.admin.v1.Index) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getIndexId().equals(other.getIndexId())) return false; - if (!getKind().equals(other.getKind())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getIndexId() + .equals(other.getIndexId())) return false; + if (!getKind() + .equals(other.getKind())) return false; if (ancestor_ != other.ancestor_) return false; - if (!getPropertiesList().equals(other.getPropertiesList())) return false; + if (!getPropertiesList() + .equals(other.getPropertiesList())) return false; if (state_ != other.state_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1905,135 +1688,132 @@ public int hashCode() { return hash; } - public static com.google.datastore.admin.v1.Index parseFrom(java.nio.ByteBuffer data) + public static com.google.datastore.admin.v1.Index parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.admin.v1.Index parseFrom(com.google.protobuf.ByteString data) + public static com.google.datastore.admin.v1.Index parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.admin.v1.Index parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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; } /** - * - * *
    * Datastore composite index definition.
    * 
* * Protobuf type {@code google.datastore.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.datastore.admin.v1.Index) com.google.datastore.admin.v1.IndexOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.admin.v1.IndexProto - .internal_static_google_datastore_admin_v1_Index_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.admin.v1.IndexProto.internal_static_google_datastore_admin_v1_Index_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.IndexProto - .internal_static_google_datastore_admin_v1_Index_fieldAccessorTable + return com.google.datastore.admin.v1.IndexProto.internal_static_google_datastore_admin_v1_Index_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.Index.class, - com.google.datastore.admin.v1.Index.Builder.class); + com.google.datastore.admin.v1.Index.class, com.google.datastore.admin.v1.Index.Builder.class); } // Construct using com.google.datastore.admin.v1.Index.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -2054,9 +1834,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.admin.v1.IndexProto - .internal_static_google_datastore_admin_v1_Index_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.admin.v1.IndexProto.internal_static_google_datastore_admin_v1_Index_descriptor; } @java.lang.Override @@ -2077,9 +1857,7 @@ public com.google.datastore.admin.v1.Index build() { public com.google.datastore.admin.v1.Index buildPartial() { com.google.datastore.admin.v1.Index result = new com.google.datastore.admin.v1.Index(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -2119,39 +1897,38 @@ private void buildPartial0(com.google.datastore.admin.v1.Index result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.admin.v1.Index) { - return mergeFrom((com.google.datastore.admin.v1.Index) other); + return mergeFrom((com.google.datastore.admin.v1.Index)other); } else { super.mergeFrom(other); return this; @@ -2196,10 +1973,9 @@ public Builder mergeFrom(com.google.datastore.admin.v1.Index other) { propertiesBuilder_ = null; properties_ = other.properties_; bitField0_ = (bitField0_ & ~0x00000010); - propertiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getPropertiesFieldBuilder() - : null; + propertiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getPropertiesFieldBuilder() : null; } else { propertiesBuilder_.addAllMessages(other.properties_); } @@ -2234,57 +2010,50 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: - { - indexId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 34: - { - kind_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 34 - case 40: - { - ancestor_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 40 - case 50: - { - com.google.datastore.admin.v1.Index.IndexedProperty m = - input.readMessage( - com.google.datastore.admin.v1.Index.IndexedProperty.parser(), - extensionRegistry); - if (propertiesBuilder_ == null) { - ensurePropertiesIsMutable(); - properties_.add(m); - } else { - propertiesBuilder_.addMessage(m); - } - break; - } // case 50 - case 56: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 56 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: { + indexId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 34: { + kind_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 34 + case 40: { + ancestor_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 40 + case 50: { + com.google.datastore.admin.v1.Index.IndexedProperty m = + input.readMessage( + com.google.datastore.admin.v1.Index.IndexedProperty.parser(), + extensionRegistry); + if (propertiesBuilder_ == null) { + ensurePropertiesIsMutable(); + properties_.add(m); + } else { + propertiesBuilder_.addMessage(m); + } + break; + } // case 50 + case 56: { + state_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 56 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2294,25 +2063,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object projectId_ = ""; /** - * - * *
      * Output only. Project ID.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -2321,21 +2087,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Output only. Project ID.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -2343,35 +2108,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Output only. Project ID.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. Project ID.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -2381,21 +2139,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Output only. Project ID.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -2405,20 +2159,18 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object indexId_ = ""; /** - * - * *
      * Output only. The resource ID of the index.
      * 
* * string index_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The indexId. */ public java.lang.String getIndexId() { java.lang.Object ref = indexId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); indexId_ = s; return s; @@ -2427,21 +2179,20 @@ public java.lang.String getIndexId() { } } /** - * - * *
      * Output only. The resource ID of the index.
      * 
* * string index_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for indexId. */ - public com.google.protobuf.ByteString getIndexIdBytes() { + public com.google.protobuf.ByteString + getIndexIdBytes() { java.lang.Object ref = indexId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); indexId_ = b; return b; } else { @@ -2449,35 +2200,28 @@ public com.google.protobuf.ByteString getIndexIdBytes() { } } /** - * - * *
      * Output only. The resource ID of the index.
      * 
* * string index_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The indexId to set. * @return This builder for chaining. */ - public Builder setIndexId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIndexId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } indexId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * Output only. The resource ID of the index.
      * 
* * string index_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearIndexId() { @@ -2487,21 +2231,17 @@ public Builder clearIndexId() { return this; } /** - * - * *
      * Output only. The resource ID of the index.
      * 
* * string index_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for indexId to set. * @return This builder for chaining. */ - public Builder setIndexIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIndexIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); indexId_ = value; bitField0_ |= 0x00000002; @@ -2511,20 +2251,18 @@ public Builder setIndexIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object kind_ = ""; /** - * - * *
      * Required. The entity kind to which this index applies.
      * 
* * string kind = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The kind. */ public java.lang.String getKind() { java.lang.Object ref = kind_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; @@ -2533,21 +2271,20 @@ public java.lang.String getKind() { } } /** - * - * *
      * Required. The entity kind to which this index applies.
      * 
* * string kind = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for kind. */ - public com.google.protobuf.ByteString getKindBytes() { + public com.google.protobuf.ByteString + getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kind_ = b; return b; } else { @@ -2555,35 +2292,28 @@ public com.google.protobuf.ByteString getKindBytes() { } } /** - * - * *
      * Required. The entity kind to which this index applies.
      * 
* * string kind = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The kind to set. * @return This builder for chaining. */ - public Builder setKind(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKind( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } kind_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The entity kind to which this index applies.
      * 
* * string kind = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearKind() { @@ -2593,21 +2323,17 @@ public Builder clearKind() { return this; } /** - * - * *
      * Required. The entity kind to which this index applies.
      * 
* * string kind = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for kind to set. * @return This builder for chaining. */ - public Builder setKindBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKindBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); kind_ = value; bitField0_ |= 0x00000004; @@ -2617,35 +2343,24 @@ public Builder setKindBytes(com.google.protobuf.ByteString value) { private int ancestor_ = 0; /** - * - * *
      * Required. The index's ancestor mode.  Must not be
      * ANCESTOR_MODE_UNSPECIFIED.
      * 
* - * - * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for ancestor. */ - @java.lang.Override - public int getAncestorValue() { + @java.lang.Override public int getAncestorValue() { return ancestor_; } /** - * - * *
      * Required. The index's ancestor mode.  Must not be
      * ANCESTOR_MODE_UNSPECIFIED.
      * 
* - * - * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; * @param value The enum numeric value on the wire for ancestor to set. * @return This builder for chaining. */ @@ -2656,39 +2371,26 @@ public Builder setAncestorValue(int value) { return this; } /** - * - * *
      * Required. The index's ancestor mode.  Must not be
      * ANCESTOR_MODE_UNSPECIFIED.
      * 
* - * - * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The ancestor. */ @java.lang.Override public com.google.datastore.admin.v1.Index.AncestorMode getAncestor() { - com.google.datastore.admin.v1.Index.AncestorMode result = - com.google.datastore.admin.v1.Index.AncestorMode.forNumber(ancestor_); - return result == null - ? com.google.datastore.admin.v1.Index.AncestorMode.UNRECOGNIZED - : result; + com.google.datastore.admin.v1.Index.AncestorMode result = com.google.datastore.admin.v1.Index.AncestorMode.forNumber(ancestor_); + return result == null ? com.google.datastore.admin.v1.Index.AncestorMode.UNRECOGNIZED : result; } /** - * - * *
      * Required. The index's ancestor mode.  Must not be
      * ANCESTOR_MODE_UNSPECIFIED.
      * 
* - * - * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; * @param value The ancestor to set. * @return This builder for chaining. */ @@ -2702,17 +2404,12 @@ public Builder setAncestor(com.google.datastore.admin.v1.Index.AncestorMode valu return this; } /** - * - * *
      * Required. The index's ancestor mode.  Must not be
      * ANCESTOR_MODE_UNSPECIFIED.
      * 
* - * - * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; * @return This builder for chaining. */ public Builder clearAncestor() { @@ -2723,26 +2420,18 @@ public Builder clearAncestor() { } private java.util.List properties_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensurePropertiesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - properties_ = - new java.util.ArrayList( - properties_); + properties_ = new java.util.ArrayList(properties_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.admin.v1.Index.IndexedProperty, - com.google.datastore.admin.v1.Index.IndexedProperty.Builder, - com.google.datastore.admin.v1.Index.IndexedPropertyOrBuilder> - propertiesBuilder_; + com.google.datastore.admin.v1.Index.IndexedProperty, com.google.datastore.admin.v1.Index.IndexedProperty.Builder, com.google.datastore.admin.v1.Index.IndexedPropertyOrBuilder> propertiesBuilder_; /** - * - * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -2751,9 +2440,7 @@ private void ensurePropertiesIsMutable() {
      * * A maximum of 100 properties.
      * 
* - * - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getPropertiesList() { if (propertiesBuilder_ == null) { @@ -2763,8 +2450,6 @@ public java.util.List getPr } } /** - * - * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -2773,9 +2458,7 @@ public java.util.List getPr
      * * A maximum of 100 properties.
      * 
* - * - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; */ public int getPropertiesCount() { if (propertiesBuilder_ == null) { @@ -2785,8 +2468,6 @@ public int getPropertiesCount() { } } /** - * - * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -2795,9 +2476,7 @@ public int getPropertiesCount() {
      * * A maximum of 100 properties.
      * 
* - * - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.datastore.admin.v1.Index.IndexedProperty getProperties(int index) { if (propertiesBuilder_ == null) { @@ -2807,8 +2486,6 @@ public com.google.datastore.admin.v1.Index.IndexedProperty getProperties(int ind } } /** - * - * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -2817,9 +2494,7 @@ public com.google.datastore.admin.v1.Index.IndexedProperty getProperties(int ind
      * * A maximum of 100 properties.
      * 
* - * - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setProperties( int index, com.google.datastore.admin.v1.Index.IndexedProperty value) { @@ -2836,8 +2511,6 @@ public Builder setProperties( return this; } /** - * - * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -2846,9 +2519,7 @@ public Builder setProperties(
      * * A maximum of 100 properties.
      * 
* - * - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setProperties( int index, com.google.datastore.admin.v1.Index.IndexedProperty.Builder builderForValue) { @@ -2862,8 +2533,6 @@ public Builder setProperties( return this; } /** - * - * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -2872,9 +2541,7 @@ public Builder setProperties(
      * * A maximum of 100 properties.
      * 
* - * - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addProperties(com.google.datastore.admin.v1.Index.IndexedProperty value) { if (propertiesBuilder_ == null) { @@ -2890,8 +2557,6 @@ public Builder addProperties(com.google.datastore.admin.v1.Index.IndexedProperty return this; } /** - * - * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -2900,9 +2565,7 @@ public Builder addProperties(com.google.datastore.admin.v1.Index.IndexedProperty
      * * A maximum of 100 properties.
      * 
* - * - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addProperties( int index, com.google.datastore.admin.v1.Index.IndexedProperty value) { @@ -2919,8 +2582,6 @@ public Builder addProperties( return this; } /** - * - * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -2929,9 +2590,7 @@ public Builder addProperties(
      * * A maximum of 100 properties.
      * 
* - * - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addProperties( com.google.datastore.admin.v1.Index.IndexedProperty.Builder builderForValue) { @@ -2945,8 +2604,6 @@ public Builder addProperties( return this; } /** - * - * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -2955,9 +2612,7 @@ public Builder addProperties(
      * * A maximum of 100 properties.
      * 
* - * - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addProperties( int index, com.google.datastore.admin.v1.Index.IndexedProperty.Builder builderForValue) { @@ -2971,8 +2626,6 @@ public Builder addProperties( return this; } /** - * - * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -2981,15 +2634,14 @@ public Builder addProperties(
      * * A maximum of 100 properties.
      * 
* - * - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addAllProperties( java.lang.Iterable values) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, properties_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, properties_); onChanged(); } else { propertiesBuilder_.addAllMessages(values); @@ -2997,8 +2649,6 @@ public Builder addAllProperties( return this; } /** - * - * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -3007,9 +2657,7 @@ public Builder addAllProperties(
      * * A maximum of 100 properties.
      * 
* - * - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearProperties() { if (propertiesBuilder_ == null) { @@ -3022,8 +2670,6 @@ public Builder clearProperties() { return this; } /** - * - * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -3032,9 +2678,7 @@ public Builder clearProperties() {
      * * A maximum of 100 properties.
      * 
* - * - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeProperties(int index) { if (propertiesBuilder_ == null) { @@ -3047,8 +2691,6 @@ public Builder removeProperties(int index) { return this; } /** - * - * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -3057,17 +2699,13 @@ public Builder removeProperties(int index) {
      * * A maximum of 100 properties.
      * 
* - * - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.datastore.admin.v1.Index.IndexedProperty.Builder getPropertiesBuilder( int index) { return getPropertiesFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -3076,21 +2714,16 @@ public com.google.datastore.admin.v1.Index.IndexedProperty.Builder getProperties
      * * A maximum of 100 properties.
      * 
* - * - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.datastore.admin.v1.Index.IndexedPropertyOrBuilder getPropertiesOrBuilder( int index) { if (propertiesBuilder_ == null) { - return properties_.get(index); - } else { + return properties_.get(index); } else { return propertiesBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -3099,12 +2732,10 @@ public com.google.datastore.admin.v1.Index.IndexedPropertyOrBuilder getPropertie
      * * A maximum of 100 properties.
      * 
* - * - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getPropertiesOrBuilderList() { + public java.util.List + getPropertiesOrBuilderList() { if (propertiesBuilder_ != null) { return propertiesBuilder_.getMessageOrBuilderList(); } else { @@ -3112,8 +2743,6 @@ public com.google.datastore.admin.v1.Index.IndexedPropertyOrBuilder getPropertie } } /** - * - * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -3122,17 +2751,13 @@ public com.google.datastore.admin.v1.Index.IndexedPropertyOrBuilder getPropertie
      * * A maximum of 100 properties.
      * 
* - * - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.datastore.admin.v1.Index.IndexedProperty.Builder addPropertiesBuilder() { - return getPropertiesFieldBuilder() - .addBuilder(com.google.datastore.admin.v1.Index.IndexedProperty.getDefaultInstance()); + return getPropertiesFieldBuilder().addBuilder( + com.google.datastore.admin.v1.Index.IndexedProperty.getDefaultInstance()); } /** - * - * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -3141,19 +2766,14 @@ public com.google.datastore.admin.v1.Index.IndexedProperty.Builder addProperties
      * * A maximum of 100 properties.
      * 
* - * - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.datastore.admin.v1.Index.IndexedProperty.Builder addPropertiesBuilder( int index) { - return getPropertiesFieldBuilder() - .addBuilder( - index, com.google.datastore.admin.v1.Index.IndexedProperty.getDefaultInstance()); + return getPropertiesFieldBuilder().addBuilder( + index, com.google.datastore.admin.v1.Index.IndexedProperty.getDefaultInstance()); } /** - * - * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -3162,27 +2782,22 @@ public com.google.datastore.admin.v1.Index.IndexedProperty.Builder addProperties
      * * A maximum of 100 properties.
      * 
* - * - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List - getPropertiesBuilderList() { + public java.util.List + getPropertiesBuilderList() { return getPropertiesFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.admin.v1.Index.IndexedProperty, - com.google.datastore.admin.v1.Index.IndexedProperty.Builder, - com.google.datastore.admin.v1.Index.IndexedPropertyOrBuilder> + com.google.datastore.admin.v1.Index.IndexedProperty, com.google.datastore.admin.v1.Index.IndexedProperty.Builder, com.google.datastore.admin.v1.Index.IndexedPropertyOrBuilder> getPropertiesFieldBuilder() { if (propertiesBuilder_ == null) { - propertiesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.admin.v1.Index.IndexedProperty, - com.google.datastore.admin.v1.Index.IndexedProperty.Builder, - com.google.datastore.admin.v1.Index.IndexedPropertyOrBuilder>( - properties_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); + propertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.datastore.admin.v1.Index.IndexedProperty, com.google.datastore.admin.v1.Index.IndexedProperty.Builder, com.google.datastore.admin.v1.Index.IndexedPropertyOrBuilder>( + properties_, + ((bitField0_ & 0x00000010) != 0), + getParentForChildren(), + isClean()); properties_ = null; } return propertiesBuilder_; @@ -3190,33 +2805,22 @@ public com.google.datastore.admin.v1.Index.IndexedProperty.Builder addProperties private int state_ = 0; /** - * - * *
      * Output only. The state of the index.
      * 
* - * - * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.datastore.admin.v1.Index.State state = 7 [(.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 index.
      * 
* - * - * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -3227,35 +2831,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. The state of the index.
      * 
* - * - * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.datastore.admin.v1.Index.State getState() { - com.google.datastore.admin.v1.Index.State result = - com.google.datastore.admin.v1.Index.State.forNumber(state_); + com.google.datastore.admin.v1.Index.State result = com.google.datastore.admin.v1.Index.State.forNumber(state_); return result == null ? com.google.datastore.admin.v1.Index.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. The state of the index.
      * 
* - * - * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -3269,16 +2862,11 @@ public Builder setState(com.google.datastore.admin.v1.Index.State value) { return this; } /** - * - * *
      * Output only. The state of the index.
      * 
* - * - * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -3287,9 +2875,9 @@ public Builder clearState() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3299,12 +2887,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.Index) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.Index) private static final com.google.datastore.admin.v1.Index DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.Index(); } @@ -3313,27 +2901,27 @@ public static com.google.datastore.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; @@ -3348,4 +2936,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.Index getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOperationMetadata.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOperationMetadata.java similarity index 69% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOperationMetadata.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOperationMetadata.java index 96b2a12ac..d6ae23618 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOperationMetadata.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOperationMetadata.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto @@ -20,61 +5,54 @@ package com.google.datastore.admin.v1; /** - * - * *
  * Metadata for Index operations.
  * 
* * Protobuf type {@code google.datastore.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.datastore.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() { indexId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new IndexOperationMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.admin.v1.DatastoreAdminProto - .internal_static_google_datastore_admin_v1_IndexOperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_IndexOperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.DatastoreAdminProto - .internal_static_google_datastore_admin_v1_IndexOperationMetadata_fieldAccessorTable + return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_IndexOperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.IndexOperationMetadata.class, - com.google.datastore.admin.v1.IndexOperationMetadata.Builder.class); + com.google.datastore.admin.v1.IndexOperationMetadata.class, com.google.datastore.admin.v1.IndexOperationMetadata.Builder.class); } private int bitField0_; public static final int COMMON_FIELD_NUMBER = 1; private com.google.datastore.admin.v1.CommonMetadata common_; /** - * - * *
    * Metadata common to all Datastore Admin operations.
    * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; - * * @return Whether the common field is set. */ @java.lang.Override @@ -82,25 +60,18 @@ public boolean hasCommon() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Metadata common to all Datastore Admin operations.
    * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; - * * @return The common. */ @java.lang.Override public com.google.datastore.admin.v1.CommonMetadata getCommon() { - return common_ == null - ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() - : common_; + return common_ == null ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() : common_; } /** - * - * *
    * Metadata common to all Datastore Admin operations.
    * 
@@ -109,22 +80,17 @@ public com.google.datastore.admin.v1.CommonMetadata getCommon() { */ @java.lang.Override public com.google.datastore.admin.v1.CommonMetadataOrBuilder getCommonOrBuilder() { - return common_ == null - ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() - : common_; + return common_ == null ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() : common_; } public static final int PROGRESS_ENTITIES_FIELD_NUMBER = 2; private com.google.datastore.admin.v1.Progress progressEntities_; /** - * - * *
    * An estimate of the number of entities processed.
    * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; - * * @return Whether the progressEntities field is set. */ @java.lang.Override @@ -132,25 +98,18 @@ public boolean hasProgressEntities() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * An estimate of the number of entities processed.
    * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; - * * @return The progressEntities. */ @java.lang.Override public com.google.datastore.admin.v1.Progress getProgressEntities() { - return progressEntities_ == null - ? com.google.datastore.admin.v1.Progress.getDefaultInstance() - : progressEntities_; + return progressEntities_ == null ? com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressEntities_; } /** - * - * *
    * An estimate of the number of entities processed.
    * 
@@ -159,24 +118,18 @@ public com.google.datastore.admin.v1.Progress getProgressEntities() { */ @java.lang.Override public com.google.datastore.admin.v1.ProgressOrBuilder getProgressEntitiesOrBuilder() { - return progressEntities_ == null - ? com.google.datastore.admin.v1.Progress.getDefaultInstance() - : progressEntities_; + return progressEntities_ == null ? com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressEntities_; } public static final int INDEX_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object indexId_ = ""; /** - * - * *
    * The index resource ID that this operation is acting on.
    * 
* * string index_id = 3; - * * @return The indexId. */ @java.lang.Override @@ -185,29 +138,29 @@ public java.lang.String getIndexId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); indexId_ = s; return s; } } /** - * - * *
    * The index resource ID that this operation is acting on.
    * 
* * string index_id = 3; - * * @return The bytes for indexId. */ @java.lang.Override - public com.google.protobuf.ByteString getIndexIdBytes() { + public com.google.protobuf.ByteString + getIndexIdBytes() { java.lang.Object ref = indexId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); indexId_ = b; return b; } else { @@ -216,7 +169,6 @@ public com.google.protobuf.ByteString getIndexIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -228,7 +180,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getCommon()); } @@ -248,10 +201,12 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCommon()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getCommon()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProgressEntities()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getProgressEntities()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(indexId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, indexId_); @@ -264,23 +219,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.datastore.admin.v1.IndexOperationMetadata)) { return super.equals(obj); } - com.google.datastore.admin.v1.IndexOperationMetadata other = - (com.google.datastore.admin.v1.IndexOperationMetadata) obj; + com.google.datastore.admin.v1.IndexOperationMetadata other = (com.google.datastore.admin.v1.IndexOperationMetadata) obj; if (hasCommon() != other.hasCommon()) return false; if (hasCommon()) { - if (!getCommon().equals(other.getCommon())) return false; + if (!getCommon() + .equals(other.getCommon())) return false; } if (hasProgressEntities() != other.hasProgressEntities()) return false; if (hasProgressEntities()) { - if (!getProgressEntities().equals(other.getProgressEntities())) return false; + if (!getProgressEntities() + .equals(other.getProgressEntities())) return false; } - if (!getIndexId().equals(other.getIndexId())) return false; + if (!getIndexId() + .equals(other.getIndexId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -308,126 +265,119 @@ public int hashCode() { } public static com.google.datastore.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.datastore.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.datastore.admin.v1.IndexOperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.admin.v1.IndexOperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.admin.v1.IndexOperationMetadata parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.IndexOperationMetadata parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.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.datastore.admin.v1.IndexOperationMetadata parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.IndexOperationMetadata parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.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.datastore.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.datastore.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.datastore.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 Index operations.
    * 
* * Protobuf type {@code google.datastore.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.datastore.admin.v1.IndexOperationMetadata) com.google.datastore.admin.v1.IndexOperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.admin.v1.DatastoreAdminProto - .internal_static_google_datastore_admin_v1_IndexOperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_IndexOperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.DatastoreAdminProto - .internal_static_google_datastore_admin_v1_IndexOperationMetadata_fieldAccessorTable + return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_IndexOperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.IndexOperationMetadata.class, - com.google.datastore.admin.v1.IndexOperationMetadata.Builder.class); + com.google.datastore.admin.v1.IndexOperationMetadata.class, com.google.datastore.admin.v1.IndexOperationMetadata.Builder.class); } // Construct using com.google.datastore.admin.v1.IndexOperationMetadata.newBuilder() @@ -435,18 +385,18 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getCommonFieldBuilder(); getProgressEntitiesFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -466,9 +416,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.admin.v1.DatastoreAdminProto - .internal_static_google_datastore_admin_v1_IndexOperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_IndexOperationMetadata_descriptor; } @java.lang.Override @@ -487,11 +437,8 @@ public com.google.datastore.admin.v1.IndexOperationMetadata build() { @java.lang.Override public com.google.datastore.admin.v1.IndexOperationMetadata buildPartial() { - com.google.datastore.admin.v1.IndexOperationMetadata result = - new com.google.datastore.admin.v1.IndexOperationMetadata(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.datastore.admin.v1.IndexOperationMetadata result = new com.google.datastore.admin.v1.IndexOperationMetadata(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -500,12 +447,15 @@ private void buildPartial0(com.google.datastore.admin.v1.IndexOperationMetadata int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.common_ = commonBuilder_ == null ? common_ : commonBuilder_.build(); + result.common_ = commonBuilder_ == null + ? common_ + : commonBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.progressEntities_ = - progressEntitiesBuilder_ == null ? progressEntities_ : progressEntitiesBuilder_.build(); + result.progressEntities_ = progressEntitiesBuilder_ == null + ? progressEntities_ + : progressEntitiesBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { @@ -518,39 +468,38 @@ private void buildPartial0(com.google.datastore.admin.v1.IndexOperationMetadata public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.admin.v1.IndexOperationMetadata) { - return mergeFrom((com.google.datastore.admin.v1.IndexOperationMetadata) other); + return mergeFrom((com.google.datastore.admin.v1.IndexOperationMetadata)other); } else { super.mergeFrom(other); return this; @@ -558,8 +507,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.datastore.admin.v1.IndexOperationMetadata other) { - if (other == com.google.datastore.admin.v1.IndexOperationMetadata.getDefaultInstance()) - return this; + if (other == com.google.datastore.admin.v1.IndexOperationMetadata.getDefaultInstance()) return this; if (other.hasCommon()) { mergeCommon(other.getCommon()); } @@ -597,32 +545,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCommonFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage( - getProgressEntitiesFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - indexId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getCommonFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getProgressEntitiesFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + indexId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -632,52 +579,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.datastore.admin.v1.CommonMetadata common_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.CommonMetadata, - com.google.datastore.admin.v1.CommonMetadata.Builder, - com.google.datastore.admin.v1.CommonMetadataOrBuilder> - commonBuilder_; + com.google.datastore.admin.v1.CommonMetadata, com.google.datastore.admin.v1.CommonMetadata.Builder, com.google.datastore.admin.v1.CommonMetadataOrBuilder> commonBuilder_; /** - * - * *
      * Metadata common to all Datastore Admin operations.
      * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; - * * @return Whether the common field is set. */ public boolean hasCommon() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Metadata common to all Datastore Admin operations.
      * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; - * * @return The common. */ public com.google.datastore.admin.v1.CommonMetadata getCommon() { if (commonBuilder_ == null) { - return common_ == null - ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() - : common_; + return common_ == null ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() : common_; } else { return commonBuilder_.getMessage(); } } /** - * - * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -698,15 +631,14 @@ public Builder setCommon(com.google.datastore.admin.v1.CommonMetadata value) { return this; } /** - * - * *
      * Metadata common to all Datastore Admin operations.
      * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; */ - public Builder setCommon(com.google.datastore.admin.v1.CommonMetadata.Builder builderForValue) { + public Builder setCommon( + com.google.datastore.admin.v1.CommonMetadata.Builder builderForValue) { if (commonBuilder_ == null) { common_ = builderForValue.build(); } else { @@ -717,8 +649,6 @@ public Builder setCommon(com.google.datastore.admin.v1.CommonMetadata.Builder bu return this; } /** - * - * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -727,9 +657,9 @@ public Builder setCommon(com.google.datastore.admin.v1.CommonMetadata.Builder bu */ public Builder mergeCommon(com.google.datastore.admin.v1.CommonMetadata value) { if (commonBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && common_ != null - && common_ != com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + common_ != null && + common_ != com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance()) { getCommonBuilder().mergeFrom(value); } else { common_ = value; @@ -744,8 +674,6 @@ public Builder mergeCommon(com.google.datastore.admin.v1.CommonMetadata value) { return this; } /** - * - * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -763,8 +691,6 @@ public Builder clearCommon() { return this; } /** - * - * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -777,8 +703,6 @@ public com.google.datastore.admin.v1.CommonMetadata.Builder getCommonBuilder() { return getCommonFieldBuilder().getBuilder(); } /** - * - * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -789,14 +713,11 @@ public com.google.datastore.admin.v1.CommonMetadataOrBuilder getCommonOrBuilder( if (commonBuilder_ != null) { return commonBuilder_.getMessageOrBuilder(); } else { - return common_ == null - ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() - : common_; + return common_ == null ? + com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() : common_; } } /** - * - * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -804,17 +725,14 @@ public com.google.datastore.admin.v1.CommonMetadataOrBuilder getCommonOrBuilder( * .google.datastore.admin.v1.CommonMetadata common = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.CommonMetadata, - com.google.datastore.admin.v1.CommonMetadata.Builder, - com.google.datastore.admin.v1.CommonMetadataOrBuilder> + com.google.datastore.admin.v1.CommonMetadata, com.google.datastore.admin.v1.CommonMetadata.Builder, com.google.datastore.admin.v1.CommonMetadataOrBuilder> getCommonFieldBuilder() { if (commonBuilder_ == null) { - commonBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.CommonMetadata, - com.google.datastore.admin.v1.CommonMetadata.Builder, - com.google.datastore.admin.v1.CommonMetadataOrBuilder>( - getCommon(), getParentForChildren(), isClean()); + commonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.admin.v1.CommonMetadata, com.google.datastore.admin.v1.CommonMetadata.Builder, com.google.datastore.admin.v1.CommonMetadataOrBuilder>( + getCommon(), + getParentForChildren(), + isClean()); common_ = null; } return commonBuilder_; @@ -822,47 +740,34 @@ public com.google.datastore.admin.v1.CommonMetadataOrBuilder getCommonOrBuilder( private com.google.datastore.admin.v1.Progress progressEntities_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Progress, - com.google.datastore.admin.v1.Progress.Builder, - com.google.datastore.admin.v1.ProgressOrBuilder> - progressEntitiesBuilder_; + com.google.datastore.admin.v1.Progress, com.google.datastore.admin.v1.Progress.Builder, com.google.datastore.admin.v1.ProgressOrBuilder> progressEntitiesBuilder_; /** - * - * *
      * An estimate of the number of entities processed.
      * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; - * * @return Whether the progressEntities field is set. */ public boolean hasProgressEntities() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * An estimate of the number of entities processed.
      * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; - * * @return The progressEntities. */ public com.google.datastore.admin.v1.Progress getProgressEntities() { if (progressEntitiesBuilder_ == null) { - return progressEntities_ == null - ? com.google.datastore.admin.v1.Progress.getDefaultInstance() - : progressEntities_; + return progressEntities_ == null ? com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressEntities_; } else { return progressEntitiesBuilder_.getMessage(); } } /** - * - * *
      * An estimate of the number of entities processed.
      * 
@@ -883,8 +788,6 @@ public Builder setProgressEntities(com.google.datastore.admin.v1.Progress value) return this; } /** - * - * *
      * An estimate of the number of entities processed.
      * 
@@ -903,8 +806,6 @@ public Builder setProgressEntities( return this; } /** - * - * *
      * An estimate of the number of entities processed.
      * 
@@ -913,9 +814,9 @@ public Builder setProgressEntities( */ public Builder mergeProgressEntities(com.google.datastore.admin.v1.Progress value) { if (progressEntitiesBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && progressEntities_ != null - && progressEntities_ != com.google.datastore.admin.v1.Progress.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + progressEntities_ != null && + progressEntities_ != com.google.datastore.admin.v1.Progress.getDefaultInstance()) { getProgressEntitiesBuilder().mergeFrom(value); } else { progressEntities_ = value; @@ -930,8 +831,6 @@ public Builder mergeProgressEntities(com.google.datastore.admin.v1.Progress valu return this; } /** - * - * *
      * An estimate of the number of entities processed.
      * 
@@ -949,8 +848,6 @@ public Builder clearProgressEntities() { return this; } /** - * - * *
      * An estimate of the number of entities processed.
      * 
@@ -963,8 +860,6 @@ public com.google.datastore.admin.v1.Progress.Builder getProgressEntitiesBuilder return getProgressEntitiesFieldBuilder().getBuilder(); } /** - * - * *
      * An estimate of the number of entities processed.
      * 
@@ -975,14 +870,11 @@ public com.google.datastore.admin.v1.ProgressOrBuilder getProgressEntitiesOrBuil if (progressEntitiesBuilder_ != null) { return progressEntitiesBuilder_.getMessageOrBuilder(); } else { - return progressEntities_ == null - ? com.google.datastore.admin.v1.Progress.getDefaultInstance() - : progressEntities_; + return progressEntities_ == null ? + com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressEntities_; } } /** - * - * *
      * An estimate of the number of entities processed.
      * 
@@ -990,17 +882,14 @@ public com.google.datastore.admin.v1.ProgressOrBuilder getProgressEntitiesOrBuil * .google.datastore.admin.v1.Progress progress_entities = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Progress, - com.google.datastore.admin.v1.Progress.Builder, - com.google.datastore.admin.v1.ProgressOrBuilder> + com.google.datastore.admin.v1.Progress, com.google.datastore.admin.v1.Progress.Builder, com.google.datastore.admin.v1.ProgressOrBuilder> getProgressEntitiesFieldBuilder() { if (progressEntitiesBuilder_ == null) { - progressEntitiesBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Progress, - com.google.datastore.admin.v1.Progress.Builder, - com.google.datastore.admin.v1.ProgressOrBuilder>( - getProgressEntities(), getParentForChildren(), isClean()); + progressEntitiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.admin.v1.Progress, com.google.datastore.admin.v1.Progress.Builder, com.google.datastore.admin.v1.ProgressOrBuilder>( + getProgressEntities(), + getParentForChildren(), + isClean()); progressEntities_ = null; } return progressEntitiesBuilder_; @@ -1008,20 +897,18 @@ public com.google.datastore.admin.v1.ProgressOrBuilder getProgressEntitiesOrBuil private java.lang.Object indexId_ = ""; /** - * - * *
      * The index resource ID that this operation is acting on.
      * 
* * string index_id = 3; - * * @return The indexId. */ public java.lang.String getIndexId() { java.lang.Object ref = indexId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); indexId_ = s; return s; @@ -1030,21 +917,20 @@ public java.lang.String getIndexId() { } } /** - * - * *
      * The index resource ID that this operation is acting on.
      * 
* * string index_id = 3; - * * @return The bytes for indexId. */ - public com.google.protobuf.ByteString getIndexIdBytes() { + public com.google.protobuf.ByteString + getIndexIdBytes() { java.lang.Object ref = indexId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); indexId_ = b; return b; } else { @@ -1052,35 +938,28 @@ public com.google.protobuf.ByteString getIndexIdBytes() { } } /** - * - * *
      * The index resource ID that this operation is acting on.
      * 
* * string index_id = 3; - * * @param value The indexId to set. * @return This builder for chaining. */ - public Builder setIndexId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIndexId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } indexId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The index resource ID that this operation is acting on.
      * 
* * string index_id = 3; - * * @return This builder for chaining. */ public Builder clearIndexId() { @@ -1090,30 +969,26 @@ public Builder clearIndexId() { return this; } /** - * - * *
      * The index resource ID that this operation is acting on.
      * 
* * string index_id = 3; - * * @param value The bytes for indexId to set. * @return This builder for chaining. */ - public Builder setIndexIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setIndexIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); indexId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1123,12 +998,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.IndexOperationMetadata) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.IndexOperationMetadata) private static final com.google.datastore.admin.v1.IndexOperationMetadata DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.IndexOperationMetadata(); } @@ -1137,27 +1012,27 @@ public static com.google.datastore.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; @@ -1172,4 +1047,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.IndexOperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOperationMetadataOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOperationMetadataOrBuilder.java similarity index 73% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOperationMetadataOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOperationMetadataOrBuilder.java index 20348e044..3abc79f65 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOperationMetadataOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOperationMetadataOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface IndexOperationMetadataOrBuilder - extends +public interface IndexOperationMetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.IndexOperationMetadata) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Metadata common to all Datastore Admin operations.
    * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; - * * @return Whether the common field is set. */ boolean hasCommon(); /** - * - * *
    * Metadata common to all Datastore Admin operations.
    * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; - * * @return The common. */ com.google.datastore.admin.v1.CommonMetadata getCommon(); /** - * - * *
    * Metadata common to all Datastore Admin operations.
    * 
@@ -60,32 +36,24 @@ public interface IndexOperationMetadataOrBuilder com.google.datastore.admin.v1.CommonMetadataOrBuilder getCommonOrBuilder(); /** - * - * *
    * An estimate of the number of entities processed.
    * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; - * * @return Whether the progressEntities field is set. */ boolean hasProgressEntities(); /** - * - * *
    * An estimate of the number of entities processed.
    * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; - * * @return The progressEntities. */ com.google.datastore.admin.v1.Progress getProgressEntities(); /** - * - * *
    * An estimate of the number of entities processed.
    * 
@@ -95,27 +63,22 @@ public interface IndexOperationMetadataOrBuilder com.google.datastore.admin.v1.ProgressOrBuilder getProgressEntitiesOrBuilder(); /** - * - * *
    * The index resource ID that this operation is acting on.
    * 
* * string index_id = 3; - * * @return The indexId. */ java.lang.String getIndexId(); /** - * - * *
    * The index resource ID that this operation is acting on.
    * 
* * string index_id = 3; - * * @return The bytes for indexId. */ - com.google.protobuf.ByteString getIndexIdBytes(); + com.google.protobuf.ByteString + getIndexIdBytes(); } diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOrBuilder.java similarity index 60% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOrBuilder.java index 25373353b..1987da9de 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOrBuilder.java @@ -1,138 +1,95 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/index.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface IndexOrBuilder - extends +public interface IndexOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.Index) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. Project ID.
    * 
* * string project_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Output only. Project ID.
    * 
* * string project_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * Output only. The resource ID of the index.
    * 
* * string index_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The indexId. */ java.lang.String getIndexId(); /** - * - * *
    * Output only. The resource ID of the index.
    * 
* * string index_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for indexId. */ - com.google.protobuf.ByteString getIndexIdBytes(); + com.google.protobuf.ByteString + getIndexIdBytes(); /** - * - * *
    * Required. The entity kind to which this index applies.
    * 
* * string kind = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The kind. */ java.lang.String getKind(); /** - * - * *
    * Required. The entity kind to which this index applies.
    * 
* * string kind = 4 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for kind. */ - com.google.protobuf.ByteString getKindBytes(); + com.google.protobuf.ByteString + getKindBytes(); /** - * - * *
    * Required. The index's ancestor mode.  Must not be
    * ANCESTOR_MODE_UNSPECIFIED.
    * 
* - * - * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The enum numeric value on the wire for ancestor. */ int getAncestorValue(); /** - * - * *
    * Required. The index's ancestor mode.  Must not be
    * ANCESTOR_MODE_UNSPECIFIED.
    * 
* - * - * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; * @return The ancestor. */ com.google.datastore.admin.v1.Index.AncestorMode getAncestor(); /** - * - * *
    * Required. An ordered sequence of property names and their index attributes.
    *
@@ -141,14 +98,11 @@ public interface IndexOrBuilder
    * * A maximum of 100 properties.
    * 
* - * - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getPropertiesList(); + java.util.List + getPropertiesList(); /** - * - * *
    * Required. An ordered sequence of property names and their index attributes.
    *
@@ -157,14 +111,10 @@ public interface IndexOrBuilder
    * * A maximum of 100 properties.
    * 
* - * - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; */ com.google.datastore.admin.v1.Index.IndexedProperty getProperties(int index); /** - * - * *
    * Required. An ordered sequence of property names and their index attributes.
    *
@@ -173,14 +123,10 @@ public interface IndexOrBuilder
    * * A maximum of 100 properties.
    * 
* - * - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; */ int getPropertiesCount(); /** - * - * *
    * Required. An ordered sequence of property names and their index attributes.
    *
@@ -189,15 +135,11 @@ public interface IndexOrBuilder
    * * A maximum of 100 properties.
    * 
* - * - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List + java.util.List getPropertiesOrBuilderList(); /** - * - * *
    * Required. An ordered sequence of property names and their index attributes.
    *
@@ -206,37 +148,26 @@ public interface IndexOrBuilder
    * * A maximum of 100 properties.
    * 
* - * - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.datastore.admin.v1.Index.IndexedPropertyOrBuilder getPropertiesOrBuilder(int index); + com.google.datastore.admin.v1.Index.IndexedPropertyOrBuilder getPropertiesOrBuilder( + int index); /** - * - * *
    * Output only. The state of the index.
    * 
* - * - * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. The state of the index.
    * 
* - * - * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.datastore.admin.v1.Index.State getState(); diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexProto.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexProto.java new file mode 100644 index 000000000..b79346bb3 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexProto.java @@ -0,0 +1,88 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/datastore/admin/v1/index.proto + +// Protobuf Java Version: 3.25.3 +package com.google.datastore.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_datastore_admin_v1_Index_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_datastore_admin_v1_Index_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_datastore_admin_v1_Index_IndexedProperty_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_datastore_admin_v1_Index_IndexedProperty_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/datastore/admin/v1/index.proto\022" + + "\031google.datastore.admin.v1\032\037google/api/f" + + "ield_behavior.proto\"\346\004\n\005Index\022\027\n\nproject" + + "_id\030\001 \001(\tB\003\340A\003\022\025\n\010index_id\030\003 \001(\tB\003\340A\003\022\021\n" + + "\004kind\030\004 \001(\tB\003\340A\002\022D\n\010ancestor\030\005 \001(\0162-.goo" + + "gle.datastore.admin.v1.Index.AncestorMod" + + "eB\003\340A\002\022I\n\nproperties\030\006 \003(\01320.google.data" + + "store.admin.v1.Index.IndexedPropertyB\003\340A" + + "\002\022:\n\005state\030\007 \001(\0162&.google.datastore.admi" + + "n.v1.Index.StateB\003\340A\003\032h\n\017IndexedProperty" + + "\022\021\n\004name\030\001 \001(\tB\003\340A\002\022B\n\tdirection\030\002 \001(\0162*" + + ".google.datastore.admin.v1.Index.Directi" + + "onB\003\340A\002\"J\n\014AncestorMode\022\035\n\031ANCESTOR_MODE" + + "_UNSPECIFIED\020\000\022\010\n\004NONE\020\001\022\021\n\rALL_ANCESTOR" + + "S\020\002\"E\n\tDirection\022\031\n\025DIRECTION_UNSPECIFIE" + + "D\020\000\022\r\n\tASCENDING\020\001\022\016\n\nDESCENDING\020\002\"P\n\005St" + + "ate\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001" + + "\022\t\n\005READY\020\002\022\014\n\010DELETING\020\003\022\t\n\005ERROR\020\004B\322\001\n" + + "\035com.google.datastore.admin.v1B\nIndexPro" + + "toP\001Z9cloud.google.com/go/datastore/admi" + + "n/apiv1/adminpb;adminpb\252\002\037Google.Cloud.D" + + "atastore.Admin.V1\312\002\037Google\\Cloud\\Datasto" + + "re\\Admin\\V1\352\002#Google::Cloud::Datastore::" + + "Admin::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_datastore_admin_v1_Index_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_datastore_admin_v1_Index_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_datastore_admin_v1_Index_descriptor, + new java.lang.String[] { "ProjectId", "IndexId", "Kind", "Ancestor", "Properties", "State", }); + internal_static_google_datastore_admin_v1_Index_IndexedProperty_descriptor = + internal_static_google_datastore_admin_v1_Index_descriptor.getNestedTypes().get(0); + internal_static_google_datastore_admin_v1_Index_IndexedProperty_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_datastore_admin_v1_Index_IndexedProperty_descriptor, + new java.lang.String[] { "Name", "Direction", }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor + .internalUpdateFileDescriptor(descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesRequest.java similarity index 69% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesRequest.java index 5eb553c33..57ec870ab 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto @@ -20,8 +5,6 @@ package com.google.datastore.admin.v1; /** - * - * *
  * The request for
  * [google.datastore.admin.v1.DatastoreAdmin.ListIndexes][google.datastore.admin.v1.DatastoreAdmin.ListIndexes].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.datastore.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.datastore.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() {
     projectId_ = "";
     filter_ = "";
@@ -47,38 +29,33 @@ private ListIndexesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListIndexesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto
-        .internal_static_google_datastore_admin_v1_ListIndexesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ListIndexesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto
-        .internal_static_google_datastore_admin_v1_ListIndexesRequest_fieldAccessorTable
+    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ListIndexesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.admin.v1.ListIndexesRequest.class,
-            com.google.datastore.admin.v1.ListIndexesRequest.Builder.class);
+            com.google.datastore.admin.v1.ListIndexesRequest.class, com.google.datastore.admin.v1.ListIndexesRequest.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object projectId_ = "";
   /**
-   *
-   *
    * 
    * Project ID against which to make the request.
    * 
* * string project_id = 1; - * * @return The projectId. */ @java.lang.Override @@ -87,29 +64,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Project ID against which to make the request.
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -118,12 +95,10 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int FILTER_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** * string filter = 3; - * * @return The filter. */ @java.lang.Override @@ -132,7 +107,8 @@ 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; @@ -140,15 +116,16 @@ public java.lang.String getFilter() { } /** * string filter = 3; - * * @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 { @@ -159,15 +136,12 @@ public com.google.protobuf.ByteString getFilterBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** - * - * *
    * The maximum number of items to return.  If zero, then all results will be
    * returned.
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -176,18 +150,14 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * The next_page_token value returned from a previous List request, if any.
    * 
* * string page_token = 5; - * * @return The pageToken. */ @java.lang.Override @@ -196,29 +166,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 = 5; - * * @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 { @@ -227,7 +197,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -239,7 +208,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(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -268,7 +238,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pageToken_); @@ -281,18 +252,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.datastore.admin.v1.ListIndexesRequest)) { return super.equals(obj); } - com.google.datastore.admin.v1.ListIndexesRequest other = - (com.google.datastore.admin.v1.ListIndexesRequest) obj; + com.google.datastore.admin.v1.ListIndexesRequest other = (com.google.datastore.admin.v1.ListIndexesRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getFilter().equals(other.getFilter())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getProjectId() + .equals(other.getProjectId())) 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; } @@ -317,104 +291,99 @@ public int hashCode() { return hash; } - public static com.google.datastore.admin.v1.ListIndexesRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.datastore.admin.v1.ListIndexesRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.admin.v1.ListIndexesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.admin.v1.ListIndexesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.admin.v1.ListIndexesRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.ListIndexesRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.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.datastore.admin.v1.ListIndexesRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.ListIndexesRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.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.datastore.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.datastore.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.datastore.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
    * [google.datastore.admin.v1.DatastoreAdmin.ListIndexes][google.datastore.admin.v1.DatastoreAdmin.ListIndexes].
@@ -422,32 +391,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.datastore.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.datastore.admin.v1.ListIndexesRequest)
       com.google.datastore.admin.v1.ListIndexesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto
-          .internal_static_google_datastore_admin_v1_ListIndexesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ListIndexesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto
-          .internal_static_google_datastore_admin_v1_ListIndexesRequest_fieldAccessorTable
+      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ListIndexesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.admin.v1.ListIndexesRequest.class,
-              com.google.datastore.admin.v1.ListIndexesRequest.Builder.class);
+              com.google.datastore.admin.v1.ListIndexesRequest.class, com.google.datastore.admin.v1.ListIndexesRequest.Builder.class);
     }
 
     // Construct using com.google.datastore.admin.v1.ListIndexesRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -460,9 +430,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto
-          .internal_static_google_datastore_admin_v1_ListIndexesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ListIndexesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -481,11 +451,8 @@ public com.google.datastore.admin.v1.ListIndexesRequest build() {
 
     @java.lang.Override
     public com.google.datastore.admin.v1.ListIndexesRequest buildPartial() {
-      com.google.datastore.admin.v1.ListIndexesRequest result =
-          new com.google.datastore.admin.v1.ListIndexesRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.datastore.admin.v1.ListIndexesRequest result = new com.google.datastore.admin.v1.ListIndexesRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -510,39 +477,38 @@ private void buildPartial0(com.google.datastore.admin.v1.ListIndexesRequest resu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.admin.v1.ListIndexesRequest) {
-        return mergeFrom((com.google.datastore.admin.v1.ListIndexesRequest) other);
+        return mergeFrom((com.google.datastore.admin.v1.ListIndexesRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -550,8 +516,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.datastore.admin.v1.ListIndexesRequest other) {
-      if (other == com.google.datastore.admin.v1.ListIndexesRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.datastore.admin.v1.ListIndexesRequest.getDefaultInstance()) return this;
       if (!other.getProjectId().isEmpty()) {
         projectId_ = other.projectId_;
         bitField0_ |= 0x00000001;
@@ -596,37 +561,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                projectId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 26:
-              {
-                filter_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 26
-            case 32:
-              {
-                pageSize_ = input.readInt32();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 32
-            case 42:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              projectId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 26: {
+              filter_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 26
+            case 32: {
+              pageSize_ = input.readInt32();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 32
+            case 42: {
+              pageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000008;
+              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) {
@@ -636,25 +596,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object projectId_ = "";
     /**
-     *
-     *
      * 
      * Project ID against which to make the request.
      * 
* * string project_id = 1; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -663,21 +620,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -685,35 +641,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -723,21 +672,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -748,13 +693,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object filter_ = ""; /** * string filter = 3; - * * @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; @@ -764,14 +709,15 @@ public java.lang.String getFilter() { } /** * string filter = 3; - * * @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 { @@ -780,14 +726,12 @@ public com.google.protobuf.ByteString getFilterBytes() { } /** * string filter = 3; - * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } filter_ = value; bitField0_ |= 0x00000002; onChanged(); @@ -795,7 +739,6 @@ public Builder setFilter(java.lang.String value) { } /** * string filter = 3; - * * @return This builder for chaining. */ public Builder clearFilter() { @@ -806,14 +749,12 @@ public Builder clearFilter() { } /** * string filter = 3; - * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000002; @@ -821,17 +762,14 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * The maximum number of items to return.  If zero, then all results will be
      * returned.
      * 
* * int32 page_size = 4; - * * @return The pageSize. */ @java.lang.Override @@ -839,15 +777,12 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * The maximum number of items to return.  If zero, then all results will be
      * returned.
      * 
* * int32 page_size = 4; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -859,15 +794,12 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * The maximum number of items to return.  If zero, then all results will be
      * returned.
      * 
* * int32 page_size = 4; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -879,20 +811,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 = 5; - * * @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; @@ -901,21 +831,20 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 5; - * * @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 { @@ -923,35 +852,28 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 5; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 5; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -961,30 +883,26 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 5; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -994,12 +912,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.ListIndexesRequest) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.ListIndexesRequest) private static final com.google.datastore.admin.v1.ListIndexesRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.ListIndexesRequest(); } @@ -1008,27 +926,27 @@ public static com.google.datastore.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; @@ -1043,4 +961,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.ListIndexesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesRequestOrBuilder.java similarity index 63% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesRequestOrBuilder.java index 389feb19a..b70dc1107 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesRequestOrBuilder.java @@ -1,103 +1,73 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface ListIndexesRequestOrBuilder - extends +public interface ListIndexesRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.ListIndexesRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Project ID against which to make the request.
    * 
* * string project_id = 1; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Project ID against which to make the request.
    * 
* * string project_id = 1; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** * string filter = 3; - * * @return The filter. */ java.lang.String getFilter(); /** * string filter = 3; - * * @return The bytes for filter. */ - com.google.protobuf.ByteString getFilterBytes(); + com.google.protobuf.ByteString + getFilterBytes(); /** - * - * *
    * The maximum number of items to return.  If zero, then all results will be
    * returned.
    * 
* * int32 page_size = 4; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * The next_page_token value returned from a previous List request, if any.
    * 
* * string page_token = 5; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * The next_page_token value returned from a previous List request, if any.
    * 
* * string page_token = 5; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); } diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesResponse.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesResponse.java similarity index 70% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesResponse.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesResponse.java index 05da1f24d..7b822ebd6 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto @@ -20,8 +5,6 @@ package com.google.datastore.admin.v1; /** - * - * *
  * The response for
  * [google.datastore.admin.v1.DatastoreAdmin.ListIndexes][google.datastore.admin.v1.DatastoreAdmin.ListIndexes].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.datastore.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.datastore.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_ = "";
@@ -46,32 +28,28 @@ private ListIndexesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListIndexesResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto
-        .internal_static_google_datastore_admin_v1_ListIndexesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ListIndexesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto
-        .internal_static_google_datastore_admin_v1_ListIndexesResponse_fieldAccessorTable
+    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ListIndexesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.admin.v1.ListIndexesResponse.class,
-            com.google.datastore.admin.v1.ListIndexesResponse.Builder.class);
+            com.google.datastore.admin.v1.ListIndexesResponse.class, com.google.datastore.admin.v1.ListIndexesResponse.Builder.class);
   }
 
   public static final int INDEXES_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List indexes_;
   /**
-   *
-   *
    * 
    * The indexes.
    * 
@@ -83,8 +61,6 @@ public java.util.List getIndexesList() { return indexes_; } /** - * - * *
    * The indexes.
    * 
@@ -92,13 +68,11 @@ public java.util.List getIndexesList() { * repeated .google.datastore.admin.v1.Index indexes = 1; */ @java.lang.Override - public java.util.List + public java.util.List getIndexesOrBuilderList() { return indexes_; } /** - * - * *
    * The indexes.
    * 
@@ -110,8 +84,6 @@ public int getIndexesCount() { return indexes_.size(); } /** - * - * *
    * The indexes.
    * 
@@ -123,8 +95,6 @@ public com.google.datastore.admin.v1.Index getIndexes(int index) { return indexes_.get(index); } /** - * - * *
    * The indexes.
    * 
@@ -132,23 +102,20 @@ public com.google.datastore.admin.v1.Index getIndexes(int index) { * repeated .google.datastore.admin.v1.Index indexes = 1; */ @java.lang.Override - public com.google.datastore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int index) { + public com.google.datastore.admin.v1.IndexOrBuilder getIndexesOrBuilder( + int index) { return indexes_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * The standard List next-page token.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -157,29 +124,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 standard List 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 { @@ -188,7 +155,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,7 +166,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)); } @@ -217,7 +184,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < indexes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, indexes_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, indexes_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -230,16 +198,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.datastore.admin.v1.ListIndexesResponse)) { return super.equals(obj); } - com.google.datastore.admin.v1.ListIndexesResponse other = - (com.google.datastore.admin.v1.ListIndexesResponse) obj; + com.google.datastore.admin.v1.ListIndexesResponse other = (com.google.datastore.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; } @@ -263,103 +232,98 @@ public int hashCode() { } public static com.google.datastore.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.datastore.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.datastore.admin.v1.ListIndexesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.admin.v1.ListIndexesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.admin.v1.ListIndexesResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.ListIndexesResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.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.datastore.admin.v1.ListIndexesResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.ListIndexesResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.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.datastore.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.datastore.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.datastore.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
    * [google.datastore.admin.v1.DatastoreAdmin.ListIndexes][google.datastore.admin.v1.DatastoreAdmin.ListIndexes].
@@ -367,32 +331,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.datastore.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.datastore.admin.v1.ListIndexesResponse)
       com.google.datastore.admin.v1.ListIndexesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto
-          .internal_static_google_datastore_admin_v1_ListIndexesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ListIndexesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto
-          .internal_static_google_datastore_admin_v1_ListIndexesResponse_fieldAccessorTable
+      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ListIndexesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.admin.v1.ListIndexesResponse.class,
-              com.google.datastore.admin.v1.ListIndexesResponse.Builder.class);
+              com.google.datastore.admin.v1.ListIndexesResponse.class, com.google.datastore.admin.v1.ListIndexesResponse.Builder.class);
     }
 
     // Construct using com.google.datastore.admin.v1.ListIndexesResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -409,9 +374,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto
-          .internal_static_google_datastore_admin_v1_ListIndexesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ListIndexesResponse_descriptor;
     }
 
     @java.lang.Override
@@ -430,18 +395,14 @@ public com.google.datastore.admin.v1.ListIndexesResponse build() {
 
     @java.lang.Override
     public com.google.datastore.admin.v1.ListIndexesResponse buildPartial() {
-      com.google.datastore.admin.v1.ListIndexesResponse result =
-          new com.google.datastore.admin.v1.ListIndexesResponse(this);
+      com.google.datastore.admin.v1.ListIndexesResponse result = new com.google.datastore.admin.v1.ListIndexesResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.datastore.admin.v1.ListIndexesResponse result) {
+    private void buildPartialRepeatedFields(com.google.datastore.admin.v1.ListIndexesResponse result) {
       if (indexesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           indexes_ = java.util.Collections.unmodifiableList(indexes_);
@@ -464,39 +425,38 @@ private void buildPartial0(com.google.datastore.admin.v1.ListIndexesResponse res
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.admin.v1.ListIndexesResponse) {
-        return mergeFrom((com.google.datastore.admin.v1.ListIndexesResponse) other);
+        return mergeFrom((com.google.datastore.admin.v1.ListIndexesResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -504,8 +464,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.datastore.admin.v1.ListIndexesResponse other) {
-      if (other == com.google.datastore.admin.v1.ListIndexesResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.datastore.admin.v1.ListIndexesResponse.getDefaultInstance()) return this;
       if (indexesBuilder_ == null) {
         if (!other.indexes_.isEmpty()) {
           if (indexes_.isEmpty()) {
@@ -524,10 +483,9 @@ public Builder mergeFrom(com.google.datastore.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_);
           }
@@ -564,32 +522,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.datastore.admin.v1.Index m =
-                    input.readMessage(
-                        com.google.datastore.admin.v1.Index.parser(), extensionRegistry);
-                if (indexesBuilder_ == null) {
-                  ensureIndexesIsMutable();
-                  indexes_.add(m);
-                } else {
-                  indexesBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.datastore.admin.v1.Index m =
+                  input.readMessage(
+                      com.google.datastore.admin.v1.Index.parser(),
+                      extensionRegistry);
+              if (indexesBuilder_ == null) {
+                ensureIndexesIsMutable();
+                indexes_.add(m);
+              } else {
+                indexesBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              nextPageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -599,28 +555,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List indexes_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureIndexesIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         indexes_ = new java.util.ArrayList(indexes_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.datastore.admin.v1.Index,
-            com.google.datastore.admin.v1.Index.Builder,
-            com.google.datastore.admin.v1.IndexOrBuilder>
-        indexesBuilder_;
+        com.google.datastore.admin.v1.Index, com.google.datastore.admin.v1.Index.Builder, com.google.datastore.admin.v1.IndexOrBuilder> indexesBuilder_;
 
     /**
-     *
-     *
      * 
      * The indexes.
      * 
@@ -635,8 +584,6 @@ public java.util.List getIndexesList() { } } /** - * - * *
      * The indexes.
      * 
@@ -651,8 +598,6 @@ public int getIndexesCount() { } } /** - * - * *
      * The indexes.
      * 
@@ -667,15 +612,14 @@ public com.google.datastore.admin.v1.Index getIndexes(int index) { } } /** - * - * *
      * The indexes.
      * 
* * repeated .google.datastore.admin.v1.Index indexes = 1; */ - public Builder setIndexes(int index, com.google.datastore.admin.v1.Index value) { + public Builder setIndexes( + int index, com.google.datastore.admin.v1.Index value) { if (indexesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -689,8 +633,6 @@ public Builder setIndexes(int index, com.google.datastore.admin.v1.Index value) return this; } /** - * - * *
      * The indexes.
      * 
@@ -709,8 +651,6 @@ public Builder setIndexes( return this; } /** - * - * *
      * The indexes.
      * 
@@ -731,15 +671,14 @@ public Builder addIndexes(com.google.datastore.admin.v1.Index value) { return this; } /** - * - * *
      * The indexes.
      * 
* * repeated .google.datastore.admin.v1.Index indexes = 1; */ - public Builder addIndexes(int index, com.google.datastore.admin.v1.Index value) { + public Builder addIndexes( + int index, com.google.datastore.admin.v1.Index value) { if (indexesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -753,15 +692,14 @@ public Builder addIndexes(int index, com.google.datastore.admin.v1.Index value) return this; } /** - * - * *
      * The indexes.
      * 
* * repeated .google.datastore.admin.v1.Index indexes = 1; */ - public Builder addIndexes(com.google.datastore.admin.v1.Index.Builder builderForValue) { + public Builder addIndexes( + com.google.datastore.admin.v1.Index.Builder builderForValue) { if (indexesBuilder_ == null) { ensureIndexesIsMutable(); indexes_.add(builderForValue.build()); @@ -772,8 +710,6 @@ public Builder addIndexes(com.google.datastore.admin.v1.Index.Builder builderFor return this; } /** - * - * *
      * The indexes.
      * 
@@ -792,8 +728,6 @@ public Builder addIndexes( return this; } /** - * - * *
      * The indexes.
      * 
@@ -804,7 +738,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); @@ -812,8 +747,6 @@ public Builder addAllIndexes( return this; } /** - * - * *
      * The indexes.
      * 
@@ -831,8 +764,6 @@ public Builder clearIndexes() { return this; } /** - * - * *
      * The indexes.
      * 
@@ -850,44 +781,39 @@ public Builder removeIndexes(int index) { return this; } /** - * - * *
      * The indexes.
      * 
* * repeated .google.datastore.admin.v1.Index indexes = 1; */ - public com.google.datastore.admin.v1.Index.Builder getIndexesBuilder(int index) { + public com.google.datastore.admin.v1.Index.Builder getIndexesBuilder( + int index) { return getIndexesFieldBuilder().getBuilder(index); } /** - * - * *
      * The indexes.
      * 
* * repeated .google.datastore.admin.v1.Index indexes = 1; */ - public com.google.datastore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int index) { + public com.google.datastore.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.
      * 
* * repeated .google.datastore.admin.v1.Index indexes = 1; */ - public java.util.List - getIndexesOrBuilderList() { + public java.util.List + getIndexesOrBuilderList() { if (indexesBuilder_ != null) { return indexesBuilder_.getMessageOrBuilderList(); } else { @@ -895,8 +821,6 @@ public com.google.datastore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int inde } } /** - * - * *
      * The indexes.
      * 
@@ -904,47 +828,42 @@ public com.google.datastore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int inde * repeated .google.datastore.admin.v1.Index indexes = 1; */ public com.google.datastore.admin.v1.Index.Builder addIndexesBuilder() { - return getIndexesFieldBuilder() - .addBuilder(com.google.datastore.admin.v1.Index.getDefaultInstance()); + return getIndexesFieldBuilder().addBuilder( + com.google.datastore.admin.v1.Index.getDefaultInstance()); } /** - * - * *
      * The indexes.
      * 
* * repeated .google.datastore.admin.v1.Index indexes = 1; */ - public com.google.datastore.admin.v1.Index.Builder addIndexesBuilder(int index) { - return getIndexesFieldBuilder() - .addBuilder(index, com.google.datastore.admin.v1.Index.getDefaultInstance()); + public com.google.datastore.admin.v1.Index.Builder addIndexesBuilder( + int index) { + return getIndexesFieldBuilder().addBuilder( + index, com.google.datastore.admin.v1.Index.getDefaultInstance()); } /** - * - * *
      * The indexes.
      * 
* * repeated .google.datastore.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.datastore.admin.v1.Index, - com.google.datastore.admin.v1.Index.Builder, - com.google.datastore.admin.v1.IndexOrBuilder> + com.google.datastore.admin.v1.Index, com.google.datastore.admin.v1.Index.Builder, com.google.datastore.admin.v1.IndexOrBuilder> getIndexesFieldBuilder() { if (indexesBuilder_ == null) { - indexesBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.admin.v1.Index, - com.google.datastore.admin.v1.Index.Builder, - com.google.datastore.admin.v1.IndexOrBuilder>( - indexes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + indexesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.datastore.admin.v1.Index, com.google.datastore.admin.v1.Index.Builder, com.google.datastore.admin.v1.IndexOrBuilder>( + indexes_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); indexes_ = null; } return indexesBuilder_; @@ -952,20 +871,18 @@ public java.util.List getIndexesBui private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * The standard List 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; @@ -974,21 +891,20 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * The standard List 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 { @@ -996,35 +912,28 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * The standard List 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The standard List next-page token.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1034,30 +943,26 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * The standard List 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1067,12 +972,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.ListIndexesResponse) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.ListIndexesResponse) private static final com.google.datastore.admin.v1.ListIndexesResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.ListIndexesResponse(); } @@ -1081,27 +986,27 @@ public static com.google.datastore.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; @@ -1116,4 +1021,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.ListIndexesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesResponseOrBuilder.java similarity index 63% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesResponseOrBuilder.java index e6b8e4376..877733056 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesResponseOrBuilder.java @@ -1,42 +1,23 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface ListIndexesResponseOrBuilder - extends +public interface ListIndexesResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.ListIndexesResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The indexes.
    * 
* * repeated .google.datastore.admin.v1.Index indexes = 1; */ - java.util.List getIndexesList(); + java.util.List + getIndexesList(); /** - * - * *
    * The indexes.
    * 
@@ -45,8 +26,6 @@ public interface ListIndexesResponseOrBuilder */ com.google.datastore.admin.v1.Index getIndexes(int index); /** - * - * *
    * The indexes.
    * 
@@ -55,48 +34,41 @@ public interface ListIndexesResponseOrBuilder */ int getIndexesCount(); /** - * - * *
    * The indexes.
    * 
* * repeated .google.datastore.admin.v1.Index indexes = 1; */ - java.util.List getIndexesOrBuilderList(); + java.util.List + getIndexesOrBuilderList(); /** - * - * *
    * The indexes.
    * 
* * repeated .google.datastore.admin.v1.Index indexes = 1; */ - com.google.datastore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int index); + com.google.datastore.admin.v1.IndexOrBuilder getIndexesOrBuilder( + int index); /** - * - * *
    * The standard List next-page token.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * The standard List 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-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProgressEvent.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProgressEvent.java similarity index 58% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProgressEvent.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProgressEvent.java index d69e36b88..a01ddb6c9 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProgressEvent.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProgressEvent.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/migration.proto @@ -20,8 +5,6 @@ package com.google.datastore.admin.v1; /** - * - * *
  * An event signifying the start of a new step in a [migration from Cloud
  * Datastore to Cloud Firestore in Datastore
@@ -30,54 +13,49 @@
  *
  * Protobuf type {@code google.datastore.admin.v1.MigrationProgressEvent}
  */
-public final class MigrationProgressEvent extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class MigrationProgressEvent extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.datastore.admin.v1.MigrationProgressEvent)
     MigrationProgressEventOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use MigrationProgressEvent.newBuilder() to construct.
   private MigrationProgressEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private MigrationProgressEvent() {
     step_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new MigrationProgressEvent();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.datastore.admin.v1.MigrationProto
-        .internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.admin.v1.MigrationProto
-        .internal_static_google_datastore_admin_v1_MigrationProgressEvent_fieldAccessorTable
+    return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationProgressEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.admin.v1.MigrationProgressEvent.class,
-            com.google.datastore.admin.v1.MigrationProgressEvent.Builder.class);
+            com.google.datastore.admin.v1.MigrationProgressEvent.class, com.google.datastore.admin.v1.MigrationProgressEvent.Builder.class);
   }
 
   /**
-   *
-   *
    * 
    * Concurrency modes for transactions in Cloud Firestore.
    * 
* * Protobuf enum {@code google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode} */ - public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum { + public enum ConcurrencyMode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified.
      * 
@@ -86,8 +64,6 @@ public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum { */ CONCURRENCY_MODE_UNSPECIFIED(0), /** - * - * *
      * Pessimistic concurrency.
      * 
@@ -96,8 +72,6 @@ public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum { */ PESSIMISTIC(1), /** - * - * *
      * Optimistic concurrency.
      * 
@@ -106,8 +80,6 @@ public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum { */ OPTIMISTIC(2), /** - * - * *
      * Optimistic concurrency with entity groups.
      * 
@@ -119,8 +91,6 @@ public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified.
      * 
@@ -129,8 +99,6 @@ public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CONCURRENCY_MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Pessimistic concurrency.
      * 
@@ -139,8 +107,6 @@ public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PESSIMISTIC_VALUE = 1; /** - * - * *
      * Optimistic concurrency.
      * 
@@ -149,8 +115,6 @@ public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OPTIMISTIC_VALUE = 2; /** - * - * *
      * Optimistic concurrency with entity groups.
      * 
@@ -159,6 +123,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( @@ -183,47 +148,41 @@ public static ConcurrencyMode valueOf(int value) { */ public static ConcurrencyMode forNumber(int value) { switch (value) { - case 0: - return CONCURRENCY_MODE_UNSPECIFIED; - case 1: - return PESSIMISTIC; - case 2: - return OPTIMISTIC; - case 3: - return OPTIMISTIC_WITH_ENTITY_GROUPS; - default: - return null; + case 0: return CONCURRENCY_MODE_UNSPECIFIED; + case 1: return PESSIMISTIC; + case 2: return OPTIMISTIC; + 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() { - return com.google.datastore.admin.v1.MigrationProgressEvent.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.datastore.admin.v1.MigrationProgressEvent.getDescriptor().getEnumTypes().get(0); } private static final ConcurrencyMode[] VALUES = values(); @@ -231,7 +190,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; @@ -248,130 +208,100 @@ private ConcurrencyMode(int value) { // @@protoc_insertion_point(enum_scope:google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode) } - public interface PrepareStepDetailsOrBuilder - extends + public interface PrepareStepDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * The concurrency mode this database will use when it reaches the
      * `REDIRECT_WRITES` step.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; - * - * + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; * @return The enum numeric value on the wire for concurrencyMode. */ int getConcurrencyModeValue(); /** - * - * *
      * The concurrency mode this database will use when it reaches the
      * `REDIRECT_WRITES` step.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; - * - * + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; * @return The concurrencyMode. */ com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode getConcurrencyMode(); } /** - * - * *
    * Details for the `PREPARE` step.
    * 
* * Protobuf type {@code google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails} */ - public static final class PrepareStepDetails extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class PrepareStepDetails extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) PrepareStepDetailsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PrepareStepDetails.newBuilder() to construct. private PrepareStepDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PrepareStepDetails() { concurrencyMode_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PrepareStepDetails(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.admin.v1.MigrationProto - .internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.MigrationProto - .internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_fieldAccessorTable + return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.class, - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.Builder - .class); + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.class, com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.Builder.class); } public static final int CONCURRENCY_MODE_FIELD_NUMBER = 1; private int concurrencyMode_ = 0; /** - * - * *
      * The concurrency mode this database will use when it reaches the
      * `REDIRECT_WRITES` step.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; - * - * + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; * @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 mode this database will use when it reaches the
      * `REDIRECT_WRITES` step.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; - * - * + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; * @return The concurrencyMode. */ - @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode - getConcurrencyMode() { - com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode result = - com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.forNumber( - concurrencyMode_); - return result == null - ? com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.UNRECOGNIZED - : result; + @java.lang.Override public com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode getConcurrencyMode() { + com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode result = com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.forNumber(concurrencyMode_); + return result == null ? com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -383,11 +313,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (concurrencyMode_ - != com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode - .CONCURRENCY_MODE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (concurrencyMode_ != com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.CONCURRENCY_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, concurrencyMode_); } getUnknownFields().writeTo(output); @@ -399,11 +327,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (concurrencyMode_ - != com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode - .CONCURRENCY_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, concurrencyMode_); + if (concurrencyMode_ != com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.CONCURRENCY_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, concurrencyMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -413,14 +339,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails)) { + if (!(obj instanceof com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails)) { return super.equals(obj); } - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails other = - (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) obj; + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails other = (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) obj; if (concurrencyMode_ != other.concurrencyMode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -442,95 +366,89 @@ public int hashCode() { } public static com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails 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.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails - 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.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails 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.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prototype) { + public static Builder newBuilder(com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -540,43 +458,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Details for the `PREPARE` step.
      * 
* * Protobuf type {@code google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.admin.v1.MigrationProto - .internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.MigrationProto - .internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_fieldAccessorTable + return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.class, - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.Builder - .class); + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.class, com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.Builder.class); } - // Construct using - // com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.newBuilder() - private Builder() {} + // Construct using com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -586,22 +500,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.admin.v1.MigrationProto - .internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_descriptor; } @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails - getDefaultInstanceForType() { - return com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails - .getDefaultInstance(); + public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails getDefaultInstanceForType() { + return com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.getDefaultInstance(); } @java.lang.Override public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails build() { - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails result = - buildPartial(); + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -609,19 +520,14 @@ public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails b } @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails - buildPartial() { - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails result = - new com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails buildPartial() { + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails result = new com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails result) { + private void buildPartial0(com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.concurrencyMode_ = concurrencyMode_; @@ -632,54 +538,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) { - return mergeFrom( - (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) other); + if (other instanceof com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) { + return mergeFrom((com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails other) { - if (other - == com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails other) { + if (other == com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.getDefaultInstance()) return this; if (other.concurrencyMode_ != 0) { setConcurrencyModeValue(other.getConcurrencyModeValue()); } @@ -709,19 +607,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - concurrencyMode_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + concurrencyMode_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -731,40 +627,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int concurrencyMode_ = 0; /** - * - * *
        * The concurrency mode this database will use when it reaches the
        * `REDIRECT_WRITES` step.
        * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; - * - * + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; * @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 mode this database will use when it reaches the
        * `REDIRECT_WRITES` step.
        * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; - * - * + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; * @param value The enum numeric value on the wire for concurrencyMode to set. * @return This builder for chaining. */ @@ -775,46 +659,30 @@ public Builder setConcurrencyModeValue(int value) { return this; } /** - * - * *
        * The concurrency mode this database will use when it reaches the
        * `REDIRECT_WRITES` step.
        * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; - * - * + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; * @return The concurrencyMode. */ @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode - getConcurrencyMode() { - com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode result = - com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.forNumber( - concurrencyMode_); - return result == null - ? com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.UNRECOGNIZED - : result; + public com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode getConcurrencyMode() { + com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode result = com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.forNumber(concurrencyMode_); + return result == null ? com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.UNRECOGNIZED : result; } /** - * - * *
        * The concurrency mode this database will use when it reaches the
        * `REDIRECT_WRITES` step.
        * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; - * - * + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; * @param value The concurrencyMode to set. * @return This builder for chaining. */ - public Builder setConcurrencyMode( - com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode value) { + public Builder setConcurrencyMode(com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode value) { if (value == null) { throw new NullPointerException(); } @@ -824,17 +692,12 @@ public Builder setConcurrencyMode( return this; } /** - * - * *
        * The concurrency mode this database will use when it reaches the
        * `REDIRECT_WRITES` step.
        * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; - * - * + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; * @return This builder for chaining. */ public Builder clearConcurrencyMode() { @@ -843,7 +706,6 @@ public Builder clearConcurrencyMode() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -856,45 +718,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) - private static final com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails - DEFAULT_INSTANCE; - + private static final com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails(); + DEFAULT_INSTANCE = new com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails(); } - public static com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails - getDefaultInstance() { + public static com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrepareStepDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrepareStepDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -906,133 +764,102 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails - getDefaultInstanceForType() { + public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface RedirectWritesStepDetailsOrBuilder - extends + public interface RedirectWritesStepDetailsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Ths concurrency mode for this database.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; - * - * + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; * @return The enum numeric value on the wire for concurrencyMode. */ int getConcurrencyModeValue(); /** - * - * *
      * Ths concurrency mode for this database.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; - * - * + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; * @return The concurrencyMode. */ com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode getConcurrencyMode(); } /** - * - * *
    * Details for the `REDIRECT_WRITES` step.
    * 
* - * Protobuf type {@code - * google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails} + * Protobuf type {@code google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails} */ - public static final class RedirectWritesStepDetails extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class RedirectWritesStepDetails extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) RedirectWritesStepDetailsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RedirectWritesStepDetails.newBuilder() to construct. private RedirectWritesStepDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private RedirectWritesStepDetails() { concurrencyMode_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RedirectWritesStepDetails(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.admin.v1.MigrationProto - .internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.MigrationProto - .internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_fieldAccessorTable + return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.class, - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.Builder - .class); + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.class, com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.Builder.class); } public static final int CONCURRENCY_MODE_FIELD_NUMBER = 1; private int concurrencyMode_ = 0; /** - * - * *
      * Ths concurrency mode for this database.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; - * - * + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; * @return The enum numeric value on the wire for concurrencyMode. */ - @java.lang.Override - public int getConcurrencyModeValue() { + @java.lang.Override public int getConcurrencyModeValue() { return concurrencyMode_; } /** - * - * *
      * Ths concurrency mode for this database.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; - * - * + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; * @return The concurrencyMode. */ - @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode - getConcurrencyMode() { - com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode result = - com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.forNumber( - concurrencyMode_); - return result == null - ? com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.UNRECOGNIZED - : result; + @java.lang.Override public com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode getConcurrencyMode() { + com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode result = com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.forNumber(concurrencyMode_); + return result == null ? com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1044,11 +871,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (concurrencyMode_ - != com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode - .CONCURRENCY_MODE_UNSPECIFIED - .getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (concurrencyMode_ != com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.CONCURRENCY_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(1, concurrencyMode_); } getUnknownFields().writeTo(output); @@ -1060,11 +885,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (concurrencyMode_ - != com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode - .CONCURRENCY_MODE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, concurrencyMode_); + if (concurrencyMode_ != com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.CONCURRENCY_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, concurrencyMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1074,15 +897,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj - instanceof - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails)) { + if (!(obj instanceof com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails)) { return super.equals(obj); } - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails other = - (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) obj; + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails other = (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) obj; if (concurrencyMode_ != other.concurrencyMode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -1103,101 +923,90 @@ public int hashCode() { return hash; } - public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - - public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - 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.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails 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.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - - public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails prototype) { + public static Builder newBuilder(com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1207,45 +1016,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Details for the `REDIRECT_WRITES` step.
      * 
* - * Protobuf type {@code - * google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails} + * Protobuf type {@code google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.admin.v1.MigrationProto - .internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.MigrationProto - .internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_fieldAccessorTable + return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - .class, - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - .Builder.class); + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.class, com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.Builder.class); } - // Construct using - // com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.newBuilder() - private Builder() {} + // Construct using com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.newBuilder() + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1255,23 +1058,19 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.admin.v1.MigrationProto - .internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_descriptor; } @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - getDefaultInstanceForType() { - return com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - .getDefaultInstance(); + public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails getDefaultInstanceForType() { + return com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.getDefaultInstance(); } @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - build() { - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails result = - buildPartial(); + public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails build() { + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1279,20 +1078,14 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - buildPartial() { - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails result = - new com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } + public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails buildPartial() { + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails result = new com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails result) { + private void buildPartial0(com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.concurrencyMode_ = concurrencyMode_; @@ -1303,56 +1096,46 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) { - return mergeFrom( - (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) - other); + if (other instanceof com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) { + return mergeFrom((com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails)other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom( - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails other) { - if (other - == com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - .getDefaultInstance()) return this; + public Builder mergeFrom(com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails other) { + if (other == com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.getDefaultInstance()) return this; if (other.concurrencyMode_ != 0) { setConcurrencyModeValue(other.getConcurrencyModeValue()); } @@ -1382,19 +1165,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - concurrencyMode_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + concurrencyMode_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1404,38 +1185,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int concurrencyMode_ = 0; /** - * - * *
        * Ths concurrency mode for this database.
        * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; - * - * + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; * @return The enum numeric value on the wire for concurrencyMode. */ - @java.lang.Override - public int getConcurrencyModeValue() { + @java.lang.Override public int getConcurrencyModeValue() { return concurrencyMode_; } /** - * - * *
        * Ths concurrency mode for this database.
        * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; - * - * + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; * @param value The enum numeric value on the wire for concurrencyMode to set. * @return This builder for chaining. */ @@ -1446,44 +1215,28 @@ public Builder setConcurrencyModeValue(int value) { return this; } /** - * - * *
        * Ths concurrency mode for this database.
        * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; - * - * + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; * @return The concurrencyMode. */ @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode - getConcurrencyMode() { - com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode result = - com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.forNumber( - concurrencyMode_); - return result == null - ? com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.UNRECOGNIZED - : result; + public com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode getConcurrencyMode() { + com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode result = com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.forNumber(concurrencyMode_); + return result == null ? com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.UNRECOGNIZED : result; } /** - * - * *
        * Ths concurrency mode for this database.
        * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; - * - * + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; * @param value The concurrencyMode to set. * @return This builder for chaining. */ - public Builder setConcurrencyMode( - com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode value) { + public Builder setConcurrencyMode(com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode value) { if (value == null) { throw new NullPointerException(); } @@ -1493,16 +1246,11 @@ public Builder setConcurrencyMode( return this; } /** - * - * *
        * Ths concurrency mode for this database.
        * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; - * - * + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; * @return This builder for chaining. */ public Builder clearConcurrencyMode() { @@ -1511,7 +1259,6 @@ public Builder clearConcurrencyMode() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1524,46 +1271,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) - private static final com.google.datastore.admin.v1.MigrationProgressEvent - .RedirectWritesStepDetails - DEFAULT_INSTANCE; - + private static final com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = - new com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails(); + DEFAULT_INSTANCE = new com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails(); } - public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - getDefaultInstance() { + public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RedirectWritesStepDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RedirectWritesStepDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1575,26 +1317,22 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - getDefaultInstanceForType() { + public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int stepDetailsCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object stepDetails_; - public enum StepDetailsCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { PREPARE_STEP_DETAILS(2), REDIRECT_WRITES_STEP_DETAILS(3), STEPDETAILS_NOT_SET(0); private final int value; - private StepDetailsCase(int value) { this.value = value; } @@ -1610,31 +1348,26 @@ public static StepDetailsCase valueOf(int value) { public static StepDetailsCase forNumber(int value) { switch (value) { - case 2: - return PREPARE_STEP_DETAILS; - case 3: - return REDIRECT_WRITES_STEP_DETAILS; - case 0: - return STEPDETAILS_NOT_SET; - default: - return null; + case 2: return PREPARE_STEP_DETAILS; + case 3: return REDIRECT_WRITES_STEP_DETAILS; + case 0: return STEPDETAILS_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public StepDetailsCase getStepDetailsCase() { - return StepDetailsCase.forNumber(stepDetailsCase_); + public StepDetailsCase + getStepDetailsCase() { + return StepDetailsCase.forNumber( + stepDetailsCase_); } public static final int STEP_FIELD_NUMBER = 1; private int step_ = 0; /** - * - * *
    * The step that is starting.
    *
@@ -1643,16 +1376,12 @@ public StepDetailsCase getStepDetailsCase() {
    * 
* * .google.datastore.admin.v1.MigrationStep step = 1; - * * @return The enum numeric value on the wire for step. */ - @java.lang.Override - public int getStepValue() { + @java.lang.Override public int getStepValue() { return step_; } /** - * - * *
    * The step that is starting.
    *
@@ -1661,28 +1390,20 @@ public int getStepValue() {
    * 
* * .google.datastore.admin.v1.MigrationStep step = 1; - * * @return The step. */ - @java.lang.Override - public com.google.datastore.admin.v1.MigrationStep getStep() { - com.google.datastore.admin.v1.MigrationStep result = - com.google.datastore.admin.v1.MigrationStep.forNumber(step_); + @java.lang.Override public com.google.datastore.admin.v1.MigrationStep getStep() { + com.google.datastore.admin.v1.MigrationStep result = com.google.datastore.admin.v1.MigrationStep.forNumber(step_); return result == null ? com.google.datastore.admin.v1.MigrationStep.UNRECOGNIZED : result; } public static final int PREPARE_STEP_DETAILS_FIELD_NUMBER = 2; /** - * - * *
    * Details for the `PREPARE` step.
    * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; - * - * + * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; * @return Whether the prepareStepDetails field is set. */ @java.lang.Override @@ -1690,60 +1411,42 @@ public boolean hasPrepareStepDetails() { return stepDetailsCase_ == 2; } /** - * - * *
    * Details for the `PREPARE` step.
    * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; - * - * + * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; * @return The prepareStepDetails. */ @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails - getPrepareStepDetails() { + public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails getPrepareStepDetails() { if (stepDetailsCase_ == 2) { - return (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) stepDetails_; + return (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) stepDetails_; } - return com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails - .getDefaultInstance(); + return com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.getDefaultInstance(); } /** - * - * *
    * Details for the `PREPARE` step.
    * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; - * + * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; */ @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetailsOrBuilder - getPrepareStepDetailsOrBuilder() { + public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetailsOrBuilder getPrepareStepDetailsOrBuilder() { if (stepDetailsCase_ == 2) { - return (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) stepDetails_; + return (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) stepDetails_; } - return com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails - .getDefaultInstance(); + return com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.getDefaultInstance(); } public static final int REDIRECT_WRITES_STEP_DETAILS_FIELD_NUMBER = 3; /** - * - * *
    * Details for the `REDIRECT_WRITES` step.
    * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; - * - * + * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; * @return Whether the redirectWritesStepDetails field is set. */ @java.lang.Override @@ -1751,52 +1454,36 @@ public boolean hasRedirectWritesStepDetails() { return stepDetailsCase_ == 3; } /** - * - * *
    * Details for the `REDIRECT_WRITES` step.
    * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; - * - * + * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; * @return The redirectWritesStepDetails. */ @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - getRedirectWritesStepDetails() { + public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails getRedirectWritesStepDetails() { if (stepDetailsCase_ == 3) { - return (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) - stepDetails_; + return (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) stepDetails_; } - return com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - .getDefaultInstance(); + return com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.getDefaultInstance(); } /** - * - * *
    * Details for the `REDIRECT_WRITES` step.
    * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; - * + * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; */ @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder - getRedirectWritesStepDetailsOrBuilder() { + public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder getRedirectWritesStepDetailsOrBuilder() { if (stepDetailsCase_ == 3) { - return (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) - stepDetails_; + return (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) stepDetails_; } - return com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - .getDefaultInstance(); + return com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1808,21 +1495,16 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (step_ - != com.google.datastore.admin.v1.MigrationStep.MIGRATION_STEP_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (step_ != com.google.datastore.admin.v1.MigrationStep.MIGRATION_STEP_UNSPECIFIED.getNumber()) { output.writeEnum(1, step_); } if (stepDetailsCase_ == 2) { - output.writeMessage( - 2, - (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) stepDetails_); + output.writeMessage(2, (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) stepDetails_); } if (stepDetailsCase_ == 3) { - output.writeMessage( - 3, - (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) - stepDetails_); + output.writeMessage(3, (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) stepDetails_); } getUnknownFields().writeTo(output); } @@ -1833,23 +1515,17 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (step_ - != com.google.datastore.admin.v1.MigrationStep.MIGRATION_STEP_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, step_); + if (step_ != com.google.datastore.admin.v1.MigrationStep.MIGRATION_STEP_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, step_); } if (stepDetailsCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, - (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) - stepDetails_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) stepDetails_); } if (stepDetailsCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, - (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) - stepDetails_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) stepDetails_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1859,23 +1535,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.datastore.admin.v1.MigrationProgressEvent)) { return super.equals(obj); } - com.google.datastore.admin.v1.MigrationProgressEvent other = - (com.google.datastore.admin.v1.MigrationProgressEvent) obj; + com.google.datastore.admin.v1.MigrationProgressEvent other = (com.google.datastore.admin.v1.MigrationProgressEvent) obj; if (step_ != other.step_) return false; if (!getStepDetailsCase().equals(other.getStepDetailsCase())) return false; switch (stepDetailsCase_) { case 2: - if (!getPrepareStepDetails().equals(other.getPrepareStepDetails())) return false; + if (!getPrepareStepDetails() + .equals(other.getPrepareStepDetails())) return false; break; case 3: - if (!getRedirectWritesStepDetails().equals(other.getRedirectWritesStepDetails())) - return false; + if (!getRedirectWritesStepDetails() + .equals(other.getRedirectWritesStepDetails())) return false; break; case 0: default: @@ -1911,103 +1587,98 @@ public int hashCode() { } public static com.google.datastore.admin.v1.MigrationProgressEvent 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.datastore.admin.v1.MigrationProgressEvent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.MigrationProgressEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.admin.v1.MigrationProgressEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.MigrationProgressEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.admin.v1.MigrationProgressEvent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.datastore.admin.v1.MigrationProgressEvent parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.MigrationProgressEvent parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.admin.v1.MigrationProgressEvent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.MigrationProgressEvent parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.MigrationProgressEvent parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.admin.v1.MigrationProgressEvent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.MigrationProgressEvent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.admin.v1.MigrationProgressEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.datastore.admin.v1.MigrationProgressEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 event signifying the start of a new step in a [migration from Cloud
    * Datastore to Cloud Firestore in Datastore
@@ -2016,32 +1687,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.datastore.admin.v1.MigrationProgressEvent}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.datastore.admin.v1.MigrationProgressEvent)
       com.google.datastore.admin.v1.MigrationProgressEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.datastore.admin.v1.MigrationProto
-          .internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.admin.v1.MigrationProto
-          .internal_static_google_datastore_admin_v1_MigrationProgressEvent_fieldAccessorTable
+      return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationProgressEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.admin.v1.MigrationProgressEvent.class,
-              com.google.datastore.admin.v1.MigrationProgressEvent.Builder.class);
+              com.google.datastore.admin.v1.MigrationProgressEvent.class, com.google.datastore.admin.v1.MigrationProgressEvent.Builder.class);
     }
 
     // Construct using com.google.datastore.admin.v1.MigrationProgressEvent.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -2059,9 +1731,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.datastore.admin.v1.MigrationProto
-          .internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor;
     }
 
     @java.lang.Override
@@ -2080,11 +1752,8 @@ public com.google.datastore.admin.v1.MigrationProgressEvent build() {
 
     @java.lang.Override
     public com.google.datastore.admin.v1.MigrationProgressEvent buildPartial() {
-      com.google.datastore.admin.v1.MigrationProgressEvent result =
-          new com.google.datastore.admin.v1.MigrationProgressEvent(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.datastore.admin.v1.MigrationProgressEvent result = new com.google.datastore.admin.v1.MigrationProgressEvent(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -2100,10 +1769,12 @@ private void buildPartial0(com.google.datastore.admin.v1.MigrationProgressEvent
     private void buildPartialOneofs(com.google.datastore.admin.v1.MigrationProgressEvent result) {
       result.stepDetailsCase_ = stepDetailsCase_;
       result.stepDetails_ = this.stepDetails_;
-      if (stepDetailsCase_ == 2 && prepareStepDetailsBuilder_ != null) {
+      if (stepDetailsCase_ == 2 &&
+          prepareStepDetailsBuilder_ != null) {
         result.stepDetails_ = prepareStepDetailsBuilder_.build();
       }
-      if (stepDetailsCase_ == 3 && redirectWritesStepDetailsBuilder_ != null) {
+      if (stepDetailsCase_ == 3 &&
+          redirectWritesStepDetailsBuilder_ != null) {
         result.stepDetails_ = redirectWritesStepDetailsBuilder_.build();
       }
     }
@@ -2112,39 +1783,38 @@ private void buildPartialOneofs(com.google.datastore.admin.v1.MigrationProgressE
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.admin.v1.MigrationProgressEvent) {
-        return mergeFrom((com.google.datastore.admin.v1.MigrationProgressEvent) other);
+        return mergeFrom((com.google.datastore.admin.v1.MigrationProgressEvent)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -2152,26 +1822,22 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.datastore.admin.v1.MigrationProgressEvent other) {
-      if (other == com.google.datastore.admin.v1.MigrationProgressEvent.getDefaultInstance())
-        return this;
+      if (other == com.google.datastore.admin.v1.MigrationProgressEvent.getDefaultInstance()) return this;
       if (other.step_ != 0) {
         setStepValue(other.getStepValue());
       }
       switch (other.getStepDetailsCase()) {
-        case PREPARE_STEP_DETAILS:
-          {
-            mergePrepareStepDetails(other.getPrepareStepDetails());
-            break;
-          }
-        case REDIRECT_WRITES_STEP_DETAILS:
-          {
-            mergeRedirectWritesStepDetails(other.getRedirectWritesStepDetails());
-            break;
-          }
-        case STEPDETAILS_NOT_SET:
-          {
-            break;
-          }
+        case PREPARE_STEP_DETAILS: {
+          mergePrepareStepDetails(other.getPrepareStepDetails());
+          break;
+        }
+        case REDIRECT_WRITES_STEP_DETAILS: {
+          mergeRedirectWritesStepDetails(other.getRedirectWritesStepDetails());
+          break;
+        }
+        case STEPDETAILS_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -2199,33 +1865,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                step_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            case 18:
-              {
-                input.readMessage(
-                    getPrepareStepDetailsFieldBuilder().getBuilder(), extensionRegistry);
-                stepDetailsCase_ = 2;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(
-                    getRedirectWritesStepDetailsFieldBuilder().getBuilder(), extensionRegistry);
-                stepDetailsCase_ = 3;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              step_ = input.readEnum();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            case 18: {
+              input.readMessage(
+                  getPrepareStepDetailsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepDetailsCase_ = 2;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getRedirectWritesStepDetailsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              stepDetailsCase_ = 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) {
@@ -2235,12 +1899,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int stepDetailsCase_ = 0;
     private java.lang.Object stepDetails_;
-
-    public StepDetailsCase getStepDetailsCase() {
-      return StepDetailsCase.forNumber(stepDetailsCase_);
+    public StepDetailsCase
+        getStepDetailsCase() {
+      return StepDetailsCase.forNumber(
+          stepDetailsCase_);
     }
 
     public Builder clearStepDetails() {
@@ -2254,8 +1918,6 @@ public Builder clearStepDetails() {
 
     private int step_ = 0;
     /**
-     *
-     *
      * 
      * The step that is starting.
      *
@@ -2264,16 +1926,12 @@ public Builder clearStepDetails() {
      * 
* * .google.datastore.admin.v1.MigrationStep step = 1; - * * @return The enum numeric value on the wire for step. */ - @java.lang.Override - public int getStepValue() { + @java.lang.Override public int getStepValue() { return step_; } /** - * - * *
      * The step that is starting.
      *
@@ -2282,7 +1940,6 @@ public int getStepValue() {
      * 
* * .google.datastore.admin.v1.MigrationStep step = 1; - * * @param value The enum numeric value on the wire for step to set. * @return This builder for chaining. */ @@ -2293,8 +1950,6 @@ public Builder setStepValue(int value) { return this; } /** - * - * *
      * The step that is starting.
      *
@@ -2303,18 +1958,14 @@ public Builder setStepValue(int value) {
      * 
* * .google.datastore.admin.v1.MigrationStep step = 1; - * * @return The step. */ @java.lang.Override public com.google.datastore.admin.v1.MigrationStep getStep() { - com.google.datastore.admin.v1.MigrationStep result = - com.google.datastore.admin.v1.MigrationStep.forNumber(step_); + com.google.datastore.admin.v1.MigrationStep result = com.google.datastore.admin.v1.MigrationStep.forNumber(step_); return result == null ? com.google.datastore.admin.v1.MigrationStep.UNRECOGNIZED : result; } /** - * - * *
      * The step that is starting.
      *
@@ -2323,7 +1974,6 @@ public com.google.datastore.admin.v1.MigrationStep getStep() {
      * 
* * .google.datastore.admin.v1.MigrationStep step = 1; - * * @param value The step to set. * @return This builder for chaining. */ @@ -2337,8 +1987,6 @@ public Builder setStep(com.google.datastore.admin.v1.MigrationStep value) { return this; } /** - * - * *
      * The step that is starting.
      *
@@ -2347,7 +1995,6 @@ public Builder setStep(com.google.datastore.admin.v1.MigrationStep value) {
      * 
* * .google.datastore.admin.v1.MigrationStep step = 1; - * * @return This builder for chaining. */ public Builder clearStep() { @@ -2358,21 +2005,13 @@ public Builder clearStep() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails, - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.Builder, - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetailsOrBuilder> - prepareStepDetailsBuilder_; + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails, com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.Builder, com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetailsOrBuilder> prepareStepDetailsBuilder_; /** - * - * *
      * Details for the `PREPARE` step.
      * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; - * - * + * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; * @return Whether the prepareStepDetails field is set. */ @java.lang.Override @@ -2380,49 +2019,35 @@ public boolean hasPrepareStepDetails() { return stepDetailsCase_ == 2; } /** - * - * *
      * Details for the `PREPARE` step.
      * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; - * - * + * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; * @return The prepareStepDetails. */ @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails - getPrepareStepDetails() { + public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails getPrepareStepDetails() { if (prepareStepDetailsBuilder_ == null) { if (stepDetailsCase_ == 2) { - return (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) - stepDetails_; + return (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) stepDetails_; } - return com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails - .getDefaultInstance(); + return com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.getDefaultInstance(); } else { if (stepDetailsCase_ == 2) { return prepareStepDetailsBuilder_.getMessage(); } - return com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails - .getDefaultInstance(); + return com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.getDefaultInstance(); } } /** - * - * *
      * Details for the `PREPARE` step.
      * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; - * + * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; */ - public Builder setPrepareStepDetails( - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails value) { + public Builder setPrepareStepDetails(com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails value) { if (prepareStepDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2436,19 +2061,14 @@ public Builder setPrepareStepDetails( return this; } /** - * - * *
      * Details for the `PREPARE` step.
      * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; - * + * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; */ public Builder setPrepareStepDetails( - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.Builder - builderForValue) { + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.Builder builderForValue) { if (prepareStepDetailsBuilder_ == null) { stepDetails_ = builderForValue.build(); onChanged(); @@ -2459,29 +2079,18 @@ public Builder setPrepareStepDetails( return this; } /** - * - * *
      * Details for the `PREPARE` step.
      * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; - * + * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; */ - public Builder mergePrepareStepDetails( - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails value) { + public Builder mergePrepareStepDetails(com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails value) { if (prepareStepDetailsBuilder_ == null) { - if (stepDetailsCase_ == 2 - && stepDetails_ - != com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails - .getDefaultInstance()) { - stepDetails_ = - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.newBuilder( - (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) - stepDetails_) - .mergeFrom(value) - .buildPartial(); + if (stepDetailsCase_ == 2 && + stepDetails_ != com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.getDefaultInstance()) { + stepDetails_ = com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.newBuilder((com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) stepDetails_) + .mergeFrom(value).buildPartial(); } else { stepDetails_ = value; } @@ -2497,15 +2106,11 @@ public Builder mergePrepareStepDetails( return this; } /** - * - * *
      * Details for the `PREPARE` step.
      * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; - * + * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; */ public Builder clearPrepareStepDetails() { if (prepareStepDetailsBuilder_ == null) { @@ -2524,74 +2129,50 @@ public Builder clearPrepareStepDetails() { return this; } /** - * - * *
      * Details for the `PREPARE` step.
      * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; - * + * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; */ - public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.Builder - getPrepareStepDetailsBuilder() { + public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.Builder getPrepareStepDetailsBuilder() { return getPrepareStepDetailsFieldBuilder().getBuilder(); } /** - * - * *
      * Details for the `PREPARE` step.
      * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; - * + * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; */ @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetailsOrBuilder - getPrepareStepDetailsOrBuilder() { + public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetailsOrBuilder getPrepareStepDetailsOrBuilder() { if ((stepDetailsCase_ == 2) && (prepareStepDetailsBuilder_ != null)) { return prepareStepDetailsBuilder_.getMessageOrBuilder(); } else { if (stepDetailsCase_ == 2) { - return (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) - stepDetails_; + return (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) stepDetails_; } - return com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails - .getDefaultInstance(); + return com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.getDefaultInstance(); } } /** - * - * *
      * Details for the `PREPARE` step.
      * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; - * + * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails, - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.Builder, - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetailsOrBuilder> + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails, com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.Builder, com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetailsOrBuilder> getPrepareStepDetailsFieldBuilder() { if (prepareStepDetailsBuilder_ == null) { if (!(stepDetailsCase_ == 2)) { - stepDetails_ = - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails - .getDefaultInstance(); + stepDetails_ = com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.getDefaultInstance(); } - prepareStepDetailsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails, - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.Builder, - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetailsOrBuilder>( - (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) - stepDetails_, + prepareStepDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails, com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.Builder, com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetailsOrBuilder>( + (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) stepDetails_, getParentForChildren(), isClean()); stepDetails_ = null; @@ -2602,21 +2183,13 @@ public Builder clearPrepareStepDetails() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails, - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.Builder, - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder> - redirectWritesStepDetailsBuilder_; + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails, com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.Builder, com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder> redirectWritesStepDetailsBuilder_; /** - * - * *
      * Details for the `REDIRECT_WRITES` step.
      * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; - * - * + * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; * @return Whether the redirectWritesStepDetails field is set. */ @java.lang.Override @@ -2624,49 +2197,35 @@ public boolean hasRedirectWritesStepDetails() { return stepDetailsCase_ == 3; } /** - * - * *
      * Details for the `REDIRECT_WRITES` step.
      * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; - * - * + * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; * @return The redirectWritesStepDetails. */ @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - getRedirectWritesStepDetails() { + public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails getRedirectWritesStepDetails() { if (redirectWritesStepDetailsBuilder_ == null) { if (stepDetailsCase_ == 3) { - return (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) - stepDetails_; + return (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) stepDetails_; } - return com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - .getDefaultInstance(); + return com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.getDefaultInstance(); } else { if (stepDetailsCase_ == 3) { return redirectWritesStepDetailsBuilder_.getMessage(); } - return com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - .getDefaultInstance(); + return com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.getDefaultInstance(); } } /** - * - * *
      * Details for the `REDIRECT_WRITES` step.
      * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; - * + * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; */ - public Builder setRedirectWritesStepDetails( - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails value) { + public Builder setRedirectWritesStepDetails(com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails value) { if (redirectWritesStepDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2680,19 +2239,14 @@ public Builder setRedirectWritesStepDetails( return this; } /** - * - * *
      * Details for the `REDIRECT_WRITES` step.
      * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; - * + * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; */ public Builder setRedirectWritesStepDetails( - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.Builder - builderForValue) { + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.Builder builderForValue) { if (redirectWritesStepDetailsBuilder_ == null) { stepDetails_ = builderForValue.build(); onChanged(); @@ -2703,31 +2257,18 @@ public Builder setRedirectWritesStepDetails( return this; } /** - * - * *
      * Details for the `REDIRECT_WRITES` step.
      * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; - * + * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; */ - public Builder mergeRedirectWritesStepDetails( - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails value) { + public Builder mergeRedirectWritesStepDetails(com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails value) { if (redirectWritesStepDetailsBuilder_ == null) { - if (stepDetailsCase_ == 3 - && stepDetails_ - != com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - .getDefaultInstance()) { - stepDetails_ = - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - .newBuilder( - (com.google.datastore.admin.v1.MigrationProgressEvent - .RedirectWritesStepDetails) - stepDetails_) - .mergeFrom(value) - .buildPartial(); + if (stepDetailsCase_ == 3 && + stepDetails_ != com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.getDefaultInstance()) { + stepDetails_ = com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.newBuilder((com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) stepDetails_) + .mergeFrom(value).buildPartial(); } else { stepDetails_ = value; } @@ -2743,15 +2284,11 @@ public Builder mergeRedirectWritesStepDetails( return this; } /** - * - * *
      * Details for the `REDIRECT_WRITES` step.
      * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; - * + * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; */ public Builder clearRedirectWritesStepDetails() { if (redirectWritesStepDetailsBuilder_ == null) { @@ -2770,76 +2307,50 @@ public Builder clearRedirectWritesStepDetails() { return this; } /** - * - * *
      * Details for the `REDIRECT_WRITES` step.
      * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; - * + * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; */ - public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.Builder - getRedirectWritesStepDetailsBuilder() { + public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.Builder getRedirectWritesStepDetailsBuilder() { return getRedirectWritesStepDetailsFieldBuilder().getBuilder(); } /** - * - * *
      * Details for the `REDIRECT_WRITES` step.
      * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; - * + * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; */ @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder - getRedirectWritesStepDetailsOrBuilder() { + public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder getRedirectWritesStepDetailsOrBuilder() { if ((stepDetailsCase_ == 3) && (redirectWritesStepDetailsBuilder_ != null)) { return redirectWritesStepDetailsBuilder_.getMessageOrBuilder(); } else { if (stepDetailsCase_ == 3) { - return (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) - stepDetails_; + return (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) stepDetails_; } - return com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - .getDefaultInstance(); + return com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.getDefaultInstance(); } } /** - * - * *
      * Details for the `REDIRECT_WRITES` step.
      * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; - * + * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails, - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.Builder, - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder> + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails, com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.Builder, com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder> getRedirectWritesStepDetailsFieldBuilder() { if (redirectWritesStepDetailsBuilder_ == null) { if (!(stepDetailsCase_ == 3)) { - stepDetails_ = - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - .getDefaultInstance(); + stepDetails_ = com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.getDefaultInstance(); } - redirectWritesStepDetailsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails, - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - .Builder, - com.google.datastore.admin.v1.MigrationProgressEvent - .RedirectWritesStepDetailsOrBuilder>( - (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) - stepDetails_, + redirectWritesStepDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails, com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.Builder, com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder>( + (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) stepDetails_, getParentForChildren(), isClean()); stepDetails_ = null; @@ -2848,9 +2359,9 @@ public Builder clearRedirectWritesStepDetails() { onChanged(); return redirectWritesStepDetailsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2860,12 +2371,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.MigrationProgressEvent) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.MigrationProgressEvent) private static final com.google.datastore.admin.v1.MigrationProgressEvent DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.MigrationProgressEvent(); } @@ -2874,27 +2385,27 @@ public static com.google.datastore.admin.v1.MigrationProgressEvent getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MigrationProgressEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MigrationProgressEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2909,4 +2420,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.MigrationProgressEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProgressEventOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProgressEventOrBuilder.java similarity index 55% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProgressEventOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProgressEventOrBuilder.java index 68441b30b..fc3968fcd 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProgressEventOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProgressEventOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/migration.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface MigrationProgressEventOrBuilder - extends +public interface MigrationProgressEventOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.MigrationProgressEvent) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The step that is starting.
    *
@@ -35,13 +17,10 @@ public interface MigrationProgressEventOrBuilder
    * 
* * .google.datastore.admin.v1.MigrationStep step = 1; - * * @return The enum numeric value on the wire for step. */ int getStepValue(); /** - * - * *
    * The step that is starting.
    *
@@ -50,95 +29,63 @@ public interface MigrationProgressEventOrBuilder
    * 
* * .google.datastore.admin.v1.MigrationStep step = 1; - * * @return The step. */ com.google.datastore.admin.v1.MigrationStep getStep(); /** - * - * *
    * Details for the `PREPARE` step.
    * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; - * - * + * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; * @return Whether the prepareStepDetails field is set. */ boolean hasPrepareStepDetails(); /** - * - * *
    * Details for the `PREPARE` step.
    * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; - * - * + * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; * @return The prepareStepDetails. */ com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails getPrepareStepDetails(); /** - * - * *
    * Details for the `PREPARE` step.
    * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; - * + * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; */ - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetailsOrBuilder - getPrepareStepDetailsOrBuilder(); + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetailsOrBuilder getPrepareStepDetailsOrBuilder(); /** - * - * *
    * Details for the `REDIRECT_WRITES` step.
    * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; - * - * + * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; * @return Whether the redirectWritesStepDetails field is set. */ boolean hasRedirectWritesStepDetails(); /** - * - * *
    * Details for the `REDIRECT_WRITES` step.
    * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; - * - * + * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; * @return The redirectWritesStepDetails. */ - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails - getRedirectWritesStepDetails(); + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails getRedirectWritesStepDetails(); /** - * - * *
    * Details for the `REDIRECT_WRITES` step.
    * 
* - * - * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; - * + * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; */ - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder - getRedirectWritesStepDetailsOrBuilder(); + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder getRedirectWritesStepDetailsOrBuilder(); com.google.datastore.admin.v1.MigrationProgressEvent.StepDetailsCase getStepDetailsCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProto.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProto.java new file mode 100644 index 000000000..34c61b998 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProto.java @@ -0,0 +1,114 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/datastore/admin/v1/migration.proto + +// Protobuf Java Version: 3.25.3 +package com.google.datastore.admin.v1; + +public final class MigrationProto { + private MigrationProto() {} + 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_datastore_admin_v1_MigrationStateEvent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_datastore_admin_v1_MigrationStateEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_datastore_admin_v1_MigrationProgressEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_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/datastore/admin/v1/migration.pr" + + "oto\022\031google.datastore.admin.v1\"O\n\023Migrat" + + "ionStateEvent\0228\n\005state\030\001 \001(\0162).google.da" + + "tastore.admin.v1.MigrationState\"\241\005\n\026Migr" + + "ationProgressEvent\0226\n\004step\030\001 \001(\0162(.googl" + + "e.datastore.admin.v1.MigrationStep\022d\n\024pr" + + "epare_step_details\030\002 \001(\0132D.google.datast" + + "ore.admin.v1.MigrationProgressEvent.Prep" + + "areStepDetailsH\000\022s\n\034redirect_writes_step" + + "_details\030\003 \001(\0132K.google.datastore.admin." + + "v1.MigrationProgressEvent.RedirectWrites" + + "StepDetailsH\000\032q\n\022PrepareStepDetails\022[\n\020c" + + "oncurrency_mode\030\001 \001(\0162A.google.datastore" + + ".admin.v1.MigrationProgressEvent.Concurr" + + "encyMode\032x\n\031RedirectWritesStepDetails\022[\n" + + "\020concurrency_mode\030\001 \001(\0162A.google.datasto" + + "re.admin.v1.MigrationProgressEvent.Concu" + + "rrencyMode\"w\n\017ConcurrencyMode\022 \n\034CONCURR" + + "ENCY_MODE_UNSPECIFIED\020\000\022\017\n\013PESSIMISTIC\020\001" + + "\022\016\n\nOPTIMISTIC\020\002\022!\n\035OPTIMISTIC_WITH_ENTI" + + "TY_GROUPS\020\003B\016\n\014step_details*X\n\016Migration" + + "State\022\037\n\033MIGRATION_STATE_UNSPECIFIED\020\000\022\013" + + "\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014\n\010COMPLETE\020\003*\343\001" + + "\n\rMigrationStep\022\036\n\032MIGRATION_STEP_UNSPEC" + + "IFIED\020\000\022\013\n\007PREPARE\020\006\022\t\n\005START\020\001\022\036\n\032APPLY" + + "_WRITES_SYNCHRONOUSLY\020\007\022\023\n\017COPY_AND_VERI" + + "FY\020\002\022(\n$REDIRECT_EVENTUALLY_CONSISTENT_R" + + "EADS\020\003\022&\n\"REDIRECT_STRONGLY_CONSISTENT_R" + + "EADS\020\004\022\023\n\017REDIRECT_WRITES\020\005B\326\001\n\035com.goog" + + "le.datastore.admin.v1B\016MigrationProtoP\001Z" + + "9cloud.google.com/go/datastore/admin/api" + + "v1/adminpb;adminpb\252\002\037Google.Cloud.Datast" + + "ore.Admin.V1\312\002\037Google\\Cloud\\Datastore\\Ad" + + "min\\V1\352\002#Google::Cloud::Datastore::Admin" + + "::V1b\006proto3" + }; + descriptor = com.google.protobuf.Descriptors.FileDescriptor + .internalBuildGeneratedFileFrom(descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + }); + internal_static_google_datastore_admin_v1_MigrationStateEvent_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_datastore_admin_v1_MigrationStateEvent_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_datastore_admin_v1_MigrationStateEvent_descriptor, + new java.lang.String[] { "State", }); + internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_datastore_admin_v1_MigrationProgressEvent_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor, + new java.lang.String[] { "Step", "PrepareStepDetails", "RedirectWritesStepDetails", "StepDetails", }); + internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_descriptor = + internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor.getNestedTypes().get(0); + internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_descriptor, + new java.lang.String[] { "ConcurrencyMode", }); + internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_descriptor = + internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor.getNestedTypes().get(1); + internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_fieldAccessorTable = new + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_descriptor, + new java.lang.String[] { "ConcurrencyMode", }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationState.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationState.java similarity index 67% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationState.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationState.java index 1cc537677..6146309c9 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationState.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationState.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/migration.proto @@ -20,18 +5,15 @@ package com.google.datastore.admin.v1; /** - * - * *
  * States for a migration.
  * 
* * Protobuf enum {@code google.datastore.admin.v1.MigrationState} */ -public enum MigrationState implements com.google.protobuf.ProtocolMessageEnum { +public enum MigrationState + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified.
    * 
@@ -40,8 +22,6 @@ public enum MigrationState implements com.google.protobuf.ProtocolMessageEnum { */ MIGRATION_STATE_UNSPECIFIED(0), /** - * - * *
    * The migration is running.
    * 
@@ -50,8 +30,6 @@ public enum MigrationState implements com.google.protobuf.ProtocolMessageEnum { */ RUNNING(1), /** - * - * *
    * The migration is paused.
    * 
@@ -60,8 +38,6 @@ public enum MigrationState implements com.google.protobuf.ProtocolMessageEnum { */ PAUSED(2), /** - * - * *
    * The migration is complete.
    * 
@@ -73,8 +49,6 @@ public enum MigrationState implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Unspecified.
    * 
@@ -83,8 +57,6 @@ public enum MigrationState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MIGRATION_STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * The migration is running.
    * 
@@ -93,8 +65,6 @@ public enum MigrationState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RUNNING_VALUE = 1; /** - * - * *
    * The migration is paused.
    * 
@@ -103,8 +73,6 @@ public enum MigrationState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PAUSED_VALUE = 2; /** - * - * *
    * The migration is complete.
    * 
@@ -113,6 +81,7 @@ public enum MigrationState implements com.google.protobuf.ProtocolMessageEnum { */ public static final int COMPLETE_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -137,51 +106,50 @@ public static MigrationState valueOf(int value) { */ public static MigrationState forNumber(int value) { switch (value) { - case 0: - return MIGRATION_STATE_UNSPECIFIED; - case 1: - return RUNNING; - case 2: - return PAUSED; - case 3: - return COMPLETE; - default: - return null; + case 0: return MIGRATION_STATE_UNSPECIFIED; + case 1: return RUNNING; + case 2: return PAUSED; + case 3: return COMPLETE; + 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 MigrationState findValueByNumber(int number) { - return MigrationState.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + MigrationState> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MigrationState findValueByNumber(int number) { + return MigrationState.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.datastore.admin.v1.MigrationProto.getDescriptor().getEnumTypes().get(0); } private static final MigrationState[] VALUES = values(); - public static MigrationState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static MigrationState 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; @@ -197,3 +165,4 @@ private MigrationState(int value) { // @@protoc_insertion_point(enum_scope:google.datastore.admin.v1.MigrationState) } + diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStateEvent.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStateEvent.java similarity index 65% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStateEvent.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStateEvent.java index 54f20a287..7f102bacc 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStateEvent.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStateEvent.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/migration.proto @@ -20,8 +5,6 @@ package com.google.datastore.admin.v1; /** - * - * *
  * An event signifying a change in state of a [migration from Cloud Datastore to
  * Cloud Firestore in Datastore
@@ -30,78 +13,66 @@
  *
  * Protobuf type {@code google.datastore.admin.v1.MigrationStateEvent}
  */
-public final class MigrationStateEvent extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class MigrationStateEvent extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.datastore.admin.v1.MigrationStateEvent)
     MigrationStateEventOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use MigrationStateEvent.newBuilder() to construct.
   private MigrationStateEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private MigrationStateEvent() {
     state_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new MigrationStateEvent();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.datastore.admin.v1.MigrationProto
-        .internal_static_google_datastore_admin_v1_MigrationStateEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationStateEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.admin.v1.MigrationProto
-        .internal_static_google_datastore_admin_v1_MigrationStateEvent_fieldAccessorTable
+    return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationStateEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.admin.v1.MigrationStateEvent.class,
-            com.google.datastore.admin.v1.MigrationStateEvent.Builder.class);
+            com.google.datastore.admin.v1.MigrationStateEvent.class, com.google.datastore.admin.v1.MigrationStateEvent.Builder.class);
   }
 
   public static final int STATE_FIELD_NUMBER = 1;
   private int state_ = 0;
   /**
-   *
-   *
    * 
    * The new state of the migration.
    * 
* * .google.datastore.admin.v1.MigrationState state = 1; - * * @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 new state of the migration.
    * 
* * .google.datastore.admin.v1.MigrationState state = 1; - * * @return The state. */ - @java.lang.Override - public com.google.datastore.admin.v1.MigrationState getState() { - com.google.datastore.admin.v1.MigrationState result = - com.google.datastore.admin.v1.MigrationState.forNumber(state_); + @java.lang.Override public com.google.datastore.admin.v1.MigrationState getState() { + com.google.datastore.admin.v1.MigrationState result = com.google.datastore.admin.v1.MigrationState.forNumber(state_); return result == null ? com.google.datastore.admin.v1.MigrationState.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -113,9 +84,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (state_ - != com.google.datastore.admin.v1.MigrationState.MIGRATION_STATE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (state_ != com.google.datastore.admin.v1.MigrationState.MIGRATION_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(1, state_); } getUnknownFields().writeTo(output); @@ -127,9 +98,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (state_ - != com.google.datastore.admin.v1.MigrationState.MIGRATION_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); + if (state_ != com.google.datastore.admin.v1.MigrationState.MIGRATION_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(1, state_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -139,13 +110,12 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.datastore.admin.v1.MigrationStateEvent)) { return super.equals(obj); } - com.google.datastore.admin.v1.MigrationStateEvent other = - (com.google.datastore.admin.v1.MigrationStateEvent) obj; + com.google.datastore.admin.v1.MigrationStateEvent other = (com.google.datastore.admin.v1.MigrationStateEvent) obj; if (state_ != other.state_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -167,103 +137,98 @@ public int hashCode() { } public static com.google.datastore.admin.v1.MigrationStateEvent 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.datastore.admin.v1.MigrationStateEvent parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.MigrationStateEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.admin.v1.MigrationStateEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.MigrationStateEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.admin.v1.MigrationStateEvent parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.datastore.admin.v1.MigrationStateEvent parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.MigrationStateEvent parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.admin.v1.MigrationStateEvent parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.MigrationStateEvent parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.MigrationStateEvent parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.admin.v1.MigrationStateEvent parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.MigrationStateEvent parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.admin.v1.MigrationStateEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.datastore.admin.v1.MigrationStateEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 event signifying a change in state of a [migration from Cloud Datastore to
    * Cloud Firestore in Datastore
@@ -272,32 +237,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.datastore.admin.v1.MigrationStateEvent}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.datastore.admin.v1.MigrationStateEvent)
       com.google.datastore.admin.v1.MigrationStateEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.datastore.admin.v1.MigrationProto
-          .internal_static_google_datastore_admin_v1_MigrationStateEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationStateEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.admin.v1.MigrationProto
-          .internal_static_google_datastore_admin_v1_MigrationStateEvent_fieldAccessorTable
+      return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationStateEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.admin.v1.MigrationStateEvent.class,
-              com.google.datastore.admin.v1.MigrationStateEvent.Builder.class);
+              com.google.datastore.admin.v1.MigrationStateEvent.class, com.google.datastore.admin.v1.MigrationStateEvent.Builder.class);
     }
 
     // Construct using com.google.datastore.admin.v1.MigrationStateEvent.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -307,9 +273,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.datastore.admin.v1.MigrationProto
-          .internal_static_google_datastore_admin_v1_MigrationStateEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationStateEvent_descriptor;
     }
 
     @java.lang.Override
@@ -328,11 +294,8 @@ public com.google.datastore.admin.v1.MigrationStateEvent build() {
 
     @java.lang.Override
     public com.google.datastore.admin.v1.MigrationStateEvent buildPartial() {
-      com.google.datastore.admin.v1.MigrationStateEvent result =
-          new com.google.datastore.admin.v1.MigrationStateEvent(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.datastore.admin.v1.MigrationStateEvent result = new com.google.datastore.admin.v1.MigrationStateEvent(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -348,39 +311,38 @@ private void buildPartial0(com.google.datastore.admin.v1.MigrationStateEvent res
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.admin.v1.MigrationStateEvent) {
-        return mergeFrom((com.google.datastore.admin.v1.MigrationStateEvent) other);
+        return mergeFrom((com.google.datastore.admin.v1.MigrationStateEvent)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -388,8 +350,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.datastore.admin.v1.MigrationStateEvent other) {
-      if (other == com.google.datastore.admin.v1.MigrationStateEvent.getDefaultInstance())
-        return this;
+      if (other == com.google.datastore.admin.v1.MigrationStateEvent.getDefaultInstance()) return this;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
       }
@@ -419,19 +380,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8:
-              {
-                state_ = input.readEnum();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 8
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 8: {
+              state_ = input.readEnum();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 8
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -441,34 +400,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private int state_ = 0;
     /**
-     *
-     *
      * 
      * The new state of the migration.
      * 
* * .google.datastore.admin.v1.MigrationState state = 1; - * * @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 new state of the migration.
      * 
* * .google.datastore.admin.v1.MigrationState state = 1; - * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -479,31 +430,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * The new state of the migration.
      * 
* * .google.datastore.admin.v1.MigrationState state = 1; - * * @return The state. */ @java.lang.Override public com.google.datastore.admin.v1.MigrationState getState() { - com.google.datastore.admin.v1.MigrationState result = - com.google.datastore.admin.v1.MigrationState.forNumber(state_); + com.google.datastore.admin.v1.MigrationState result = com.google.datastore.admin.v1.MigrationState.forNumber(state_); return result == null ? com.google.datastore.admin.v1.MigrationState.UNRECOGNIZED : result; } /** - * - * *
      * The new state of the migration.
      * 
* * .google.datastore.admin.v1.MigrationState state = 1; - * * @param value The state to set. * @return This builder for chaining. */ @@ -517,14 +461,11 @@ public Builder setState(com.google.datastore.admin.v1.MigrationState value) { return this; } /** - * - * *
      * The new state of the migration.
      * 
* * .google.datastore.admin.v1.MigrationState state = 1; - * * @return This builder for chaining. */ public Builder clearState() { @@ -533,9 +474,9 @@ public Builder clearState() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -545,12 +486,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.MigrationStateEvent) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.MigrationStateEvent) private static final com.google.datastore.admin.v1.MigrationStateEvent DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.MigrationStateEvent(); } @@ -559,27 +500,27 @@ public static com.google.datastore.admin.v1.MigrationStateEvent getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MigrationStateEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MigrationStateEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -594,4 +535,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.MigrationStateEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStateEventOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStateEventOrBuilder.java similarity index 53% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStateEventOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStateEventOrBuilder.java index 3920f71c7..036e973e0 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStateEventOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStateEventOrBuilder.java @@ -1,50 +1,28 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/migration.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface MigrationStateEventOrBuilder - extends +public interface MigrationStateEventOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.MigrationStateEvent) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The new state of the migration.
    * 
* * .google.datastore.admin.v1.MigrationState state = 1; - * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * The new state of the migration.
    * 
* * .google.datastore.admin.v1.MigrationState state = 1; - * * @return The state. */ com.google.datastore.admin.v1.MigrationState getState(); diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStep.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStep.java similarity index 72% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStep.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStep.java index 6810cfd53..5d7f922bf 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStep.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStep.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/migration.proto @@ -20,18 +5,15 @@ package com.google.datastore.admin.v1; /** - * - * *
  * Steps in a migration.
  * 
* * Protobuf enum {@code google.datastore.admin.v1.MigrationStep} */ -public enum MigrationStep implements com.google.protobuf.ProtocolMessageEnum { +public enum MigrationStep + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified.
    * 
@@ -40,8 +22,6 @@ public enum MigrationStep implements com.google.protobuf.ProtocolMessageEnum { */ MIGRATION_STEP_UNSPECIFIED(0), /** - * - * *
    * Pre-migration: the database is prepared for migration.
    * 
@@ -50,8 +30,6 @@ public enum MigrationStep implements com.google.protobuf.ProtocolMessageEnum { */ PREPARE(6), /** - * - * *
    * Start of migration.
    * 
@@ -60,8 +38,6 @@ public enum MigrationStep implements com.google.protobuf.ProtocolMessageEnum { */ START(1), /** - * - * *
    * Writes are applied synchronously to at least one replica.
    * 
@@ -70,8 +46,6 @@ public enum MigrationStep implements com.google.protobuf.ProtocolMessageEnum { */ APPLY_WRITES_SYNCHRONOUSLY(7), /** - * - * *
    * Data is copied to Cloud Firestore and then verified to match the data in
    * Cloud Datastore.
@@ -81,8 +55,6 @@ public enum MigrationStep implements com.google.protobuf.ProtocolMessageEnum {
    */
   COPY_AND_VERIFY(2),
   /**
-   *
-   *
    * 
    * Eventually-consistent reads are redirected to Cloud Firestore.
    * 
@@ -91,8 +63,6 @@ public enum MigrationStep implements com.google.protobuf.ProtocolMessageEnum { */ REDIRECT_EVENTUALLY_CONSISTENT_READS(3), /** - * - * *
    * Strongly-consistent reads are redirected to Cloud Firestore.
    * 
@@ -101,8 +71,6 @@ public enum MigrationStep implements com.google.protobuf.ProtocolMessageEnum { */ REDIRECT_STRONGLY_CONSISTENT_READS(4), /** - * - * *
    * Writes are redirected to Cloud Firestore.
    * 
@@ -114,8 +82,6 @@ public enum MigrationStep implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Unspecified.
    * 
@@ -124,8 +90,6 @@ public enum MigrationStep implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MIGRATION_STEP_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Pre-migration: the database is prepared for migration.
    * 
@@ -134,8 +98,6 @@ public enum MigrationStep implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PREPARE_VALUE = 6; /** - * - * *
    * Start of migration.
    * 
@@ -144,8 +106,6 @@ public enum MigrationStep implements com.google.protobuf.ProtocolMessageEnum { */ public static final int START_VALUE = 1; /** - * - * *
    * Writes are applied synchronously to at least one replica.
    * 
@@ -154,8 +114,6 @@ public enum MigrationStep implements com.google.protobuf.ProtocolMessageEnum { */ public static final int APPLY_WRITES_SYNCHRONOUSLY_VALUE = 7; /** - * - * *
    * Data is copied to Cloud Firestore and then verified to match the data in
    * Cloud Datastore.
@@ -165,8 +123,6 @@ public enum MigrationStep implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int COPY_AND_VERIFY_VALUE = 2;
   /**
-   *
-   *
    * 
    * Eventually-consistent reads are redirected to Cloud Firestore.
    * 
@@ -175,8 +131,6 @@ public enum MigrationStep implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REDIRECT_EVENTUALLY_CONSISTENT_READS_VALUE = 3; /** - * - * *
    * Strongly-consistent reads are redirected to Cloud Firestore.
    * 
@@ -185,8 +139,6 @@ public enum MigrationStep implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REDIRECT_STRONGLY_CONSISTENT_READS_VALUE = 4; /** - * - * *
    * Writes are redirected to Cloud Firestore.
    * 
@@ -195,6 +147,7 @@ public enum MigrationStep implements com.google.protobuf.ProtocolMessageEnum { */ public static final int REDIRECT_WRITES_VALUE = 5; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -219,59 +172,54 @@ public static MigrationStep valueOf(int value) { */ public static MigrationStep forNumber(int value) { switch (value) { - case 0: - return MIGRATION_STEP_UNSPECIFIED; - case 6: - return PREPARE; - case 1: - return START; - case 7: - return APPLY_WRITES_SYNCHRONOUSLY; - case 2: - return COPY_AND_VERIFY; - case 3: - return REDIRECT_EVENTUALLY_CONSISTENT_READS; - case 4: - return REDIRECT_STRONGLY_CONSISTENT_READS; - case 5: - return REDIRECT_WRITES; - default: - return null; + case 0: return MIGRATION_STEP_UNSPECIFIED; + case 6: return PREPARE; + case 1: return START; + case 7: return APPLY_WRITES_SYNCHRONOUSLY; + case 2: return COPY_AND_VERIFY; + case 3: return REDIRECT_EVENTUALLY_CONSISTENT_READS; + case 4: return REDIRECT_STRONGLY_CONSISTENT_READS; + case 5: return REDIRECT_WRITES; + 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 MigrationStep findValueByNumber(int number) { - return MigrationStep.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + MigrationStep> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MigrationStep findValueByNumber(int number) { + return MigrationStep.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.datastore.admin.v1.MigrationProto.getDescriptor().getEnumTypes().get(1); } private static final MigrationStep[] VALUES = values(); - public static MigrationStep valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static MigrationStep 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; @@ -287,3 +235,4 @@ private MigrationStep(int value) { // @@protoc_insertion_point(enum_scope:google.datastore.admin.v1.MigrationStep) } + diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/OperationType.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/OperationType.java similarity index 68% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/OperationType.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/OperationType.java index b8a5f327b..c23c5a2e4 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/OperationType.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/OperationType.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto @@ -20,18 +5,15 @@ package com.google.datastore.admin.v1; /** - * - * *
  * Operation types.
  * 
* * Protobuf enum {@code google.datastore.admin.v1.OperationType} */ -public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { +public enum OperationType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * Unspecified.
    * 
@@ -40,8 +22,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ OPERATION_TYPE_UNSPECIFIED(0), /** - * - * *
    * ExportEntities.
    * 
@@ -50,8 +30,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ EXPORT_ENTITIES(1), /** - * - * *
    * ImportEntities.
    * 
@@ -60,8 +38,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ IMPORT_ENTITIES(2), /** - * - * *
    * CreateIndex.
    * 
@@ -70,8 +46,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ CREATE_INDEX(3), /** - * - * *
    * DeleteIndex.
    * 
@@ -83,8 +57,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * Unspecified.
    * 
@@ -93,8 +65,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OPERATION_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
    * ExportEntities.
    * 
@@ -103,8 +73,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EXPORT_ENTITIES_VALUE = 1; /** - * - * *
    * ImportEntities.
    * 
@@ -113,8 +81,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int IMPORT_ENTITIES_VALUE = 2; /** - * - * *
    * CreateIndex.
    * 
@@ -123,8 +89,6 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CREATE_INDEX_VALUE = 3; /** - * - * *
    * DeleteIndex.
    * 
@@ -133,6 +97,7 @@ public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DELETE_INDEX_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -157,53 +122,51 @@ public static OperationType valueOf(int value) { */ public static OperationType forNumber(int value) { switch (value) { - case 0: - return OPERATION_TYPE_UNSPECIFIED; - case 1: - return EXPORT_ENTITIES; - case 2: - return IMPORT_ENTITIES; - case 3: - return CREATE_INDEX; - case 4: - return DELETE_INDEX; - default: - return null; + case 0: return OPERATION_TYPE_UNSPECIFIED; + case 1: return EXPORT_ENTITIES; + case 2: return IMPORT_ENTITIES; + case 3: return CREATE_INDEX; + case 4: return DELETE_INDEX; + 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 OperationType findValueByNumber(int number) { - return OperationType.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + OperationType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public OperationType findValueByNumber(int number) { + return OperationType.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.datastore.admin.v1.DatastoreAdminProto.getDescriptor().getEnumTypes().get(0); } private static final OperationType[] VALUES = values(); - public static OperationType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static OperationType 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; @@ -219,3 +182,4 @@ private OperationType(int value) { // @@protoc_insertion_point(enum_scope:google.datastore.admin.v1.OperationType) } + diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/Progress.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/Progress.java similarity index 66% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/Progress.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/Progress.java index 347508413..9664cbc3a 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/Progress.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/Progress.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto @@ -20,59 +5,53 @@ package com.google.datastore.admin.v1; /** - * - * *
  * Measures the progress of a particular metric.
  * 
* * Protobuf type {@code google.datastore.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.datastore.admin.v1.Progress) ProgressOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Progress.newBuilder() to construct. private Progress(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Progress() {} + private Progress() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Progress(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.admin.v1.DatastoreAdminProto - .internal_static_google_datastore_admin_v1_Progress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_Progress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.DatastoreAdminProto - .internal_static_google_datastore_admin_v1_Progress_fieldAccessorTable + return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_Progress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.Progress.class, - com.google.datastore.admin.v1.Progress.Builder.class); + com.google.datastore.admin.v1.Progress.class, com.google.datastore.admin.v1.Progress.Builder.class); } public static final int WORK_COMPLETED_FIELD_NUMBER = 1; private long workCompleted_ = 0L; /** - * - * *
    * The amount of work that has been completed. Note that this may be greater
    * than work_estimated.
    * 
* * int64 work_completed = 1; - * * @return The workCompleted. */ @java.lang.Override @@ -83,15 +62,12 @@ public long getWorkCompleted() { public static final int WORK_ESTIMATED_FIELD_NUMBER = 2; private long workEstimated_ = 0L; /** - * - * *
    * An estimate of how much work needs to be performed. May be zero if the
    * work estimate is unavailable.
    * 
* * int64 work_estimated = 2; - * * @return The workEstimated. */ @java.lang.Override @@ -100,7 +76,6 @@ public long getWorkEstimated() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -112,7 +87,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 (workCompleted_ != 0L) { output.writeInt64(1, workCompleted_); } @@ -129,10 +105,12 @@ public int getSerializedSize() { size = 0; if (workCompleted_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, workCompleted_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, workCompleted_); } if (workEstimated_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, workEstimated_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, workEstimated_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -142,15 +120,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.datastore.admin.v1.Progress)) { return super.equals(obj); } com.google.datastore.admin.v1.Progress other = (com.google.datastore.admin.v1.Progress) obj; - if (getWorkCompleted() != other.getWorkCompleted()) return false; - if (getWorkEstimated() != other.getWorkEstimated()) return false; + if (getWorkCompleted() + != other.getWorkCompleted()) return false; + if (getWorkEstimated() + != other.getWorkEstimated()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -163,144 +143,142 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + WORK_COMPLETED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getWorkCompleted()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getWorkCompleted()); hash = (37 * hash) + WORK_ESTIMATED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getWorkEstimated()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getWorkEstimated()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.datastore.admin.v1.Progress parseFrom(java.nio.ByteBuffer data) + public static com.google.datastore.admin.v1.Progress parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.admin.v1.Progress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.admin.v1.Progress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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; } /** - * - * *
    * Measures the progress of a particular metric.
    * 
* * Protobuf type {@code google.datastore.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.datastore.admin.v1.Progress) com.google.datastore.admin.v1.ProgressOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.admin.v1.DatastoreAdminProto - .internal_static_google_datastore_admin_v1_Progress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_Progress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.DatastoreAdminProto - .internal_static_google_datastore_admin_v1_Progress_fieldAccessorTable + return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_Progress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.Progress.class, - com.google.datastore.admin.v1.Progress.Builder.class); + com.google.datastore.admin.v1.Progress.class, com.google.datastore.admin.v1.Progress.Builder.class); } // Construct using com.google.datastore.admin.v1.Progress.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -311,9 +289,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.admin.v1.DatastoreAdminProto - .internal_static_google_datastore_admin_v1_Progress_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_Progress_descriptor; } @java.lang.Override @@ -332,11 +310,8 @@ public com.google.datastore.admin.v1.Progress build() { @java.lang.Override public com.google.datastore.admin.v1.Progress buildPartial() { - com.google.datastore.admin.v1.Progress result = - new com.google.datastore.admin.v1.Progress(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.datastore.admin.v1.Progress result = new com.google.datastore.admin.v1.Progress(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -355,39 +330,38 @@ private void buildPartial0(com.google.datastore.admin.v1.Progress result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.admin.v1.Progress) { - return mergeFrom((com.google.datastore.admin.v1.Progress) other); + return mergeFrom((com.google.datastore.admin.v1.Progress)other); } else { super.mergeFrom(other); return this; @@ -428,25 +402,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - workCompleted_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - workEstimated_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + workCompleted_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + workEstimated_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -456,20 +427,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long workCompleted_; + private long workCompleted_ ; /** - * - * *
      * The amount of work that has been completed. Note that this may be greater
      * than work_estimated.
      * 
* * int64 work_completed = 1; - * * @return The workCompleted. */ @java.lang.Override @@ -477,15 +444,12 @@ public long getWorkCompleted() { return workCompleted_; } /** - * - * *
      * The amount of work that has been completed. Note that this may be greater
      * than work_estimated.
      * 
* * int64 work_completed = 1; - * * @param value The workCompleted to set. * @return This builder for chaining. */ @@ -497,15 +461,12 @@ public Builder setWorkCompleted(long value) { return this; } /** - * - * *
      * The amount of work that has been completed. Note that this may be greater
      * than work_estimated.
      * 
* * int64 work_completed = 1; - * * @return This builder for chaining. */ public Builder clearWorkCompleted() { @@ -515,17 +476,14 @@ public Builder clearWorkCompleted() { return this; } - private long workEstimated_; + private long workEstimated_ ; /** - * - * *
      * An estimate of how much work needs to be performed. May be zero if the
      * work estimate is unavailable.
      * 
* * int64 work_estimated = 2; - * * @return The workEstimated. */ @java.lang.Override @@ -533,15 +491,12 @@ public long getWorkEstimated() { return workEstimated_; } /** - * - * *
      * An estimate of how much work needs to be performed. May be zero if the
      * work estimate is unavailable.
      * 
* * int64 work_estimated = 2; - * * @param value The workEstimated to set. * @return This builder for chaining. */ @@ -553,15 +508,12 @@ public Builder setWorkEstimated(long value) { return this; } /** - * - * *
      * An estimate of how much work needs to be performed. May be zero if the
      * work estimate is unavailable.
      * 
* * int64 work_estimated = 2; - * * @return This builder for chaining. */ public Builder clearWorkEstimated() { @@ -570,9 +522,9 @@ public Builder clearWorkEstimated() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -582,12 +534,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.Progress) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.Progress) private static final com.google.datastore.admin.v1.Progress DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.Progress(); } @@ -596,27 +548,27 @@ public static com.google.datastore.admin.v1.Progress getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Progress parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Progress parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -631,4 +583,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.Progress getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ProgressOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ProgressOrBuilder.java similarity index 55% rename from proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ProgressOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ProgressOrBuilder.java index faa613564..2f0431684 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ProgressOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ProgressOrBuilder.java @@ -1,53 +1,31 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface ProgressOrBuilder - extends +public interface ProgressOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.Progress) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The amount of work that has been completed. Note that this may be greater
    * than work_estimated.
    * 
* * int64 work_completed = 1; - * * @return The workCompleted. */ long getWorkCompleted(); /** - * - * *
    * An estimate of how much work needs to be performed. May be zero if the
    * work estimate is unavailable.
    * 
* * int64 work_estimated = 2; - * * @return The workEstimated. */ long getWorkEstimated(); diff --git a/proto-google-cloud-datastore-admin-v1/src/main/proto/google/datastore/admin/v1/datastore_admin.proto b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/proto/google/datastore/admin/v1/datastore_admin.proto similarity index 99% rename from proto-google-cloud-datastore-admin-v1/src/main/proto/google/datastore/admin/v1/datastore_admin.proto rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/proto/google/datastore/admin/v1/datastore_admin.proto index 79ca3df68..a8b3f9986 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/proto/google/datastore/admin/v1/datastore_admin.proto +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/proto/google/datastore/admin/v1/datastore_admin.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-datastore-admin-v1/src/main/proto/google/datastore/admin/v1/index.proto b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/proto/google/datastore/admin/v1/index.proto similarity index 99% rename from proto-google-cloud-datastore-admin-v1/src/main/proto/google/datastore/admin/v1/index.proto rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/proto/google/datastore/admin/v1/index.proto index 60bb5af5f..6a1d12227 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/proto/google/datastore/admin/v1/index.proto +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/proto/google/datastore/admin/v1/index.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-datastore-admin-v1/src/main/proto/google/datastore/admin/v1/migration.proto b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/proto/google/datastore/admin/v1/migration.proto similarity index 99% rename from proto-google-cloud-datastore-admin-v1/src/main/proto/google/datastore/admin/v1/migration.proto rename to owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/proto/google/datastore/admin/v1/migration.proto index e5f7477da..813de87dd 100644 --- a/proto-google-cloud-datastore-admin-v1/src/main/proto/google/datastore/admin/v1/migration.proto +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/proto/google/datastore/admin/v1/migration.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationQuery.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationQuery.java similarity index 73% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationQuery.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationQuery.java index 654257a1d..18a4bdc06 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationQuery.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationQuery.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto @@ -20,8 +5,6 @@ package com.google.datastore.v1; /** - * - * *
  * Datastore query for running an aggregation over a
  * [Query][google.datastore.v1.Query].
@@ -29,73 +12,62 @@
  *
  * Protobuf type {@code google.datastore.v1.AggregationQuery}
  */
-public final class AggregationQuery extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AggregationQuery extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.datastore.v1.AggregationQuery)
     AggregationQueryOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AggregationQuery.newBuilder() to construct.
   private AggregationQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AggregationQuery() {
     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 AggregationQuery();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.datastore.v1.QueryProto
-        .internal_static_google_datastore_v1_AggregationQuery_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.v1.QueryProto
-        .internal_static_google_datastore_v1_AggregationQuery_fieldAccessorTable
+    return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.v1.AggregationQuery.class,
-            com.google.datastore.v1.AggregationQuery.Builder.class);
+            com.google.datastore.v1.AggregationQuery.class, com.google.datastore.v1.AggregationQuery.Builder.class);
   }
 
-  public interface AggregationOrBuilder
-      extends
+  public interface AggregationOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.datastore.v1.AggregationQuery.Aggregation)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * Count aggregator.
      * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Count count = 1; - * * @return Whether the count field is set. */ boolean hasCount(); /** - * - * *
      * Count aggregator.
      * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Count count = 1; - * * @return The count. */ com.google.datastore.v1.AggregationQuery.Aggregation.Count getCount(); /** - * - * *
      * Count aggregator.
      * 
@@ -105,32 +77,24 @@ public interface AggregationOrBuilder com.google.datastore.v1.AggregationQuery.Aggregation.CountOrBuilder getCountOrBuilder(); /** - * - * *
      * Sum aggregator.
      * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Sum sum = 2; - * * @return Whether the sum field is set. */ boolean hasSum(); /** - * - * *
      * Sum aggregator.
      * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Sum sum = 2; - * * @return The sum. */ com.google.datastore.v1.AggregationQuery.Aggregation.Sum getSum(); /** - * - * *
      * Sum aggregator.
      * 
@@ -140,32 +104,24 @@ public interface AggregationOrBuilder com.google.datastore.v1.AggregationQuery.Aggregation.SumOrBuilder getSumOrBuilder(); /** - * - * *
      * Average aggregator.
      * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Avg avg = 3; - * * @return Whether the avg field is set. */ boolean hasAvg(); /** - * - * *
      * Average aggregator.
      * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Avg avg = 3; - * * @return The avg. */ com.google.datastore.v1.AggregationQuery.Aggregation.Avg getAvg(); /** - * - * *
      * Average aggregator.
      * 
@@ -175,8 +131,6 @@ public interface AggregationOrBuilder com.google.datastore.v1.AggregationQuery.Aggregation.AvgOrBuilder getAvgOrBuilder(); /** - * - * *
      * Optional. Optional name of the property to store the result of the
      * aggregation.
@@ -216,13 +170,10 @@ public interface AggregationOrBuilder
      * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The alias. */ java.lang.String getAlias(); /** - * - * *
      * Optional. Optional name of the property to store the result of the
      * aggregation.
@@ -262,65 +213,58 @@ 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(); com.google.datastore.v1.AggregationQuery.Aggregation.OperatorCase getOperatorCase(); } /** - * - * *
    * Defines an aggregation that produces a single result.
    * 
* * Protobuf type {@code google.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.Aggregation) AggregationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Aggregation.newBuilder() to construct. private Aggregation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Aggregation() { alias_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Aggregation(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_AggregationQuery_Aggregation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_AggregationQuery_Aggregation_fieldAccessorTable + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.AggregationQuery.Aggregation.class, - com.google.datastore.v1.AggregationQuery.Aggregation.Builder.class); + com.google.datastore.v1.AggregationQuery.Aggregation.class, com.google.datastore.v1.AggregationQuery.Aggregation.Builder.class); } - public interface CountOrBuilder - extends + public interface CountOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.AggregationQuery.Aggregation.Count) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * Optional. Optional constraint on the maximum number of entities to
        * count.
@@ -344,15 +288,11 @@ public interface CountOrBuilder
        * * Must be non-negative 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 entities to
        * count.
@@ -376,15 +316,11 @@ public interface CountOrBuilder
        * * Must be non-negative 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 entities to
        * count.
@@ -408,14 +344,11 @@ public interface CountOrBuilder
        * * Must be non-negative 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 entities that match the query.
      *
@@ -425,45 +358,42 @@ public interface CountOrBuilder
      *
      * Protobuf type {@code google.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.Aggregation.Count)
         CountOrBuilder {
-      private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
       // Use Count.newBuilder() to construct.
       private Count(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-
-      private Count() {}
+      private Count() {
+      }
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(
+          UnusedPrivateParameter unused) {
         return new Count();
       }
 
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.datastore.v1.QueryProto
-            .internal_static_google_datastore_v1_AggregationQuery_Aggregation_Count_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_Count_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.datastore.v1.QueryProto
-            .internal_static_google_datastore_v1_AggregationQuery_Aggregation_Count_fieldAccessorTable
+        return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_Count_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.datastore.v1.AggregationQuery.Aggregation.Count.class,
-                com.google.datastore.v1.AggregationQuery.Aggregation.Count.Builder.class);
+                com.google.datastore.v1.AggregationQuery.Aggregation.Count.class, com.google.datastore.v1.AggregationQuery.Aggregation.Count.Builder.class);
       }
 
       private int bitField0_;
       public static final int UP_TO_FIELD_NUMBER = 1;
       private com.google.protobuf.Int64Value upTo_;
       /**
-       *
-       *
        * 
        * Optional. Optional constraint on the maximum number of entities to
        * count.
@@ -487,9 +417,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
        * * Must be non-negative 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 @@ -497,8 +425,6 @@ public boolean hasUpTo() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Optional. Optional constraint on the maximum number of entities to
        * count.
@@ -522,9 +448,7 @@ public boolean hasUpTo() {
        * * Must be non-negative 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 @@ -532,8 +456,6 @@ public com.google.protobuf.Int64Value getUpTo() { return upTo_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : upTo_; } /** - * - * *
        * Optional. Optional constraint on the maximum number of entities to
        * count.
@@ -557,8 +479,7 @@ public com.google.protobuf.Int64Value getUpTo() {
        * * Must be non-negative 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() { @@ -566,7 +487,6 @@ public com.google.protobuf.Int64ValueOrBuilder getUpToOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -578,7 +498,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getUpTo()); } @@ -592,7 +513,8 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpTo()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getUpTo()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -602,17 +524,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.datastore.v1.AggregationQuery.Aggregation.Count)) { return super.equals(obj); } - com.google.datastore.v1.AggregationQuery.Aggregation.Count other = - (com.google.datastore.v1.AggregationQuery.Aggregation.Count) obj; + com.google.datastore.v1.AggregationQuery.Aggregation.Count other = (com.google.datastore.v1.AggregationQuery.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; @@ -635,94 +557,89 @@ public int hashCode() { } public static com.google.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.Aggregation.Count parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.Aggregation.Count parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.datastore.v1.AggregationQuery.Aggregation.Count parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.Aggregation.Count parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.datastore.v1.AggregationQuery.Aggregation.Count parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.Aggregation.Count parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.AggregationQuery.Aggregation.Count parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.v1.AggregationQuery.Aggregation.Count parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.Aggregation.Count prototype) { + public static Builder newBuilder(com.google.datastore.v1.AggregationQuery.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 @@ -732,8 +649,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Count of entities that match the query.
        *
@@ -743,24 +658,21 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.Aggregation.Count)
           com.google.datastore.v1.AggregationQuery.Aggregation.CountOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.datastore.v1.QueryProto
-              .internal_static_google_datastore_v1_AggregationQuery_Aggregation_Count_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_Count_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.datastore.v1.QueryProto
-              .internal_static_google_datastore_v1_AggregationQuery_Aggregation_Count_fieldAccessorTable
+          return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_Count_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.datastore.v1.AggregationQuery.Aggregation.Count.class,
-                  com.google.datastore.v1.AggregationQuery.Aggregation.Count.Builder.class);
+                  com.google.datastore.v1.AggregationQuery.Aggregation.Count.class, com.google.datastore.v1.AggregationQuery.Aggregation.Count.Builder.class);
         }
 
         // Construct using com.google.datastore.v1.AggregationQuery.Aggregation.Count.newBuilder()
@@ -768,17 +680,17 @@ 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) {
+          if (com.google.protobuf.GeneratedMessageV3
+                  .alwaysUseFieldBuilders) {
             getUpToFieldBuilder();
           }
         }
-
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -792,14 +704,13 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-          return com.google.datastore.v1.QueryProto
-              .internal_static_google_datastore_v1_AggregationQuery_Aggregation_Count_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor
+            getDescriptorForType() {
+          return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_Count_descriptor;
         }
 
         @java.lang.Override
-        public com.google.datastore.v1.AggregationQuery.Aggregation.Count
-            getDefaultInstanceForType() {
+        public com.google.datastore.v1.AggregationQuery.Aggregation.Count getDefaultInstanceForType() {
           return com.google.datastore.v1.AggregationQuery.Aggregation.Count.getDefaultInstance();
         }
 
@@ -814,21 +725,19 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Count build() {
 
         @java.lang.Override
         public com.google.datastore.v1.AggregationQuery.Aggregation.Count buildPartial() {
-          com.google.datastore.v1.AggregationQuery.Aggregation.Count result =
-              new com.google.datastore.v1.AggregationQuery.Aggregation.Count(this);
-          if (bitField0_ != 0) {
-            buildPartial0(result);
-          }
+          com.google.datastore.v1.AggregationQuery.Aggregation.Count result = new com.google.datastore.v1.AggregationQuery.Aggregation.Count(this);
+          if (bitField0_ != 0) { buildPartial0(result); }
           onBuilt();
           return result;
         }
 
-        private void buildPartial0(
-            com.google.datastore.v1.AggregationQuery.Aggregation.Count result) {
+        private void buildPartial0(com.google.datastore.v1.AggregationQuery.Aggregation.Count result) {
           int from_bitField0_ = bitField0_;
           int to_bitField0_ = 0;
           if (((from_bitField0_ & 0x00000001) != 0)) {
-            result.upTo_ = upToBuilder_ == null ? upTo_ : upToBuilder_.build();
+            result.upTo_ = upToBuilder_ == null
+                ? upTo_
+                : upToBuilder_.build();
             to_bitField0_ |= 0x00000001;
           }
           result.bitField0_ |= to_bitField0_;
@@ -838,41 +747,38 @@ private void buildPartial0(
         public Builder clone() {
           return super.clone();
         }
-
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field,
+            java.lang.Object value) {
           return super.setField(field, value);
         }
-
         @java.lang.Override
-        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+        public Builder clearField(
+            com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
-
         @java.lang.Override
-        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        public Builder clearOneof(
+            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
-
         @java.lang.Override
         public Builder setRepeatedField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
-            int index,
-            java.lang.Object value) {
+            int index, java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
-
         @java.lang.Override
         public Builder addRepeatedField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field,
+            java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
-
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
           if (other instanceof com.google.datastore.v1.AggregationQuery.Aggregation.Count) {
-            return mergeFrom((com.google.datastore.v1.AggregationQuery.Aggregation.Count) other);
+            return mergeFrom((com.google.datastore.v1.AggregationQuery.Aggregation.Count)other);
           } else {
             super.mergeFrom(other);
             return this;
@@ -880,9 +786,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
         }
 
         public Builder mergeFrom(com.google.datastore.v1.AggregationQuery.Aggregation.Count other) {
-          if (other
-              == com.google.datastore.v1.AggregationQuery.Aggregation.Count.getDefaultInstance())
-            return this;
+          if (other == com.google.datastore.v1.AggregationQuery.Aggregation.Count.getDefaultInstance()) return this;
           if (other.hasUpTo()) {
             mergeUpTo(other.getUpTo());
           }
@@ -912,19 +816,19 @@ public Builder mergeFrom(
                 case 0:
                   done = true;
                   break;
-                case 10:
-                  {
-                    input.readMessage(getUpToFieldBuilder().getBuilder(), extensionRegistry);
-                    bitField0_ |= 0x00000001;
-                    break;
-                  } // case 10
-                default:
-                  {
-                    if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                      done = true; // was an endgroup tag
-                    }
-                    break;
-                  } // default:
+                case 10: {
+                  input.readMessage(
+                      getUpToFieldBuilder().getBuilder(),
+                      extensionRegistry);
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+                default: {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
               } // switch (tag)
             } // while (!done)
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -934,18 +838,12 @@ public Builder mergeFrom(
           } // finally
           return this;
         }
-
         private int bitField0_;
 
         private com.google.protobuf.Int64Value upTo_;
         private com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Int64Value,
-                com.google.protobuf.Int64Value.Builder,
-                com.google.protobuf.Int64ValueOrBuilder>
-            upToBuilder_;
+            com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> upToBuilder_;
         /**
-         *
-         *
          * 
          * Optional. Optional constraint on the maximum number of entities to
          * count.
@@ -969,17 +867,13 @@ public Builder mergeFrom(
          * * Must be non-negative when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the upTo field is set. */ public boolean hasUpTo() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
          * Optional. Optional constraint on the maximum number of entities to
          * count.
@@ -1003,9 +897,7 @@ public boolean hasUpTo() {
          * * Must be non-negative 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() { @@ -1016,8 +908,6 @@ public com.google.protobuf.Int64Value getUpTo() { } } /** - * - * *
          * Optional. Optional constraint on the maximum number of entities to
          * count.
@@ -1041,8 +931,7 @@ public com.google.protobuf.Int64Value getUpTo() {
          * * Must be non-negative 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) { @@ -1058,8 +947,6 @@ public Builder setUpTo(com.google.protobuf.Int64Value value) { return this; } /** - * - * *
          * Optional. Optional constraint on the maximum number of entities to
          * count.
@@ -1083,10 +970,10 @@ public Builder setUpTo(com.google.protobuf.Int64Value value) {
          * * Must be non-negative when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; */ - public Builder setUpTo(com.google.protobuf.Int64Value.Builder builderForValue) { + public Builder setUpTo( + com.google.protobuf.Int64Value.Builder builderForValue) { if (upToBuilder_ == null) { upTo_ = builderForValue.build(); } else { @@ -1097,8 +984,6 @@ public Builder setUpTo(com.google.protobuf.Int64Value.Builder builderForValue) { return this; } /** - * - * *
          * Optional. Optional constraint on the maximum number of entities to
          * count.
@@ -1122,14 +1007,13 @@ public Builder setUpTo(com.google.protobuf.Int64Value.Builder builderForValue) {
          * * Must be non-negative when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeUpTo(com.google.protobuf.Int64Value value) { if (upToBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && upTo_ != null - && upTo_ != com.google.protobuf.Int64Value.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + upTo_ != null && + upTo_ != com.google.protobuf.Int64Value.getDefaultInstance()) { getUpToBuilder().mergeFrom(value); } else { upTo_ = value; @@ -1144,8 +1028,6 @@ public Builder mergeUpTo(com.google.protobuf.Int64Value value) { return this; } /** - * - * *
          * Optional. Optional constraint on the maximum number of entities to
          * count.
@@ -1169,8 +1051,7 @@ public Builder mergeUpTo(com.google.protobuf.Int64Value value) {
          * * Must be non-negative when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearUpTo() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1183,8 +1064,6 @@ public Builder clearUpTo() { return this; } /** - * - * *
          * Optional. Optional constraint on the maximum number of entities to
          * count.
@@ -1208,8 +1087,7 @@ public Builder clearUpTo() {
          * * Must be non-negative when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.protobuf.Int64Value.Builder getUpToBuilder() { bitField0_ |= 0x00000001; @@ -1217,8 +1095,6 @@ public com.google.protobuf.Int64Value.Builder getUpToBuilder() { return getUpToFieldBuilder().getBuilder(); } /** - * - * *
          * Optional. Optional constraint on the maximum number of entities to
          * count.
@@ -1242,19 +1118,17 @@ public com.google.protobuf.Int64Value.Builder getUpToBuilder() {
          * * Must be non-negative 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 entities to
          * count.
@@ -1278,26 +1152,21 @@ public com.google.protobuf.Int64ValueOrBuilder getUpToOrBuilder() {
          * * Must be non-negative 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) { @@ -1310,44 +1179,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.v1.AggregationQuery.Aggregation.Count) } // @@protoc_insertion_point(class_scope:google.datastore.v1.AggregationQuery.Aggregation.Count) - private static final com.google.datastore.v1.AggregationQuery.Aggregation.Count - DEFAULT_INSTANCE; - + private static final com.google.datastore.v1.AggregationQuery.Aggregation.Count DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.datastore.v1.AggregationQuery.Aggregation.Count(); } - public static com.google.datastore.v1.AggregationQuery.Aggregation.Count - getDefaultInstance() { + public static com.google.datastore.v1.AggregationQuery.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; @@ -1359,44 +1225,35 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.datastore.v1.AggregationQuery.Aggregation.Count - getDefaultInstanceForType() { + public com.google.datastore.v1.AggregationQuery.Aggregation.Count getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface SumOrBuilder - extends + public interface SumOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.AggregationQuery.Aggregation.Sum) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The property to aggregate on.
        * 
* * .google.datastore.v1.PropertyReference property = 1; - * * @return Whether the property field is set. */ boolean hasProperty(); /** - * - * *
        * The property to aggregate on.
        * 
* * .google.datastore.v1.PropertyReference property = 1; - * * @return The property. */ com.google.datastore.v1.PropertyReference getProperty(); /** - * - * *
        * The property to aggregate on.
        * 
@@ -1406,8 +1263,6 @@ public interface SumOrBuilder com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder(); } /** - * - * *
      * Sum of the values of the requested property.
      *
@@ -1434,51 +1289,47 @@ public interface SumOrBuilder
      *
      * Protobuf type {@code google.datastore.v1.AggregationQuery.Aggregation.Sum}
      */
-    public static final class Sum extends com.google.protobuf.GeneratedMessageV3
-        implements
+    public static final class Sum extends
+        com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.datastore.v1.AggregationQuery.Aggregation.Sum)
         SumOrBuilder {
-      private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
       // Use Sum.newBuilder() to construct.
       private Sum(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-
-      private Sum() {}
+      private Sum() {
+      }
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(
+          UnusedPrivateParameter unused) {
         return new Sum();
       }
 
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.datastore.v1.QueryProto
-            .internal_static_google_datastore_v1_AggregationQuery_Aggregation_Sum_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_Sum_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.datastore.v1.QueryProto
-            .internal_static_google_datastore_v1_AggregationQuery_Aggregation_Sum_fieldAccessorTable
+        return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_Sum_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.datastore.v1.AggregationQuery.Aggregation.Sum.class,
-                com.google.datastore.v1.AggregationQuery.Aggregation.Sum.Builder.class);
+                com.google.datastore.v1.AggregationQuery.Aggregation.Sum.class, com.google.datastore.v1.AggregationQuery.Aggregation.Sum.Builder.class);
       }
 
       private int bitField0_;
       public static final int PROPERTY_FIELD_NUMBER = 1;
       private com.google.datastore.v1.PropertyReference property_;
       /**
-       *
-       *
        * 
        * The property to aggregate on.
        * 
* * .google.datastore.v1.PropertyReference property = 1; - * * @return Whether the property field is set. */ @java.lang.Override @@ -1486,25 +1337,18 @@ public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * The property to aggregate on.
        * 
* * .google.datastore.v1.PropertyReference property = 1; - * * @return The property. */ @java.lang.Override public com.google.datastore.v1.PropertyReference getProperty() { - return property_ == null - ? com.google.datastore.v1.PropertyReference.getDefaultInstance() - : property_; + return property_ == null ? com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; } /** - * - * *
        * The property to aggregate on.
        * 
@@ -1513,13 +1357,10 @@ public com.google.datastore.v1.PropertyReference getProperty() { */ @java.lang.Override public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() { - return property_ == null - ? com.google.datastore.v1.PropertyReference.getDefaultInstance() - : property_; + return property_ == null ? com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1531,7 +1372,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getProperty()); } @@ -1545,7 +1387,8 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getProperty()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getProperty()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1555,17 +1398,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.datastore.v1.AggregationQuery.Aggregation.Sum)) { return super.equals(obj); } - com.google.datastore.v1.AggregationQuery.Aggregation.Sum other = - (com.google.datastore.v1.AggregationQuery.Aggregation.Sum) obj; + com.google.datastore.v1.AggregationQuery.Aggregation.Sum other = (com.google.datastore.v1.AggregationQuery.Aggregation.Sum) obj; if (hasProperty() != other.hasProperty()) return false; if (hasProperty()) { - if (!getProperty().equals(other.getProperty())) return false; + if (!getProperty() + .equals(other.getProperty())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1588,94 +1431,89 @@ public int hashCode() { } public static com.google.datastore.v1.AggregationQuery.Aggregation.Sum 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.datastore.v1.AggregationQuery.Aggregation.Sum parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.AggregationQuery.Aggregation.Sum parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.AggregationQuery.Aggregation.Sum parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.AggregationQuery.Aggregation.Sum parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.AggregationQuery.Aggregation.Sum parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.datastore.v1.AggregationQuery.Aggregation.Sum parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.datastore.v1.AggregationQuery.Aggregation.Sum parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.AggregationQuery.Aggregation.Sum parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.AggregationQuery.Aggregation.Sum parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.AggregationQuery.Aggregation.Sum parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.v1.AggregationQuery.Aggregation.Sum parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.AggregationQuery.Aggregation.Sum parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.AggregationQuery.Aggregation.Sum parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.datastore.v1.AggregationQuery.Aggregation.Sum prototype) { + public static Builder newBuilder(com.google.datastore.v1.AggregationQuery.Aggregation.Sum prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1685,8 +1523,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Sum of the values of the requested property.
        *
@@ -1713,24 +1549,21 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.datastore.v1.AggregationQuery.Aggregation.Sum}
        */
-      public static final class Builder
-          extends com.google.protobuf.GeneratedMessageV3.Builder
-          implements
+      public static final class Builder extends
+          com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.datastore.v1.AggregationQuery.Aggregation.Sum)
           com.google.datastore.v1.AggregationQuery.Aggregation.SumOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.datastore.v1.QueryProto
-              .internal_static_google_datastore_v1_AggregationQuery_Aggregation_Sum_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_Sum_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.datastore.v1.QueryProto
-              .internal_static_google_datastore_v1_AggregationQuery_Aggregation_Sum_fieldAccessorTable
+          return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_Sum_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.datastore.v1.AggregationQuery.Aggregation.Sum.class,
-                  com.google.datastore.v1.AggregationQuery.Aggregation.Sum.Builder.class);
+                  com.google.datastore.v1.AggregationQuery.Aggregation.Sum.class, com.google.datastore.v1.AggregationQuery.Aggregation.Sum.Builder.class);
         }
 
         // Construct using com.google.datastore.v1.AggregationQuery.Aggregation.Sum.newBuilder()
@@ -1738,17 +1571,17 @@ 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) {
+          if (com.google.protobuf.GeneratedMessageV3
+                  .alwaysUseFieldBuilders) {
             getPropertyFieldBuilder();
           }
         }
-
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -1762,14 +1595,13 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-          return com.google.datastore.v1.QueryProto
-              .internal_static_google_datastore_v1_AggregationQuery_Aggregation_Sum_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor
+            getDescriptorForType() {
+          return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_Sum_descriptor;
         }
 
         @java.lang.Override
-        public com.google.datastore.v1.AggregationQuery.Aggregation.Sum
-            getDefaultInstanceForType() {
+        public com.google.datastore.v1.AggregationQuery.Aggregation.Sum getDefaultInstanceForType() {
           return com.google.datastore.v1.AggregationQuery.Aggregation.Sum.getDefaultInstance();
         }
 
@@ -1784,21 +1616,19 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Sum build() {
 
         @java.lang.Override
         public com.google.datastore.v1.AggregationQuery.Aggregation.Sum buildPartial() {
-          com.google.datastore.v1.AggregationQuery.Aggregation.Sum result =
-              new com.google.datastore.v1.AggregationQuery.Aggregation.Sum(this);
-          if (bitField0_ != 0) {
-            buildPartial0(result);
-          }
+          com.google.datastore.v1.AggregationQuery.Aggregation.Sum result = new com.google.datastore.v1.AggregationQuery.Aggregation.Sum(this);
+          if (bitField0_ != 0) { buildPartial0(result); }
           onBuilt();
           return result;
         }
 
-        private void buildPartial0(
-            com.google.datastore.v1.AggregationQuery.Aggregation.Sum result) {
+        private void buildPartial0(com.google.datastore.v1.AggregationQuery.Aggregation.Sum result) {
           int from_bitField0_ = bitField0_;
           int to_bitField0_ = 0;
           if (((from_bitField0_ & 0x00000001) != 0)) {
-            result.property_ = propertyBuilder_ == null ? property_ : propertyBuilder_.build();
+            result.property_ = propertyBuilder_ == null
+                ? property_
+                : propertyBuilder_.build();
             to_bitField0_ |= 0x00000001;
           }
           result.bitField0_ |= to_bitField0_;
@@ -1808,41 +1638,38 @@ private void buildPartial0(
         public Builder clone() {
           return super.clone();
         }
-
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field,
+            java.lang.Object value) {
           return super.setField(field, value);
         }
-
         @java.lang.Override
-        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+        public Builder clearField(
+            com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
-
         @java.lang.Override
-        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        public Builder clearOneof(
+            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
-
         @java.lang.Override
         public Builder setRepeatedField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
-            int index,
-            java.lang.Object value) {
+            int index, java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
-
         @java.lang.Override
         public Builder addRepeatedField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field,
+            java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
-
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
           if (other instanceof com.google.datastore.v1.AggregationQuery.Aggregation.Sum) {
-            return mergeFrom((com.google.datastore.v1.AggregationQuery.Aggregation.Sum) other);
+            return mergeFrom((com.google.datastore.v1.AggregationQuery.Aggregation.Sum)other);
           } else {
             super.mergeFrom(other);
             return this;
@@ -1850,9 +1677,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
         }
 
         public Builder mergeFrom(com.google.datastore.v1.AggregationQuery.Aggregation.Sum other) {
-          if (other
-              == com.google.datastore.v1.AggregationQuery.Aggregation.Sum.getDefaultInstance())
-            return this;
+          if (other == com.google.datastore.v1.AggregationQuery.Aggregation.Sum.getDefaultInstance()) return this;
           if (other.hasProperty()) {
             mergeProperty(other.getProperty());
           }
@@ -1882,19 +1707,19 @@ public Builder mergeFrom(
                 case 0:
                   done = true;
                   break;
-                case 10:
-                  {
-                    input.readMessage(getPropertyFieldBuilder().getBuilder(), extensionRegistry);
-                    bitField0_ |= 0x00000001;
-                    break;
-                  } // case 10
-                default:
-                  {
-                    if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                      done = true; // was an endgroup tag
-                    }
-                    break;
-                  } // default:
+                case 10: {
+                  input.readMessage(
+                      getPropertyFieldBuilder().getBuilder(),
+                      extensionRegistry);
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+                default: {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
               } // switch (tag)
             } // while (!done)
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1904,52 +1729,38 @@ public Builder mergeFrom(
           } // finally
           return this;
         }
-
         private int bitField0_;
 
         private com.google.datastore.v1.PropertyReference property_;
         private com.google.protobuf.SingleFieldBuilderV3<
-                com.google.datastore.v1.PropertyReference,
-                com.google.datastore.v1.PropertyReference.Builder,
-                com.google.datastore.v1.PropertyReferenceOrBuilder>
-            propertyBuilder_;
+            com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder> propertyBuilder_;
         /**
-         *
-         *
          * 
          * The property to aggregate on.
          * 
* * .google.datastore.v1.PropertyReference property = 1; - * * @return Whether the property field is set. */ public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
          * The property to aggregate on.
          * 
* * .google.datastore.v1.PropertyReference property = 1; - * * @return The property. */ public com.google.datastore.v1.PropertyReference getProperty() { if (propertyBuilder_ == null) { - return property_ == null - ? com.google.datastore.v1.PropertyReference.getDefaultInstance() - : property_; + return property_ == null ? com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; } else { return propertyBuilder_.getMessage(); } } /** - * - * *
          * The property to aggregate on.
          * 
@@ -1970,8 +1781,6 @@ public Builder setProperty(com.google.datastore.v1.PropertyReference value) { return this; } /** - * - * *
          * The property to aggregate on.
          * 
@@ -1990,8 +1799,6 @@ public Builder setProperty( return this; } /** - * - * *
          * The property to aggregate on.
          * 
@@ -2000,9 +1807,9 @@ public Builder setProperty( */ public Builder mergeProperty(com.google.datastore.v1.PropertyReference value) { if (propertyBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && property_ != null - && property_ != com.google.datastore.v1.PropertyReference.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + property_ != null && + property_ != com.google.datastore.v1.PropertyReference.getDefaultInstance()) { getPropertyBuilder().mergeFrom(value); } else { property_ = value; @@ -2017,8 +1824,6 @@ public Builder mergeProperty(com.google.datastore.v1.PropertyReference value) { return this; } /** - * - * *
          * The property to aggregate on.
          * 
@@ -2036,8 +1841,6 @@ public Builder clearProperty() { return this; } /** - * - * *
          * The property to aggregate on.
          * 
@@ -2050,8 +1853,6 @@ public com.google.datastore.v1.PropertyReference.Builder getPropertyBuilder() { return getPropertyFieldBuilder().getBuilder(); } /** - * - * *
          * The property to aggregate on.
          * 
@@ -2062,14 +1863,11 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() if (propertyBuilder_ != null) { return propertyBuilder_.getMessageOrBuilder(); } else { - return property_ == null - ? com.google.datastore.v1.PropertyReference.getDefaultInstance() - : property_; + return property_ == null ? + com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; } } /** - * - * *
          * The property to aggregate on.
          * 
@@ -2077,22 +1875,18 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() * .google.datastore.v1.PropertyReference property = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyReference, - com.google.datastore.v1.PropertyReference.Builder, - com.google.datastore.v1.PropertyReferenceOrBuilder> + com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder> getPropertyFieldBuilder() { if (propertyBuilder_ == null) { - propertyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyReference, - com.google.datastore.v1.PropertyReference.Builder, - com.google.datastore.v1.PropertyReferenceOrBuilder>( - getProperty(), getParentForChildren(), isClean()); + propertyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder>( + getProperty(), + getParentForChildren(), + isClean()); property_ = null; } return propertyBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2105,13 +1899,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.v1.AggregationQuery.Aggregation.Sum) } // @@protoc_insertion_point(class_scope:google.datastore.v1.AggregationQuery.Aggregation.Sum) - private static final com.google.datastore.v1.AggregationQuery.Aggregation.Sum - DEFAULT_INSTANCE; - + private static final com.google.datastore.v1.AggregationQuery.Aggregation.Sum DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.datastore.v1.AggregationQuery.Aggregation.Sum(); } @@ -2120,28 +1913,27 @@ public static com.google.datastore.v1.AggregationQuery.Aggregation.Sum getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Sum parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Sum parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2156,40 +1948,32 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.AggregationQuery.Aggregation.Sum getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface AvgOrBuilder - extends + public interface AvgOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.AggregationQuery.Aggregation.Avg) com.google.protobuf.MessageOrBuilder { /** - * - * *
        * The property to aggregate on.
        * 
* * .google.datastore.v1.PropertyReference property = 1; - * * @return Whether the property field is set. */ boolean hasProperty(); /** - * - * *
        * The property to aggregate on.
        * 
* * .google.datastore.v1.PropertyReference property = 1; - * * @return The property. */ com.google.datastore.v1.PropertyReference getProperty(); /** - * - * *
        * The property to aggregate on.
        * 
@@ -2199,8 +1983,6 @@ public interface AvgOrBuilder com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder(); } /** - * - * *
      * Average of the values of the requested property.
      *
@@ -2217,51 +1999,47 @@ public interface AvgOrBuilder
      *
      * Protobuf type {@code google.datastore.v1.AggregationQuery.Aggregation.Avg}
      */
-    public static final class Avg extends com.google.protobuf.GeneratedMessageV3
-        implements
+    public static final class Avg extends
+        com.google.protobuf.GeneratedMessageV3 implements
         // @@protoc_insertion_point(message_implements:google.datastore.v1.AggregationQuery.Aggregation.Avg)
         AvgOrBuilder {
-      private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
       // Use Avg.newBuilder() to construct.
       private Avg(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-
-      private Avg() {}
+      private Avg() {
+      }
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(
+          UnusedPrivateParameter unused) {
         return new Avg();
       }
 
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.datastore.v1.QueryProto
-            .internal_static_google_datastore_v1_AggregationQuery_Aggregation_Avg_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_Avg_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.datastore.v1.QueryProto
-            .internal_static_google_datastore_v1_AggregationQuery_Aggregation_Avg_fieldAccessorTable
+        return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_Avg_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.datastore.v1.AggregationQuery.Aggregation.Avg.class,
-                com.google.datastore.v1.AggregationQuery.Aggregation.Avg.Builder.class);
+                com.google.datastore.v1.AggregationQuery.Aggregation.Avg.class, com.google.datastore.v1.AggregationQuery.Aggregation.Avg.Builder.class);
       }
 
       private int bitField0_;
       public static final int PROPERTY_FIELD_NUMBER = 1;
       private com.google.datastore.v1.PropertyReference property_;
       /**
-       *
-       *
        * 
        * The property to aggregate on.
        * 
* * .google.datastore.v1.PropertyReference property = 1; - * * @return Whether the property field is set. */ @java.lang.Override @@ -2269,25 +2047,18 @@ public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * The property to aggregate on.
        * 
* * .google.datastore.v1.PropertyReference property = 1; - * * @return The property. */ @java.lang.Override public com.google.datastore.v1.PropertyReference getProperty() { - return property_ == null - ? com.google.datastore.v1.PropertyReference.getDefaultInstance() - : property_; + return property_ == null ? com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; } /** - * - * *
        * The property to aggregate on.
        * 
@@ -2296,13 +2067,10 @@ public com.google.datastore.v1.PropertyReference getProperty() { */ @java.lang.Override public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() { - return property_ == null - ? com.google.datastore.v1.PropertyReference.getDefaultInstance() - : property_; + return property_ == null ? com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2314,7 +2082,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getProperty()); } @@ -2328,7 +2097,8 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getProperty()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getProperty()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2338,17 +2108,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.datastore.v1.AggregationQuery.Aggregation.Avg)) { return super.equals(obj); } - com.google.datastore.v1.AggregationQuery.Aggregation.Avg other = - (com.google.datastore.v1.AggregationQuery.Aggregation.Avg) obj; + com.google.datastore.v1.AggregationQuery.Aggregation.Avg other = (com.google.datastore.v1.AggregationQuery.Aggregation.Avg) obj; if (hasProperty() != other.hasProperty()) return false; if (hasProperty()) { - if (!getProperty().equals(other.getProperty())) return false; + if (!getProperty() + .equals(other.getProperty())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2371,94 +2141,89 @@ public int hashCode() { } public static com.google.datastore.v1.AggregationQuery.Aggregation.Avg 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.datastore.v1.AggregationQuery.Aggregation.Avg parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.AggregationQuery.Aggregation.Avg parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.AggregationQuery.Aggregation.Avg parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.AggregationQuery.Aggregation.Avg parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.AggregationQuery.Aggregation.Avg parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.datastore.v1.AggregationQuery.Aggregation.Avg parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.datastore.v1.AggregationQuery.Aggregation.Avg parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.AggregationQuery.Aggregation.Avg parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.AggregationQuery.Aggregation.Avg parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.AggregationQuery.Aggregation.Avg parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.v1.AggregationQuery.Aggregation.Avg parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.AggregationQuery.Aggregation.Avg parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.AggregationQuery.Aggregation.Avg parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.datastore.v1.AggregationQuery.Aggregation.Avg prototype) { + public static Builder newBuilder(com.google.datastore.v1.AggregationQuery.Aggregation.Avg prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2468,8 +2233,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
        * Average of the values of the requested property.
        *
@@ -2486,24 +2249,21 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.datastore.v1.AggregationQuery.Aggregation.Avg}
        */
-      public static final class Builder
-          extends com.google.protobuf.GeneratedMessageV3.Builder
-          implements
+      public static final class Builder extends
+          com.google.protobuf.GeneratedMessageV3.Builder implements
           // @@protoc_insertion_point(builder_implements:google.datastore.v1.AggregationQuery.Aggregation.Avg)
           com.google.datastore.v1.AggregationQuery.Aggregation.AvgOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-          return com.google.datastore.v1.QueryProto
-              .internal_static_google_datastore_v1_AggregationQuery_Aggregation_Avg_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_Avg_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.datastore.v1.QueryProto
-              .internal_static_google_datastore_v1_AggregationQuery_Aggregation_Avg_fieldAccessorTable
+          return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_Avg_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.datastore.v1.AggregationQuery.Aggregation.Avg.class,
-                  com.google.datastore.v1.AggregationQuery.Aggregation.Avg.Builder.class);
+                  com.google.datastore.v1.AggregationQuery.Aggregation.Avg.class, com.google.datastore.v1.AggregationQuery.Aggregation.Avg.Builder.class);
         }
 
         // Construct using com.google.datastore.v1.AggregationQuery.Aggregation.Avg.newBuilder()
@@ -2511,17 +2271,17 @@ 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) {
+          if (com.google.protobuf.GeneratedMessageV3
+                  .alwaysUseFieldBuilders) {
             getPropertyFieldBuilder();
           }
         }
-
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -2535,14 +2295,13 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-          return com.google.datastore.v1.QueryProto
-              .internal_static_google_datastore_v1_AggregationQuery_Aggregation_Avg_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor
+            getDescriptorForType() {
+          return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_Avg_descriptor;
         }
 
         @java.lang.Override
-        public com.google.datastore.v1.AggregationQuery.Aggregation.Avg
-            getDefaultInstanceForType() {
+        public com.google.datastore.v1.AggregationQuery.Aggregation.Avg getDefaultInstanceForType() {
           return com.google.datastore.v1.AggregationQuery.Aggregation.Avg.getDefaultInstance();
         }
 
@@ -2557,21 +2316,19 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Avg build() {
 
         @java.lang.Override
         public com.google.datastore.v1.AggregationQuery.Aggregation.Avg buildPartial() {
-          com.google.datastore.v1.AggregationQuery.Aggregation.Avg result =
-              new com.google.datastore.v1.AggregationQuery.Aggregation.Avg(this);
-          if (bitField0_ != 0) {
-            buildPartial0(result);
-          }
+          com.google.datastore.v1.AggregationQuery.Aggregation.Avg result = new com.google.datastore.v1.AggregationQuery.Aggregation.Avg(this);
+          if (bitField0_ != 0) { buildPartial0(result); }
           onBuilt();
           return result;
         }
 
-        private void buildPartial0(
-            com.google.datastore.v1.AggregationQuery.Aggregation.Avg result) {
+        private void buildPartial0(com.google.datastore.v1.AggregationQuery.Aggregation.Avg result) {
           int from_bitField0_ = bitField0_;
           int to_bitField0_ = 0;
           if (((from_bitField0_ & 0x00000001) != 0)) {
-            result.property_ = propertyBuilder_ == null ? property_ : propertyBuilder_.build();
+            result.property_ = propertyBuilder_ == null
+                ? property_
+                : propertyBuilder_.build();
             to_bitField0_ |= 0x00000001;
           }
           result.bitField0_ |= to_bitField0_;
@@ -2581,41 +2338,38 @@ private void buildPartial0(
         public Builder clone() {
           return super.clone();
         }
-
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field,
+            java.lang.Object value) {
           return super.setField(field, value);
         }
-
         @java.lang.Override
-        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+        public Builder clearField(
+            com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
-
         @java.lang.Override
-        public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        public Builder clearOneof(
+            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
           return super.clearOneof(oneof);
         }
-
         @java.lang.Override
         public Builder setRepeatedField(
             com.google.protobuf.Descriptors.FieldDescriptor field,
-            int index,
-            java.lang.Object value) {
+            int index, java.lang.Object value) {
           return super.setRepeatedField(field, index, value);
         }
-
         @java.lang.Override
         public Builder addRepeatedField(
-            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field,
+            java.lang.Object value) {
           return super.addRepeatedField(field, value);
         }
-
         @java.lang.Override
         public Builder mergeFrom(com.google.protobuf.Message other) {
           if (other instanceof com.google.datastore.v1.AggregationQuery.Aggregation.Avg) {
-            return mergeFrom((com.google.datastore.v1.AggregationQuery.Aggregation.Avg) other);
+            return mergeFrom((com.google.datastore.v1.AggregationQuery.Aggregation.Avg)other);
           } else {
             super.mergeFrom(other);
             return this;
@@ -2623,9 +2377,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
         }
 
         public Builder mergeFrom(com.google.datastore.v1.AggregationQuery.Aggregation.Avg other) {
-          if (other
-              == com.google.datastore.v1.AggregationQuery.Aggregation.Avg.getDefaultInstance())
-            return this;
+          if (other == com.google.datastore.v1.AggregationQuery.Aggregation.Avg.getDefaultInstance()) return this;
           if (other.hasProperty()) {
             mergeProperty(other.getProperty());
           }
@@ -2655,19 +2407,19 @@ public Builder mergeFrom(
                 case 0:
                   done = true;
                   break;
-                case 10:
-                  {
-                    input.readMessage(getPropertyFieldBuilder().getBuilder(), extensionRegistry);
-                    bitField0_ |= 0x00000001;
-                    break;
-                  } // case 10
-                default:
-                  {
-                    if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                      done = true; // was an endgroup tag
-                    }
-                    break;
-                  } // default:
+                case 10: {
+                  input.readMessage(
+                      getPropertyFieldBuilder().getBuilder(),
+                      extensionRegistry);
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+                default: {
+                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                    done = true; // was an endgroup tag
+                  }
+                  break;
+                } // default:
               } // switch (tag)
             } // while (!done)
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2677,52 +2429,38 @@ public Builder mergeFrom(
           } // finally
           return this;
         }
-
         private int bitField0_;
 
         private com.google.datastore.v1.PropertyReference property_;
         private com.google.protobuf.SingleFieldBuilderV3<
-                com.google.datastore.v1.PropertyReference,
-                com.google.datastore.v1.PropertyReference.Builder,
-                com.google.datastore.v1.PropertyReferenceOrBuilder>
-            propertyBuilder_;
+            com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder> propertyBuilder_;
         /**
-         *
-         *
          * 
          * The property to aggregate on.
          * 
* * .google.datastore.v1.PropertyReference property = 1; - * * @return Whether the property field is set. */ public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
          * The property to aggregate on.
          * 
* * .google.datastore.v1.PropertyReference property = 1; - * * @return The property. */ public com.google.datastore.v1.PropertyReference getProperty() { if (propertyBuilder_ == null) { - return property_ == null - ? com.google.datastore.v1.PropertyReference.getDefaultInstance() - : property_; + return property_ == null ? com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; } else { return propertyBuilder_.getMessage(); } } /** - * - * *
          * The property to aggregate on.
          * 
@@ -2743,8 +2481,6 @@ public Builder setProperty(com.google.datastore.v1.PropertyReference value) { return this; } /** - * - * *
          * The property to aggregate on.
          * 
@@ -2763,8 +2499,6 @@ public Builder setProperty( return this; } /** - * - * *
          * The property to aggregate on.
          * 
@@ -2773,9 +2507,9 @@ public Builder setProperty( */ public Builder mergeProperty(com.google.datastore.v1.PropertyReference value) { if (propertyBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && property_ != null - && property_ != com.google.datastore.v1.PropertyReference.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + property_ != null && + property_ != com.google.datastore.v1.PropertyReference.getDefaultInstance()) { getPropertyBuilder().mergeFrom(value); } else { property_ = value; @@ -2790,8 +2524,6 @@ public Builder mergeProperty(com.google.datastore.v1.PropertyReference value) { return this; } /** - * - * *
          * The property to aggregate on.
          * 
@@ -2809,8 +2541,6 @@ public Builder clearProperty() { return this; } /** - * - * *
          * The property to aggregate on.
          * 
@@ -2823,8 +2553,6 @@ public com.google.datastore.v1.PropertyReference.Builder getPropertyBuilder() { return getPropertyFieldBuilder().getBuilder(); } /** - * - * *
          * The property to aggregate on.
          * 
@@ -2835,14 +2563,11 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() if (propertyBuilder_ != null) { return propertyBuilder_.getMessageOrBuilder(); } else { - return property_ == null - ? com.google.datastore.v1.PropertyReference.getDefaultInstance() - : property_; + return property_ == null ? + com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; } } /** - * - * *
          * The property to aggregate on.
          * 
@@ -2850,22 +2575,18 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() * .google.datastore.v1.PropertyReference property = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyReference, - com.google.datastore.v1.PropertyReference.Builder, - com.google.datastore.v1.PropertyReferenceOrBuilder> + com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder> getPropertyFieldBuilder() { if (propertyBuilder_ == null) { - propertyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyReference, - com.google.datastore.v1.PropertyReference.Builder, - com.google.datastore.v1.PropertyReferenceOrBuilder>( - getProperty(), getParentForChildren(), isClean()); + propertyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder>( + getProperty(), + getParentForChildren(), + isClean()); property_ = null; } return propertyBuilder_; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2878,13 +2599,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.v1.AggregationQuery.Aggregation.Avg) } // @@protoc_insertion_point(class_scope:google.datastore.v1.AggregationQuery.Aggregation.Avg) - private static final com.google.datastore.v1.AggregationQuery.Aggregation.Avg - DEFAULT_INSTANCE; - + private static final com.google.datastore.v1.AggregationQuery.Aggregation.Avg DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.datastore.v1.AggregationQuery.Aggregation.Avg(); } @@ -2893,28 +2613,27 @@ public static com.google.datastore.v1.AggregationQuery.Aggregation.Avg getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Avg parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Avg parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2929,23 +2648,20 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.AggregationQuery.Aggregation.Avg getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int operatorCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object operator_; - public enum OperatorCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { COUNT(1), SUM(2), AVG(3), OPERATOR_NOT_SET(0); private final int value; - private OperatorCase(int value) { this.value = value; } @@ -2961,38 +2677,31 @@ public static OperatorCase valueOf(int value) { public static OperatorCase forNumber(int value) { switch (value) { - case 1: - return COUNT; - case 2: - return SUM; - case 3: - return AVG; - case 0: - return OPERATOR_NOT_SET; - default: - return null; + case 1: return COUNT; + case 2: return SUM; + case 3: return AVG; + 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.datastore.v1.AggregationQuery.Aggregation.Count count = 1; - * * @return Whether the count field is set. */ @java.lang.Override @@ -3000,26 +2709,21 @@ public boolean hasCount() { return operatorCase_ == 1; } /** - * - * *
      * Count aggregator.
      * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Count count = 1; - * * @return The count. */ @java.lang.Override public com.google.datastore.v1.AggregationQuery.Aggregation.Count getCount() { if (operatorCase_ == 1) { - return (com.google.datastore.v1.AggregationQuery.Aggregation.Count) operator_; + return (com.google.datastore.v1.AggregationQuery.Aggregation.Count) operator_; } return com.google.datastore.v1.AggregationQuery.Aggregation.Count.getDefaultInstance(); } /** - * - * *
      * Count aggregator.
      * 
@@ -3029,21 +2733,18 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Count getCount() { @java.lang.Override public com.google.datastore.v1.AggregationQuery.Aggregation.CountOrBuilder getCountOrBuilder() { if (operatorCase_ == 1) { - return (com.google.datastore.v1.AggregationQuery.Aggregation.Count) operator_; + return (com.google.datastore.v1.AggregationQuery.Aggregation.Count) operator_; } return com.google.datastore.v1.AggregationQuery.Aggregation.Count.getDefaultInstance(); } public static final int SUM_FIELD_NUMBER = 2; /** - * - * *
      * Sum aggregator.
      * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Sum sum = 2; - * * @return Whether the sum field is set. */ @java.lang.Override @@ -3051,26 +2752,21 @@ public boolean hasSum() { return operatorCase_ == 2; } /** - * - * *
      * Sum aggregator.
      * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Sum sum = 2; - * * @return The sum. */ @java.lang.Override public com.google.datastore.v1.AggregationQuery.Aggregation.Sum getSum() { if (operatorCase_ == 2) { - return (com.google.datastore.v1.AggregationQuery.Aggregation.Sum) operator_; + return (com.google.datastore.v1.AggregationQuery.Aggregation.Sum) operator_; } return com.google.datastore.v1.AggregationQuery.Aggregation.Sum.getDefaultInstance(); } /** - * - * *
      * Sum aggregator.
      * 
@@ -3080,21 +2776,18 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Sum getSum() { @java.lang.Override public com.google.datastore.v1.AggregationQuery.Aggregation.SumOrBuilder getSumOrBuilder() { if (operatorCase_ == 2) { - return (com.google.datastore.v1.AggregationQuery.Aggregation.Sum) operator_; + return (com.google.datastore.v1.AggregationQuery.Aggregation.Sum) operator_; } return com.google.datastore.v1.AggregationQuery.Aggregation.Sum.getDefaultInstance(); } public static final int AVG_FIELD_NUMBER = 3; /** - * - * *
      * Average aggregator.
      * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Avg avg = 3; - * * @return Whether the avg field is set. */ @java.lang.Override @@ -3102,26 +2795,21 @@ public boolean hasAvg() { return operatorCase_ == 3; } /** - * - * *
      * Average aggregator.
      * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Avg avg = 3; - * * @return The avg. */ @java.lang.Override public com.google.datastore.v1.AggregationQuery.Aggregation.Avg getAvg() { if (operatorCase_ == 3) { - return (com.google.datastore.v1.AggregationQuery.Aggregation.Avg) operator_; + return (com.google.datastore.v1.AggregationQuery.Aggregation.Avg) operator_; } return com.google.datastore.v1.AggregationQuery.Aggregation.Avg.getDefaultInstance(); } /** - * - * *
      * Average aggregator.
      * 
@@ -3131,18 +2819,15 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Avg getAvg() { @java.lang.Override public com.google.datastore.v1.AggregationQuery.Aggregation.AvgOrBuilder getAvgOrBuilder() { if (operatorCase_ == 3) { - return (com.google.datastore.v1.AggregationQuery.Aggregation.Avg) operator_; + return (com.google.datastore.v1.AggregationQuery.Aggregation.Avg) operator_; } return com.google.datastore.v1.AggregationQuery.Aggregation.Avg.getDefaultInstance(); } public static final int ALIAS_FIELD_NUMBER = 7; - @SuppressWarnings("serial") private volatile java.lang.Object alias_ = ""; /** - * - * *
      * Optional. Optional name of the property to store the result of the
      * aggregation.
@@ -3182,7 +2867,6 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.AvgOrBuilder getAvgO
      * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The alias. */ @java.lang.Override @@ -3191,15 +2875,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 property to store the result of the
      * aggregation.
@@ -3239,15 +2922,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 { @@ -3256,7 +2940,6 @@ public com.google.protobuf.ByteString getAliasBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3268,18 +2951,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 (operatorCase_ == 1) { - output.writeMessage( - 1, (com.google.datastore.v1.AggregationQuery.Aggregation.Count) operator_); + output.writeMessage(1, (com.google.datastore.v1.AggregationQuery.Aggregation.Count) operator_); } if (operatorCase_ == 2) { - output.writeMessage( - 2, (com.google.datastore.v1.AggregationQuery.Aggregation.Sum) operator_); + output.writeMessage(2, (com.google.datastore.v1.AggregationQuery.Aggregation.Sum) operator_); } if (operatorCase_ == 3) { - output.writeMessage( - 3, (com.google.datastore.v1.AggregationQuery.Aggregation.Avg) operator_); + output.writeMessage(3, (com.google.datastore.v1.AggregationQuery.Aggregation.Avg) operator_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(alias_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, alias_); @@ -3294,19 +2975,16 @@ public int getSerializedSize() { size = 0; if (operatorCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.datastore.v1.AggregationQuery.Aggregation.Count) operator_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.datastore.v1.AggregationQuery.Aggregation.Count) operator_); } if (operatorCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.datastore.v1.AggregationQuery.Aggregation.Sum) operator_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.datastore.v1.AggregationQuery.Aggregation.Sum) operator_); } if (operatorCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.datastore.v1.AggregationQuery.Aggregation.Avg) operator_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.datastore.v1.AggregationQuery.Aggregation.Avg) operator_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(alias_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, alias_); @@ -3319,25 +2997,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.datastore.v1.AggregationQuery.Aggregation)) { return super.equals(obj); } - com.google.datastore.v1.AggregationQuery.Aggregation other = - (com.google.datastore.v1.AggregationQuery.Aggregation) obj; + com.google.datastore.v1.AggregationQuery.Aggregation other = (com.google.datastore.v1.AggregationQuery.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 2: - if (!getSum().equals(other.getSum())) return false; + if (!getSum() + .equals(other.getSum())) return false; break; case 3: - if (!getAvg().equals(other.getAvg())) return false; + if (!getAvg() + .equals(other.getAvg())) return false; break; case 0: default: @@ -3377,94 +3058,89 @@ public int hashCode() { } public static com.google.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.Aggregation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.Aggregation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.Aggregation parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.datastore.v1.AggregationQuery.Aggregation parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.Aggregation parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.AggregationQuery.Aggregation parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.Aggregation prototype) { + public static Builder newBuilder(com.google.datastore.v1.AggregationQuery.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 @@ -3474,41 +3150,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Defines an aggregation that produces a single result.
      * 
* * Protobuf type {@code google.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.Aggregation) com.google.datastore.v1.AggregationQuery.AggregationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_AggregationQuery_Aggregation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_AggregationQuery_Aggregation_fieldAccessorTable + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.AggregationQuery.Aggregation.class, - com.google.datastore.v1.AggregationQuery.Aggregation.Builder.class); + com.google.datastore.v1.AggregationQuery.Aggregation.class, com.google.datastore.v1.AggregationQuery.Aggregation.Builder.class); } // Construct using com.google.datastore.v1.AggregationQuery.Aggregation.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -3529,9 +3203,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_AggregationQuery_Aggregation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_descriptor; } @java.lang.Override @@ -3550,11 +3224,8 @@ public com.google.datastore.v1.AggregationQuery.Aggregation build() { @java.lang.Override public com.google.datastore.v1.AggregationQuery.Aggregation buildPartial() { - com.google.datastore.v1.AggregationQuery.Aggregation result = - new com.google.datastore.v1.AggregationQuery.Aggregation(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.datastore.v1.AggregationQuery.Aggregation result = new com.google.datastore.v1.AggregationQuery.Aggregation(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -3570,13 +3241,16 @@ private void buildPartial0(com.google.datastore.v1.AggregationQuery.Aggregation private void buildPartialOneofs(com.google.datastore.v1.AggregationQuery.Aggregation result) { result.operatorCase_ = operatorCase_; result.operator_ = this.operator_; - if (operatorCase_ == 1 && countBuilder_ != null) { + if (operatorCase_ == 1 && + countBuilder_ != null) { result.operator_ = countBuilder_.build(); } - if (operatorCase_ == 2 && sumBuilder_ != null) { + if (operatorCase_ == 2 && + sumBuilder_ != null) { result.operator_ = sumBuilder_.build(); } - if (operatorCase_ == 3 && avgBuilder_ != null) { + if (operatorCase_ == 3 && + avgBuilder_ != null) { result.operator_ = avgBuilder_.build(); } } @@ -3585,41 +3259,38 @@ private void buildPartialOneofs(com.google.datastore.v1.AggregationQuery.Aggrega public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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.datastore.v1.AggregationQuery.Aggregation) { - return mergeFrom((com.google.datastore.v1.AggregationQuery.Aggregation) other); + return mergeFrom((com.google.datastore.v1.AggregationQuery.Aggregation)other); } else { super.mergeFrom(other); return this; @@ -3627,33 +3298,28 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.datastore.v1.AggregationQuery.Aggregation other) { - if (other == com.google.datastore.v1.AggregationQuery.Aggregation.getDefaultInstance()) - return this; + if (other == com.google.datastore.v1.AggregationQuery.Aggregation.getDefaultInstance()) return this; if (!other.getAlias().isEmpty()) { alias_ = other.alias_; bitField0_ |= 0x00000008; onChanged(); } switch (other.getOperatorCase()) { - case COUNT: - { - mergeCount(other.getCount()); - break; - } - case SUM: - { - mergeSum(other.getSum()); - break; - } - case AVG: - { - mergeAvg(other.getAvg()); - break; - } - case OPERATOR_NOT_SET: - { - break; - } + case COUNT: { + mergeCount(other.getCount()); + break; + } + case SUM: { + mergeSum(other.getSum()); + break; + } + case AVG: { + mergeAvg(other.getAvg()); + break; + } + case OPERATOR_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -3681,37 +3347,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCountFieldBuilder().getBuilder(), extensionRegistry); - operatorCase_ = 1; - break; - } // case 10 - case 18: - { - input.readMessage(getSumFieldBuilder().getBuilder(), extensionRegistry); - operatorCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage(getAvgFieldBuilder().getBuilder(), extensionRegistry); - operatorCase_ = 3; - break; - } // case 26 - case 58: - { - alias_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getCountFieldBuilder().getBuilder(), + extensionRegistry); + operatorCase_ = 1; + break; + } // case 10 + case 18: { + input.readMessage( + getSumFieldBuilder().getBuilder(), + extensionRegistry); + operatorCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getAvgFieldBuilder().getBuilder(), + extensionRegistry); + operatorCase_ = 3; + break; + } // case 26 + case 58: { + alias_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + 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) { @@ -3721,12 +3388,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() { @@ -3739,19 +3406,13 @@ public Builder clearOperator() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationQuery.Aggregation.Count, - com.google.datastore.v1.AggregationQuery.Aggregation.Count.Builder, - com.google.datastore.v1.AggregationQuery.Aggregation.CountOrBuilder> - countBuilder_; + com.google.datastore.v1.AggregationQuery.Aggregation.Count, com.google.datastore.v1.AggregationQuery.Aggregation.Count.Builder, com.google.datastore.v1.AggregationQuery.Aggregation.CountOrBuilder> countBuilder_; /** - * - * *
        * Count aggregator.
        * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Count count = 1; - * * @return Whether the count field is set. */ @java.lang.Override @@ -3759,14 +3420,11 @@ public boolean hasCount() { return operatorCase_ == 1; } /** - * - * *
        * Count aggregator.
        * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Count count = 1; - * * @return The count. */ @java.lang.Override @@ -3784,8 +3442,6 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Count getCount() { } } /** - * - * *
        * Count aggregator.
        * 
@@ -3806,8 +3462,6 @@ public Builder setCount(com.google.datastore.v1.AggregationQuery.Aggregation.Cou return this; } /** - * - * *
        * Count aggregator.
        * 
@@ -3826,8 +3480,6 @@ public Builder setCount( return this; } /** - * - * *
        * Count aggregator.
        * 
@@ -3836,15 +3488,10 @@ public Builder setCount( */ public Builder mergeCount(com.google.datastore.v1.AggregationQuery.Aggregation.Count value) { if (countBuilder_ == null) { - if (operatorCase_ == 1 - && operator_ - != com.google.datastore.v1.AggregationQuery.Aggregation.Count - .getDefaultInstance()) { - operator_ = - com.google.datastore.v1.AggregationQuery.Aggregation.Count.newBuilder( - (com.google.datastore.v1.AggregationQuery.Aggregation.Count) operator_) - .mergeFrom(value) - .buildPartial(); + if (operatorCase_ == 1 && + operator_ != com.google.datastore.v1.AggregationQuery.Aggregation.Count.getDefaultInstance()) { + operator_ = com.google.datastore.v1.AggregationQuery.Aggregation.Count.newBuilder((com.google.datastore.v1.AggregationQuery.Aggregation.Count) operator_) + .mergeFrom(value).buildPartial(); } else { operator_ = value; } @@ -3860,8 +3507,6 @@ public Builder mergeCount(com.google.datastore.v1.AggregationQuery.Aggregation.C return this; } /** - * - * *
        * Count aggregator.
        * 
@@ -3885,8 +3530,6 @@ public Builder clearCount() { return this; } /** - * - * *
        * Count aggregator.
        * 
@@ -3897,8 +3540,6 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Count.Builder getCou return getCountFieldBuilder().getBuilder(); } /** - * - * *
        * Count aggregator.
        * 
@@ -3906,8 +3547,7 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Count.Builder getCou * .google.datastore.v1.AggregationQuery.Aggregation.Count count = 1; */ @java.lang.Override - public com.google.datastore.v1.AggregationQuery.Aggregation.CountOrBuilder - getCountOrBuilder() { + public com.google.datastore.v1.AggregationQuery.Aggregation.CountOrBuilder getCountOrBuilder() { if ((operatorCase_ == 1) && (countBuilder_ != null)) { return countBuilder_.getMessageOrBuilder(); } else { @@ -3918,8 +3558,6 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Count.Builder getCou } } /** - * - * *
        * Count aggregator.
        * 
@@ -3927,20 +3565,14 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Count.Builder getCou * .google.datastore.v1.AggregationQuery.Aggregation.Count count = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationQuery.Aggregation.Count, - com.google.datastore.v1.AggregationQuery.Aggregation.Count.Builder, - com.google.datastore.v1.AggregationQuery.Aggregation.CountOrBuilder> + com.google.datastore.v1.AggregationQuery.Aggregation.Count, com.google.datastore.v1.AggregationQuery.Aggregation.Count.Builder, com.google.datastore.v1.AggregationQuery.Aggregation.CountOrBuilder> getCountFieldBuilder() { if (countBuilder_ == null) { if (!(operatorCase_ == 1)) { - operator_ = - com.google.datastore.v1.AggregationQuery.Aggregation.Count.getDefaultInstance(); + operator_ = com.google.datastore.v1.AggregationQuery.Aggregation.Count.getDefaultInstance(); } - countBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationQuery.Aggregation.Count, - com.google.datastore.v1.AggregationQuery.Aggregation.Count.Builder, - com.google.datastore.v1.AggregationQuery.Aggregation.CountOrBuilder>( + countBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.AggregationQuery.Aggregation.Count, com.google.datastore.v1.AggregationQuery.Aggregation.Count.Builder, com.google.datastore.v1.AggregationQuery.Aggregation.CountOrBuilder>( (com.google.datastore.v1.AggregationQuery.Aggregation.Count) operator_, getParentForChildren(), isClean()); @@ -3952,19 +3584,13 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Count.Builder getCou } private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationQuery.Aggregation.Sum, - com.google.datastore.v1.AggregationQuery.Aggregation.Sum.Builder, - com.google.datastore.v1.AggregationQuery.Aggregation.SumOrBuilder> - sumBuilder_; - /** - * - * + com.google.datastore.v1.AggregationQuery.Aggregation.Sum, com.google.datastore.v1.AggregationQuery.Aggregation.Sum.Builder, com.google.datastore.v1.AggregationQuery.Aggregation.SumOrBuilder> sumBuilder_; + /** *
        * Sum aggregator.
        * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Sum sum = 2; - * * @return Whether the sum field is set. */ @java.lang.Override @@ -3972,14 +3598,11 @@ public boolean hasSum() { return operatorCase_ == 2; } /** - * - * *
        * Sum aggregator.
        * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Sum sum = 2; - * * @return The sum. */ @java.lang.Override @@ -3997,8 +3620,6 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Sum getSum() { } } /** - * - * *
        * Sum aggregator.
        * 
@@ -4019,8 +3640,6 @@ public Builder setSum(com.google.datastore.v1.AggregationQuery.Aggregation.Sum v return this; } /** - * - * *
        * Sum aggregator.
        * 
@@ -4039,8 +3658,6 @@ public Builder setSum( return this; } /** - * - * *
        * Sum aggregator.
        * 
@@ -4049,15 +3666,10 @@ public Builder setSum( */ public Builder mergeSum(com.google.datastore.v1.AggregationQuery.Aggregation.Sum value) { if (sumBuilder_ == null) { - if (operatorCase_ == 2 - && operator_ - != com.google.datastore.v1.AggregationQuery.Aggregation.Sum - .getDefaultInstance()) { - operator_ = - com.google.datastore.v1.AggregationQuery.Aggregation.Sum.newBuilder( - (com.google.datastore.v1.AggregationQuery.Aggregation.Sum) operator_) - .mergeFrom(value) - .buildPartial(); + if (operatorCase_ == 2 && + operator_ != com.google.datastore.v1.AggregationQuery.Aggregation.Sum.getDefaultInstance()) { + operator_ = com.google.datastore.v1.AggregationQuery.Aggregation.Sum.newBuilder((com.google.datastore.v1.AggregationQuery.Aggregation.Sum) operator_) + .mergeFrom(value).buildPartial(); } else { operator_ = value; } @@ -4073,8 +3685,6 @@ public Builder mergeSum(com.google.datastore.v1.AggregationQuery.Aggregation.Sum return this; } /** - * - * *
        * Sum aggregator.
        * 
@@ -4098,8 +3708,6 @@ public Builder clearSum() { return this; } /** - * - * *
        * Sum aggregator.
        * 
@@ -4110,8 +3718,6 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Sum.Builder getSumBu return getSumFieldBuilder().getBuilder(); } /** - * - * *
        * Sum aggregator.
        * 
@@ -4130,8 +3736,6 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.SumOrBuilder getSumO } } /** - * - * *
        * Sum aggregator.
        * 
@@ -4139,20 +3743,14 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.SumOrBuilder getSumO * .google.datastore.v1.AggregationQuery.Aggregation.Sum sum = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationQuery.Aggregation.Sum, - com.google.datastore.v1.AggregationQuery.Aggregation.Sum.Builder, - com.google.datastore.v1.AggregationQuery.Aggregation.SumOrBuilder> + com.google.datastore.v1.AggregationQuery.Aggregation.Sum, com.google.datastore.v1.AggregationQuery.Aggregation.Sum.Builder, com.google.datastore.v1.AggregationQuery.Aggregation.SumOrBuilder> getSumFieldBuilder() { if (sumBuilder_ == null) { if (!(operatorCase_ == 2)) { - operator_ = - com.google.datastore.v1.AggregationQuery.Aggregation.Sum.getDefaultInstance(); + operator_ = com.google.datastore.v1.AggregationQuery.Aggregation.Sum.getDefaultInstance(); } - sumBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationQuery.Aggregation.Sum, - com.google.datastore.v1.AggregationQuery.Aggregation.Sum.Builder, - com.google.datastore.v1.AggregationQuery.Aggregation.SumOrBuilder>( + sumBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.AggregationQuery.Aggregation.Sum, com.google.datastore.v1.AggregationQuery.Aggregation.Sum.Builder, com.google.datastore.v1.AggregationQuery.Aggregation.SumOrBuilder>( (com.google.datastore.v1.AggregationQuery.Aggregation.Sum) operator_, getParentForChildren(), isClean()); @@ -4164,19 +3762,13 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.SumOrBuilder getSumO } private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationQuery.Aggregation.Avg, - com.google.datastore.v1.AggregationQuery.Aggregation.Avg.Builder, - com.google.datastore.v1.AggregationQuery.Aggregation.AvgOrBuilder> - avgBuilder_; + com.google.datastore.v1.AggregationQuery.Aggregation.Avg, com.google.datastore.v1.AggregationQuery.Aggregation.Avg.Builder, com.google.datastore.v1.AggregationQuery.Aggregation.AvgOrBuilder> avgBuilder_; /** - * - * *
        * Average aggregator.
        * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Avg avg = 3; - * * @return Whether the avg field is set. */ @java.lang.Override @@ -4184,14 +3776,11 @@ public boolean hasAvg() { return operatorCase_ == 3; } /** - * - * *
        * Average aggregator.
        * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Avg avg = 3; - * * @return The avg. */ @java.lang.Override @@ -4209,8 +3798,6 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Avg getAvg() { } } /** - * - * *
        * Average aggregator.
        * 
@@ -4231,8 +3818,6 @@ public Builder setAvg(com.google.datastore.v1.AggregationQuery.Aggregation.Avg v return this; } /** - * - * *
        * Average aggregator.
        * 
@@ -4251,8 +3836,6 @@ public Builder setAvg( return this; } /** - * - * *
        * Average aggregator.
        * 
@@ -4261,15 +3844,10 @@ public Builder setAvg( */ public Builder mergeAvg(com.google.datastore.v1.AggregationQuery.Aggregation.Avg value) { if (avgBuilder_ == null) { - if (operatorCase_ == 3 - && operator_ - != com.google.datastore.v1.AggregationQuery.Aggregation.Avg - .getDefaultInstance()) { - operator_ = - com.google.datastore.v1.AggregationQuery.Aggregation.Avg.newBuilder( - (com.google.datastore.v1.AggregationQuery.Aggregation.Avg) operator_) - .mergeFrom(value) - .buildPartial(); + if (operatorCase_ == 3 && + operator_ != com.google.datastore.v1.AggregationQuery.Aggregation.Avg.getDefaultInstance()) { + operator_ = com.google.datastore.v1.AggregationQuery.Aggregation.Avg.newBuilder((com.google.datastore.v1.AggregationQuery.Aggregation.Avg) operator_) + .mergeFrom(value).buildPartial(); } else { operator_ = value; } @@ -4285,8 +3863,6 @@ public Builder mergeAvg(com.google.datastore.v1.AggregationQuery.Aggregation.Avg return this; } /** - * - * *
        * Average aggregator.
        * 
@@ -4310,8 +3886,6 @@ public Builder clearAvg() { return this; } /** - * - * *
        * Average aggregator.
        * 
@@ -4322,8 +3896,6 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Avg.Builder getAvgBu return getAvgFieldBuilder().getBuilder(); } /** - * - * *
        * Average aggregator.
        * 
@@ -4342,8 +3914,6 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.AvgOrBuilder getAvgO } } /** - * - * *
        * Average aggregator.
        * 
@@ -4351,20 +3921,14 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.AvgOrBuilder getAvgO * .google.datastore.v1.AggregationQuery.Aggregation.Avg avg = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationQuery.Aggregation.Avg, - com.google.datastore.v1.AggregationQuery.Aggregation.Avg.Builder, - com.google.datastore.v1.AggregationQuery.Aggregation.AvgOrBuilder> + com.google.datastore.v1.AggregationQuery.Aggregation.Avg, com.google.datastore.v1.AggregationQuery.Aggregation.Avg.Builder, com.google.datastore.v1.AggregationQuery.Aggregation.AvgOrBuilder> getAvgFieldBuilder() { if (avgBuilder_ == null) { if (!(operatorCase_ == 3)) { - operator_ = - com.google.datastore.v1.AggregationQuery.Aggregation.Avg.getDefaultInstance(); + operator_ = com.google.datastore.v1.AggregationQuery.Aggregation.Avg.getDefaultInstance(); } - avgBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationQuery.Aggregation.Avg, - com.google.datastore.v1.AggregationQuery.Aggregation.Avg.Builder, - com.google.datastore.v1.AggregationQuery.Aggregation.AvgOrBuilder>( + avgBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.AggregationQuery.Aggregation.Avg, com.google.datastore.v1.AggregationQuery.Aggregation.Avg.Builder, com.google.datastore.v1.AggregationQuery.Aggregation.AvgOrBuilder>( (com.google.datastore.v1.AggregationQuery.Aggregation.Avg) operator_, getParentForChildren(), isClean()); @@ -4377,8 +3941,6 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.AvgOrBuilder getAvgO private java.lang.Object alias_ = ""; /** - * - * *
        * Optional. Optional name of the property to store the result of the
        * aggregation.
@@ -4418,13 +3980,13 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.AvgOrBuilder getAvgO
        * 
* * 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; @@ -4433,8 +3995,6 @@ public java.lang.String getAlias() { } } /** - * - * *
        * Optional. Optional name of the property to store the result of the
        * aggregation.
@@ -4474,14 +4034,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 { @@ -4489,8 +4050,6 @@ public com.google.protobuf.ByteString getAliasBytes() { } } /** - * - * *
        * Optional. Optional name of the property to store the result of the
        * aggregation.
@@ -4530,22 +4089,18 @@ public com.google.protobuf.ByteString getAliasBytes() {
        * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The alias to set. * @return This builder for chaining. */ - public Builder setAlias(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAlias( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } alias_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
        * Optional. Optional name of the property to store the result of the
        * aggregation.
@@ -4585,7 +4140,6 @@ public Builder setAlias(java.lang.String value) {
        * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAlias() { @@ -4595,8 +4149,6 @@ public Builder clearAlias() { return this; } /** - * - * *
        * Optional. Optional name of the property to store the result of the
        * aggregation.
@@ -4636,21 +4188,18 @@ public Builder clearAlias() {
        * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The bytes for alias to set. * @return This builder for chaining. */ - public Builder setAliasBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setAliasBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); alias_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4663,12 +4212,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.v1.AggregationQuery.Aggregation) } // @@protoc_insertion_point(class_scope:google.datastore.v1.AggregationQuery.Aggregation) private static final com.google.datastore.v1.AggregationQuery.Aggregation DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.v1.AggregationQuery.Aggregation(); } @@ -4677,28 +4226,27 @@ public static com.google.datastore.v1.AggregationQuery.Aggregation getDefaultIns 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; @@ -4713,21 +4261,18 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.AggregationQuery.Aggregation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int queryTypeCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object queryType_; - public enum QueryTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { NESTED_QUERY(1), QUERYTYPE_NOT_SET(0); private final int value; - private QueryTypeCase(int value) { this.value = value; } @@ -4743,34 +4288,29 @@ public static QueryTypeCase valueOf(int value) { public static QueryTypeCase forNumber(int value) { switch (value) { - case 1: - return NESTED_QUERY; - case 0: - return QUERYTYPE_NOT_SET; - default: - return null; + case 1: return NESTED_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 NESTED_QUERY_FIELD_NUMBER = 1; /** - * - * *
    * Nested query for aggregation
    * 
* * .google.datastore.v1.Query nested_query = 1; - * * @return Whether the nestedQuery field is set. */ @java.lang.Override @@ -4778,26 +4318,21 @@ public boolean hasNestedQuery() { return queryTypeCase_ == 1; } /** - * - * *
    * Nested query for aggregation
    * 
* * .google.datastore.v1.Query nested_query = 1; - * * @return The nestedQuery. */ @java.lang.Override public com.google.datastore.v1.Query getNestedQuery() { if (queryTypeCase_ == 1) { - return (com.google.datastore.v1.Query) queryType_; + return (com.google.datastore.v1.Query) queryType_; } return com.google.datastore.v1.Query.getDefaultInstance(); } /** - * - * *
    * Nested query for aggregation
    * 
@@ -4807,18 +4342,15 @@ public com.google.datastore.v1.Query getNestedQuery() { @java.lang.Override public com.google.datastore.v1.QueryOrBuilder getNestedQueryOrBuilder() { if (queryTypeCase_ == 1) { - return (com.google.datastore.v1.Query) queryType_; + return (com.google.datastore.v1.Query) queryType_; } return com.google.datastore.v1.Query.getDefaultInstance(); } public static final int AGGREGATIONS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List aggregations_; /** - * - * *
    * Optional. Series of aggregations to apply over the results of the
    * `nested_query`.
@@ -4828,18 +4360,13 @@ public com.google.datastore.v1.QueryOrBuilder getNestedQueryOrBuilder() {
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.datastore.v1.AggregationQuery.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
    * `nested_query`.
@@ -4849,18 +4376,14 @@ public com.google.datastore.v1.QueryOrBuilder getNestedQueryOrBuilder() {
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override - public java.util.List + public java.util.List getAggregationsOrBuilderList() { return aggregations_; } /** - * - * *
    * Optional. Series of aggregations to apply over the results of the
    * `nested_query`.
@@ -4870,17 +4393,13 @@ public com.google.datastore.v1.QueryOrBuilder getNestedQueryOrBuilder() {
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.datastore.v1.AggregationQuery.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
    * `nested_query`.
@@ -4890,17 +4409,13 @@ public int getAggregationsCount() {
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.datastore.v1.AggregationQuery.Aggregation getAggregations(int index) { return aggregations_.get(index); } /** - * - * *
    * Optional. Series of aggregations to apply over the results of the
    * `nested_query`.
@@ -4910,9 +4425,7 @@ public com.google.datastore.v1.AggregationQuery.Aggregation getAggregations(int
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.datastore.v1.AggregationQuery.AggregationOrBuilder getAggregationsOrBuilder( @@ -4921,7 +4434,6 @@ public com.google.datastore.v1.AggregationQuery.AggregationOrBuilder getAggregat } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4933,7 +4445,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (queryTypeCase_ == 1) { output.writeMessage(1, (com.google.datastore.v1.Query) queryType_); } @@ -4950,12 +4463,12 @@ public int getSerializedSize() { size = 0; if (queryTypeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.datastore.v1.Query) queryType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.datastore.v1.Query) 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; @@ -4965,18 +4478,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.datastore.v1.AggregationQuery)) { return super.equals(obj); } com.google.datastore.v1.AggregationQuery other = (com.google.datastore.v1.AggregationQuery) 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 (!getNestedQuery().equals(other.getNestedQuery())) return false; + if (!getNestedQuery() + .equals(other.getNestedQuery())) return false; break; case 0: default: @@ -5009,104 +4524,99 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.AggregationQuery parseFrom(java.nio.ByteBuffer data) + public static com.google.datastore.v1.AggregationQuery parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.AggregationQuery parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.AggregationQuery parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.AggregationQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.AggregationQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.AggregationQuery parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.AggregationQuery parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.AggregationQuery parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.AggregationQuery parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.AggregationQuery parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.v1.AggregationQuery parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.AggregationQuery parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.AggregationQuery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.datastore.v1.AggregationQuery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Datastore query for running an aggregation over a
    * [Query][google.datastore.v1.Query].
@@ -5114,32 +4624,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.datastore.v1.AggregationQuery}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.datastore.v1.AggregationQuery)
       com.google.datastore.v1.AggregationQueryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.datastore.v1.QueryProto
-          .internal_static_google_datastore_v1_AggregationQuery_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.QueryProto
-          .internal_static_google_datastore_v1_AggregationQuery_fieldAccessorTable
+      return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.AggregationQuery.class,
-              com.google.datastore.v1.AggregationQuery.Builder.class);
+              com.google.datastore.v1.AggregationQuery.class, com.google.datastore.v1.AggregationQuery.Builder.class);
     }
 
     // Construct using com.google.datastore.v1.AggregationQuery.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -5160,9 +4671,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.datastore.v1.QueryProto
-          .internal_static_google_datastore_v1_AggregationQuery_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_descriptor;
     }
 
     @java.lang.Override
@@ -5181,12 +4692,9 @@ public com.google.datastore.v1.AggregationQuery build() {
 
     @java.lang.Override
     public com.google.datastore.v1.AggregationQuery buildPartial() {
-      com.google.datastore.v1.AggregationQuery result =
-          new com.google.datastore.v1.AggregationQuery(this);
+      com.google.datastore.v1.AggregationQuery result = new com.google.datastore.v1.AggregationQuery(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -5211,7 +4719,8 @@ private void buildPartial0(com.google.datastore.v1.AggregationQuery result) {
     private void buildPartialOneofs(com.google.datastore.v1.AggregationQuery result) {
       result.queryTypeCase_ = queryTypeCase_;
       result.queryType_ = this.queryType_;
-      if (queryTypeCase_ == 1 && nestedQueryBuilder_ != null) {
+      if (queryTypeCase_ == 1 &&
+          nestedQueryBuilder_ != null) {
         result.queryType_ = nestedQueryBuilder_.build();
       }
     }
@@ -5220,39 +4729,38 @@ private void buildPartialOneofs(com.google.datastore.v1.AggregationQuery result)
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.AggregationQuery) {
-        return mergeFrom((com.google.datastore.v1.AggregationQuery) other);
+        return mergeFrom((com.google.datastore.v1.AggregationQuery)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -5279,25 +4787,22 @@ public Builder mergeFrom(com.google.datastore.v1.AggregationQuery other) {
             aggregationsBuilder_ = null;
             aggregations_ = other.aggregations_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            aggregationsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getAggregationsFieldBuilder()
-                    : null;
+            aggregationsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getAggregationsFieldBuilder() : null;
           } else {
             aggregationsBuilder_.addAllMessages(other.aggregations_);
           }
         }
       }
       switch (other.getQueryTypeCase()) {
-        case NESTED_QUERY:
-          {
-            mergeNestedQuery(other.getNestedQuery());
-            break;
-          }
-        case QUERYTYPE_NOT_SET:
-          {
-            break;
-          }
+        case NESTED_QUERY: {
+          mergeNestedQuery(other.getNestedQuery());
+          break;
+        }
+        case QUERYTYPE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -5325,33 +4830,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getNestedQueryFieldBuilder().getBuilder(), extensionRegistry);
-                queryTypeCase_ = 1;
-                break;
-              } // case 10
-            case 26:
-              {
-                com.google.datastore.v1.AggregationQuery.Aggregation m =
-                    input.readMessage(
-                        com.google.datastore.v1.AggregationQuery.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(
+                  getNestedQueryFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              queryTypeCase_ = 1;
+              break;
+            } // case 10
+            case 26: {
+              com.google.datastore.v1.AggregationQuery.Aggregation m =
+                  input.readMessage(
+                      com.google.datastore.v1.AggregationQuery.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) {
@@ -5361,12 +4865,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() {
@@ -5379,19 +4883,13 @@ public Builder clearQueryType() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.Query,
-            com.google.datastore.v1.Query.Builder,
-            com.google.datastore.v1.QueryOrBuilder>
-        nestedQueryBuilder_;
+        com.google.datastore.v1.Query, com.google.datastore.v1.Query.Builder, com.google.datastore.v1.QueryOrBuilder> nestedQueryBuilder_;
     /**
-     *
-     *
      * 
      * Nested query for aggregation
      * 
* * .google.datastore.v1.Query nested_query = 1; - * * @return Whether the nestedQuery field is set. */ @java.lang.Override @@ -5399,14 +4897,11 @@ public boolean hasNestedQuery() { return queryTypeCase_ == 1; } /** - * - * *
      * Nested query for aggregation
      * 
* * .google.datastore.v1.Query nested_query = 1; - * * @return The nestedQuery. */ @java.lang.Override @@ -5424,8 +4919,6 @@ public com.google.datastore.v1.Query getNestedQuery() { } } /** - * - * *
      * Nested query for aggregation
      * 
@@ -5446,15 +4939,14 @@ public Builder setNestedQuery(com.google.datastore.v1.Query value) { return this; } /** - * - * *
      * Nested query for aggregation
      * 
* * .google.datastore.v1.Query nested_query = 1; */ - public Builder setNestedQuery(com.google.datastore.v1.Query.Builder builderForValue) { + public Builder setNestedQuery( + com.google.datastore.v1.Query.Builder builderForValue) { if (nestedQueryBuilder_ == null) { queryType_ = builderForValue.build(); onChanged(); @@ -5465,8 +4957,6 @@ public Builder setNestedQuery(com.google.datastore.v1.Query.Builder builderForVa return this; } /** - * - * *
      * Nested query for aggregation
      * 
@@ -5475,12 +4965,10 @@ public Builder setNestedQuery(com.google.datastore.v1.Query.Builder builderForVa */ public Builder mergeNestedQuery(com.google.datastore.v1.Query value) { if (nestedQueryBuilder_ == null) { - if (queryTypeCase_ == 1 - && queryType_ != com.google.datastore.v1.Query.getDefaultInstance()) { - queryType_ = - com.google.datastore.v1.Query.newBuilder((com.google.datastore.v1.Query) queryType_) - .mergeFrom(value) - .buildPartial(); + if (queryTypeCase_ == 1 && + queryType_ != com.google.datastore.v1.Query.getDefaultInstance()) { + queryType_ = com.google.datastore.v1.Query.newBuilder((com.google.datastore.v1.Query) queryType_) + .mergeFrom(value).buildPartial(); } else { queryType_ = value; } @@ -5496,8 +4984,6 @@ public Builder mergeNestedQuery(com.google.datastore.v1.Query value) { return this; } /** - * - * *
      * Nested query for aggregation
      * 
@@ -5521,8 +5007,6 @@ public Builder clearNestedQuery() { return this; } /** - * - * *
      * Nested query for aggregation
      * 
@@ -5533,8 +5017,6 @@ public com.google.datastore.v1.Query.Builder getNestedQueryBuilder() { return getNestedQueryFieldBuilder().getBuilder(); } /** - * - * *
      * Nested query for aggregation
      * 
@@ -5553,8 +5035,6 @@ public com.google.datastore.v1.QueryOrBuilder getNestedQueryOrBuilder() { } } /** - * - * *
      * Nested query for aggregation
      * 
@@ -5562,20 +5042,17 @@ public com.google.datastore.v1.QueryOrBuilder getNestedQueryOrBuilder() { * .google.datastore.v1.Query nested_query = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Query, - com.google.datastore.v1.Query.Builder, - com.google.datastore.v1.QueryOrBuilder> + com.google.datastore.v1.Query, com.google.datastore.v1.Query.Builder, com.google.datastore.v1.QueryOrBuilder> getNestedQueryFieldBuilder() { if (nestedQueryBuilder_ == null) { if (!(queryTypeCase_ == 1)) { queryType_ = com.google.datastore.v1.Query.getDefaultInstance(); } - nestedQueryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Query, - com.google.datastore.v1.Query.Builder, - com.google.datastore.v1.QueryOrBuilder>( - (com.google.datastore.v1.Query) queryType_, getParentForChildren(), isClean()); + nestedQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.Query, com.google.datastore.v1.Query.Builder, com.google.datastore.v1.QueryOrBuilder>( + (com.google.datastore.v1.Query) queryType_, + getParentForChildren(), + isClean()); queryType_ = null; } queryTypeCase_ = 1; @@ -5584,26 +5061,18 @@ public com.google.datastore.v1.QueryOrBuilder getNestedQueryOrBuilder() { } private java.util.List aggregations_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAggregationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - aggregations_ = - new java.util.ArrayList( - aggregations_); + aggregations_ = new java.util.ArrayList(aggregations_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.AggregationQuery.Aggregation, - com.google.datastore.v1.AggregationQuery.Aggregation.Builder, - com.google.datastore.v1.AggregationQuery.AggregationOrBuilder> - aggregationsBuilder_; + com.google.datastore.v1.AggregationQuery.Aggregation, com.google.datastore.v1.AggregationQuery.Aggregation.Builder, com.google.datastore.v1.AggregationQuery.AggregationOrBuilder> aggregationsBuilder_; /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -5613,12 +5082,9 @@ private void ensureAggregationsIsMutable() {
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.datastore.v1.AggregationQuery.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 { @@ -5626,8 +5092,6 @@ private void ensureAggregationsIsMutable() { } } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -5637,9 +5101,7 @@ private void ensureAggregationsIsMutable() {
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public int getAggregationsCount() { if (aggregationsBuilder_ == null) { @@ -5649,8 +5111,6 @@ public int getAggregationsCount() { } } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -5660,9 +5120,7 @@ public int getAggregationsCount() {
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.datastore.v1.AggregationQuery.Aggregation getAggregations(int index) { if (aggregationsBuilder_ == null) { @@ -5672,8 +5130,6 @@ public com.google.datastore.v1.AggregationQuery.Aggregation getAggregations(int } } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -5683,9 +5139,7 @@ public com.google.datastore.v1.AggregationQuery.Aggregation getAggregations(int
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setAggregations( int index, com.google.datastore.v1.AggregationQuery.Aggregation value) { @@ -5702,8 +5156,6 @@ public Builder setAggregations( return this; } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -5713,9 +5165,7 @@ public Builder setAggregations(
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setAggregations( int index, com.google.datastore.v1.AggregationQuery.Aggregation.Builder builderForValue) { @@ -5729,8 +5179,6 @@ public Builder setAggregations( return this; } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -5740,9 +5188,7 @@ public Builder setAggregations(
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAggregations(com.google.datastore.v1.AggregationQuery.Aggregation value) { if (aggregationsBuilder_ == null) { @@ -5758,8 +5204,6 @@ public Builder addAggregations(com.google.datastore.v1.AggregationQuery.Aggregat return this; } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -5769,9 +5213,7 @@ public Builder addAggregations(com.google.datastore.v1.AggregationQuery.Aggregat
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAggregations( int index, com.google.datastore.v1.AggregationQuery.Aggregation value) { @@ -5788,8 +5230,6 @@ public Builder addAggregations( return this; } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -5799,9 +5239,7 @@ public Builder addAggregations(
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAggregations( com.google.datastore.v1.AggregationQuery.Aggregation.Builder builderForValue) { @@ -5815,8 +5253,6 @@ public Builder addAggregations( return this; } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -5826,9 +5262,7 @@ public Builder addAggregations(
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAggregations( int index, com.google.datastore.v1.AggregationQuery.Aggregation.Builder builderForValue) { @@ -5842,8 +5276,6 @@ public Builder addAggregations( return this; } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -5853,15 +5285,14 @@ public Builder addAggregations(
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder addAllAggregations( 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); @@ -5869,8 +5300,6 @@ public Builder addAllAggregations( return this; } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -5880,9 +5309,7 @@ public Builder addAllAggregations(
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearAggregations() { if (aggregationsBuilder_ == null) { @@ -5895,8 +5322,6 @@ public Builder clearAggregations() { return this; } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -5906,9 +5331,7 @@ public Builder clearAggregations() {
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder removeAggregations(int index) { if (aggregationsBuilder_ == null) { @@ -5921,8 +5344,6 @@ public Builder removeAggregations(int index) { return this; } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -5932,17 +5353,13 @@ public Builder removeAggregations(int index) {
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.datastore.v1.AggregationQuery.Aggregation.Builder getAggregationsBuilder( int index) { return getAggregationsFieldBuilder().getBuilder(index); } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -5952,21 +5369,16 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Builder getAggregati
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.datastore.v1.AggregationQuery.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
      * `nested_query`.
@@ -5976,12 +5388,10 @@ public com.google.datastore.v1.AggregationQuery.AggregationOrBuilder getAggregat
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - public java.util.List - getAggregationsOrBuilderList() { + public java.util.List + getAggregationsOrBuilderList() { if (aggregationsBuilder_ != null) { return aggregationsBuilder_.getMessageOrBuilderList(); } else { @@ -5989,8 +5399,6 @@ public com.google.datastore.v1.AggregationQuery.AggregationOrBuilder getAggregat } } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -6000,17 +5408,13 @@ public com.google.datastore.v1.AggregationQuery.AggregationOrBuilder getAggregat
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.datastore.v1.AggregationQuery.Aggregation.Builder addAggregationsBuilder() { - return getAggregationsFieldBuilder() - .addBuilder(com.google.datastore.v1.AggregationQuery.Aggregation.getDefaultInstance()); + return getAggregationsFieldBuilder().addBuilder( + com.google.datastore.v1.AggregationQuery.Aggregation.getDefaultInstance()); } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -6020,19 +5424,14 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Builder addAggregati
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.datastore.v1.AggregationQuery.Aggregation.Builder addAggregationsBuilder( int index) { - return getAggregationsFieldBuilder() - .addBuilder( - index, com.google.datastore.v1.AggregationQuery.Aggregation.getDefaultInstance()); + return getAggregationsFieldBuilder().addBuilder( + index, com.google.datastore.v1.AggregationQuery.Aggregation.getDefaultInstance()); } /** - * - * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -6042,34 +5441,29 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Builder addAggregati
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.Aggregation, - com.google.datastore.v1.AggregationQuery.Aggregation.Builder, - com.google.datastore.v1.AggregationQuery.AggregationOrBuilder> + com.google.datastore.v1.AggregationQuery.Aggregation, com.google.datastore.v1.AggregationQuery.Aggregation.Builder, com.google.datastore.v1.AggregationQuery.AggregationOrBuilder> getAggregationsFieldBuilder() { if (aggregationsBuilder_ == null) { - aggregationsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.AggregationQuery.Aggregation, - com.google.datastore.v1.AggregationQuery.Aggregation.Builder, - com.google.datastore.v1.AggregationQuery.AggregationOrBuilder>( - aggregations_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); + aggregationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.datastore.v1.AggregationQuery.Aggregation, com.google.datastore.v1.AggregationQuery.Aggregation.Builder, com.google.datastore.v1.AggregationQuery.AggregationOrBuilder>( + aggregations_, + ((bitField0_ & 0x00000002) != 0), + getParentForChildren(), + isClean()); aggregations_ = null; } return aggregationsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -6079,12 +5473,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.v1.AggregationQuery) } // @@protoc_insertion_point(class_scope:google.datastore.v1.AggregationQuery) private static final com.google.datastore.v1.AggregationQuery DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.v1.AggregationQuery(); } @@ -6093,27 +5487,27 @@ public static com.google.datastore.v1.AggregationQuery getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AggregationQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AggregationQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6128,4 +5522,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.AggregationQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationQueryOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationQueryOrBuilder.java similarity index 61% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationQueryOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationQueryOrBuilder.java index bfb5e8448..f2a3c89f3 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationQueryOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationQueryOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface AggregationQueryOrBuilder - extends +public interface AggregationQueryOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.AggregationQuery) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Nested query for aggregation
    * 
* * .google.datastore.v1.Query nested_query = 1; - * * @return Whether the nestedQuery field is set. */ boolean hasNestedQuery(); /** - * - * *
    * Nested query for aggregation
    * 
* * .google.datastore.v1.Query nested_query = 1; - * * @return The nestedQuery. */ com.google.datastore.v1.Query getNestedQuery(); /** - * - * *
    * Nested query for aggregation
    * 
@@ -60,8 +36,6 @@ public interface AggregationQueryOrBuilder com.google.datastore.v1.QueryOrBuilder getNestedQueryOrBuilder(); /** - * - * *
    * Optional. Series of aggregations to apply over the results of the
    * `nested_query`.
@@ -71,14 +45,11 @@ public interface AggregationQueryOrBuilder
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - java.util.List getAggregationsList(); + java.util.List + getAggregationsList(); /** - * - * *
    * Optional. Series of aggregations to apply over the results of the
    * `nested_query`.
@@ -88,14 +59,10 @@ public interface AggregationQueryOrBuilder
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.datastore.v1.AggregationQuery.Aggregation getAggregations(int index); /** - * - * *
    * Optional. Series of aggregations to apply over the results of the
    * `nested_query`.
@@ -105,14 +72,10 @@ public interface AggregationQueryOrBuilder
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ int getAggregationsCount(); /** - * - * *
    * Optional. Series of aggregations to apply over the results of the
    * `nested_query`.
@@ -122,15 +85,11 @@ public interface AggregationQueryOrBuilder
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.datastore.v1.AggregationQuery.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
    * `nested_query`.
@@ -140,11 +99,10 @@ public interface AggregationQueryOrBuilder
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; - * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; */ - com.google.datastore.v1.AggregationQuery.AggregationOrBuilder getAggregationsOrBuilder(int index); + com.google.datastore.v1.AggregationQuery.AggregationOrBuilder getAggregationsOrBuilder( + int index); com.google.datastore.v1.AggregationQuery.QueryTypeCase getQueryTypeCase(); } diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResult.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResult.java similarity index 65% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResult.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResult.java index 5a6afdcff..4f5625a65 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResult.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResult.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/aggregation_result.proto @@ -20,8 +5,6 @@ package com.google.datastore.v1; /** - * - * *
  * The result of a single bucket from a Datastore aggregation query.
  *
@@ -32,27 +15,28 @@
  *
  * Protobuf type {@code google.datastore.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.datastore.v1.AggregationResult)
     AggregationResultOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AggregationResult.newBuilder() to construct.
   private AggregationResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private AggregationResult() {}
+  private AggregationResult() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AggregationResult();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.datastore.v1.AggregationResultProto
-        .internal_static_google_datastore_v1_AggregationResult_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.datastore.v1.AggregationResultProto.internal_static_google_datastore_v1_AggregationResult_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
@@ -63,54 +47,45 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
       case 2:
         return internalGetAggregateProperties();
       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.datastore.v1.AggregationResultProto
-        .internal_static_google_datastore_v1_AggregationResult_fieldAccessorTable
+    return com.google.datastore.v1.AggregationResultProto.internal_static_google_datastore_v1_AggregationResult_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.v1.AggregationResult.class,
-            com.google.datastore.v1.AggregationResult.Builder.class);
+            com.google.datastore.v1.AggregationResult.class, com.google.datastore.v1.AggregationResult.Builder.class);
   }
 
   public static final int AGGREGATE_PROPERTIES_FIELD_NUMBER = 2;
-
   private static final class AggregatePropertiesDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry
-        defaultEntry =
+    static final com.google.protobuf.MapEntry<
+        java.lang.String, com.google.datastore.v1.Value> defaultEntry =
             com.google.protobuf.MapEntry
-                .newDefaultInstance(
-                    com.google.datastore.v1.AggregationResultProto
-                        .internal_static_google_datastore_v1_AggregationResult_AggregatePropertiesEntry_descriptor,
-                    com.google.protobuf.WireFormat.FieldType.STRING,
-                    "",
-                    com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                    com.google.datastore.v1.Value.getDefaultInstance());
+            .newDefaultInstance(
+                com.google.datastore.v1.AggregationResultProto.internal_static_google_datastore_v1_AggregationResult_AggregatePropertiesEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.MESSAGE,
+                com.google.datastore.v1.Value.getDefaultInstance());
   }
-
   @SuppressWarnings("serial")
+  private com.google.protobuf.MapField<
+      java.lang.String, com.google.datastore.v1.Value> aggregateProperties_;
   private com.google.protobuf.MapField
-      aggregateProperties_;
-
-  private com.google.protobuf.MapField
-      internalGetAggregateProperties() {
+  internalGetAggregateProperties() {
     if (aggregateProperties_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           AggregatePropertiesDefaultEntryHolder.defaultEntry);
     }
     return aggregateProperties_;
   }
-
   public int getAggregatePropertiesCount() {
     return internalGetAggregateProperties().getMap().size();
   }
   /**
-   *
-   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
    *
@@ -123,21 +98,20 @@ public int getAggregatePropertiesCount() {
    * map<string, .google.datastore.v1.Value> aggregate_properties = 2;
    */
   @java.lang.Override
-  public boolean containsAggregateProperties(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsAggregateProperties(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetAggregateProperties().getMap().containsKey(key);
   }
-  /** Use {@link #getAggregatePropertiesMap()} instead. */
+  /**
+   * Use {@link #getAggregatePropertiesMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAggregateProperties() {
     return getAggregatePropertiesMap();
   }
   /**
-   *
-   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
    *
@@ -150,13 +124,10 @@ public java.util.Map getAggrega
    * map<string, .google.datastore.v1.Value> aggregate_properties = 2;
    */
   @java.lang.Override
-  public java.util.Map
-      getAggregatePropertiesMap() {
+  public java.util.Map getAggregatePropertiesMap() {
     return internalGetAggregateProperties().getMap();
   }
   /**
-   *
-   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
    *
@@ -169,20 +140,17 @@ public java.util.Map getAggrega
    * map<string, .google.datastore.v1.Value> aggregate_properties = 2;
    */
   @java.lang.Override
-  public /* nullable */ com.google.datastore.v1.Value getAggregatePropertiesOrDefault(
+  public /* nullable */
+com.google.datastore.v1.Value getAggregatePropertiesOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.datastore.v1.Value defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+com.google.datastore.v1.Value defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetAggregateProperties().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
    *
@@ -195,10 +163,9 @@ public java.util.Map getAggrega
    * map<string, .google.datastore.v1.Value> aggregate_properties = 2;
    */
   @java.lang.Override
-  public com.google.datastore.v1.Value getAggregatePropertiesOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public com.google.datastore.v1.Value getAggregatePropertiesOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetAggregateProperties().getMap();
     if (!map.containsKey(key)) {
@@ -208,7 +175,6 @@ public com.google.datastore.v1.Value getAggregatePropertiesOrThrow(java.lang.Str
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -220,8 +186,10 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
         output,
         internalGetAggregateProperties(),
         AggregatePropertiesDefaultEntryHolder.defaultEntry,
@@ -235,16 +203,15 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    for (java.util.Map.Entry entry :
-        internalGetAggregateProperties().getMap().entrySet()) {
+    for (java.util.Map.Entry entry
+         : internalGetAggregateProperties().getMap().entrySet()) {
       com.google.protobuf.MapEntry
-          aggregateProperties__ =
-              AggregatePropertiesDefaultEntryHolder.defaultEntry
-                  .newBuilderForType()
-                  .setKey(entry.getKey())
-                  .setValue(entry.getValue())
-                  .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, aggregateProperties__);
+      aggregateProperties__ = AggregatePropertiesDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(2, aggregateProperties__);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -254,16 +221,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.datastore.v1.AggregationResult)) {
       return super.equals(obj);
     }
-    com.google.datastore.v1.AggregationResult other =
-        (com.google.datastore.v1.AggregationResult) obj;
+    com.google.datastore.v1.AggregationResult other = (com.google.datastore.v1.AggregationResult) obj;
 
-    if (!internalGetAggregateProperties().equals(other.internalGetAggregateProperties()))
-      return false;
+    if (!internalGetAggregateProperties().equals(
+        other.internalGetAggregateProperties())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -284,104 +250,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.AggregationResult parseFrom(java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.AggregationResult parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.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.datastore.v1.AggregationResult parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.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.datastore.v1.AggregationResult parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.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.datastore.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.datastore.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.datastore.v1.AggregationResult parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.datastore.v1.AggregationResult parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.datastore.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.datastore.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.datastore.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.datastore.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 Datastore aggregation query.
    *
@@ -392,13 +353,13 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.datastore.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.datastore.v1.AggregationResult)
       com.google.datastore.v1.AggregationResultOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.datastore.v1.AggregationResultProto
-          .internal_static_google_datastore_v1_AggregationResult_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.datastore.v1.AggregationResultProto.internal_static_google_datastore_v1_AggregationResult_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
@@ -408,10 +369,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
         case 2:
           return internalGetAggregateProperties();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
     protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
         int number) {
@@ -419,27 +380,28 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi
         case 2:
           return internalGetMutableAggregateProperties();
         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.datastore.v1.AggregationResultProto
-          .internal_static_google_datastore_v1_AggregationResult_fieldAccessorTable
+      return com.google.datastore.v1.AggregationResultProto.internal_static_google_datastore_v1_AggregationResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.AggregationResult.class,
-              com.google.datastore.v1.AggregationResult.Builder.class);
+              com.google.datastore.v1.AggregationResult.class, com.google.datastore.v1.AggregationResult.Builder.class);
     }
 
     // Construct using com.google.datastore.v1.AggregationResult.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -449,9 +411,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.datastore.v1.AggregationResultProto
-          .internal_static_google_datastore_v1_AggregationResult_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.datastore.v1.AggregationResultProto.internal_static_google_datastore_v1_AggregationResult_descriptor;
     }
 
     @java.lang.Override
@@ -470,11 +432,8 @@ public com.google.datastore.v1.AggregationResult build() {
 
     @java.lang.Override
     public com.google.datastore.v1.AggregationResult buildPartial() {
-      com.google.datastore.v1.AggregationResult result =
-          new com.google.datastore.v1.AggregationResult(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.datastore.v1.AggregationResult result = new com.google.datastore.v1.AggregationResult(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -482,9 +441,7 @@ public com.google.datastore.v1.AggregationResult buildPartial() {
     private void buildPartial0(com.google.datastore.v1.AggregationResult result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.aggregateProperties_ =
-            internalGetAggregateProperties()
-                .build(AggregatePropertiesDefaultEntryHolder.defaultEntry);
+        result.aggregateProperties_ = internalGetAggregateProperties().build(AggregatePropertiesDefaultEntryHolder.defaultEntry);
       }
     }
 
@@ -492,39 +449,38 @@ private void buildPartial0(com.google.datastore.v1.AggregationResult result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.AggregationResult) {
-        return mergeFrom((com.google.datastore.v1.AggregationResult) other);
+        return mergeFrom((com.google.datastore.v1.AggregationResult)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -533,7 +489,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
 
     public Builder mergeFrom(com.google.datastore.v1.AggregationResult other) {
       if (other == com.google.datastore.v1.AggregationResult.getDefaultInstance()) return this;
-      internalGetMutableAggregateProperties().mergeFrom(other.internalGetAggregateProperties());
+      internalGetMutableAggregateProperties().mergeFrom(
+          other.internalGetAggregateProperties());
       bitField0_ |= 0x00000001;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -561,26 +518,21 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18:
-              {
-                com.google.protobuf.MapEntry
-                    aggregateProperties__ =
-                        input.readMessage(
-                            AggregatePropertiesDefaultEntryHolder.defaultEntry.getParserForType(),
-                            extensionRegistry);
-                internalGetMutableAggregateProperties()
-                    .ensureBuilderMap()
-                    .put(aggregateProperties__.getKey(), aggregateProperties__.getValue());
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 18: {
+              com.google.protobuf.MapEntry
+              aggregateProperties__ = input.readMessage(
+                  AggregatePropertiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableAggregateProperties().ensureBuilderMap().put(
+                  aggregateProperties__.getKey(), aggregateProperties__.getValue());
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -590,72 +542,44 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private static final class AggregatePropertiesConverter
-        implements com.google.protobuf.MapFieldBuilder.Converter<
-            java.lang.String,
-            com.google.datastore.v1.ValueOrBuilder,
-            com.google.datastore.v1.Value> {
+    private static final class AggregatePropertiesConverter implements com.google.protobuf.MapFieldBuilder.Converter {
       @java.lang.Override
       public com.google.datastore.v1.Value build(com.google.datastore.v1.ValueOrBuilder val) {
-        if (val instanceof com.google.datastore.v1.Value) {
-          return (com.google.datastore.v1.Value) val;
-        }
+        if (val instanceof com.google.datastore.v1.Value) { return (com.google.datastore.v1.Value) val; }
         return ((com.google.datastore.v1.Value.Builder) val).build();
       }
 
       @java.lang.Override
-      public com.google.protobuf.MapEntry
-          defaultEntry() {
+      public com.google.protobuf.MapEntry defaultEntry() {
         return AggregatePropertiesDefaultEntryHolder.defaultEntry;
       }
     };
-
-    private static final AggregatePropertiesConverter aggregatePropertiesConverter =
-        new AggregatePropertiesConverter();
-
-    private com.google.protobuf.MapFieldBuilder<
-            java.lang.String,
-            com.google.datastore.v1.ValueOrBuilder,
-            com.google.datastore.v1.Value,
-            com.google.datastore.v1.Value.Builder>
-        aggregateProperties_;
+    private static final AggregatePropertiesConverter aggregatePropertiesConverter = new AggregatePropertiesConverter();
 
     private com.google.protobuf.MapFieldBuilder<
-            java.lang.String,
-            com.google.datastore.v1.ValueOrBuilder,
-            com.google.datastore.v1.Value,
-            com.google.datastore.v1.Value.Builder>
+        java.lang.String, com.google.datastore.v1.ValueOrBuilder, com.google.datastore.v1.Value, com.google.datastore.v1.Value.Builder> aggregateProperties_;
+    private com.google.protobuf.MapFieldBuilder
         internalGetAggregateProperties() {
       if (aggregateProperties_ == null) {
         return new com.google.protobuf.MapFieldBuilder<>(aggregatePropertiesConverter);
       }
       return aggregateProperties_;
     }
-
-    private com.google.protobuf.MapFieldBuilder<
-            java.lang.String,
-            com.google.datastore.v1.ValueOrBuilder,
-            com.google.datastore.v1.Value,
-            com.google.datastore.v1.Value.Builder>
+    private com.google.protobuf.MapFieldBuilder
         internalGetMutableAggregateProperties() {
       if (aggregateProperties_ == null) {
-        aggregateProperties_ =
-            new com.google.protobuf.MapFieldBuilder<>(aggregatePropertiesConverter);
+        aggregateProperties_ = new com.google.protobuf.MapFieldBuilder<>(aggregatePropertiesConverter);
       }
       bitField0_ |= 0x00000001;
       onChanged();
       return aggregateProperties_;
     }
-
     public int getAggregatePropertiesCount() {
       return internalGetAggregateProperties().ensureBuilderMap().size();
     }
     /**
-     *
-     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
      *
@@ -668,21 +592,20 @@ public int getAggregatePropertiesCount() {
      * map<string, .google.datastore.v1.Value> aggregate_properties = 2;
      */
     @java.lang.Override
-    public boolean containsAggregateProperties(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsAggregateProperties(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetAggregateProperties().ensureBuilderMap().containsKey(key);
     }
-    /** Use {@link #getAggregatePropertiesMap()} instead. */
+    /**
+     * Use {@link #getAggregatePropertiesMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAggregateProperties() {
       return getAggregatePropertiesMap();
     }
     /**
-     *
-     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
      *
@@ -695,13 +618,10 @@ public java.util.Map getAggrega
      * map<string, .google.datastore.v1.Value> aggregate_properties = 2;
      */
     @java.lang.Override
-    public java.util.Map
-        getAggregatePropertiesMap() {
+    public java.util.Map getAggregatePropertiesMap() {
       return internalGetAggregateProperties().getImmutableMap();
     }
     /**
-     *
-     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
      *
@@ -714,20 +634,16 @@ public java.util.Map getAggrega
      * map<string, .google.datastore.v1.Value> aggregate_properties = 2;
      */
     @java.lang.Override
-    public /* nullable */ com.google.datastore.v1.Value getAggregatePropertiesOrDefault(
+    public /* nullable */
+com.google.datastore.v1.Value getAggregatePropertiesOrDefault(
         java.lang.String key,
         /* nullable */
-        com.google.datastore.v1.Value defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map =
-          internalGetMutableAggregateProperties().ensureBuilderMap();
+com.google.datastore.v1.Value defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map = internalGetMutableAggregateProperties().ensureBuilderMap();
       return map.containsKey(key) ? aggregatePropertiesConverter.build(map.get(key)) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
      *
@@ -740,26 +656,21 @@ public java.util.Map getAggrega
      * map<string, .google.datastore.v1.Value> aggregate_properties = 2;
      */
     @java.lang.Override
-    public com.google.datastore.v1.Value getAggregatePropertiesOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map =
-          internalGetMutableAggregateProperties().ensureBuilderMap();
+    public com.google.datastore.v1.Value getAggregatePropertiesOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map = internalGetMutableAggregateProperties().ensureBuilderMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return aggregatePropertiesConverter.build(map.get(key));
     }
-
     public Builder clearAggregateProperties() {
       bitField0_ = (bitField0_ & ~0x00000001);
       internalGetMutableAggregateProperties().clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
      *
@@ -771,14 +682,16 @@ public Builder clearAggregateProperties() {
      *
      * map<string, .google.datastore.v1.Value> aggregate_properties = 2;
      */
-    public Builder removeAggregateProperties(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableAggregateProperties().ensureBuilderMap().remove(key);
+    public Builder removeAggregateProperties(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableAggregateProperties().ensureBuilderMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
     public java.util.Map
         getMutableAggregateProperties() {
@@ -786,8 +699,6 @@ public Builder removeAggregateProperties(java.lang.String key) {
       return internalGetMutableAggregateProperties().ensureMessageMap();
     }
     /**
-     *
-     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
      *
@@ -800,20 +711,16 @@ public Builder removeAggregateProperties(java.lang.String key) {
      * map<string, .google.datastore.v1.Value> aggregate_properties = 2;
      */
     public Builder putAggregateProperties(
-        java.lang.String key, com.google.datastore.v1.Value value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableAggregateProperties().ensureBuilderMap().put(key, value);
+        java.lang.String key,
+        com.google.datastore.v1.Value value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableAggregateProperties().ensureBuilderMap()
+          .put(key, value);
       bitField0_ |= 0x00000001;
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
      *
@@ -827,19 +734,17 @@ public Builder putAggregateProperties(
      */
     public Builder putAllAggregateProperties(
         java.util.Map values) {
-      for (java.util.Map.Entry e :
-          values.entrySet()) {
+      for (java.util.Map.Entry e : values.entrySet()) {
         if (e.getKey() == null || e.getValue() == null) {
           throw new NullPointerException();
         }
       }
-      internalGetMutableAggregateProperties().ensureBuilderMap().putAll(values);
+      internalGetMutableAggregateProperties().ensureBuilderMap()
+          .putAll(values);
       bitField0_ |= 0x00000001;
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
      *
@@ -853,8 +758,7 @@ public Builder putAllAggregateProperties(
      */
     public com.google.datastore.v1.Value.Builder putAggregatePropertiesBuilderIfAbsent(
         java.lang.String key) {
-      java.util.Map builderMap =
-          internalGetMutableAggregateProperties().ensureBuilderMap();
+      java.util.Map builderMap = internalGetMutableAggregateProperties().ensureBuilderMap();
       com.google.datastore.v1.ValueOrBuilder entry = builderMap.get(key);
       if (entry == null) {
         entry = com.google.datastore.v1.Value.newBuilder();
@@ -866,9 +770,9 @@ public com.google.datastore.v1.Value.Builder putAggregatePropertiesBuilderIfAbse
       }
       return (com.google.datastore.v1.Value.Builder) entry;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -878,12 +782,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.AggregationResult)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.AggregationResult)
   private static final com.google.datastore.v1.AggregationResult DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.AggregationResult();
   }
@@ -892,27 +796,27 @@ public static com.google.datastore.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;
@@ -927,4 +831,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.AggregationResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultBatch.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultBatch.java
similarity index 76%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultBatch.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultBatch.java
index 040d282df..79efacfe3 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultBatch.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultBatch.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/aggregation_result.proto
 
@@ -20,24 +5,21 @@
 package com.google.datastore.v1;
 
 /**
- *
- *
  * 
  * A batch of aggregation results produced by an aggregation query.
  * 
* * Protobuf type {@code google.datastore.v1.AggregationResultBatch} */ -public final class AggregationResultBatch extends com.google.protobuf.GeneratedMessageV3 - implements +public final class AggregationResultBatch extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.datastore.v1.AggregationResultBatch) AggregationResultBatchOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use AggregationResultBatch.newBuilder() to construct. private AggregationResultBatch(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private AggregationResultBatch() { aggregationResults_ = java.util.Collections.emptyList(); moreResults_ = 0; @@ -45,33 +27,29 @@ private AggregationResultBatch() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new AggregationResultBatch(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.AggregationResultProto - .internal_static_google_datastore_v1_AggregationResultBatch_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.AggregationResultProto.internal_static_google_datastore_v1_AggregationResultBatch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.AggregationResultProto - .internal_static_google_datastore_v1_AggregationResultBatch_fieldAccessorTable + return com.google.datastore.v1.AggregationResultProto.internal_static_google_datastore_v1_AggregationResultBatch_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.AggregationResultBatch.class, - com.google.datastore.v1.AggregationResultBatch.Builder.class); + com.google.datastore.v1.AggregationResultBatch.class, com.google.datastore.v1.AggregationResultBatch.Builder.class); } private int bitField0_; public static final int AGGREGATION_RESULTS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List aggregationResults_; /** - * - * *
    * The aggregation results for this batch.
    * 
@@ -83,8 +61,6 @@ public java.util.List getAggregationR return aggregationResults_; } /** - * - * *
    * The aggregation results for this batch.
    * 
@@ -92,13 +68,11 @@ public java.util.List getAggregationR * repeated .google.datastore.v1.AggregationResult aggregation_results = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAggregationResultsOrBuilderList() { return aggregationResults_; } /** - * - * *
    * The aggregation results for this batch.
    * 
@@ -110,8 +84,6 @@ public int getAggregationResultsCount() { return aggregationResults_.size(); } /** - * - * *
    * The aggregation results for this batch.
    * 
@@ -123,8 +95,6 @@ public com.google.datastore.v1.AggregationResult getAggregationResults(int index return aggregationResults_.get(index); } /** - * - * *
    * The aggregation results for this batch.
    * 
@@ -140,8 +110,6 @@ public com.google.datastore.v1.AggregationResultOrBuilder getAggregationResultsO public static final int MORE_RESULTS_FIELD_NUMBER = 2; private int moreResults_ = 0; /** - * - * *
    * The state of the query after the current batch.
    * Only COUNT(*) aggregations are supported in the initial launch. Therefore,
@@ -149,16 +117,12 @@ public com.google.datastore.v1.AggregationResultOrBuilder getAggregationResultsO
    * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 2; - * * @return The enum numeric value on the wire for moreResults. */ - @java.lang.Override - public int getMoreResultsValue() { + @java.lang.Override public int getMoreResultsValue() { return moreResults_; } /** - * - * *
    * The state of the query after the current batch.
    * Only COUNT(*) aggregations are supported in the initial launch. Therefore,
@@ -166,23 +130,16 @@ public int getMoreResultsValue() {
    * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 2; - * * @return The moreResults. */ - @java.lang.Override - public com.google.datastore.v1.QueryResultBatch.MoreResultsType getMoreResults() { - com.google.datastore.v1.QueryResultBatch.MoreResultsType result = - com.google.datastore.v1.QueryResultBatch.MoreResultsType.forNumber(moreResults_); - return result == null - ? com.google.datastore.v1.QueryResultBatch.MoreResultsType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.datastore.v1.QueryResultBatch.MoreResultsType getMoreResults() { + com.google.datastore.v1.QueryResultBatch.MoreResultsType result = com.google.datastore.v1.QueryResultBatch.MoreResultsType.forNumber(moreResults_); + return result == null ? com.google.datastore.v1.QueryResultBatch.MoreResultsType.UNRECOGNIZED : result; } public static final int READ_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp readTime_; /** - * - * *
    * Read timestamp this batch was returned from.
    *
@@ -192,7 +149,6 @@ public com.google.datastore.v1.QueryResultBatch.MoreResultsType getMoreResults()
    * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -200,8 +156,6 @@ public boolean hasReadTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Read timestamp this batch was returned from.
    *
@@ -211,7 +165,6 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return The readTime. */ @java.lang.Override @@ -219,8 +172,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * Read timestamp this batch was returned from.
    *
@@ -237,7 +188,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -249,13 +199,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 < aggregationResults_.size(); i++) {
       output.writeMessage(1, aggregationResults_.get(i));
     }
-    if (moreResults_
-        != com.google.datastore.v1.QueryResultBatch.MoreResultsType.MORE_RESULTS_TYPE_UNSPECIFIED
-            .getNumber()) {
+    if (moreResults_ != com.google.datastore.v1.QueryResultBatch.MoreResultsType.MORE_RESULTS_TYPE_UNSPECIFIED.getNumber()) {
       output.writeEnum(2, moreResults_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
@@ -271,16 +220,16 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < aggregationResults_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(1, aggregationResults_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, aggregationResults_.get(i));
     }
-    if (moreResults_
-        != com.google.datastore.v1.QueryResultBatch.MoreResultsType.MORE_RESULTS_TYPE_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, moreResults_);
+    if (moreResults_ != com.google.datastore.v1.QueryResultBatch.MoreResultsType.MORE_RESULTS_TYPE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(2, moreResults_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getReadTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getReadTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -290,19 +239,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.datastore.v1.AggregationResultBatch)) {
       return super.equals(obj);
     }
-    com.google.datastore.v1.AggregationResultBatch other =
-        (com.google.datastore.v1.AggregationResultBatch) obj;
+    com.google.datastore.v1.AggregationResultBatch other = (com.google.datastore.v1.AggregationResultBatch) obj;
 
-    if (!getAggregationResultsList().equals(other.getAggregationResultsList())) return false;
+    if (!getAggregationResultsList()
+        .equals(other.getAggregationResultsList())) return false;
     if (moreResults_ != other.moreResults_) return false;
     if (hasReadTime() != other.hasReadTime()) return false;
     if (hasReadTime()) {
-      if (!getReadTime().equals(other.getReadTime())) return false;
+      if (!getReadTime()
+          .equals(other.getReadTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -330,127 +280,120 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.AggregationResultBatch parseFrom(java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.AggregationResultBatch parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.AggregationResultBatch parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.AggregationResultBatch parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.AggregationResultBatch parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.AggregationResultBatch parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.AggregationResultBatch parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.AggregationResultBatch parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.datastore.v1.AggregationResultBatch parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.datastore.v1.AggregationResultBatch parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.datastore.v1.AggregationResultBatch parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.datastore.v1.AggregationResultBatch parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.datastore.v1.AggregationResultBatch parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.datastore.v1.AggregationResultBatch parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.datastore.v1.AggregationResultBatch prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 batch of aggregation results produced by an aggregation query.
    * 
* * Protobuf type {@code google.datastore.v1.AggregationResultBatch} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.AggregationResultBatch) com.google.datastore.v1.AggregationResultBatchOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.AggregationResultProto - .internal_static_google_datastore_v1_AggregationResultBatch_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.AggregationResultProto.internal_static_google_datastore_v1_AggregationResultBatch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.AggregationResultProto - .internal_static_google_datastore_v1_AggregationResultBatch_fieldAccessorTable + return com.google.datastore.v1.AggregationResultProto.internal_static_google_datastore_v1_AggregationResultBatch_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.AggregationResultBatch.class, - com.google.datastore.v1.AggregationResultBatch.Builder.class); + com.google.datastore.v1.AggregationResultBatch.class, com.google.datastore.v1.AggregationResultBatch.Builder.class); } // Construct using com.google.datastore.v1.AggregationResultBatch.newBuilder() @@ -458,18 +401,18 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getAggregationResultsFieldBuilder(); getReadTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -491,9 +434,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.v1.AggregationResultProto - .internal_static_google_datastore_v1_AggregationResultBatch_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.v1.AggregationResultProto.internal_static_google_datastore_v1_AggregationResultBatch_descriptor; } @java.lang.Override @@ -512,12 +455,9 @@ public com.google.datastore.v1.AggregationResultBatch build() { @java.lang.Override public com.google.datastore.v1.AggregationResultBatch buildPartial() { - com.google.datastore.v1.AggregationResultBatch result = - new com.google.datastore.v1.AggregationResultBatch(this); + com.google.datastore.v1.AggregationResultBatch result = new com.google.datastore.v1.AggregationResultBatch(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -541,7 +481,9 @@ private void buildPartial0(com.google.datastore.v1.AggregationResultBatch result } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build(); + result.readTime_ = readTimeBuilder_ == null + ? readTime_ + : readTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -551,39 +493,38 @@ private void buildPartial0(com.google.datastore.v1.AggregationResultBatch result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.AggregationResultBatch) { - return mergeFrom((com.google.datastore.v1.AggregationResultBatch) other); + return mergeFrom((com.google.datastore.v1.AggregationResultBatch)other); } else { super.mergeFrom(other); return this; @@ -610,10 +551,9 @@ public Builder mergeFrom(com.google.datastore.v1.AggregationResultBatch other) { aggregationResultsBuilder_ = null; aggregationResults_ = other.aggregationResults_; bitField0_ = (bitField0_ & ~0x00000001); - aggregationResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getAggregationResultsFieldBuilder() - : null; + aggregationResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getAggregationResultsFieldBuilder() : null; } else { aggregationResultsBuilder_.addAllMessages(other.aggregationResults_); } @@ -651,38 +591,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.datastore.v1.AggregationResult m = - input.readMessage( - com.google.datastore.v1.AggregationResult.parser(), extensionRegistry); - if (aggregationResultsBuilder_ == null) { - ensureAggregationResultsIsMutable(); - aggregationResults_.add(m); - } else { - aggregationResultsBuilder_.addMessage(m); - } - break; - } // case 10 - case 16: - { - moreResults_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.datastore.v1.AggregationResult m = + input.readMessage( + com.google.datastore.v1.AggregationResult.parser(), + extensionRegistry); + if (aggregationResultsBuilder_ == null) { + ensureAggregationResultsIsMutable(); + aggregationResults_.add(m); + } else { + aggregationResultsBuilder_.addMessage(m); + } + break; + } // case 10 + case 16: { + moreResults_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + input.readMessage( + getReadTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -692,29 +631,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List aggregationResults_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureAggregationResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - aggregationResults_ = - new java.util.ArrayList(aggregationResults_); + aggregationResults_ = new java.util.ArrayList(aggregationResults_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.AggregationResult, - com.google.datastore.v1.AggregationResult.Builder, - com.google.datastore.v1.AggregationResultOrBuilder> - aggregationResultsBuilder_; + com.google.datastore.v1.AggregationResult, com.google.datastore.v1.AggregationResult.Builder, com.google.datastore.v1.AggregationResultOrBuilder> aggregationResultsBuilder_; /** - * - * *
      * The aggregation results for this batch.
      * 
@@ -729,8 +660,6 @@ public java.util.List getAggregationR } } /** - * - * *
      * The aggregation results for this batch.
      * 
@@ -745,8 +674,6 @@ public int getAggregationResultsCount() { } } /** - * - * *
      * The aggregation results for this batch.
      * 
@@ -761,8 +688,6 @@ public com.google.datastore.v1.AggregationResult getAggregationResults(int index } } /** - * - * *
      * The aggregation results for this batch.
      * 
@@ -784,8 +709,6 @@ public Builder setAggregationResults( return this; } /** - * - * *
      * The aggregation results for this batch.
      * 
@@ -804,8 +727,6 @@ public Builder setAggregationResults( return this; } /** - * - * *
      * The aggregation results for this batch.
      * 
@@ -826,8 +747,6 @@ public Builder addAggregationResults(com.google.datastore.v1.AggregationResult v return this; } /** - * - * *
      * The aggregation results for this batch.
      * 
@@ -849,8 +768,6 @@ public Builder addAggregationResults( return this; } /** - * - * *
      * The aggregation results for this batch.
      * 
@@ -869,8 +786,6 @@ public Builder addAggregationResults( return this; } /** - * - * *
      * The aggregation results for this batch.
      * 
@@ -889,8 +804,6 @@ public Builder addAggregationResults( return this; } /** - * - * *
      * The aggregation results for this batch.
      * 
@@ -901,7 +814,8 @@ public Builder addAllAggregationResults( java.lang.Iterable values) { if (aggregationResultsBuilder_ == null) { ensureAggregationResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, aggregationResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, aggregationResults_); onChanged(); } else { aggregationResultsBuilder_.addAllMessages(values); @@ -909,8 +823,6 @@ public Builder addAllAggregationResults( return this; } /** - * - * *
      * The aggregation results for this batch.
      * 
@@ -928,8 +840,6 @@ public Builder clearAggregationResults() { return this; } /** - * - * *
      * The aggregation results for this batch.
      * 
@@ -947,8 +857,6 @@ public Builder removeAggregationResults(int index) { return this; } /** - * - * *
      * The aggregation results for this batch.
      * 
@@ -960,8 +868,6 @@ public com.google.datastore.v1.AggregationResult.Builder getAggregationResultsBu return getAggregationResultsFieldBuilder().getBuilder(index); } /** - * - * *
      * The aggregation results for this batch.
      * 
@@ -971,22 +877,19 @@ public com.google.datastore.v1.AggregationResult.Builder getAggregationResultsBu public com.google.datastore.v1.AggregationResultOrBuilder getAggregationResultsOrBuilder( int index) { if (aggregationResultsBuilder_ == null) { - return aggregationResults_.get(index); - } else { + return aggregationResults_.get(index); } else { return aggregationResultsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The aggregation results for this batch.
      * 
* * repeated .google.datastore.v1.AggregationResult aggregation_results = 1; */ - public java.util.List - getAggregationResultsOrBuilderList() { + public java.util.List + getAggregationResultsOrBuilderList() { if (aggregationResultsBuilder_ != null) { return aggregationResultsBuilder_.getMessageOrBuilderList(); } else { @@ -994,8 +897,6 @@ public com.google.datastore.v1.AggregationResultOrBuilder getAggregationResultsO } } /** - * - * *
      * The aggregation results for this batch.
      * 
@@ -1003,12 +904,10 @@ public com.google.datastore.v1.AggregationResultOrBuilder getAggregationResultsO * repeated .google.datastore.v1.AggregationResult aggregation_results = 1; */ public com.google.datastore.v1.AggregationResult.Builder addAggregationResultsBuilder() { - return getAggregationResultsFieldBuilder() - .addBuilder(com.google.datastore.v1.AggregationResult.getDefaultInstance()); + return getAggregationResultsFieldBuilder().addBuilder( + com.google.datastore.v1.AggregationResult.getDefaultInstance()); } /** - * - * *
      * The aggregation results for this batch.
      * 
@@ -1017,34 +916,26 @@ public com.google.datastore.v1.AggregationResult.Builder addAggregationResultsBu */ public com.google.datastore.v1.AggregationResult.Builder addAggregationResultsBuilder( int index) { - return getAggregationResultsFieldBuilder() - .addBuilder(index, com.google.datastore.v1.AggregationResult.getDefaultInstance()); + return getAggregationResultsFieldBuilder().addBuilder( + index, com.google.datastore.v1.AggregationResult.getDefaultInstance()); } /** - * - * *
      * The aggregation results for this batch.
      * 
* * repeated .google.datastore.v1.AggregationResult aggregation_results = 1; */ - public java.util.List - getAggregationResultsBuilderList() { + public java.util.List + getAggregationResultsBuilderList() { return getAggregationResultsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.AggregationResult, - com.google.datastore.v1.AggregationResult.Builder, - com.google.datastore.v1.AggregationResultOrBuilder> + com.google.datastore.v1.AggregationResult, com.google.datastore.v1.AggregationResult.Builder, com.google.datastore.v1.AggregationResultOrBuilder> getAggregationResultsFieldBuilder() { if (aggregationResultsBuilder_ == null) { - aggregationResultsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.AggregationResult, - com.google.datastore.v1.AggregationResult.Builder, - com.google.datastore.v1.AggregationResultOrBuilder>( + aggregationResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.datastore.v1.AggregationResult, com.google.datastore.v1.AggregationResult.Builder, com.google.datastore.v1.AggregationResultOrBuilder>( aggregationResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -1056,8 +947,6 @@ public com.google.datastore.v1.AggregationResult.Builder addAggregationResultsBu private int moreResults_ = 0; /** - * - * *
      * The state of the query after the current batch.
      * Only COUNT(*) aggregations are supported in the initial launch. Therefore,
@@ -1065,16 +954,12 @@ public com.google.datastore.v1.AggregationResult.Builder addAggregationResultsBu
      * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 2; - * * @return The enum numeric value on the wire for moreResults. */ - @java.lang.Override - public int getMoreResultsValue() { + @java.lang.Override public int getMoreResultsValue() { return moreResults_; } /** - * - * *
      * The state of the query after the current batch.
      * Only COUNT(*) aggregations are supported in the initial launch. Therefore,
@@ -1082,7 +967,6 @@ public int getMoreResultsValue() {
      * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 2; - * * @param value The enum numeric value on the wire for moreResults to set. * @return This builder for chaining. */ @@ -1093,8 +977,6 @@ public Builder setMoreResultsValue(int value) { return this; } /** - * - * *
      * The state of the query after the current batch.
      * Only COUNT(*) aggregations are supported in the initial launch. Therefore,
@@ -1102,20 +984,14 @@ public Builder setMoreResultsValue(int value) {
      * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 2; - * * @return The moreResults. */ @java.lang.Override public com.google.datastore.v1.QueryResultBatch.MoreResultsType getMoreResults() { - com.google.datastore.v1.QueryResultBatch.MoreResultsType result = - com.google.datastore.v1.QueryResultBatch.MoreResultsType.forNumber(moreResults_); - return result == null - ? com.google.datastore.v1.QueryResultBatch.MoreResultsType.UNRECOGNIZED - : result; + com.google.datastore.v1.QueryResultBatch.MoreResultsType result = com.google.datastore.v1.QueryResultBatch.MoreResultsType.forNumber(moreResults_); + return result == null ? com.google.datastore.v1.QueryResultBatch.MoreResultsType.UNRECOGNIZED : result; } /** - * - * *
      * The state of the query after the current batch.
      * Only COUNT(*) aggregations are supported in the initial launch. Therefore,
@@ -1123,7 +999,6 @@ public com.google.datastore.v1.QueryResultBatch.MoreResultsType getMoreResults()
      * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 2; - * * @param value The moreResults to set. * @return This builder for chaining. */ @@ -1137,8 +1012,6 @@ public Builder setMoreResults(com.google.datastore.v1.QueryResultBatch.MoreResul return this; } /** - * - * *
      * The state of the query after the current batch.
      * Only COUNT(*) aggregations are supported in the initial launch. Therefore,
@@ -1146,7 +1019,6 @@ public Builder setMoreResults(com.google.datastore.v1.QueryResultBatch.MoreResul
      * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 2; - * * @return This builder for chaining. */ public Builder clearMoreResults() { @@ -1158,13 +1030,8 @@ public Builder clearMoreResults() { 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_; /** - * - * *
      * Read timestamp this batch was returned from.
      *
@@ -1174,15 +1041,12 @@ public Builder clearMoreResults() {
      * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Read timestamp this batch was returned from.
      *
@@ -1192,7 +1056,6 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1203,8 +1066,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Read timestamp this batch was returned from.
      *
@@ -1229,8 +1090,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Read timestamp this batch was returned from.
      *
@@ -1241,7 +1100,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 3;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         readTime_ = builderForValue.build();
       } else {
@@ -1252,8 +1112,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * Read timestamp this batch was returned from.
      *
@@ -1266,9 +1124,9 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && readTime_ != null
-            && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          readTime_ != null &&
+          readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getReadTimeBuilder().mergeFrom(value);
         } else {
           readTime_ = value;
@@ -1283,8 +1141,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Read timestamp this batch was returned from.
      *
@@ -1306,8 +1162,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Read timestamp this batch was returned from.
      *
@@ -1324,8 +1178,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Read timestamp this batch was returned from.
      *
@@ -1340,12 +1192,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_;
       }
     }
     /**
-     *
-     *
      * 
      * Read timestamp this batch was returned from.
      *
@@ -1357,24 +1208,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);
     }
 
@@ -1384,12 +1232,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.AggregationResultBatch)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.AggregationResultBatch)
   private static final com.google.datastore.v1.AggregationResultBatch DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.AggregationResultBatch();
   }
@@ -1398,27 +1246,27 @@ public static com.google.datastore.v1.AggregationResultBatch getDefaultInstance(
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public AggregationResultBatch parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public AggregationResultBatch parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1433,4 +1281,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.AggregationResultBatch getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultBatchOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultBatchOrBuilder.java
similarity index 79%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultBatchOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultBatchOrBuilder.java
index 5c1fb1daa..a098e9fe9 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultBatchOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultBatchOrBuilder.java
@@ -1,42 +1,23 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/aggregation_result.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface AggregationResultBatchOrBuilder
-    extends
+public interface AggregationResultBatchOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.AggregationResultBatch)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The aggregation results for this batch.
    * 
* * repeated .google.datastore.v1.AggregationResult aggregation_results = 1; */ - java.util.List getAggregationResultsList(); + java.util.List + getAggregationResultsList(); /** - * - * *
    * The aggregation results for this batch.
    * 
@@ -45,8 +26,6 @@ public interface AggregationResultBatchOrBuilder */ com.google.datastore.v1.AggregationResult getAggregationResults(int index); /** - * - * *
    * The aggregation results for this batch.
    * 
@@ -55,30 +34,25 @@ public interface AggregationResultBatchOrBuilder */ int getAggregationResultsCount(); /** - * - * *
    * The aggregation results for this batch.
    * 
* * repeated .google.datastore.v1.AggregationResult aggregation_results = 1; */ - java.util.List + java.util.List getAggregationResultsOrBuilderList(); /** - * - * *
    * The aggregation results for this batch.
    * 
* * repeated .google.datastore.v1.AggregationResult aggregation_results = 1; */ - com.google.datastore.v1.AggregationResultOrBuilder getAggregationResultsOrBuilder(int index); + com.google.datastore.v1.AggregationResultOrBuilder getAggregationResultsOrBuilder( + int index); /** - * - * *
    * The state of the query after the current batch.
    * Only COUNT(*) aggregations are supported in the initial launch. Therefore,
@@ -86,13 +60,10 @@ public interface AggregationResultBatchOrBuilder
    * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 2; - * * @return The enum numeric value on the wire for moreResults. */ int getMoreResultsValue(); /** - * - * *
    * The state of the query after the current batch.
    * Only COUNT(*) aggregations are supported in the initial launch. Therefore,
@@ -100,14 +71,11 @@ public interface AggregationResultBatchOrBuilder
    * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 2; - * * @return The moreResults. */ com.google.datastore.v1.QueryResultBatch.MoreResultsType getMoreResults(); /** - * - * *
    * Read timestamp this batch was returned from.
    *
@@ -117,13 +85,10 @@ public interface AggregationResultBatchOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * Read timestamp this batch was returned from.
    *
@@ -133,13 +98,10 @@ public interface AggregationResultBatchOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 3; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * Read timestamp this batch was returned from.
    *
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultOrBuilder.java
similarity index 72%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultOrBuilder.java
index 4bcde0f95..3a489e23a 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultOrBuilder.java
@@ -1,32 +1,14 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/aggregation_result.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface AggregationResultOrBuilder
-    extends
+public interface AggregationResultOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.AggregationResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
    *
@@ -40,8 +22,6 @@ public interface AggregationResultOrBuilder
    */
   int getAggregatePropertiesCount();
   /**
-   *
-   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
    *
@@ -53,13 +33,15 @@ public interface AggregationResultOrBuilder
    *
    * map<string, .google.datastore.v1.Value> aggregate_properties = 2;
    */
-  boolean containsAggregateProperties(java.lang.String key);
-  /** Use {@link #getAggregatePropertiesMap()} instead. */
+  boolean containsAggregateProperties(
+      java.lang.String key);
+  /**
+   * Use {@link #getAggregatePropertiesMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getAggregateProperties();
+  java.util.Map
+  getAggregateProperties();
   /**
-   *
-   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
    *
@@ -71,10 +53,9 @@ public interface AggregationResultOrBuilder
    *
    * map<string, .google.datastore.v1.Value> aggregate_properties = 2;
    */
-  java.util.Map getAggregatePropertiesMap();
+  java.util.Map
+  getAggregatePropertiesMap();
   /**
-   *
-   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
    *
@@ -87,13 +68,11 @@ public interface AggregationResultOrBuilder
    * map<string, .google.datastore.v1.Value> aggregate_properties = 2;
    */
   /* nullable */
-  com.google.datastore.v1.Value getAggregatePropertiesOrDefault(
+com.google.datastore.v1.Value getAggregatePropertiesOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.datastore.v1.Value defaultValue);
+com.google.datastore.v1.Value defaultValue);
   /**
-   *
-   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
    *
@@ -105,5 +84,6 @@ com.google.datastore.v1.Value getAggregatePropertiesOrDefault(
    *
    * map<string, .google.datastore.v1.Value> aggregate_properties = 2;
    */
-  com.google.datastore.v1.Value getAggregatePropertiesOrThrow(java.lang.String key);
+  com.google.datastore.v1.Value getAggregatePropertiesOrThrow(
+      java.lang.String key);
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultProto.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultProto.java
new file mode 100644
index 000000000..065594cf1
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultProto.java
@@ -0,0 +1,95 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/datastore/v1/aggregation_result.proto
+
+// Protobuf Java Version: 3.25.3
+package com.google.datastore.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_datastore_v1_AggregationResult_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_AggregationResult_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_AggregationResult_AggregatePropertiesEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_AggregationResult_AggregatePropertiesEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_AggregationResultBatch_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_AggregationResultBatch_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/datastore/v1/aggregation_result" +
+      ".proto\022\023google.datastore.v1\032 google/data" +
+      "store/v1/entity.proto\032\037google/datastore/" +
+      "v1/query.proto\032\037google/protobuf/timestam" +
+      "p.proto\"\312\001\n\021AggregationResult\022]\n\024aggrega" +
+      "te_properties\030\002 \003(\0132?.google.datastore.v" +
+      "1.AggregationResult.AggregatePropertiesE" +
+      "ntry\032V\n\030AggregatePropertiesEntry\022\013\n\003key\030" +
+      "\001 \001(\t\022)\n\005value\030\002 \001(\0132\032.google.datastore." +
+      "v1.Value:\0028\001\"\331\001\n\026AggregationResultBatch\022" +
+      "C\n\023aggregation_results\030\001 \003(\0132&.google.da" +
+      "tastore.v1.AggregationResult\022K\n\014more_res" +
+      "ults\030\002 \001(\01625.google.datastore.v1.QueryRe" +
+      "sultBatch.MoreResultsType\022-\n\tread_time\030\003" +
+      " \001(\0132\032.google.protobuf.TimestampB\310\001\n\027com" +
+      ".google.datastore.v1B\026AggregationResultP" +
+      "rotoP\001Z
  * The request for
  * [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.datastore.v1.AllocateIdsRequest}
  */
-public final class AllocateIdsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AllocateIdsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.datastore.v1.AllocateIdsRequest)
     AllocateIdsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AllocateIdsRequest.newBuilder() to construct.
   private AllocateIdsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AllocateIdsRequest() {
     projectId_ = "";
     databaseId_ = "";
@@ -47,38 +29,33 @@ private AllocateIdsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new AllocateIdsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.datastore.v1.DatastoreProto
-        .internal_static_google_datastore_v1_AllocateIdsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_AllocateIdsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.v1.DatastoreProto
-        .internal_static_google_datastore_v1_AllocateIdsRequest_fieldAccessorTable
+    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_AllocateIdsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.v1.AllocateIdsRequest.class,
-            com.google.datastore.v1.AllocateIdsRequest.Builder.class);
+            com.google.datastore.v1.AllocateIdsRequest.class, com.google.datastore.v1.AllocateIdsRequest.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 8;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object projectId_ = "";
   /**
-   *
-   *
    * 
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ @java.lang.Override @@ -87,29 +64,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -118,12 +95,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int DATABASE_ID_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object databaseId_ = ""; /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -132,7 +106,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
    * 
* * string database_id = 9; - * * @return The databaseId. */ @java.lang.Override @@ -141,15 +114,14 @@ public java.lang.String getDatabaseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; } } /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -158,15 +130,16 @@ public java.lang.String getDatabaseId() {
    * 
* * string database_id = 9; - * * @return The bytes for databaseId. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -175,87 +148,72 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { } public static final int KEYS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List keys_; /** - * - * *
    * Required. A list of keys with incomplete key paths for which to allocate
    * IDs. No key may be reserved/read-only.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getKeysList() { return keys_; } /** - * - * *
    * Required. A list of keys with incomplete key paths for which to allocate
    * IDs. No key may be reserved/read-only.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List getKeysOrBuilderList() { + public java.util.List + getKeysOrBuilderList() { return keys_; } /** - * - * *
    * Required. A list of keys with incomplete key paths for which to allocate
    * IDs. No key may be reserved/read-only.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getKeysCount() { return keys_.size(); } /** - * - * *
    * Required. A list of keys with incomplete key paths for which to allocate
    * IDs. No key may be reserved/read-only.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.datastore.v1.Key getKeys(int index) { return keys_.get(index); } /** - * - * *
    * Required. A list of keys with incomplete key paths for which to allocate
    * IDs. No key may be reserved/read-only.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(int index) { + public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder( + int index) { return keys_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < keys_.size(); i++) { output.writeMessage(1, keys_.get(i)); } @@ -287,7 +246,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < keys_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, keys_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, keys_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, projectId_); @@ -303,17 +263,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.datastore.v1.AllocateIdsRequest)) { return super.equals(obj); } - com.google.datastore.v1.AllocateIdsRequest other = - (com.google.datastore.v1.AllocateIdsRequest) obj; + com.google.datastore.v1.AllocateIdsRequest other = (com.google.datastore.v1.AllocateIdsRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getDatabaseId().equals(other.getDatabaseId())) return false; - if (!getKeysList().equals(other.getKeysList())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getDatabaseId() + .equals(other.getDatabaseId())) return false; + if (!getKeysList() + .equals(other.getKeysList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -338,104 +300,99 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.AllocateIdsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.datastore.v1.AllocateIdsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.AllocateIdsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.AllocateIdsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.AllocateIdsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.AllocateIdsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.AllocateIdsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.AllocateIdsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.AllocateIdsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.AllocateIdsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.AllocateIdsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.v1.AllocateIdsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.AllocateIdsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.AllocateIdsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.datastore.v1.AllocateIdsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds].
@@ -443,32 +400,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.datastore.v1.AllocateIdsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.datastore.v1.AllocateIdsRequest)
       com.google.datastore.v1.AllocateIdsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_AllocateIdsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_AllocateIdsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_AllocateIdsRequest_fieldAccessorTable
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_AllocateIdsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.AllocateIdsRequest.class,
-              com.google.datastore.v1.AllocateIdsRequest.Builder.class);
+              com.google.datastore.v1.AllocateIdsRequest.class, com.google.datastore.v1.AllocateIdsRequest.Builder.class);
     }
 
     // Construct using com.google.datastore.v1.AllocateIdsRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -486,9 +444,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_AllocateIdsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_AllocateIdsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -507,12 +465,9 @@ public com.google.datastore.v1.AllocateIdsRequest build() {
 
     @java.lang.Override
     public com.google.datastore.v1.AllocateIdsRequest buildPartial() {
-      com.google.datastore.v1.AllocateIdsRequest result =
-          new com.google.datastore.v1.AllocateIdsRequest(this);
+      com.google.datastore.v1.AllocateIdsRequest result = new com.google.datastore.v1.AllocateIdsRequest(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -543,39 +498,38 @@ private void buildPartial0(com.google.datastore.v1.AllocateIdsRequest result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.AllocateIdsRequest) {
-        return mergeFrom((com.google.datastore.v1.AllocateIdsRequest) other);
+        return mergeFrom((com.google.datastore.v1.AllocateIdsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -612,10 +566,9 @@ public Builder mergeFrom(com.google.datastore.v1.AllocateIdsRequest other) {
             keysBuilder_ = null;
             keys_ = other.keys_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            keysBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getKeysFieldBuilder()
-                    : null;
+            keysBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getKeysFieldBuilder() : null;
           } else {
             keysBuilder_.addAllMessages(other.keys_);
           }
@@ -647,37 +600,35 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.datastore.v1.Key m =
-                    input.readMessage(com.google.datastore.v1.Key.parser(), extensionRegistry);
-                if (keysBuilder_ == null) {
-                  ensureKeysIsMutable();
-                  keys_.add(m);
-                } else {
-                  keysBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 66:
-              {
-                projectId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 66
-            case 74:
-              {
-                databaseId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 74
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.datastore.v1.Key m =
+                  input.readMessage(
+                      com.google.datastore.v1.Key.parser(),
+                      extensionRegistry);
+              if (keysBuilder_ == null) {
+                ensureKeysIsMutable();
+                keys_.add(m);
+              } else {
+                keysBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 66: {
+              projectId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 66
+            case 74: {
+              databaseId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 74
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -687,25 +638,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object projectId_ = "";
     /**
-     *
-     *
      * 
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -714,21 +662,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -736,35 +683,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -774,21 +714,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -798,8 +734,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object databaseId_ = ""; /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -808,13 +742,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string database_id = 9; - * * @return The databaseId. */ public java.lang.String getDatabaseId() { java.lang.Object ref = databaseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; @@ -823,8 +757,6 @@ public java.lang.String getDatabaseId() { } } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -833,14 +765,15 @@ public java.lang.String getDatabaseId() {
      * 
* * string database_id = 9; - * * @return The bytes for databaseId. */ - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -848,8 +781,6 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { } } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -858,22 +789,18 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() {
      * 
* * string database_id = 9; - * * @param value The databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } databaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -882,7 +809,6 @@ public Builder setDatabaseId(java.lang.String value) {
      * 
* * string database_id = 9; - * * @return This builder for chaining. */ public Builder clearDatabaseId() { @@ -892,8 +818,6 @@ public Builder clearDatabaseId() { return this; } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -902,14 +826,12 @@ public Builder clearDatabaseId() {
      * 
* * string database_id = 9; - * * @param value The bytes for databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); databaseId_ = value; bitField0_ |= 0x00000002; @@ -917,31 +839,25 @@ public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { return this; } - private java.util.List keys_ = java.util.Collections.emptyList(); - + private java.util.List keys_ = + java.util.Collections.emptyList(); private void ensureKeysIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { keys_ = new java.util.ArrayList(keys_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.Key, - com.google.datastore.v1.Key.Builder, - com.google.datastore.v1.KeyOrBuilder> - keysBuilder_; + com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> keysBuilder_; /** - * - * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getKeysList() { if (keysBuilder_ == null) { @@ -951,15 +867,12 @@ public java.util.List getKeysList() { } } /** - * - * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ public int getKeysCount() { if (keysBuilder_ == null) { @@ -969,15 +882,12 @@ public int getKeysCount() { } } /** - * - * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.datastore.v1.Key getKeys(int index) { if (keysBuilder_ == null) { @@ -987,17 +897,15 @@ public com.google.datastore.v1.Key getKeys(int index) { } } /** - * - * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setKeys(int index, com.google.datastore.v1.Key value) { + public Builder setKeys( + int index, com.google.datastore.v1.Key value) { if (keysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1011,17 +919,15 @@ public Builder setKeys(int index, com.google.datastore.v1.Key value) { return this; } /** - * - * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setKeys(int index, com.google.datastore.v1.Key.Builder builderForValue) { + public Builder setKeys( + int index, com.google.datastore.v1.Key.Builder builderForValue) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.set(index, builderForValue.build()); @@ -1032,15 +938,12 @@ public Builder setKeys(int index, com.google.datastore.v1.Key.Builder builderFor return this; } /** - * - * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addKeys(com.google.datastore.v1.Key value) { if (keysBuilder_ == null) { @@ -1056,17 +959,15 @@ public Builder addKeys(com.google.datastore.v1.Key value) { return this; } /** - * - * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addKeys(int index, com.google.datastore.v1.Key value) { + public Builder addKeys( + int index, com.google.datastore.v1.Key value) { if (keysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1080,17 +981,15 @@ public Builder addKeys(int index, com.google.datastore.v1.Key value) { return this; } /** - * - * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addKeys(com.google.datastore.v1.Key.Builder builderForValue) { + public Builder addKeys( + com.google.datastore.v1.Key.Builder builderForValue) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.add(builderForValue.build()); @@ -1101,17 +1000,15 @@ public Builder addKeys(com.google.datastore.v1.Key.Builder builderForValue) { return this; } /** - * - * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addKeys(int index, com.google.datastore.v1.Key.Builder builderForValue) { + public Builder addKeys( + int index, com.google.datastore.v1.Key.Builder builderForValue) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.add(index, builderForValue.build()); @@ -1122,20 +1019,19 @@ public Builder addKeys(int index, com.google.datastore.v1.Key.Builder builderFor return this; } /** - * - * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addAllKeys(java.lang.Iterable values) { + public Builder addAllKeys( + java.lang.Iterable values) { if (keysBuilder_ == null) { ensureKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, keys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, keys_); onChanged(); } else { keysBuilder_.addAllMessages(values); @@ -1143,15 +1039,12 @@ public Builder addAllKeys(java.lang.Iterable * Required. A list of keys with incomplete key paths for which to allocate * IDs. No key may be reserved/read-only. *
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearKeys() { if (keysBuilder_ == null) { @@ -1164,15 +1057,12 @@ public Builder clearKeys() { return this; } /** - * - * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeKeys(int index) { if (keysBuilder_ == null) { @@ -1185,49 +1075,42 @@ public Builder removeKeys(int index) { return this; } /** - * - * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.datastore.v1.Key.Builder getKeysBuilder(int index) { + public com.google.datastore.v1.Key.Builder getKeysBuilder( + int index) { return getKeysFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(int index) { + public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder( + int index) { if (keysBuilder_ == null) { - return keys_.get(index); - } else { + return keys_.get(index); } else { return keysBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List getKeysOrBuilderList() { + public java.util.List + getKeysOrBuilderList() { if (keysBuilder_ != null) { return keysBuilder_.getMessageOrBuilderList(); } else { @@ -1235,68 +1118,59 @@ public java.util.List getKeysOrB } } /** - * - * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.datastore.v1.Key.Builder addKeysBuilder() { - return getKeysFieldBuilder().addBuilder(com.google.datastore.v1.Key.getDefaultInstance()); + return getKeysFieldBuilder().addBuilder( + com.google.datastore.v1.Key.getDefaultInstance()); } /** - * - * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.datastore.v1.Key.Builder addKeysBuilder(int index) { - return getKeysFieldBuilder() - .addBuilder(index, com.google.datastore.v1.Key.getDefaultInstance()); + public com.google.datastore.v1.Key.Builder addKeysBuilder( + int index) { + return getKeysFieldBuilder().addBuilder( + index, com.google.datastore.v1.Key.getDefaultInstance()); } /** - * - * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List getKeysBuilderList() { + public java.util.List + getKeysBuilderList() { return getKeysFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.Key, - com.google.datastore.v1.Key.Builder, - com.google.datastore.v1.KeyOrBuilder> + com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> getKeysFieldBuilder() { if (keysBuilder_ == null) { - keysBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.Key, - com.google.datastore.v1.Key.Builder, - com.google.datastore.v1.KeyOrBuilder>( - keys_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + keysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder>( + keys_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); keys_ = null; } return keysBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1306,12 +1180,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.v1.AllocateIdsRequest) } // @@protoc_insertion_point(class_scope:google.datastore.v1.AllocateIdsRequest) private static final com.google.datastore.v1.AllocateIdsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.v1.AllocateIdsRequest(); } @@ -1320,27 +1194,27 @@ public static com.google.datastore.v1.AllocateIdsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AllocateIdsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AllocateIdsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1355,4 +1229,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.AllocateIdsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsRequestOrBuilder.java similarity index 67% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsRequestOrBuilder.java index 3f2db79c4..ecb02ac3c 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsRequestOrBuilder.java @@ -1,57 +1,34 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface AllocateIdsRequestOrBuilder - extends +public interface AllocateIdsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.AllocateIdsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -60,13 +37,10 @@ public interface AllocateIdsRequestOrBuilder
    * 
* * string database_id = 9; - * * @return The databaseId. */ java.lang.String getDatabaseId(); /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -75,69 +49,57 @@ public interface AllocateIdsRequestOrBuilder
    * 
* * string database_id = 9; - * * @return The bytes for databaseId. */ - com.google.protobuf.ByteString getDatabaseIdBytes(); + com.google.protobuf.ByteString + getDatabaseIdBytes(); /** - * - * *
    * Required. A list of keys with incomplete key paths for which to allocate
    * IDs. No key may be reserved/read-only.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getKeysList(); + java.util.List + getKeysList(); /** - * - * *
    * Required. A list of keys with incomplete key paths for which to allocate
    * IDs. No key may be reserved/read-only.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.datastore.v1.Key getKeys(int index); /** - * - * *
    * Required. A list of keys with incomplete key paths for which to allocate
    * IDs. No key may be reserved/read-only.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ int getKeysCount(); /** - * - * *
    * Required. A list of keys with incomplete key paths for which to allocate
    * IDs. No key may be reserved/read-only.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getKeysOrBuilderList(); + java.util.List + getKeysOrBuilderList(); /** - * - * *
    * Required. A list of keys with incomplete key paths for which to allocate
    * IDs. No key may be reserved/read-only.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(int index); + com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder( + int index); } diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponse.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponse.java similarity index 71% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponse.java index c1ac60e39..365a66c32 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto @@ -20,8 +5,6 @@ package com.google.datastore.v1; /** - * - * *
  * The response for
  * [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds].
@@ -29,48 +12,43 @@
  *
  * Protobuf type {@code google.datastore.v1.AllocateIdsResponse}
  */
-public final class AllocateIdsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class AllocateIdsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.datastore.v1.AllocateIdsResponse)
     AllocateIdsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use AllocateIdsResponse.newBuilder() to construct.
   private AllocateIdsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private AllocateIdsResponse() {
     keys_ = 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 AllocateIdsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.datastore.v1.DatastoreProto
-        .internal_static_google_datastore_v1_AllocateIdsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_AllocateIdsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.v1.DatastoreProto
-        .internal_static_google_datastore_v1_AllocateIdsResponse_fieldAccessorTable
+    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_AllocateIdsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.v1.AllocateIdsResponse.class,
-            com.google.datastore.v1.AllocateIdsResponse.Builder.class);
+            com.google.datastore.v1.AllocateIdsResponse.class, com.google.datastore.v1.AllocateIdsResponse.Builder.class);
   }
 
   public static final int KEYS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List keys_;
   /**
-   *
-   *
    * 
    * The keys specified in the request (in the same order), each with
    * its key path completed with a newly allocated ID.
@@ -83,8 +61,6 @@ public java.util.List getKeysList() {
     return keys_;
   }
   /**
-   *
-   *
    * 
    * The keys specified in the request (in the same order), each with
    * its key path completed with a newly allocated ID.
@@ -93,12 +69,11 @@ public java.util.List getKeysList() {
    * repeated .google.datastore.v1.Key keys = 1;
    */
   @java.lang.Override
-  public java.util.List getKeysOrBuilderList() {
+  public java.util.List 
+      getKeysOrBuilderList() {
     return keys_;
   }
   /**
-   *
-   *
    * 
    * The keys specified in the request (in the same order), each with
    * its key path completed with a newly allocated ID.
@@ -111,8 +86,6 @@ public int getKeysCount() {
     return keys_.size();
   }
   /**
-   *
-   *
    * 
    * The keys specified in the request (in the same order), each with
    * its key path completed with a newly allocated ID.
@@ -125,8 +98,6 @@ public com.google.datastore.v1.Key getKeys(int index) {
     return keys_.get(index);
   }
   /**
-   *
-   *
    * 
    * The keys specified in the request (in the same order), each with
    * its key path completed with a newly allocated ID.
@@ -135,12 +106,12 @@ public com.google.datastore.v1.Key getKeys(int index) {
    * repeated .google.datastore.v1.Key keys = 1;
    */
   @java.lang.Override
-  public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(int index) {
+  public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(
+      int index) {
     return keys_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -152,7 +123,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 < keys_.size(); i++) {
       output.writeMessage(1, keys_.get(i));
     }
@@ -166,7 +138,8 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < keys_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, keys_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, keys_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -176,15 +149,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.datastore.v1.AllocateIdsResponse)) {
       return super.equals(obj);
     }
-    com.google.datastore.v1.AllocateIdsResponse other =
-        (com.google.datastore.v1.AllocateIdsResponse) obj;
+    com.google.datastore.v1.AllocateIdsResponse other = (com.google.datastore.v1.AllocateIdsResponse) obj;
 
-    if (!getKeysList().equals(other.getKeysList())) return false;
+    if (!getKeysList()
+        .equals(other.getKeysList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -205,104 +178,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.AllocateIdsResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.AllocateIdsResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.AllocateIdsResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.AllocateIdsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.AllocateIdsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.AllocateIdsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.AllocateIdsResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.AllocateIdsResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.datastore.v1.AllocateIdsResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.datastore.v1.AllocateIdsResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.datastore.v1.AllocateIdsResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.datastore.v1.AllocateIdsResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.datastore.v1.AllocateIdsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.datastore.v1.AllocateIdsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.datastore.v1.AllocateIdsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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
    * [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds].
@@ -310,32 +278,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.datastore.v1.AllocateIdsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.datastore.v1.AllocateIdsResponse)
       com.google.datastore.v1.AllocateIdsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_AllocateIdsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_AllocateIdsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_AllocateIdsResponse_fieldAccessorTable
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_AllocateIdsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.AllocateIdsResponse.class,
-              com.google.datastore.v1.AllocateIdsResponse.Builder.class);
+              com.google.datastore.v1.AllocateIdsResponse.class, com.google.datastore.v1.AllocateIdsResponse.Builder.class);
     }
 
     // Construct using com.google.datastore.v1.AllocateIdsResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -351,9 +320,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_AllocateIdsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_AllocateIdsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -372,12 +341,9 @@ public com.google.datastore.v1.AllocateIdsResponse build() {
 
     @java.lang.Override
     public com.google.datastore.v1.AllocateIdsResponse buildPartial() {
-      com.google.datastore.v1.AllocateIdsResponse result =
-          new com.google.datastore.v1.AllocateIdsResponse(this);
+      com.google.datastore.v1.AllocateIdsResponse result = new com.google.datastore.v1.AllocateIdsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -402,39 +368,38 @@ private void buildPartial0(com.google.datastore.v1.AllocateIdsResponse result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.AllocateIdsResponse) {
-        return mergeFrom((com.google.datastore.v1.AllocateIdsResponse) other);
+        return mergeFrom((com.google.datastore.v1.AllocateIdsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -461,10 +426,9 @@ public Builder mergeFrom(com.google.datastore.v1.AllocateIdsResponse other) {
             keysBuilder_ = null;
             keys_ = other.keys_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            keysBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getKeysFieldBuilder()
-                    : null;
+            keysBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getKeysFieldBuilder() : null;
           } else {
             keysBuilder_.addAllMessages(other.keys_);
           }
@@ -496,25 +460,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.datastore.v1.Key m =
-                    input.readMessage(com.google.datastore.v1.Key.parser(), extensionRegistry);
-                if (keysBuilder_ == null) {
-                  ensureKeysIsMutable();
-                  keys_.add(m);
-                } else {
-                  keysBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.datastore.v1.Key m =
+                  input.readMessage(
+                      com.google.datastore.v1.Key.parser(),
+                      extensionRegistry);
+              if (keysBuilder_ == null) {
+                ensureKeysIsMutable();
+                keys_.add(m);
+              } else {
+                keysBuilder_.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) {
@@ -524,27 +488,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
-    private java.util.List keys_ = java.util.Collections.emptyList();
-
+    private java.util.List keys_ =
+      java.util.Collections.emptyList();
     private void ensureKeysIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         keys_ = new java.util.ArrayList(keys_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.datastore.v1.Key,
-            com.google.datastore.v1.Key.Builder,
-            com.google.datastore.v1.KeyOrBuilder>
-        keysBuilder_;
+        com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> keysBuilder_;
 
     /**
-     *
-     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -560,8 +518,6 @@ public java.util.List getKeysList() {
       }
     }
     /**
-     *
-     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -577,8 +533,6 @@ public int getKeysCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -594,8 +548,6 @@ public com.google.datastore.v1.Key getKeys(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -603,7 +555,8 @@ public com.google.datastore.v1.Key getKeys(int index) {
      *
      * repeated .google.datastore.v1.Key keys = 1;
      */
-    public Builder setKeys(int index, com.google.datastore.v1.Key value) {
+    public Builder setKeys(
+        int index, com.google.datastore.v1.Key value) {
       if (keysBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -617,8 +570,6 @@ public Builder setKeys(int index, com.google.datastore.v1.Key value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -626,7 +577,8 @@ public Builder setKeys(int index, com.google.datastore.v1.Key value) {
      *
      * repeated .google.datastore.v1.Key keys = 1;
      */
-    public Builder setKeys(int index, com.google.datastore.v1.Key.Builder builderForValue) {
+    public Builder setKeys(
+        int index, com.google.datastore.v1.Key.Builder builderForValue) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
         keys_.set(index, builderForValue.build());
@@ -637,8 +589,6 @@ public Builder setKeys(int index, com.google.datastore.v1.Key.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -660,8 +610,6 @@ public Builder addKeys(com.google.datastore.v1.Key value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -669,7 +617,8 @@ public Builder addKeys(com.google.datastore.v1.Key value) {
      *
      * repeated .google.datastore.v1.Key keys = 1;
      */
-    public Builder addKeys(int index, com.google.datastore.v1.Key value) {
+    public Builder addKeys(
+        int index, com.google.datastore.v1.Key value) {
       if (keysBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -683,8 +632,6 @@ public Builder addKeys(int index, com.google.datastore.v1.Key value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -692,7 +639,8 @@ public Builder addKeys(int index, com.google.datastore.v1.Key value) {
      *
      * repeated .google.datastore.v1.Key keys = 1;
      */
-    public Builder addKeys(com.google.datastore.v1.Key.Builder builderForValue) {
+    public Builder addKeys(
+        com.google.datastore.v1.Key.Builder builderForValue) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
         keys_.add(builderForValue.build());
@@ -703,8 +651,6 @@ public Builder addKeys(com.google.datastore.v1.Key.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -712,7 +658,8 @@ public Builder addKeys(com.google.datastore.v1.Key.Builder builderForValue) {
      *
      * repeated .google.datastore.v1.Key keys = 1;
      */
-    public Builder addKeys(int index, com.google.datastore.v1.Key.Builder builderForValue) {
+    public Builder addKeys(
+        int index, com.google.datastore.v1.Key.Builder builderForValue) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
         keys_.add(index, builderForValue.build());
@@ -723,8 +670,6 @@ public Builder addKeys(int index, com.google.datastore.v1.Key.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -732,10 +677,12 @@ public Builder addKeys(int index, com.google.datastore.v1.Key.Builder builderFor
      *
      * repeated .google.datastore.v1.Key keys = 1;
      */
-    public Builder addAllKeys(java.lang.Iterable values) {
+    public Builder addAllKeys(
+        java.lang.Iterable values) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, keys_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, keys_);
         onChanged();
       } else {
         keysBuilder_.addAllMessages(values);
@@ -743,8 +690,6 @@ public Builder addAllKeys(java.lang.Iterable
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -763,8 +708,6 @@ public Builder clearKeys() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -783,8 +726,6 @@ public Builder removeKeys(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -792,12 +733,11 @@ public Builder removeKeys(int index) {
      *
      * repeated .google.datastore.v1.Key keys = 1;
      */
-    public com.google.datastore.v1.Key.Builder getKeysBuilder(int index) {
+    public com.google.datastore.v1.Key.Builder getKeysBuilder(
+        int index) {
       return getKeysFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -805,16 +745,14 @@ public com.google.datastore.v1.Key.Builder getKeysBuilder(int index) {
      *
      * repeated .google.datastore.v1.Key keys = 1;
      */
-    public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(int index) {
+    public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(
+        int index) {
       if (keysBuilder_ == null) {
-        return keys_.get(index);
-      } else {
+        return keys_.get(index);  } else {
         return keysBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -822,7 +760,8 @@ public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(int index) {
      *
      * repeated .google.datastore.v1.Key keys = 1;
      */
-    public java.util.List getKeysOrBuilderList() {
+    public java.util.List 
+         getKeysOrBuilderList() {
       if (keysBuilder_ != null) {
         return keysBuilder_.getMessageOrBuilderList();
       } else {
@@ -830,8 +769,6 @@ public java.util.List getKeysOrB
       }
     }
     /**
-     *
-     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -840,11 +777,10 @@ public java.util.List getKeysOrB
      * repeated .google.datastore.v1.Key keys = 1;
      */
     public com.google.datastore.v1.Key.Builder addKeysBuilder() {
-      return getKeysFieldBuilder().addBuilder(com.google.datastore.v1.Key.getDefaultInstance());
+      return getKeysFieldBuilder().addBuilder(
+          com.google.datastore.v1.Key.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -852,13 +788,12 @@ public com.google.datastore.v1.Key.Builder addKeysBuilder() {
      *
      * repeated .google.datastore.v1.Key keys = 1;
      */
-    public com.google.datastore.v1.Key.Builder addKeysBuilder(int index) {
-      return getKeysFieldBuilder()
-          .addBuilder(index, com.google.datastore.v1.Key.getDefaultInstance());
+    public com.google.datastore.v1.Key.Builder addKeysBuilder(
+        int index) {
+      return getKeysFieldBuilder().addBuilder(
+          index, com.google.datastore.v1.Key.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -866,29 +801,27 @@ public com.google.datastore.v1.Key.Builder addKeysBuilder(int index) {
      *
      * repeated .google.datastore.v1.Key keys = 1;
      */
-    public java.util.List getKeysBuilderList() {
+    public java.util.List 
+         getKeysBuilderList() {
       return getKeysFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.datastore.v1.Key,
-            com.google.datastore.v1.Key.Builder,
-            com.google.datastore.v1.KeyOrBuilder>
+        com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> 
         getKeysFieldBuilder() {
       if (keysBuilder_ == null) {
-        keysBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.datastore.v1.Key,
-                com.google.datastore.v1.Key.Builder,
-                com.google.datastore.v1.KeyOrBuilder>(
-                keys_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        keysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder>(
+                keys_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         keys_ = null;
       }
       return keysBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -898,12 +831,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.AllocateIdsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.AllocateIdsResponse)
   private static final com.google.datastore.v1.AllocateIdsResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.AllocateIdsResponse();
   }
@@ -912,27 +845,27 @@ public static com.google.datastore.v1.AllocateIdsResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public AllocateIdsResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public AllocateIdsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -947,4 +880,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.AllocateIdsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponseOrBuilder.java
similarity index 64%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponseOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponseOrBuilder.java
index 15aa0780e..c6ee011f1 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponseOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponseOrBuilder.java
@@ -1,32 +1,14 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/datastore.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface AllocateIdsResponseOrBuilder
-    extends
+public interface AllocateIdsResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.AllocateIdsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The keys specified in the request (in the same order), each with
    * its key path completed with a newly allocated ID.
@@ -34,10 +16,9 @@ public interface AllocateIdsResponseOrBuilder
    *
    * repeated .google.datastore.v1.Key keys = 1;
    */
-  java.util.List getKeysList();
+  java.util.List 
+      getKeysList();
   /**
-   *
-   *
    * 
    * The keys specified in the request (in the same order), each with
    * its key path completed with a newly allocated ID.
@@ -47,8 +28,6 @@ public interface AllocateIdsResponseOrBuilder
    */
   com.google.datastore.v1.Key getKeys(int index);
   /**
-   *
-   *
    * 
    * The keys specified in the request (in the same order), each with
    * its key path completed with a newly allocated ID.
@@ -58,8 +37,6 @@ public interface AllocateIdsResponseOrBuilder
    */
   int getKeysCount();
   /**
-   *
-   *
    * 
    * The keys specified in the request (in the same order), each with
    * its key path completed with a newly allocated ID.
@@ -67,10 +44,9 @@ public interface AllocateIdsResponseOrBuilder
    *
    * repeated .google.datastore.v1.Key keys = 1;
    */
-  java.util.List getKeysOrBuilderList();
+  java.util.List 
+      getKeysOrBuilderList();
   /**
-   *
-   *
    * 
    * The keys specified in the request (in the same order), each with
    * its key path completed with a newly allocated ID.
@@ -78,5 +54,6 @@ public interface AllocateIdsResponseOrBuilder
    *
    * repeated .google.datastore.v1.Key keys = 1;
    */
-  com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(int index);
+  com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ArrayValue.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ArrayValue.java
similarity index 72%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ArrayValue.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ArrayValue.java
index 332ecd57f..eea8ff1b6 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ArrayValue.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ArrayValue.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/entity.proto
 
@@ -20,56 +5,49 @@
 package com.google.datastore.v1;
 
 /**
- *
- *
  * 
  * An array value.
  * 
* * Protobuf type {@code google.datastore.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.datastore.v1.ArrayValue) ArrayValueOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ArrayValue.newBuilder() to construct. private ArrayValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ArrayValue() { values_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ArrayValue(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.EntityProto - .internal_static_google_datastore_v1_ArrayValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_ArrayValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.EntityProto - .internal_static_google_datastore_v1_ArrayValue_fieldAccessorTable + return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_ArrayValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.ArrayValue.class, - com.google.datastore.v1.ArrayValue.Builder.class); + com.google.datastore.v1.ArrayValue.class, com.google.datastore.v1.ArrayValue.Builder.class); } public static final int VALUES_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List values_; /** - * - * *
    * Values in the array.
    * The order of values in an array is preserved as long as all values have
@@ -83,8 +61,6 @@ public java.util.List getValuesList() {
     return values_;
   }
   /**
-   *
-   *
    * 
    * Values in the array.
    * The order of values in an array is preserved as long as all values have
@@ -94,12 +70,11 @@ public java.util.List getValuesList() {
    * repeated .google.datastore.v1.Value values = 1;
    */
   @java.lang.Override
-  public java.util.List getValuesOrBuilderList() {
+  public java.util.List 
+      getValuesOrBuilderList() {
     return values_;
   }
   /**
-   *
-   *
    * 
    * Values in the array.
    * The order of values in an array is preserved as long as all values have
@@ -113,8 +88,6 @@ public int getValuesCount() {
     return values_.size();
   }
   /**
-   *
-   *
    * 
    * Values in the array.
    * The order of values in an array is preserved as long as all values have
@@ -128,8 +101,6 @@ public com.google.datastore.v1.Value getValues(int index) {
     return values_.get(index);
   }
   /**
-   *
-   *
    * 
    * Values in the array.
    * The order of values in an array is preserved as long as all values have
@@ -139,12 +110,12 @@ public com.google.datastore.v1.Value getValues(int index) {
    * repeated .google.datastore.v1.Value values = 1;
    */
   @java.lang.Override
-  public com.google.datastore.v1.ValueOrBuilder getValuesOrBuilder(int index) {
+  public com.google.datastore.v1.ValueOrBuilder getValuesOrBuilder(
+      int index) {
     return values_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -156,7 +127,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     for (int i = 0; i < values_.size(); i++) {
       output.writeMessage(1, values_.get(i));
     }
@@ -170,7 +142,8 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < values_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, values_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, values_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -180,14 +153,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.datastore.v1.ArrayValue)) {
       return super.equals(obj);
     }
     com.google.datastore.v1.ArrayValue other = (com.google.datastore.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;
   }
@@ -208,135 +182,132 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.ArrayValue parseFrom(java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.ArrayValue parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.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.datastore.v1.ArrayValue parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.datastore.v1.ArrayValue parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.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.datastore.v1.ArrayValue parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.v1.ArrayValue) com.google.datastore.v1.ArrayValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.EntityProto - .internal_static_google_datastore_v1_ArrayValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_ArrayValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.EntityProto - .internal_static_google_datastore_v1_ArrayValue_fieldAccessorTable + return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_ArrayValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.ArrayValue.class, - com.google.datastore.v1.ArrayValue.Builder.class); + com.google.datastore.v1.ArrayValue.class, com.google.datastore.v1.ArrayValue.Builder.class); } // Construct using com.google.datastore.v1.ArrayValue.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -352,9 +323,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.v1.EntityProto - .internal_static_google_datastore_v1_ArrayValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_ArrayValue_descriptor; } @java.lang.Override @@ -375,9 +346,7 @@ public com.google.datastore.v1.ArrayValue build() { public com.google.datastore.v1.ArrayValue buildPartial() { com.google.datastore.v1.ArrayValue result = new com.google.datastore.v1.ArrayValue(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -402,39 +371,38 @@ private void buildPartial0(com.google.datastore.v1.ArrayValue result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.ArrayValue) { - return mergeFrom((com.google.datastore.v1.ArrayValue) other); + return mergeFrom((com.google.datastore.v1.ArrayValue)other); } else { super.mergeFrom(other); return this; @@ -461,10 +429,9 @@ public Builder mergeFrom(com.google.datastore.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_); } @@ -496,25 +463,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.datastore.v1.Value m = - input.readMessage(com.google.datastore.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.datastore.v1.Value m = + input.readMessage( + com.google.datastore.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) { @@ -524,28 +491,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List values_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureValuesIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { values_ = new java.util.ArrayList(values_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.Value, - com.google.datastore.v1.Value.Builder, - com.google.datastore.v1.ValueOrBuilder> - valuesBuilder_; + com.google.datastore.v1.Value, com.google.datastore.v1.Value.Builder, com.google.datastore.v1.ValueOrBuilder> valuesBuilder_; /** - * - * *
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -562,8 +522,6 @@ public java.util.List getValuesList() {
       }
     }
     /**
-     *
-     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -580,8 +538,6 @@ public int getValuesCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -598,8 +554,6 @@ public com.google.datastore.v1.Value getValues(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -608,7 +562,8 @@ public com.google.datastore.v1.Value getValues(int index) {
      *
      * repeated .google.datastore.v1.Value values = 1;
      */
-    public Builder setValues(int index, com.google.datastore.v1.Value value) {
+    public Builder setValues(
+        int index, com.google.datastore.v1.Value value) {
       if (valuesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -622,8 +577,6 @@ public Builder setValues(int index, com.google.datastore.v1.Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -632,7 +585,8 @@ public Builder setValues(int index, com.google.datastore.v1.Value value) {
      *
      * repeated .google.datastore.v1.Value values = 1;
      */
-    public Builder setValues(int index, com.google.datastore.v1.Value.Builder builderForValue) {
+    public Builder setValues(
+        int index, com.google.datastore.v1.Value.Builder builderForValue) {
       if (valuesBuilder_ == null) {
         ensureValuesIsMutable();
         values_.set(index, builderForValue.build());
@@ -643,8 +597,6 @@ public Builder setValues(int index, com.google.datastore.v1.Value.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -667,8 +619,6 @@ public Builder addValues(com.google.datastore.v1.Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -677,7 +627,8 @@ public Builder addValues(com.google.datastore.v1.Value value) {
      *
      * repeated .google.datastore.v1.Value values = 1;
      */
-    public Builder addValues(int index, com.google.datastore.v1.Value value) {
+    public Builder addValues(
+        int index, com.google.datastore.v1.Value value) {
       if (valuesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -691,8 +642,6 @@ public Builder addValues(int index, com.google.datastore.v1.Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -701,7 +650,8 @@ public Builder addValues(int index, com.google.datastore.v1.Value value) {
      *
      * repeated .google.datastore.v1.Value values = 1;
      */
-    public Builder addValues(com.google.datastore.v1.Value.Builder builderForValue) {
+    public Builder addValues(
+        com.google.datastore.v1.Value.Builder builderForValue) {
       if (valuesBuilder_ == null) {
         ensureValuesIsMutable();
         values_.add(builderForValue.build());
@@ -712,8 +662,6 @@ public Builder addValues(com.google.datastore.v1.Value.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -722,7 +670,8 @@ public Builder addValues(com.google.datastore.v1.Value.Builder builderForValue)
      *
      * repeated .google.datastore.v1.Value values = 1;
      */
-    public Builder addValues(int index, com.google.datastore.v1.Value.Builder builderForValue) {
+    public Builder addValues(
+        int index, com.google.datastore.v1.Value.Builder builderForValue) {
       if (valuesBuilder_ == null) {
         ensureValuesIsMutable();
         values_.add(index, builderForValue.build());
@@ -733,8 +682,6 @@ public Builder addValues(int index, com.google.datastore.v1.Value.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -747,7 +694,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);
@@ -755,8 +703,6 @@ public Builder addAllValues(
       return this;
     }
     /**
-     *
-     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -776,8 +722,6 @@ public Builder clearValues() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -797,8 +741,6 @@ public Builder removeValues(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -807,12 +749,11 @@ public Builder removeValues(int index) {
      *
      * repeated .google.datastore.v1.Value values = 1;
      */
-    public com.google.datastore.v1.Value.Builder getValuesBuilder(int index) {
+    public com.google.datastore.v1.Value.Builder getValuesBuilder(
+        int index) {
       return getValuesFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -821,16 +762,14 @@ public com.google.datastore.v1.Value.Builder getValuesBuilder(int index) {
      *
      * repeated .google.datastore.v1.Value values = 1;
      */
-    public com.google.datastore.v1.ValueOrBuilder getValuesOrBuilder(int index) {
+    public com.google.datastore.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.
      * The order of values in an array is preserved as long as all values have
@@ -839,8 +778,8 @@ public com.google.datastore.v1.ValueOrBuilder getValuesOrBuilder(int index) {
      *
      * repeated .google.datastore.v1.Value values = 1;
      */
-    public java.util.List
-        getValuesOrBuilderList() {
+    public java.util.List 
+         getValuesOrBuilderList() {
       if (valuesBuilder_ != null) {
         return valuesBuilder_.getMessageOrBuilderList();
       } else {
@@ -848,8 +787,6 @@ public com.google.datastore.v1.ValueOrBuilder getValuesOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -859,11 +796,10 @@ public com.google.datastore.v1.ValueOrBuilder getValuesOrBuilder(int index) {
      * repeated .google.datastore.v1.Value values = 1;
      */
     public com.google.datastore.v1.Value.Builder addValuesBuilder() {
-      return getValuesFieldBuilder().addBuilder(com.google.datastore.v1.Value.getDefaultInstance());
+      return getValuesFieldBuilder().addBuilder(
+          com.google.datastore.v1.Value.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -872,13 +808,12 @@ public com.google.datastore.v1.Value.Builder addValuesBuilder() {
      *
      * repeated .google.datastore.v1.Value values = 1;
      */
-    public com.google.datastore.v1.Value.Builder addValuesBuilder(int index) {
-      return getValuesFieldBuilder()
-          .addBuilder(index, com.google.datastore.v1.Value.getDefaultInstance());
+    public com.google.datastore.v1.Value.Builder addValuesBuilder(
+        int index) {
+      return getValuesFieldBuilder().addBuilder(
+          index, com.google.datastore.v1.Value.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -887,29 +822,27 @@ public com.google.datastore.v1.Value.Builder addValuesBuilder(int index) {
      *
      * repeated .google.datastore.v1.Value values = 1;
      */
-    public java.util.List getValuesBuilderList() {
+    public java.util.List 
+         getValuesBuilderList() {
       return getValuesFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.datastore.v1.Value,
-            com.google.datastore.v1.Value.Builder,
-            com.google.datastore.v1.ValueOrBuilder>
+        com.google.datastore.v1.Value, com.google.datastore.v1.Value.Builder, com.google.datastore.v1.ValueOrBuilder> 
         getValuesFieldBuilder() {
       if (valuesBuilder_ == null) {
-        valuesBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.datastore.v1.Value,
-                com.google.datastore.v1.Value.Builder,
-                com.google.datastore.v1.ValueOrBuilder>(
-                values_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.datastore.v1.Value, com.google.datastore.v1.Value.Builder, com.google.datastore.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);
     }
 
@@ -919,12 +852,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.ArrayValue)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.ArrayValue)
   private static final com.google.datastore.v1.ArrayValue DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.ArrayValue();
   }
@@ -933,27 +866,27 @@ public static com.google.datastore.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;
@@ -968,4 +901,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.ArrayValue getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ArrayValueOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ArrayValueOrBuilder.java
similarity index 67%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ArrayValueOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ArrayValueOrBuilder.java
index 3f8acbe27..e3d8c20c0 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ArrayValueOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ArrayValueOrBuilder.java
@@ -1,32 +1,14 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/entity.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface ArrayValueOrBuilder
-    extends
+public interface ArrayValueOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.ArrayValue)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Values in the array.
    * The order of values in an array is preserved as long as all values have
@@ -35,10 +17,9 @@ public interface ArrayValueOrBuilder
    *
    * repeated .google.datastore.v1.Value values = 1;
    */
-  java.util.List getValuesList();
+  java.util.List 
+      getValuesList();
   /**
-   *
-   *
    * 
    * Values in the array.
    * The order of values in an array is preserved as long as all values have
@@ -49,8 +30,6 @@ public interface ArrayValueOrBuilder
    */
   com.google.datastore.v1.Value getValues(int index);
   /**
-   *
-   *
    * 
    * Values in the array.
    * The order of values in an array is preserved as long as all values have
@@ -61,8 +40,6 @@ public interface ArrayValueOrBuilder
    */
   int getValuesCount();
   /**
-   *
-   *
    * 
    * Values in the array.
    * The order of values in an array is preserved as long as all values have
@@ -71,10 +48,9 @@ public interface ArrayValueOrBuilder
    *
    * repeated .google.datastore.v1.Value values = 1;
    */
-  java.util.List getValuesOrBuilderList();
+  java.util.List 
+      getValuesOrBuilderList();
   /**
-   *
-   *
    * 
    * Values in the array.
    * The order of values in an array is preserved as long as all values have
@@ -83,5 +59,6 @@ public interface ArrayValueOrBuilder
    *
    * repeated .google.datastore.v1.Value values = 1;
    */
-  com.google.datastore.v1.ValueOrBuilder getValuesOrBuilder(int index);
+  com.google.datastore.v1.ValueOrBuilder getValuesOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequest.java
similarity index 70%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequest.java
index eee52d8fd..483c29108 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequest.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/datastore.proto
 
@@ -20,8 +5,6 @@
 package com.google.datastore.v1;
 
 /**
- *
- *
  * 
  * The request for
  * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.datastore.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.datastore.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() {
     projectId_ = "";
     databaseId_ = "";
@@ -46,39 +28,34 @@ private BeginTransactionRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BeginTransactionRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.datastore.v1.DatastoreProto
-        .internal_static_google_datastore_v1_BeginTransactionRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_BeginTransactionRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.v1.DatastoreProto
-        .internal_static_google_datastore_v1_BeginTransactionRequest_fieldAccessorTable
+    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_BeginTransactionRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.v1.BeginTransactionRequest.class,
-            com.google.datastore.v1.BeginTransactionRequest.Builder.class);
+            com.google.datastore.v1.BeginTransactionRequest.class, com.google.datastore.v1.BeginTransactionRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int PROJECT_ID_FIELD_NUMBER = 8;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object projectId_ = "";
   /**
-   *
-   *
    * 
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ @java.lang.Override @@ -87,29 +64,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -118,12 +95,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int DATABASE_ID_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object databaseId_ = ""; /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -132,7 +106,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
    * 
* * string database_id = 9; - * * @return The databaseId. */ @java.lang.Override @@ -141,15 +114,14 @@ public java.lang.String getDatabaseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; } } /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -158,15 +130,16 @@ public java.lang.String getDatabaseId() {
    * 
* * string database_id = 9; - * * @return The bytes for databaseId. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -177,14 +150,11 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { public static final int TRANSACTION_OPTIONS_FIELD_NUMBER = 10; private com.google.datastore.v1.TransactionOptions transactionOptions_; /** - * - * *
    * Options for a new transaction.
    * 
* * .google.datastore.v1.TransactionOptions transaction_options = 10; - * * @return Whether the transactionOptions field is set. */ @java.lang.Override @@ -192,25 +162,18 @@ public boolean hasTransactionOptions() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Options for a new transaction.
    * 
* * .google.datastore.v1.TransactionOptions transaction_options = 10; - * * @return The transactionOptions. */ @java.lang.Override public com.google.datastore.v1.TransactionOptions getTransactionOptions() { - return transactionOptions_ == null - ? com.google.datastore.v1.TransactionOptions.getDefaultInstance() - : transactionOptions_; + return transactionOptions_ == null ? com.google.datastore.v1.TransactionOptions.getDefaultInstance() : transactionOptions_; } /** - * - * *
    * Options for a new transaction.
    * 
@@ -219,13 +182,10 @@ public com.google.datastore.v1.TransactionOptions getTransactionOptions() { */ @java.lang.Override public com.google.datastore.v1.TransactionOptionsOrBuilder getTransactionOptionsOrBuilder() { - return transactionOptions_ == null - ? com.google.datastore.v1.TransactionOptions.getDefaultInstance() - : transactionOptions_; + return transactionOptions_ == null ? com.google.datastore.v1.TransactionOptions.getDefaultInstance() : transactionOptions_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -237,7 +197,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, projectId_); } @@ -263,7 +224,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, databaseId_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getTransactionOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getTransactionOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -273,19 +235,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.datastore.v1.BeginTransactionRequest)) { return super.equals(obj); } - com.google.datastore.v1.BeginTransactionRequest other = - (com.google.datastore.v1.BeginTransactionRequest) obj; + com.google.datastore.v1.BeginTransactionRequest other = (com.google.datastore.v1.BeginTransactionRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getDatabaseId().equals(other.getDatabaseId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getDatabaseId() + .equals(other.getDatabaseId())) return false; if (hasTransactionOptions() != other.hasTransactionOptions()) return false; if (hasTransactionOptions()) { - if (!getTransactionOptions().equals(other.getTransactionOptions())) return false; + if (!getTransactionOptions() + .equals(other.getTransactionOptions())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -311,104 +275,99 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.BeginTransactionRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.datastore.v1.BeginTransactionRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.v1.BeginTransactionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.v1.BeginTransactionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.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.datastore.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.datastore.v1.BeginTransactionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.BeginTransactionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.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.datastore.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.datastore.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.datastore.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
    * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
@@ -416,23 +375,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.datastore.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.datastore.v1.BeginTransactionRequest)
       com.google.datastore.v1.BeginTransactionRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_BeginTransactionRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_BeginTransactionRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_BeginTransactionRequest_fieldAccessorTable
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_BeginTransactionRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.BeginTransactionRequest.class,
-              com.google.datastore.v1.BeginTransactionRequest.Builder.class);
+              com.google.datastore.v1.BeginTransactionRequest.class, com.google.datastore.v1.BeginTransactionRequest.Builder.class);
     }
 
     // Construct using com.google.datastore.v1.BeginTransactionRequest.newBuilder()
@@ -440,17 +397,17 @@ 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) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getTransactionOptionsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -466,9 +423,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_BeginTransactionRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_BeginTransactionRequest_descriptor;
     }
 
     @java.lang.Override
@@ -487,11 +444,8 @@ public com.google.datastore.v1.BeginTransactionRequest build() {
 
     @java.lang.Override
     public com.google.datastore.v1.BeginTransactionRequest buildPartial() {
-      com.google.datastore.v1.BeginTransactionRequest result =
-          new com.google.datastore.v1.BeginTransactionRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.datastore.v1.BeginTransactionRequest result = new com.google.datastore.v1.BeginTransactionRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -506,10 +460,9 @@ private void buildPartial0(com.google.datastore.v1.BeginTransactionRequest resul
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.transactionOptions_ =
-            transactionOptionsBuilder_ == null
-                ? transactionOptions_
-                : transactionOptionsBuilder_.build();
+        result.transactionOptions_ = transactionOptionsBuilder_ == null
+            ? transactionOptions_
+            : transactionOptionsBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -519,39 +472,38 @@ private void buildPartial0(com.google.datastore.v1.BeginTransactionRequest resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.BeginTransactionRequest) {
-        return mergeFrom((com.google.datastore.v1.BeginTransactionRequest) other);
+        return mergeFrom((com.google.datastore.v1.BeginTransactionRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -559,8 +511,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.datastore.v1.BeginTransactionRequest other) {
-      if (other == com.google.datastore.v1.BeginTransactionRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.datastore.v1.BeginTransactionRequest.getDefaultInstance()) return this;
       if (!other.getProjectId().isEmpty()) {
         projectId_ = other.projectId_;
         bitField0_ |= 0x00000001;
@@ -600,32 +551,29 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 66:
-              {
-                projectId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 66
-            case 74:
-              {
-                databaseId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 74
-            case 82:
-              {
-                input.readMessage(
-                    getTransactionOptionsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 82
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 66: {
+              projectId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 66
+            case 74: {
+              databaseId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 74
+            case 82: {
+              input.readMessage(
+                  getTransactionOptionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 82
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -635,25 +583,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object projectId_ = "";
     /**
-     *
-     *
      * 
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -662,21 +607,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -684,35 +628,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -722,21 +659,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -746,8 +679,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object databaseId_ = ""; /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -756,13 +687,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string database_id = 9; - * * @return The databaseId. */ public java.lang.String getDatabaseId() { java.lang.Object ref = databaseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; @@ -771,8 +702,6 @@ public java.lang.String getDatabaseId() { } } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -781,14 +710,15 @@ public java.lang.String getDatabaseId() {
      * 
* * string database_id = 9; - * * @return The bytes for databaseId. */ - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -796,8 +726,6 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { } } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -806,22 +734,18 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() {
      * 
* * string database_id = 9; - * * @param value The databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } databaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -830,7 +754,6 @@ public Builder setDatabaseId(java.lang.String value) {
      * 
* * string database_id = 9; - * * @return This builder for chaining. */ public Builder clearDatabaseId() { @@ -840,8 +763,6 @@ public Builder clearDatabaseId() { return this; } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -850,14 +771,12 @@ public Builder clearDatabaseId() {
      * 
* * string database_id = 9; - * * @param value The bytes for databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); databaseId_ = value; bitField0_ |= 0x00000002; @@ -867,47 +786,34 @@ public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { private com.google.datastore.v1.TransactionOptions transactionOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.TransactionOptions, - com.google.datastore.v1.TransactionOptions.Builder, - com.google.datastore.v1.TransactionOptionsOrBuilder> - transactionOptionsBuilder_; + com.google.datastore.v1.TransactionOptions, com.google.datastore.v1.TransactionOptions.Builder, com.google.datastore.v1.TransactionOptionsOrBuilder> transactionOptionsBuilder_; /** - * - * *
      * Options for a new transaction.
      * 
* * .google.datastore.v1.TransactionOptions transaction_options = 10; - * * @return Whether the transactionOptions field is set. */ public boolean hasTransactionOptions() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Options for a new transaction.
      * 
* * .google.datastore.v1.TransactionOptions transaction_options = 10; - * * @return The transactionOptions. */ public com.google.datastore.v1.TransactionOptions getTransactionOptions() { if (transactionOptionsBuilder_ == null) { - return transactionOptions_ == null - ? com.google.datastore.v1.TransactionOptions.getDefaultInstance() - : transactionOptions_; + return transactionOptions_ == null ? com.google.datastore.v1.TransactionOptions.getDefaultInstance() : transactionOptions_; } else { return transactionOptionsBuilder_.getMessage(); } } /** - * - * *
      * Options for a new transaction.
      * 
@@ -928,8 +834,6 @@ public Builder setTransactionOptions(com.google.datastore.v1.TransactionOptions return this; } /** - * - * *
      * Options for a new transaction.
      * 
@@ -948,8 +852,6 @@ public Builder setTransactionOptions( return this; } /** - * - * *
      * Options for a new transaction.
      * 
@@ -958,10 +860,9 @@ public Builder setTransactionOptions( */ public Builder mergeTransactionOptions(com.google.datastore.v1.TransactionOptions value) { if (transactionOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && transactionOptions_ != null - && transactionOptions_ - != com.google.datastore.v1.TransactionOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + transactionOptions_ != null && + transactionOptions_ != com.google.datastore.v1.TransactionOptions.getDefaultInstance()) { getTransactionOptionsBuilder().mergeFrom(value); } else { transactionOptions_ = value; @@ -976,8 +877,6 @@ public Builder mergeTransactionOptions(com.google.datastore.v1.TransactionOption return this; } /** - * - * *
      * Options for a new transaction.
      * 
@@ -995,8 +894,6 @@ public Builder clearTransactionOptions() { return this; } /** - * - * *
      * Options for a new transaction.
      * 
@@ -1009,8 +906,6 @@ public com.google.datastore.v1.TransactionOptions.Builder getTransactionOptionsB return getTransactionOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Options for a new transaction.
      * 
@@ -1021,14 +916,11 @@ public com.google.datastore.v1.TransactionOptionsOrBuilder getTransactionOptions if (transactionOptionsBuilder_ != null) { return transactionOptionsBuilder_.getMessageOrBuilder(); } else { - return transactionOptions_ == null - ? com.google.datastore.v1.TransactionOptions.getDefaultInstance() - : transactionOptions_; + return transactionOptions_ == null ? + com.google.datastore.v1.TransactionOptions.getDefaultInstance() : transactionOptions_; } } /** - * - * *
      * Options for a new transaction.
      * 
@@ -1036,24 +928,21 @@ public com.google.datastore.v1.TransactionOptionsOrBuilder getTransactionOptions * .google.datastore.v1.TransactionOptions transaction_options = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.TransactionOptions, - com.google.datastore.v1.TransactionOptions.Builder, - com.google.datastore.v1.TransactionOptionsOrBuilder> + com.google.datastore.v1.TransactionOptions, com.google.datastore.v1.TransactionOptions.Builder, com.google.datastore.v1.TransactionOptionsOrBuilder> getTransactionOptionsFieldBuilder() { if (transactionOptionsBuilder_ == null) { - transactionOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.TransactionOptions, - com.google.datastore.v1.TransactionOptions.Builder, - com.google.datastore.v1.TransactionOptionsOrBuilder>( - getTransactionOptions(), getParentForChildren(), isClean()); + transactionOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.TransactionOptions, com.google.datastore.v1.TransactionOptions.Builder, com.google.datastore.v1.TransactionOptionsOrBuilder>( + getTransactionOptions(), + getParentForChildren(), + isClean()); transactionOptions_ = null; } return transactionOptionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1063,12 +952,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.v1.BeginTransactionRequest) } // @@protoc_insertion_point(class_scope:google.datastore.v1.BeginTransactionRequest) private static final com.google.datastore.v1.BeginTransactionRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.v1.BeginTransactionRequest(); } @@ -1077,27 +966,27 @@ public static com.google.datastore.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; @@ -1112,4 +1001,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.BeginTransactionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequestOrBuilder.java similarity index 71% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequestOrBuilder.java index 322bbccc6..078ae966e 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequestOrBuilder.java @@ -1,57 +1,34 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface BeginTransactionRequestOrBuilder - extends +public interface BeginTransactionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.BeginTransactionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -60,13 +37,10 @@ public interface BeginTransactionRequestOrBuilder
    * 
* * string database_id = 9; - * * @return The databaseId. */ java.lang.String getDatabaseId(); /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -75,38 +49,30 @@ public interface BeginTransactionRequestOrBuilder
    * 
* * string database_id = 9; - * * @return The bytes for databaseId. */ - com.google.protobuf.ByteString getDatabaseIdBytes(); + com.google.protobuf.ByteString + getDatabaseIdBytes(); /** - * - * *
    * Options for a new transaction.
    * 
* * .google.datastore.v1.TransactionOptions transaction_options = 10; - * * @return Whether the transactionOptions field is set. */ boolean hasTransactionOptions(); /** - * - * *
    * Options for a new transaction.
    * 
* * .google.datastore.v1.TransactionOptions transaction_options = 10; - * * @return The transactionOptions. */ com.google.datastore.v1.TransactionOptions getTransactionOptions(); /** - * - * *
    * Options for a new transaction.
    * 
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionResponse.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionResponse.java similarity index 65% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionResponse.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionResponse.java index c955d18fd..ac851ca83 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto @@ -20,8 +5,6 @@ package com.google.datastore.v1; /** - * - * *
  * The response for
  * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
@@ -29,52 +12,47 @@
  *
  * Protobuf type {@code google.datastore.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.datastore.v1.BeginTransactionResponse)
     BeginTransactionResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use BeginTransactionResponse.newBuilder() to construct.
   private BeginTransactionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private BeginTransactionResponse() {
     transaction_ = com.google.protobuf.ByteString.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new BeginTransactionResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.datastore.v1.DatastoreProto
-        .internal_static_google_datastore_v1_BeginTransactionResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_BeginTransactionResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.v1.DatastoreProto
-        .internal_static_google_datastore_v1_BeginTransactionResponse_fieldAccessorTable
+    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_BeginTransactionResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.v1.BeginTransactionResponse.class,
-            com.google.datastore.v1.BeginTransactionResponse.Builder.class);
+            com.google.datastore.v1.BeginTransactionResponse.class, com.google.datastore.v1.BeginTransactionResponse.Builder.class);
   }
 
   public static final int TRANSACTION_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY;
   /**
-   *
-   *
    * 
    * The transaction identifier (always present).
    * 
* * bytes transaction = 1; - * * @return The transaction. */ @java.lang.Override @@ -83,7 +61,6 @@ public com.google.protobuf.ByteString getTransaction() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -95,7 +72,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!transaction_.isEmpty()) { output.writeBytes(1, transaction_); } @@ -109,7 +87,8 @@ public int getSerializedSize() { size = 0; if (!transaction_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, transaction_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, transaction_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -119,15 +98,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.datastore.v1.BeginTransactionResponse)) { return super.equals(obj); } - com.google.datastore.v1.BeginTransactionResponse other = - (com.google.datastore.v1.BeginTransactionResponse) obj; + com.google.datastore.v1.BeginTransactionResponse other = (com.google.datastore.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; } @@ -146,104 +125,99 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.BeginTransactionResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.datastore.v1.BeginTransactionResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.v1.BeginTransactionResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.v1.BeginTransactionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.v1.BeginTransactionResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.datastore.v1.BeginTransactionResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.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.datastore.v1.BeginTransactionResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.BeginTransactionResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.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.datastore.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.datastore.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.datastore.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
    * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
@@ -251,32 +225,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.datastore.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.datastore.v1.BeginTransactionResponse)
       com.google.datastore.v1.BeginTransactionResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_BeginTransactionResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_BeginTransactionResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_BeginTransactionResponse_fieldAccessorTable
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_BeginTransactionResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.BeginTransactionResponse.class,
-              com.google.datastore.v1.BeginTransactionResponse.Builder.class);
+              com.google.datastore.v1.BeginTransactionResponse.class, com.google.datastore.v1.BeginTransactionResponse.Builder.class);
     }
 
     // Construct using com.google.datastore.v1.BeginTransactionResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -286,9 +261,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_BeginTransactionResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_BeginTransactionResponse_descriptor;
     }
 
     @java.lang.Override
@@ -307,11 +282,8 @@ public com.google.datastore.v1.BeginTransactionResponse build() {
 
     @java.lang.Override
     public com.google.datastore.v1.BeginTransactionResponse buildPartial() {
-      com.google.datastore.v1.BeginTransactionResponse result =
-          new com.google.datastore.v1.BeginTransactionResponse(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.datastore.v1.BeginTransactionResponse result = new com.google.datastore.v1.BeginTransactionResponse(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -327,39 +299,38 @@ private void buildPartial0(com.google.datastore.v1.BeginTransactionResponse resu
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.BeginTransactionResponse) {
-        return mergeFrom((com.google.datastore.v1.BeginTransactionResponse) other);
+        return mergeFrom((com.google.datastore.v1.BeginTransactionResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -367,8 +338,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.datastore.v1.BeginTransactionResponse other) {
-      if (other == com.google.datastore.v1.BeginTransactionResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.datastore.v1.BeginTransactionResponse.getDefaultInstance()) return this;
       if (other.getTransaction() != com.google.protobuf.ByteString.EMPTY) {
         setTransaction(other.getTransaction());
       }
@@ -398,19 +368,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                transaction_ = input.readBytes();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              transaction_ = input.readBytes();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -420,19 +388,15 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * The transaction identifier (always present).
      * 
* * bytes transaction = 1; - * * @return The transaction. */ @java.lang.Override @@ -440,35 +404,27 @@ public com.google.protobuf.ByteString getTransaction() { return transaction_; } /** - * - * *
      * The transaction identifier (always present).
      * 
* * bytes transaction = 1; - * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } transaction_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The transaction identifier (always present).
      * 
* * bytes transaction = 1; - * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -477,9 +433,9 @@ public Builder clearTransaction() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -489,12 +445,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.v1.BeginTransactionResponse) } // @@protoc_insertion_point(class_scope:google.datastore.v1.BeginTransactionResponse) private static final com.google.datastore.v1.BeginTransactionResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.v1.BeginTransactionResponse(); } @@ -503,27 +459,27 @@ public static com.google.datastore.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; @@ -538,4 +494,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.BeginTransactionResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionResponseOrBuilder.java new file mode 100644 index 000000000..3c020d3de --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionResponseOrBuilder.java @@ -0,0 +1,20 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/datastore/v1/datastore.proto + +// Protobuf Java Version: 3.25.3 +package com.google.datastore.v1; + +public interface BeginTransactionResponseOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.datastore.v1.BeginTransactionResponse) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The transaction identifier (always present).
+   * 
+ * + * bytes transaction = 1; + * @return The transaction. + */ + com.google.protobuf.ByteString getTransaction(); +} diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequest.java similarity index 79% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequest.java index 3b865f5be..8443c96b8 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto @@ -20,24 +5,21 @@ package com.google.datastore.v1; /** - * - * *
  * The request for [Datastore.Commit][google.datastore.v1.Datastore.Commit].
  * 
* * Protobuf type {@code google.datastore.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.datastore.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() { projectId_ = ""; databaseId_ = ""; @@ -47,38 +29,34 @@ private CommitRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CommitRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_CommitRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_CommitRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_CommitRequest_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_CommitRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.CommitRequest.class, - com.google.datastore.v1.CommitRequest.Builder.class); + com.google.datastore.v1.CommitRequest.class, com.google.datastore.v1.CommitRequest.Builder.class); } /** - * - * *
    * The modes available for commits.
    * 
* * Protobuf enum {@code google.datastore.v1.CommitRequest.Mode} */ - public enum Mode implements com.google.protobuf.ProtocolMessageEnum { + public enum Mode + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified. This value must not be used.
      * 
@@ -87,8 +65,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ MODE_UNSPECIFIED(0), /** - * - * *
      * Transactional: The mutations are either all applied, or none are applied.
      * Learn about transactions
@@ -99,8 +75,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
      */
     TRANSACTIONAL(1),
     /**
-     *
-     *
      * 
      * Non-transactional: The mutations may not apply as all or none.
      * 
@@ -112,8 +86,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified. This value must not be used.
      * 
@@ -122,8 +94,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Transactional: The mutations are either all applied, or none are applied.
      * Learn about transactions
@@ -134,8 +104,6 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int TRANSACTIONAL_VALUE = 1;
     /**
-     *
-     *
      * 
      * Non-transactional: The mutations may not apply as all or none.
      * 
@@ -144,6 +112,7 @@ public enum Mode implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NON_TRANSACTIONAL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -168,49 +137,49 @@ public static Mode valueOf(int value) { */ public static Mode forNumber(int value) { switch (value) { - case 0: - return MODE_UNSPECIFIED; - case 1: - return TRANSACTIONAL; - case 2: - return NON_TRANSACTIONAL; - default: - return null; + case 0: return MODE_UNSPECIFIED; + case 1: return TRANSACTIONAL; + case 2: return NON_TRANSACTIONAL; + 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< + Mode> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Mode findValueByNumber(int number) { + return Mode.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Mode findValueByNumber(int number) { - return Mode.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.datastore.v1.CommitRequest.getDescriptor().getEnumTypes().get(0); } private static final Mode[] VALUES = values(); - public static Mode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Mode 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; @@ -228,19 +197,15 @@ private Mode(int value) { } private int transactionSelectorCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object transactionSelector_; - public enum TransactionSelectorCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TRANSACTION(1), SINGLE_USE_TRANSACTION(10), TRANSACTIONSELECTOR_NOT_SET(0); private final int value; - private TransactionSelectorCase(int value) { this.value = value; } @@ -256,39 +221,32 @@ public static TransactionSelectorCase valueOf(int value) { public static TransactionSelectorCase forNumber(int value) { switch (value) { - case 1: - return TRANSACTION; - case 10: - return SINGLE_USE_TRANSACTION; - case 0: - return TRANSACTIONSELECTOR_NOT_SET; - default: - return null; + case 1: return TRANSACTION; + case 10: return SINGLE_USE_TRANSACTION; + case 0: return TRANSACTIONSELECTOR_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public TransactionSelectorCase getTransactionSelectorCase() { - return TransactionSelectorCase.forNumber(transactionSelectorCase_); + public TransactionSelectorCase + getTransactionSelectorCase() { + return TransactionSelectorCase.forNumber( + transactionSelectorCase_); } public static final int PROJECT_ID_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ @java.lang.Override @@ -297,29 +255,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -328,12 +286,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int DATABASE_ID_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object databaseId_ = ""; /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -342,7 +297,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
    * 
* * string database_id = 9; - * * @return The databaseId. */ @java.lang.Override @@ -351,15 +305,14 @@ public java.lang.String getDatabaseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; } } /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -368,15 +321,16 @@ public java.lang.String getDatabaseId() {
    * 
* * string database_id = 9; - * * @return The bytes for databaseId. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -387,42 +341,31 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { public static final int MODE_FIELD_NUMBER = 5; private int mode_ = 0; /** - * - * *
    * The type of commit to perform. Defaults to `TRANSACTIONAL`.
    * 
* * .google.datastore.v1.CommitRequest.Mode mode = 5; - * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override - public int getModeValue() { + @java.lang.Override public int getModeValue() { return mode_; } /** - * - * *
    * The type of commit to perform. Defaults to `TRANSACTIONAL`.
    * 
* * .google.datastore.v1.CommitRequest.Mode mode = 5; - * * @return The mode. */ - @java.lang.Override - public com.google.datastore.v1.CommitRequest.Mode getMode() { - com.google.datastore.v1.CommitRequest.Mode result = - com.google.datastore.v1.CommitRequest.Mode.forNumber(mode_); + @java.lang.Override public com.google.datastore.v1.CommitRequest.Mode getMode() { + com.google.datastore.v1.CommitRequest.Mode result = com.google.datastore.v1.CommitRequest.Mode.forNumber(mode_); return result == null ? com.google.datastore.v1.CommitRequest.Mode.UNRECOGNIZED : result; } public static final int TRANSACTION_FIELD_NUMBER = 1; /** - * - * *
    * The identifier of the transaction associated with the commit. A
    * transaction identifier is returned by a call to
@@ -430,7 +373,6 @@ public com.google.datastore.v1.CommitRequest.Mode getMode() {
    * 
* * bytes transaction = 1; - * * @return Whether the transaction field is set. */ @java.lang.Override @@ -438,8 +380,6 @@ public boolean hasTransaction() { return transactionSelectorCase_ == 1; } /** - * - * *
    * The identifier of the transaction associated with the commit. A
    * transaction identifier is returned by a call to
@@ -447,7 +387,6 @@ public boolean hasTransaction() {
    * 
* * bytes transaction = 1; - * * @return The transaction. */ @java.lang.Override @@ -460,8 +399,6 @@ public com.google.protobuf.ByteString getTransaction() { public static final int SINGLE_USE_TRANSACTION_FIELD_NUMBER = 10; /** - * - * *
    * Options for beginning a new transaction for this request.
    * The transaction is committed when the request completes. If specified,
@@ -470,7 +407,6 @@ public com.google.protobuf.ByteString getTransaction() {
    * 
* * .google.datastore.v1.TransactionOptions single_use_transaction = 10; - * * @return Whether the singleUseTransaction field is set. */ @java.lang.Override @@ -478,8 +414,6 @@ public boolean hasSingleUseTransaction() { return transactionSelectorCase_ == 10; } /** - * - * *
    * Options for beginning a new transaction for this request.
    * The transaction is committed when the request completes. If specified,
@@ -488,19 +422,16 @@ public boolean hasSingleUseTransaction() {
    * 
* * .google.datastore.v1.TransactionOptions single_use_transaction = 10; - * * @return The singleUseTransaction. */ @java.lang.Override public com.google.datastore.v1.TransactionOptions getSingleUseTransaction() { if (transactionSelectorCase_ == 10) { - return (com.google.datastore.v1.TransactionOptions) transactionSelector_; + return (com.google.datastore.v1.TransactionOptions) transactionSelector_; } return com.google.datastore.v1.TransactionOptions.getDefaultInstance(); } /** - * - * *
    * Options for beginning a new transaction for this request.
    * The transaction is committed when the request completes. If specified,
@@ -513,18 +444,15 @@ public com.google.datastore.v1.TransactionOptions getSingleUseTransaction() {
   @java.lang.Override
   public com.google.datastore.v1.TransactionOptionsOrBuilder getSingleUseTransactionOrBuilder() {
     if (transactionSelectorCase_ == 10) {
-      return (com.google.datastore.v1.TransactionOptions) transactionSelector_;
+       return (com.google.datastore.v1.TransactionOptions) transactionSelector_;
     }
     return com.google.datastore.v1.TransactionOptions.getDefaultInstance();
   }
 
   public static final int MUTATIONS_FIELD_NUMBER = 6;
-
   @SuppressWarnings("serial")
   private java.util.List mutations_;
   /**
-   *
-   *
    * 
    * The mutations to perform.
    *
@@ -548,8 +476,6 @@ public java.util.List getMutationsList() {
     return mutations_;
   }
   /**
-   *
-   *
    * 
    * The mutations to perform.
    *
@@ -569,13 +495,11 @@ public java.util.List getMutationsList() {
    * repeated .google.datastore.v1.Mutation mutations = 6;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getMutationsOrBuilderList() {
     return mutations_;
   }
   /**
-   *
-   *
    * 
    * The mutations to perform.
    *
@@ -599,8 +523,6 @@ public int getMutationsCount() {
     return mutations_.size();
   }
   /**
-   *
-   *
    * 
    * The mutations to perform.
    *
@@ -624,8 +546,6 @@ public com.google.datastore.v1.Mutation getMutations(int index) {
     return mutations_.get(index);
   }
   /**
-   *
-   *
    * 
    * The mutations to perform.
    *
@@ -645,12 +565,12 @@ public com.google.datastore.v1.Mutation getMutations(int index) {
    * repeated .google.datastore.v1.Mutation mutations = 6;
    */
   @java.lang.Override
-  public com.google.datastore.v1.MutationOrBuilder getMutationsOrBuilder(int index) {
+  public com.google.datastore.v1.MutationOrBuilder getMutationsOrBuilder(
+      int index) {
     return mutations_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -662,9 +582,11 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (transactionSelectorCase_ == 1) {
-      output.writeBytes(1, (com.google.protobuf.ByteString) transactionSelector_);
+      output.writeBytes(
+          1, (com.google.protobuf.ByteString) transactionSelector_);
     }
     if (mode_ != com.google.datastore.v1.CommitRequest.Mode.MODE_UNSPECIFIED.getNumber()) {
       output.writeEnum(5, mode_);
@@ -691,15 +613,17 @@ public int getSerializedSize() {
 
     size = 0;
     if (transactionSelectorCase_ == 1) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeBytesSize(
-              1, (com.google.protobuf.ByteString) transactionSelector_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(
+            1, (com.google.protobuf.ByteString) transactionSelector_);
     }
     if (mode_ != com.google.datastore.v1.CommitRequest.Mode.MODE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, mode_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(5, mode_);
     }
     for (int i = 0; i < mutations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, mutations_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, mutations_.get(i));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, projectId_);
@@ -708,9 +632,8 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, databaseId_);
     }
     if (transactionSelectorCase_ == 10) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              10, (com.google.datastore.v1.TransactionOptions) transactionSelector_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(10, (com.google.datastore.v1.TransactionOptions) transactionSelector_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -720,24 +643,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.datastore.v1.CommitRequest)) {
       return super.equals(obj);
     }
     com.google.datastore.v1.CommitRequest other = (com.google.datastore.v1.CommitRequest) obj;
 
-    if (!getProjectId().equals(other.getProjectId())) return false;
-    if (!getDatabaseId().equals(other.getDatabaseId())) return false;
+    if (!getProjectId()
+        .equals(other.getProjectId())) return false;
+    if (!getDatabaseId()
+        .equals(other.getDatabaseId())) return false;
     if (mode_ != other.mode_) return false;
-    if (!getMutationsList().equals(other.getMutationsList())) return false;
+    if (!getMutationsList()
+        .equals(other.getMutationsList())) return false;
     if (!getTransactionSelectorCase().equals(other.getTransactionSelectorCase())) return false;
     switch (transactionSelectorCase_) {
       case 1:
-        if (!getTransaction().equals(other.getTransaction())) return false;
+        if (!getTransaction()
+            .equals(other.getTransaction())) return false;
         break;
       case 10:
-        if (!getSingleUseTransaction().equals(other.getSingleUseTransaction())) return false;
+        if (!getSingleUseTransaction()
+            .equals(other.getSingleUseTransaction())) return false;
         break;
       case 0:
       default:
@@ -780,135 +708,132 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.CommitRequest parseFrom(java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.CommitRequest parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.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.datastore.v1.CommitRequest parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.datastore.v1.CommitRequest parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.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.datastore.v1.CommitRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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 [Datastore.Commit][google.datastore.v1.Datastore.Commit].
    * 
* * Protobuf type {@code google.datastore.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.datastore.v1.CommitRequest) com.google.datastore.v1.CommitRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_CommitRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_CommitRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_CommitRequest_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_CommitRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.CommitRequest.class, - com.google.datastore.v1.CommitRequest.Builder.class); + com.google.datastore.v1.CommitRequest.class, com.google.datastore.v1.CommitRequest.Builder.class); } // Construct using com.google.datastore.v1.CommitRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -932,9 +857,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_CommitRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_CommitRequest_descriptor; } @java.lang.Override @@ -953,12 +878,9 @@ public com.google.datastore.v1.CommitRequest build() { @java.lang.Override public com.google.datastore.v1.CommitRequest buildPartial() { - com.google.datastore.v1.CommitRequest result = - new com.google.datastore.v1.CommitRequest(this); + com.google.datastore.v1.CommitRequest result = new com.google.datastore.v1.CommitRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -992,7 +914,8 @@ private void buildPartial0(com.google.datastore.v1.CommitRequest result) { private void buildPartialOneofs(com.google.datastore.v1.CommitRequest result) { result.transactionSelectorCase_ = transactionSelectorCase_; result.transactionSelector_ = this.transactionSelector_; - if (transactionSelectorCase_ == 10 && singleUseTransactionBuilder_ != null) { + if (transactionSelectorCase_ == 10 && + singleUseTransactionBuilder_ != null) { result.transactionSelector_ = singleUseTransactionBuilder_.build(); } } @@ -1001,39 +924,38 @@ private void buildPartialOneofs(com.google.datastore.v1.CommitRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.CommitRequest) { - return mergeFrom((com.google.datastore.v1.CommitRequest) other); + return mergeFrom((com.google.datastore.v1.CommitRequest)other); } else { super.mergeFrom(other); return this; @@ -1073,30 +995,26 @@ public Builder mergeFrom(com.google.datastore.v1.CommitRequest other) { mutationsBuilder_ = null; mutations_ = other.mutations_; bitField0_ = (bitField0_ & ~0x00000020); - mutationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMutationsFieldBuilder() - : null; + mutationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMutationsFieldBuilder() : null; } else { mutationsBuilder_.addAllMessages(other.mutations_); } } } switch (other.getTransactionSelectorCase()) { - case TRANSACTION: - { - setTransaction(other.getTransaction()); - break; - } - case SINGLE_USE_TRANSACTION: - { - mergeSingleUseTransaction(other.getSingleUseTransaction()); - break; - } - case TRANSACTIONSELECTOR_NOT_SET: - { - break; - } + case TRANSACTION: { + setTransaction(other.getTransaction()); + break; + } + case SINGLE_USE_TRANSACTION: { + mergeSingleUseTransaction(other.getSingleUseTransaction()); + break; + } + case TRANSACTIONSELECTOR_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1124,56 +1042,52 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - transactionSelector_ = input.readBytes(); - transactionSelectorCase_ = 1; - break; - } // case 10 - case 40: - { - mode_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 40 - case 50: - { - com.google.datastore.v1.Mutation m = - input.readMessage(com.google.datastore.v1.Mutation.parser(), extensionRegistry); - if (mutationsBuilder_ == null) { - ensureMutationsIsMutable(); - mutations_.add(m); - } else { - mutationsBuilder_.addMessage(m); - } - break; - } // case 50 - case 66: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 66 - case 74: - { - databaseId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 74 - case 82: - { - input.readMessage( - getSingleUseTransactionFieldBuilder().getBuilder(), extensionRegistry); - transactionSelectorCase_ = 10; - break; - } // case 82 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + transactionSelector_ = input.readBytes(); + transactionSelectorCase_ = 1; + break; + } // case 10 + case 40: { + mode_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 40 + case 50: { + com.google.datastore.v1.Mutation m = + input.readMessage( + com.google.datastore.v1.Mutation.parser(), + extensionRegistry); + if (mutationsBuilder_ == null) { + ensureMutationsIsMutable(); + mutations_.add(m); + } else { + mutationsBuilder_.addMessage(m); + } + break; + } // case 50 + case 66: { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 66 + case 74: { + databaseId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 74 + case 82: { + input.readMessage( + getSingleUseTransactionFieldBuilder().getBuilder(), + extensionRegistry); + transactionSelectorCase_ = 10; + break; + } // case 82 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1183,12 +1097,12 @@ public Builder mergeFrom( } // finally return this; } - private int transactionSelectorCase_ = 0; private java.lang.Object transactionSelector_; - - public TransactionSelectorCase getTransactionSelectorCase() { - return TransactionSelectorCase.forNumber(transactionSelectorCase_); + public TransactionSelectorCase + getTransactionSelectorCase() { + return TransactionSelectorCase.forNumber( + transactionSelectorCase_); } public Builder clearTransactionSelector() { @@ -1202,20 +1116,18 @@ public Builder clearTransactionSelector() { private java.lang.Object projectId_ = ""; /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -1224,21 +1136,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -1246,35 +1157,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -1284,21 +1188,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -1308,8 +1208,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object databaseId_ = ""; /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -1318,13 +1216,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string database_id = 9; - * * @return The databaseId. */ public java.lang.String getDatabaseId() { java.lang.Object ref = databaseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; @@ -1333,8 +1231,6 @@ public java.lang.String getDatabaseId() { } } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -1343,14 +1239,15 @@ public java.lang.String getDatabaseId() {
      * 
* * string database_id = 9; - * * @return The bytes for databaseId. */ - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -1358,8 +1255,6 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { } } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -1368,22 +1263,18 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() {
      * 
* * string database_id = 9; - * * @param value The databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } databaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -1392,7 +1283,6 @@ public Builder setDatabaseId(java.lang.String value) {
      * 
* * string database_id = 9; - * * @return This builder for chaining. */ public Builder clearDatabaseId() { @@ -1402,8 +1292,6 @@ public Builder clearDatabaseId() { return this; } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -1412,14 +1300,12 @@ public Builder clearDatabaseId() {
      * 
* * string database_id = 9; - * * @param value The bytes for databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); databaseId_ = value; bitField0_ |= 0x00000002; @@ -1429,29 +1315,22 @@ public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { private int mode_ = 0; /** - * - * *
      * The type of commit to perform. Defaults to `TRANSACTIONAL`.
      * 
* * .google.datastore.v1.CommitRequest.Mode mode = 5; - * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override - public int getModeValue() { + @java.lang.Override public int getModeValue() { return mode_; } /** - * - * *
      * The type of commit to perform. Defaults to `TRANSACTIONAL`.
      * 
* * .google.datastore.v1.CommitRequest.Mode mode = 5; - * * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ @@ -1462,31 +1341,24 @@ public Builder setModeValue(int value) { return this; } /** - * - * *
      * The type of commit to perform. Defaults to `TRANSACTIONAL`.
      * 
* * .google.datastore.v1.CommitRequest.Mode mode = 5; - * * @return The mode. */ @java.lang.Override public com.google.datastore.v1.CommitRequest.Mode getMode() { - com.google.datastore.v1.CommitRequest.Mode result = - com.google.datastore.v1.CommitRequest.Mode.forNumber(mode_); + com.google.datastore.v1.CommitRequest.Mode result = com.google.datastore.v1.CommitRequest.Mode.forNumber(mode_); return result == null ? com.google.datastore.v1.CommitRequest.Mode.UNRECOGNIZED : result; } /** - * - * *
      * The type of commit to perform. Defaults to `TRANSACTIONAL`.
      * 
* * .google.datastore.v1.CommitRequest.Mode mode = 5; - * * @param value The mode to set. * @return This builder for chaining. */ @@ -1500,14 +1372,11 @@ public Builder setMode(com.google.datastore.v1.CommitRequest.Mode value) { return this; } /** - * - * *
      * The type of commit to perform. Defaults to `TRANSACTIONAL`.
      * 
* * .google.datastore.v1.CommitRequest.Mode mode = 5; - * * @return This builder for chaining. */ public Builder clearMode() { @@ -1518,8 +1387,6 @@ public Builder clearMode() { } /** - * - * *
      * The identifier of the transaction associated with the commit. A
      * transaction identifier is returned by a call to
@@ -1527,15 +1394,12 @@ public Builder clearMode() {
      * 
* * bytes transaction = 1; - * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return transactionSelectorCase_ == 1; } /** - * - * *
      * The identifier of the transaction associated with the commit. A
      * transaction identifier is returned by a call to
@@ -1543,7 +1407,6 @@ public boolean hasTransaction() {
      * 
* * bytes transaction = 1; - * * @return The transaction. */ public com.google.protobuf.ByteString getTransaction() { @@ -1553,8 +1416,6 @@ public com.google.protobuf.ByteString getTransaction() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * The identifier of the transaction associated with the commit. A
      * transaction identifier is returned by a call to
@@ -1562,22 +1423,17 @@ public com.google.protobuf.ByteString getTransaction() {
      * 
* * bytes transaction = 1; - * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } transactionSelectorCase_ = 1; transactionSelector_ = value; onChanged(); return this; } /** - * - * *
      * The identifier of the transaction associated with the commit. A
      * transaction identifier is returned by a call to
@@ -1585,7 +1441,6 @@ public Builder setTransaction(com.google.protobuf.ByteString value) {
      * 
* * bytes transaction = 1; - * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -1598,13 +1453,8 @@ public Builder clearTransaction() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.TransactionOptions, - com.google.datastore.v1.TransactionOptions.Builder, - com.google.datastore.v1.TransactionOptionsOrBuilder> - singleUseTransactionBuilder_; + com.google.datastore.v1.TransactionOptions, com.google.datastore.v1.TransactionOptions.Builder, com.google.datastore.v1.TransactionOptionsOrBuilder> singleUseTransactionBuilder_; /** - * - * *
      * Options for beginning a new transaction for this request.
      * The transaction is committed when the request completes. If specified,
@@ -1613,7 +1463,6 @@ public Builder clearTransaction() {
      * 
* * .google.datastore.v1.TransactionOptions single_use_transaction = 10; - * * @return Whether the singleUseTransaction field is set. */ @java.lang.Override @@ -1621,8 +1470,6 @@ public boolean hasSingleUseTransaction() { return transactionSelectorCase_ == 10; } /** - * - * *
      * Options for beginning a new transaction for this request.
      * The transaction is committed when the request completes. If specified,
@@ -1631,7 +1478,6 @@ public boolean hasSingleUseTransaction() {
      * 
* * .google.datastore.v1.TransactionOptions single_use_transaction = 10; - * * @return The singleUseTransaction. */ @java.lang.Override @@ -1649,8 +1495,6 @@ public com.google.datastore.v1.TransactionOptions getSingleUseTransaction() { } } /** - * - * *
      * Options for beginning a new transaction for this request.
      * The transaction is committed when the request completes. If specified,
@@ -1674,8 +1518,6 @@ public Builder setSingleUseTransaction(com.google.datastore.v1.TransactionOption
       return this;
     }
     /**
-     *
-     *
      * 
      * Options for beginning a new transaction for this request.
      * The transaction is committed when the request completes. If specified,
@@ -1697,8 +1539,6 @@ public Builder setSingleUseTransaction(
       return this;
     }
     /**
-     *
-     *
      * 
      * Options for beginning a new transaction for this request.
      * The transaction is committed when the request completes. If specified,
@@ -1710,14 +1550,10 @@ public Builder setSingleUseTransaction(
      */
     public Builder mergeSingleUseTransaction(com.google.datastore.v1.TransactionOptions value) {
       if (singleUseTransactionBuilder_ == null) {
-        if (transactionSelectorCase_ == 10
-            && transactionSelector_
-                != com.google.datastore.v1.TransactionOptions.getDefaultInstance()) {
-          transactionSelector_ =
-              com.google.datastore.v1.TransactionOptions.newBuilder(
-                      (com.google.datastore.v1.TransactionOptions) transactionSelector_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (transactionSelectorCase_ == 10 &&
+            transactionSelector_ != com.google.datastore.v1.TransactionOptions.getDefaultInstance()) {
+          transactionSelector_ = com.google.datastore.v1.TransactionOptions.newBuilder((com.google.datastore.v1.TransactionOptions) transactionSelector_)
+              .mergeFrom(value).buildPartial();
         } else {
           transactionSelector_ = value;
         }
@@ -1733,8 +1569,6 @@ public Builder mergeSingleUseTransaction(com.google.datastore.v1.TransactionOpti
       return this;
     }
     /**
-     *
-     *
      * 
      * Options for beginning a new transaction for this request.
      * The transaction is committed when the request completes. If specified,
@@ -1761,8 +1595,6 @@ public Builder clearSingleUseTransaction() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Options for beginning a new transaction for this request.
      * The transaction is committed when the request completes. If specified,
@@ -1776,8 +1608,6 @@ public com.google.datastore.v1.TransactionOptions.Builder getSingleUseTransactio
       return getSingleUseTransactionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Options for beginning a new transaction for this request.
      * The transaction is committed when the request completes. If specified,
@@ -1799,8 +1629,6 @@ public com.google.datastore.v1.TransactionOptionsOrBuilder getSingleUseTransacti
       }
     }
     /**
-     *
-     *
      * 
      * Options for beginning a new transaction for this request.
      * The transaction is committed when the request completes. If specified,
@@ -1811,19 +1639,14 @@ public com.google.datastore.v1.TransactionOptionsOrBuilder getSingleUseTransacti
      * .google.datastore.v1.TransactionOptions single_use_transaction = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.TransactionOptions,
-            com.google.datastore.v1.TransactionOptions.Builder,
-            com.google.datastore.v1.TransactionOptionsOrBuilder>
+        com.google.datastore.v1.TransactionOptions, com.google.datastore.v1.TransactionOptions.Builder, com.google.datastore.v1.TransactionOptionsOrBuilder> 
         getSingleUseTransactionFieldBuilder() {
       if (singleUseTransactionBuilder_ == null) {
         if (!(transactionSelectorCase_ == 10)) {
           transactionSelector_ = com.google.datastore.v1.TransactionOptions.getDefaultInstance();
         }
-        singleUseTransactionBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.datastore.v1.TransactionOptions,
-                com.google.datastore.v1.TransactionOptions.Builder,
-                com.google.datastore.v1.TransactionOptionsOrBuilder>(
+        singleUseTransactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.datastore.v1.TransactionOptions, com.google.datastore.v1.TransactionOptions.Builder, com.google.datastore.v1.TransactionOptionsOrBuilder>(
                 (com.google.datastore.v1.TransactionOptions) transactionSelector_,
                 getParentForChildren(),
                 isClean());
@@ -1835,24 +1658,18 @@ public com.google.datastore.v1.TransactionOptionsOrBuilder getSingleUseTransacti
     }
 
     private java.util.List mutations_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureMutationsIsMutable() {
       if (!((bitField0_ & 0x00000020) != 0)) {
         mutations_ = new java.util.ArrayList(mutations_);
         bitField0_ |= 0x00000020;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.datastore.v1.Mutation,
-            com.google.datastore.v1.Mutation.Builder,
-            com.google.datastore.v1.MutationOrBuilder>
-        mutationsBuilder_;
+        com.google.datastore.v1.Mutation, com.google.datastore.v1.Mutation.Builder, com.google.datastore.v1.MutationOrBuilder> mutationsBuilder_;
 
     /**
-     *
-     *
      * 
      * The mutations to perform.
      *
@@ -1879,8 +1696,6 @@ public java.util.List getMutationsList() {
       }
     }
     /**
-     *
-     *
      * 
      * The mutations to perform.
      *
@@ -1907,8 +1722,6 @@ public int getMutationsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The mutations to perform.
      *
@@ -1935,8 +1748,6 @@ public com.google.datastore.v1.Mutation getMutations(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The mutations to perform.
      *
@@ -1955,7 +1766,8 @@ public com.google.datastore.v1.Mutation getMutations(int index) {
      *
      * repeated .google.datastore.v1.Mutation mutations = 6;
      */
-    public Builder setMutations(int index, com.google.datastore.v1.Mutation value) {
+    public Builder setMutations(
+        int index, com.google.datastore.v1.Mutation value) {
       if (mutationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1969,8 +1781,6 @@ public Builder setMutations(int index, com.google.datastore.v1.Mutation value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The mutations to perform.
      *
@@ -2001,8 +1811,6 @@ public Builder setMutations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The mutations to perform.
      *
@@ -2035,8 +1843,6 @@ public Builder addMutations(com.google.datastore.v1.Mutation value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The mutations to perform.
      *
@@ -2055,7 +1861,8 @@ public Builder addMutations(com.google.datastore.v1.Mutation value) {
      *
      * repeated .google.datastore.v1.Mutation mutations = 6;
      */
-    public Builder addMutations(int index, com.google.datastore.v1.Mutation value) {
+    public Builder addMutations(
+        int index, com.google.datastore.v1.Mutation value) {
       if (mutationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2069,8 +1876,6 @@ public Builder addMutations(int index, com.google.datastore.v1.Mutation value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The mutations to perform.
      *
@@ -2089,7 +1894,8 @@ public Builder addMutations(int index, com.google.datastore.v1.Mutation value) {
      *
      * repeated .google.datastore.v1.Mutation mutations = 6;
      */
-    public Builder addMutations(com.google.datastore.v1.Mutation.Builder builderForValue) {
+    public Builder addMutations(
+        com.google.datastore.v1.Mutation.Builder builderForValue) {
       if (mutationsBuilder_ == null) {
         ensureMutationsIsMutable();
         mutations_.add(builderForValue.build());
@@ -2100,8 +1906,6 @@ public Builder addMutations(com.google.datastore.v1.Mutation.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * The mutations to perform.
      *
@@ -2132,8 +1936,6 @@ public Builder addMutations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The mutations to perform.
      *
@@ -2156,7 +1958,8 @@ public Builder addAllMutations(
         java.lang.Iterable values) {
       if (mutationsBuilder_ == null) {
         ensureMutationsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, mutations_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, mutations_);
         onChanged();
       } else {
         mutationsBuilder_.addAllMessages(values);
@@ -2164,8 +1967,6 @@ public Builder addAllMutations(
       return this;
     }
     /**
-     *
-     *
      * 
      * The mutations to perform.
      *
@@ -2195,8 +1996,6 @@ public Builder clearMutations() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The mutations to perform.
      *
@@ -2226,8 +2025,6 @@ public Builder removeMutations(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The mutations to perform.
      *
@@ -2246,12 +2043,11 @@ public Builder removeMutations(int index) {
      *
      * repeated .google.datastore.v1.Mutation mutations = 6;
      */
-    public com.google.datastore.v1.Mutation.Builder getMutationsBuilder(int index) {
+    public com.google.datastore.v1.Mutation.Builder getMutationsBuilder(
+        int index) {
       return getMutationsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The mutations to perform.
      *
@@ -2270,16 +2066,14 @@ public com.google.datastore.v1.Mutation.Builder getMutationsBuilder(int index) {
      *
      * repeated .google.datastore.v1.Mutation mutations = 6;
      */
-    public com.google.datastore.v1.MutationOrBuilder getMutationsOrBuilder(int index) {
+    public com.google.datastore.v1.MutationOrBuilder getMutationsOrBuilder(
+        int index) {
       if (mutationsBuilder_ == null) {
-        return mutations_.get(index);
-      } else {
+        return mutations_.get(index);  } else {
         return mutationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The mutations to perform.
      *
@@ -2298,8 +2092,8 @@ public com.google.datastore.v1.MutationOrBuilder getMutationsOrBuilder(int index
      *
      * repeated .google.datastore.v1.Mutation mutations = 6;
      */
-    public java.util.List
-        getMutationsOrBuilderList() {
+    public java.util.List 
+         getMutationsOrBuilderList() {
       if (mutationsBuilder_ != null) {
         return mutationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2307,8 +2101,6 @@ public com.google.datastore.v1.MutationOrBuilder getMutationsOrBuilder(int index
       }
     }
     /**
-     *
-     *
      * 
      * The mutations to perform.
      *
@@ -2328,12 +2120,10 @@ public com.google.datastore.v1.MutationOrBuilder getMutationsOrBuilder(int index
      * repeated .google.datastore.v1.Mutation mutations = 6;
      */
     public com.google.datastore.v1.Mutation.Builder addMutationsBuilder() {
-      return getMutationsFieldBuilder()
-          .addBuilder(com.google.datastore.v1.Mutation.getDefaultInstance());
+      return getMutationsFieldBuilder().addBuilder(
+          com.google.datastore.v1.Mutation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The mutations to perform.
      *
@@ -2352,13 +2142,12 @@ public com.google.datastore.v1.Mutation.Builder addMutationsBuilder() {
      *
      * repeated .google.datastore.v1.Mutation mutations = 6;
      */
-    public com.google.datastore.v1.Mutation.Builder addMutationsBuilder(int index) {
-      return getMutationsFieldBuilder()
-          .addBuilder(index, com.google.datastore.v1.Mutation.getDefaultInstance());
+    public com.google.datastore.v1.Mutation.Builder addMutationsBuilder(
+        int index) {
+      return getMutationsFieldBuilder().addBuilder(
+          index, com.google.datastore.v1.Mutation.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The mutations to perform.
      *
@@ -2377,29 +2166,27 @@ public com.google.datastore.v1.Mutation.Builder addMutationsBuilder(int index) {
      *
      * repeated .google.datastore.v1.Mutation mutations = 6;
      */
-    public java.util.List getMutationsBuilderList() {
+    public java.util.List 
+         getMutationsBuilderList() {
       return getMutationsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.datastore.v1.Mutation,
-            com.google.datastore.v1.Mutation.Builder,
-            com.google.datastore.v1.MutationOrBuilder>
+        com.google.datastore.v1.Mutation, com.google.datastore.v1.Mutation.Builder, com.google.datastore.v1.MutationOrBuilder> 
         getMutationsFieldBuilder() {
       if (mutationsBuilder_ == null) {
-        mutationsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.datastore.v1.Mutation,
-                com.google.datastore.v1.Mutation.Builder,
-                com.google.datastore.v1.MutationOrBuilder>(
-                mutations_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean());
+        mutationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.datastore.v1.Mutation, com.google.datastore.v1.Mutation.Builder, com.google.datastore.v1.MutationOrBuilder>(
+                mutations_,
+                ((bitField0_ & 0x00000020) != 0),
+                getParentForChildren(),
+                isClean());
         mutations_ = null;
       }
       return mutationsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2409,12 +2196,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.CommitRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.CommitRequest)
   private static final com.google.datastore.v1.CommitRequest DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.CommitRequest();
   }
@@ -2423,27 +2210,27 @@ public static com.google.datastore.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;
@@ -2458,4 +2245,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.CommitRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequestOrBuilder.java
similarity index 87%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequestOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequestOrBuilder.java
index 8da438a01..e193d44d3 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequestOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequestOrBuilder.java
@@ -1,57 +1,34 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/datastore.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface CommitRequestOrBuilder
-    extends
+public interface CommitRequestOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.CommitRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -60,13 +37,10 @@ public interface CommitRequestOrBuilder
    * 
* * string database_id = 9; - * * @return The databaseId. */ java.lang.String getDatabaseId(); /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -75,39 +49,31 @@ public interface CommitRequestOrBuilder
    * 
* * string database_id = 9; - * * @return The bytes for databaseId. */ - com.google.protobuf.ByteString getDatabaseIdBytes(); + com.google.protobuf.ByteString + getDatabaseIdBytes(); /** - * - * *
    * The type of commit to perform. Defaults to `TRANSACTIONAL`.
    * 
* * .google.datastore.v1.CommitRequest.Mode mode = 5; - * * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** - * - * *
    * The type of commit to perform. Defaults to `TRANSACTIONAL`.
    * 
* * .google.datastore.v1.CommitRequest.Mode mode = 5; - * * @return The mode. */ com.google.datastore.v1.CommitRequest.Mode getMode(); /** - * - * *
    * The identifier of the transaction associated with the commit. A
    * transaction identifier is returned by a call to
@@ -115,13 +81,10 @@ public interface CommitRequestOrBuilder
    * 
* * bytes transaction = 1; - * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** - * - * *
    * The identifier of the transaction associated with the commit. A
    * transaction identifier is returned by a call to
@@ -129,14 +92,11 @@ public interface CommitRequestOrBuilder
    * 
* * bytes transaction = 1; - * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** - * - * *
    * Options for beginning a new transaction for this request.
    * The transaction is committed when the request completes. If specified,
@@ -145,13 +105,10 @@ public interface CommitRequestOrBuilder
    * 
* * .google.datastore.v1.TransactionOptions single_use_transaction = 10; - * * @return Whether the singleUseTransaction field is set. */ boolean hasSingleUseTransaction(); /** - * - * *
    * Options for beginning a new transaction for this request.
    * The transaction is committed when the request completes. If specified,
@@ -160,13 +117,10 @@ public interface CommitRequestOrBuilder
    * 
* * .google.datastore.v1.TransactionOptions single_use_transaction = 10; - * * @return The singleUseTransaction. */ com.google.datastore.v1.TransactionOptions getSingleUseTransaction(); /** - * - * *
    * Options for beginning a new transaction for this request.
    * The transaction is committed when the request completes. If specified,
@@ -179,8 +133,6 @@ public interface CommitRequestOrBuilder
   com.google.datastore.v1.TransactionOptionsOrBuilder getSingleUseTransactionOrBuilder();
 
   /**
-   *
-   *
    * 
    * The mutations to perform.
    *
@@ -199,10 +151,9 @@ public interface CommitRequestOrBuilder
    *
    * repeated .google.datastore.v1.Mutation mutations = 6;
    */
-  java.util.List getMutationsList();
+  java.util.List 
+      getMutationsList();
   /**
-   *
-   *
    * 
    * The mutations to perform.
    *
@@ -223,8 +174,6 @@ public interface CommitRequestOrBuilder
    */
   com.google.datastore.v1.Mutation getMutations(int index);
   /**
-   *
-   *
    * 
    * The mutations to perform.
    *
@@ -245,8 +194,6 @@ public interface CommitRequestOrBuilder
    */
   int getMutationsCount();
   /**
-   *
-   *
    * 
    * The mutations to perform.
    *
@@ -265,10 +212,9 @@ public interface CommitRequestOrBuilder
    *
    * repeated .google.datastore.v1.Mutation mutations = 6;
    */
-  java.util.List getMutationsOrBuilderList();
+  java.util.List 
+      getMutationsOrBuilderList();
   /**
-   *
-   *
    * 
    * The mutations to perform.
    *
@@ -287,7 +233,8 @@ public interface CommitRequestOrBuilder
    *
    * repeated .google.datastore.v1.Mutation mutations = 6;
    */
-  com.google.datastore.v1.MutationOrBuilder getMutationsOrBuilder(int index);
+  com.google.datastore.v1.MutationOrBuilder getMutationsOrBuilder(
+      int index);
 
   com.google.datastore.v1.CommitRequest.TransactionSelectorCase getTransactionSelectorCase();
 }
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitResponse.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitResponse.java
similarity index 75%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitResponse.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitResponse.java
index 610c275ea..a9f2c5e73 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitResponse.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitResponse.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/datastore.proto
 
@@ -20,57 +5,50 @@
 package com.google.datastore.v1;
 
 /**
- *
- *
  * 
  * The response for [Datastore.Commit][google.datastore.v1.Datastore.Commit].
  * 
* * Protobuf type {@code google.datastore.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.datastore.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() { mutationResults_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CommitResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_CommitResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_CommitResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_CommitResponse_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_CommitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.CommitResponse.class, - com.google.datastore.v1.CommitResponse.Builder.class); + com.google.datastore.v1.CommitResponse.class, com.google.datastore.v1.CommitResponse.Builder.class); } private int bitField0_; public static final int MUTATION_RESULTS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List mutationResults_; /** - * - * *
    * The result of performing the mutations.
    * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -83,8 +61,6 @@ public java.util.List getMutationResults
     return mutationResults_;
   }
   /**
-   *
-   *
    * 
    * The result of performing the mutations.
    * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -93,13 +69,11 @@ public java.util.List getMutationResults
    * repeated .google.datastore.v1.MutationResult mutation_results = 3;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getMutationResultsOrBuilderList() {
     return mutationResults_;
   }
   /**
-   *
-   *
    * 
    * The result of performing the mutations.
    * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -112,8 +86,6 @@ public int getMutationResultsCount() {
     return mutationResults_.size();
   }
   /**
-   *
-   *
    * 
    * The result of performing the mutations.
    * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -126,8 +98,6 @@ public com.google.datastore.v1.MutationResult getMutationResults(int index) {
     return mutationResults_.get(index);
   }
   /**
-   *
-   *
    * 
    * The result of performing the mutations.
    * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -136,22 +106,20 @@ public com.google.datastore.v1.MutationResult getMutationResults(int index) {
    * repeated .google.datastore.v1.MutationResult mutation_results = 3;
    */
   @java.lang.Override
-  public com.google.datastore.v1.MutationResultOrBuilder getMutationResultsOrBuilder(int index) {
+  public com.google.datastore.v1.MutationResultOrBuilder getMutationResultsOrBuilder(
+      int index) {
     return mutationResults_.get(index);
   }
 
   public static final int INDEX_UPDATES_FIELD_NUMBER = 4;
   private int indexUpdates_ = 0;
   /**
-   *
-   *
    * 
    * The number of index entries updated during the commit, or zero if none were
    * updated.
    * 
* * int32 index_updates = 4; - * * @return The indexUpdates. */ @java.lang.Override @@ -162,14 +130,11 @@ public int getIndexUpdates() { public static final int COMMIT_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp commitTime_; /** - * - * *
    * The transaction commit timestamp. Not set for non-transactional commits.
    * 
* * .google.protobuf.Timestamp commit_time = 8; - * * @return Whether the commitTime field is set. */ @java.lang.Override @@ -177,14 +142,11 @@ public boolean hasCommitTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The transaction commit timestamp. Not set for non-transactional commits.
    * 
* * .google.protobuf.Timestamp commit_time = 8; - * * @return The commitTime. */ @java.lang.Override @@ -192,8 +154,6 @@ public com.google.protobuf.Timestamp getCommitTime() { return commitTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_; } /** - * - * *
    * The transaction commit timestamp. Not set for non-transactional commits.
    * 
@@ -206,7 +166,6 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -218,7 +177,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 < mutationResults_.size(); i++) { output.writeMessage(3, mutationResults_.get(i)); } @@ -238,13 +198,16 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < mutationResults_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, mutationResults_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, mutationResults_.get(i)); } if (indexUpdates_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, indexUpdates_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(4, indexUpdates_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getCommitTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(8, getCommitTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -254,18 +217,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.datastore.v1.CommitResponse)) { return super.equals(obj); } com.google.datastore.v1.CommitResponse other = (com.google.datastore.v1.CommitResponse) obj; - if (!getMutationResultsList().equals(other.getMutationResultsList())) return false; - if (getIndexUpdates() != other.getIndexUpdates()) return false; + if (!getMutationResultsList() + .equals(other.getMutationResultsList())) return false; + if (getIndexUpdates() + != other.getIndexUpdates()) 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; @@ -293,127 +259,120 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.CommitResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.datastore.v1.CommitResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.v1.CommitResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.v1.CommitResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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 [Datastore.Commit][google.datastore.v1.Datastore.Commit].
    * 
* * Protobuf type {@code google.datastore.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.datastore.v1.CommitResponse) com.google.datastore.v1.CommitResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_CommitResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_CommitResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_CommitResponse_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_CommitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.CommitResponse.class, - com.google.datastore.v1.CommitResponse.Builder.class); + com.google.datastore.v1.CommitResponse.class, com.google.datastore.v1.CommitResponse.Builder.class); } // Construct using com.google.datastore.v1.CommitResponse.newBuilder() @@ -421,18 +380,18 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getMutationResultsFieldBuilder(); getCommitTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -454,9 +413,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_CommitResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_CommitResponse_descriptor; } @java.lang.Override @@ -475,12 +434,9 @@ public com.google.datastore.v1.CommitResponse build() { @java.lang.Override public com.google.datastore.v1.CommitResponse buildPartial() { - com.google.datastore.v1.CommitResponse result = - new com.google.datastore.v1.CommitResponse(this); + com.google.datastore.v1.CommitResponse result = new com.google.datastore.v1.CommitResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -504,7 +460,9 @@ private void buildPartial0(com.google.datastore.v1.CommitResponse result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.commitTime_ = commitTimeBuilder_ == null ? commitTime_ : commitTimeBuilder_.build(); + result.commitTime_ = commitTimeBuilder_ == null + ? commitTime_ + : commitTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -514,39 +472,38 @@ private void buildPartial0(com.google.datastore.v1.CommitResponse result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.CommitResponse) { - return mergeFrom((com.google.datastore.v1.CommitResponse) other); + return mergeFrom((com.google.datastore.v1.CommitResponse)other); } else { super.mergeFrom(other); return this; @@ -573,10 +530,9 @@ public Builder mergeFrom(com.google.datastore.v1.CommitResponse other) { mutationResultsBuilder_ = null; mutationResults_ = other.mutationResults_; bitField0_ = (bitField0_ & ~0x00000001); - mutationResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMutationResultsFieldBuilder() - : null; + mutationResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMutationResultsFieldBuilder() : null; } else { mutationResultsBuilder_.addAllMessages(other.mutationResults_); } @@ -614,38 +570,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 26: - { - com.google.datastore.v1.MutationResult m = - input.readMessage( - com.google.datastore.v1.MutationResult.parser(), extensionRegistry); - if (mutationResultsBuilder_ == null) { - ensureMutationResultsIsMutable(); - mutationResults_.add(m); - } else { - mutationResultsBuilder_.addMessage(m); - } - break; - } // case 26 - case 32: - { - indexUpdates_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 32 - case 66: - { - input.readMessage(getCommitTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 26: { + com.google.datastore.v1.MutationResult m = + input.readMessage( + com.google.datastore.v1.MutationResult.parser(), + extensionRegistry); + if (mutationResultsBuilder_ == null) { + ensureMutationResultsIsMutable(); + mutationResults_.add(m); + } else { + mutationResultsBuilder_.addMessage(m); + } + break; + } // case 26 + case 32: { + indexUpdates_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 32 + case 66: { + input.readMessage( + getCommitTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + 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) { @@ -655,29 +610,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List mutationResults_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureMutationResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - mutationResults_ = - new java.util.ArrayList(mutationResults_); + mutationResults_ = new java.util.ArrayList(mutationResults_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.MutationResult, - com.google.datastore.v1.MutationResult.Builder, - com.google.datastore.v1.MutationResultOrBuilder> - mutationResultsBuilder_; + com.google.datastore.v1.MutationResult, com.google.datastore.v1.MutationResult.Builder, com.google.datastore.v1.MutationResultOrBuilder> mutationResultsBuilder_; /** - * - * *
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -693,8 +640,6 @@ public java.util.List getMutationResults
       }
     }
     /**
-     *
-     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -710,8 +655,6 @@ public int getMutationResultsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -727,8 +670,6 @@ public com.google.datastore.v1.MutationResult getMutationResults(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -736,7 +677,8 @@ public com.google.datastore.v1.MutationResult getMutationResults(int index) {
      *
      * repeated .google.datastore.v1.MutationResult mutation_results = 3;
      */
-    public Builder setMutationResults(int index, com.google.datastore.v1.MutationResult value) {
+    public Builder setMutationResults(
+        int index, com.google.datastore.v1.MutationResult value) {
       if (mutationResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -750,8 +692,6 @@ public Builder setMutationResults(int index, com.google.datastore.v1.MutationRes
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -771,8 +711,6 @@ public Builder setMutationResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -794,8 +732,6 @@ public Builder addMutationResults(com.google.datastore.v1.MutationResult value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -803,7 +739,8 @@ public Builder addMutationResults(com.google.datastore.v1.MutationResult value)
      *
      * repeated .google.datastore.v1.MutationResult mutation_results = 3;
      */
-    public Builder addMutationResults(int index, com.google.datastore.v1.MutationResult value) {
+    public Builder addMutationResults(
+        int index, com.google.datastore.v1.MutationResult value) {
       if (mutationResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -817,8 +754,6 @@ public Builder addMutationResults(int index, com.google.datastore.v1.MutationRes
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -838,8 +773,6 @@ public Builder addMutationResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -859,8 +792,6 @@ public Builder addMutationResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -872,7 +803,8 @@ public Builder addAllMutationResults(
         java.lang.Iterable values) {
       if (mutationResultsBuilder_ == null) {
         ensureMutationResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, mutationResults_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, mutationResults_);
         onChanged();
       } else {
         mutationResultsBuilder_.addAllMessages(values);
@@ -880,8 +812,6 @@ public Builder addAllMutationResults(
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -900,8 +830,6 @@ public Builder clearMutationResults() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -920,8 +848,6 @@ public Builder removeMutationResults(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -929,12 +855,11 @@ public Builder removeMutationResults(int index) {
      *
      * repeated .google.datastore.v1.MutationResult mutation_results = 3;
      */
-    public com.google.datastore.v1.MutationResult.Builder getMutationResultsBuilder(int index) {
+    public com.google.datastore.v1.MutationResult.Builder getMutationResultsBuilder(
+        int index) {
       return getMutationResultsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -942,16 +867,14 @@ public com.google.datastore.v1.MutationResult.Builder getMutationResultsBuilder(
      *
      * repeated .google.datastore.v1.MutationResult mutation_results = 3;
      */
-    public com.google.datastore.v1.MutationResultOrBuilder getMutationResultsOrBuilder(int index) {
+    public com.google.datastore.v1.MutationResultOrBuilder getMutationResultsOrBuilder(
+        int index) {
       if (mutationResultsBuilder_ == null) {
-        return mutationResults_.get(index);
-      } else {
+        return mutationResults_.get(index);  } else {
         return mutationResultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -959,8 +882,8 @@ public com.google.datastore.v1.MutationResultOrBuilder getMutationResultsOrBuild
      *
      * repeated .google.datastore.v1.MutationResult mutation_results = 3;
      */
-    public java.util.List
-        getMutationResultsOrBuilderList() {
+    public java.util.List 
+         getMutationResultsOrBuilderList() {
       if (mutationResultsBuilder_ != null) {
         return mutationResultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -968,8 +891,6 @@ public com.google.datastore.v1.MutationResultOrBuilder getMutationResultsOrBuild
       }
     }
     /**
-     *
-     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -978,12 +899,10 @@ public com.google.datastore.v1.MutationResultOrBuilder getMutationResultsOrBuild
      * repeated .google.datastore.v1.MutationResult mutation_results = 3;
      */
     public com.google.datastore.v1.MutationResult.Builder addMutationResultsBuilder() {
-      return getMutationResultsFieldBuilder()
-          .addBuilder(com.google.datastore.v1.MutationResult.getDefaultInstance());
+      return getMutationResultsFieldBuilder().addBuilder(
+          com.google.datastore.v1.MutationResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -991,13 +910,12 @@ public com.google.datastore.v1.MutationResult.Builder addMutationResultsBuilder(
      *
      * repeated .google.datastore.v1.MutationResult mutation_results = 3;
      */
-    public com.google.datastore.v1.MutationResult.Builder addMutationResultsBuilder(int index) {
-      return getMutationResultsFieldBuilder()
-          .addBuilder(index, com.google.datastore.v1.MutationResult.getDefaultInstance());
+    public com.google.datastore.v1.MutationResult.Builder addMutationResultsBuilder(
+        int index) {
+      return getMutationResultsFieldBuilder().addBuilder(
+          index, com.google.datastore.v1.MutationResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -1005,22 +923,16 @@ public com.google.datastore.v1.MutationResult.Builder addMutationResultsBuilder(
      *
      * repeated .google.datastore.v1.MutationResult mutation_results = 3;
      */
-    public java.util.List
-        getMutationResultsBuilderList() {
+    public java.util.List 
+         getMutationResultsBuilderList() {
       return getMutationResultsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.datastore.v1.MutationResult,
-            com.google.datastore.v1.MutationResult.Builder,
-            com.google.datastore.v1.MutationResultOrBuilder>
+        com.google.datastore.v1.MutationResult, com.google.datastore.v1.MutationResult.Builder, com.google.datastore.v1.MutationResultOrBuilder> 
         getMutationResultsFieldBuilder() {
       if (mutationResultsBuilder_ == null) {
-        mutationResultsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.datastore.v1.MutationResult,
-                com.google.datastore.v1.MutationResult.Builder,
-                com.google.datastore.v1.MutationResultOrBuilder>(
+        mutationResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.datastore.v1.MutationResult, com.google.datastore.v1.MutationResult.Builder, com.google.datastore.v1.MutationResultOrBuilder>(
                 mutationResults_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -1030,17 +942,14 @@ public com.google.datastore.v1.MutationResult.Builder addMutationResultsBuilder(
       return mutationResultsBuilder_;
     }
 
-    private int indexUpdates_;
+    private int indexUpdates_ ;
     /**
-     *
-     *
      * 
      * The number of index entries updated during the commit, or zero if none were
      * updated.
      * 
* * int32 index_updates = 4; - * * @return The indexUpdates. */ @java.lang.Override @@ -1048,15 +957,12 @@ public int getIndexUpdates() { return indexUpdates_; } /** - * - * *
      * The number of index entries updated during the commit, or zero if none were
      * updated.
      * 
* * int32 index_updates = 4; - * * @param value The indexUpdates to set. * @return This builder for chaining. */ @@ -1068,15 +974,12 @@ public Builder setIndexUpdates(int value) { return this; } /** - * - * *
      * The number of index entries updated during the commit, or zero if none were
      * updated.
      * 
* * int32 index_updates = 4; - * * @return This builder for chaining. */ public Builder clearIndexUpdates() { @@ -1088,47 +991,34 @@ public Builder clearIndexUpdates() { 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 transaction commit timestamp. Not set for non-transactional commits.
      * 
* * .google.protobuf.Timestamp commit_time = 8; - * * @return Whether the commitTime field is set. */ public boolean hasCommitTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The transaction commit timestamp. Not set for non-transactional commits.
      * 
* * .google.protobuf.Timestamp commit_time = 8; - * * @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 transaction commit timestamp. Not set for non-transactional commits.
      * 
@@ -1149,15 +1039,14 @@ public Builder setCommitTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The transaction commit timestamp. Not set for non-transactional commits.
      * 
* * .google.protobuf.Timestamp commit_time = 8; */ - public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCommitTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (commitTimeBuilder_ == null) { commitTime_ = builderForValue.build(); } else { @@ -1168,8 +1057,6 @@ public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The transaction commit timestamp. Not set for non-transactional commits.
      * 
@@ -1178,9 +1065,9 @@ public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeCommitTime(com.google.protobuf.Timestamp value) { if (commitTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && commitTime_ != null - && commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + commitTime_ != null && + commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCommitTimeBuilder().mergeFrom(value); } else { commitTime_ = value; @@ -1195,8 +1082,6 @@ public Builder mergeCommitTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The transaction commit timestamp. Not set for non-transactional commits.
      * 
@@ -1214,8 +1099,6 @@ public Builder clearCommitTime() { return this; } /** - * - * *
      * The transaction commit timestamp. Not set for non-transactional commits.
      * 
@@ -1228,8 +1111,6 @@ public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder() { return getCommitTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The transaction commit timestamp. Not set for non-transactional commits.
      * 
@@ -1240,14 +1121,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 transaction commit timestamp. Not set for non-transactional commits.
      * 
@@ -1255,24 +1133,21 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() { * .google.protobuf.Timestamp commit_time = 8; */ 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); } @@ -1282,12 +1157,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.v1.CommitResponse) } // @@protoc_insertion_point(class_scope:google.datastore.v1.CommitResponse) private static final com.google.datastore.v1.CommitResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.v1.CommitResponse(); } @@ -1296,27 +1171,27 @@ public static com.google.datastore.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; @@ -1331,4 +1206,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.CommitResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitResponseOrBuilder.java similarity index 76% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitResponseOrBuilder.java index 41d4a006d..ee27a4b9b 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitResponseOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface CommitResponseOrBuilder - extends +public interface CommitResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.CommitResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The result of performing the mutations.
    * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -34,10 +16,9 @@ public interface CommitResponseOrBuilder
    *
    * repeated .google.datastore.v1.MutationResult mutation_results = 3;
    */
-  java.util.List getMutationResultsList();
+  java.util.List 
+      getMutationResultsList();
   /**
-   *
-   *
    * 
    * The result of performing the mutations.
    * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -47,8 +28,6 @@ public interface CommitResponseOrBuilder
    */
   com.google.datastore.v1.MutationResult getMutationResults(int index);
   /**
-   *
-   *
    * 
    * The result of performing the mutations.
    * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -58,8 +37,6 @@ public interface CommitResponseOrBuilder
    */
   int getMutationResultsCount();
   /**
-   *
-   *
    * 
    * The result of performing the mutations.
    * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -67,11 +44,9 @@ public interface CommitResponseOrBuilder
    *
    * repeated .google.datastore.v1.MutationResult mutation_results = 3;
    */
-  java.util.List
+  java.util.List 
       getMutationResultsOrBuilderList();
   /**
-   *
-   *
    * 
    * The result of performing the mutations.
    * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -79,49 +54,39 @@ public interface CommitResponseOrBuilder
    *
    * repeated .google.datastore.v1.MutationResult mutation_results = 3;
    */
-  com.google.datastore.v1.MutationResultOrBuilder getMutationResultsOrBuilder(int index);
+  com.google.datastore.v1.MutationResultOrBuilder getMutationResultsOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The number of index entries updated during the commit, or zero if none were
    * updated.
    * 
* * int32 index_updates = 4; - * * @return The indexUpdates. */ int getIndexUpdates(); /** - * - * *
    * The transaction commit timestamp. Not set for non-transactional commits.
    * 
* * .google.protobuf.Timestamp commit_time = 8; - * * @return Whether the commitTime field is set. */ boolean hasCommitTime(); /** - * - * *
    * The transaction commit timestamp. Not set for non-transactional commits.
    * 
* * .google.protobuf.Timestamp commit_time = 8; - * * @return The commitTime. */ com.google.protobuf.Timestamp getCommitTime(); /** - * - * *
    * The transaction commit timestamp. Not set for non-transactional commits.
    * 
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CompositeFilter.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CompositeFilter.java similarity index 73% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CompositeFilter.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CompositeFilter.java index 500df91cc..8547fcbc1 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CompositeFilter.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CompositeFilter.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto @@ -20,24 +5,21 @@ package com.google.datastore.v1; /** - * - * *
  * A filter that merges multiple other filters using the given operator.
  * 
* * Protobuf type {@code google.datastore.v1.CompositeFilter} */ -public final class CompositeFilter extends com.google.protobuf.GeneratedMessageV3 - implements +public final class CompositeFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.datastore.v1.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(); @@ -45,38 +27,34 @@ private CompositeFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new CompositeFilter(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_CompositeFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_CompositeFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_CompositeFilter_fieldAccessorTable + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_CompositeFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.CompositeFilter.class, - com.google.datastore.v1.CompositeFilter.Builder.class); + com.google.datastore.v1.CompositeFilter.class, com.google.datastore.v1.CompositeFilter.Builder.class); } /** - * - * *
    * A composite filter operator.
    * 
* * Protobuf enum {@code google.datastore.v1.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.
      * 
@@ -85,8 +63,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ OPERATOR_UNSPECIFIED(0), /** - * - * *
      * The results are required to satisfy each of the combined filters.
      * 
@@ -95,8 +71,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ AND(1), /** - * - * *
      * Documents are required to satisfy at least one of the combined filters.
      * 
@@ -108,8 +82,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified. This value must not be used.
      * 
@@ -118,8 +90,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OPERATOR_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The results are required to satisfy each of the combined filters.
      * 
@@ -128,8 +98,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ public static final int AND_VALUE = 1; /** - * - * *
      * Documents are required to satisfy at least one of the combined filters.
      * 
@@ -138,6 +106,7 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OR_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -162,49 +131,49 @@ public static Operator valueOf(int value) { */ public static Operator forNumber(int value) { switch (value) { - case 0: - return OPERATOR_UNSPECIFIED; - case 1: - return AND; - case 2: - return OR; - default: - return null; + case 0: return OPERATOR_UNSPECIFIED; + case 1: return AND; + case 2: return OR; + default: return null; } } - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { return internalValueMap; } + private static final com.google.protobuf.Internal.EnumLiteMap< + Operator> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Operator findValueByNumber(int number) { + return Operator.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Operator findValueByNumber(int number) { - return Operator.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { return com.google.datastore.v1.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; @@ -224,45 +193,33 @@ private Operator(int value) { public static final int OP_FIELD_NUMBER = 1; private int op_ = 0; /** - * - * *
    * The operator for combining multiple filters.
    * 
* * .google.datastore.v1.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.datastore.v1.CompositeFilter.Operator op = 1; - * * @return The op. */ - @java.lang.Override - public com.google.datastore.v1.CompositeFilter.Operator getOp() { - com.google.datastore.v1.CompositeFilter.Operator result = - com.google.datastore.v1.CompositeFilter.Operator.forNumber(op_); + @java.lang.Override public com.google.datastore.v1.CompositeFilter.Operator getOp() { + com.google.datastore.v1.CompositeFilter.Operator result = com.google.datastore.v1.CompositeFilter.Operator.forNumber(op_); return result == null ? com.google.datastore.v1.CompositeFilter.Operator.UNRECOGNIZED : result; } public static final int FILTERS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List filters_; /** - * - * *
    * The list of filters to combine.
    *
@@ -278,8 +235,6 @@ public java.util.List getFiltersList() {
     return filters_;
   }
   /**
-   *
-   *
    * 
    * The list of filters to combine.
    *
@@ -291,13 +246,11 @@ public java.util.List getFiltersList() {
    * repeated .google.datastore.v1.Filter filters = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getFiltersOrBuilderList() {
     return filters_;
   }
   /**
-   *
-   *
    * 
    * The list of filters to combine.
    *
@@ -313,8 +266,6 @@ public int getFiltersCount() {
     return filters_.size();
   }
   /**
-   *
-   *
    * 
    * The list of filters to combine.
    *
@@ -330,8 +281,6 @@ public com.google.datastore.v1.Filter getFilters(int index) {
     return filters_.get(index);
   }
   /**
-   *
-   *
    * 
    * The list of filters to combine.
    *
@@ -343,12 +292,12 @@ public com.google.datastore.v1.Filter getFilters(int index) {
    * repeated .google.datastore.v1.Filter filters = 2;
    */
   @java.lang.Override
-  public com.google.datastore.v1.FilterOrBuilder getFiltersOrBuilder(int index) {
+  public com.google.datastore.v1.FilterOrBuilder getFiltersOrBuilder(
+      int index) {
     return filters_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -360,7 +309,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 (op_ != com.google.datastore.v1.CompositeFilter.Operator.OPERATOR_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, op_);
     }
@@ -377,10 +327,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (op_ != com.google.datastore.v1.CompositeFilter.Operator.OPERATOR_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, op_);
+      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;
@@ -390,7 +342,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.datastore.v1.CompositeFilter)) {
       return super.equals(obj);
@@ -398,7 +350,8 @@ public boolean equals(final java.lang.Object obj) {
     com.google.datastore.v1.CompositeFilter other = (com.google.datastore.v1.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;
   }
@@ -421,136 +374,132 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.CompositeFilter parseFrom(java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.CompositeFilter parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.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.datastore.v1.CompositeFilter parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.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.datastore.v1.CompositeFilter parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.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.datastore.v1.CompositeFilter parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.datastore.v1.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.datastore.v1.CompositeFilter parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.datastore.v1.CompositeFilter parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.datastore.v1.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.datastore.v1.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.datastore.v1.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.datastore.v1.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
-  protected 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 filter that merges multiple other filters using the given operator.
    * 
* * Protobuf type {@code google.datastore.v1.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.datastore.v1.CompositeFilter) com.google.datastore.v1.CompositeFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_CompositeFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_CompositeFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_CompositeFilter_fieldAccessorTable + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_CompositeFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.CompositeFilter.class, - com.google.datastore.v1.CompositeFilter.Builder.class); + com.google.datastore.v1.CompositeFilter.class, com.google.datastore.v1.CompositeFilter.Builder.class); } // Construct using com.google.datastore.v1.CompositeFilter.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -567,9 +516,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_CompositeFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_CompositeFilter_descriptor; } @java.lang.Override @@ -588,12 +537,9 @@ public com.google.datastore.v1.CompositeFilter build() { @java.lang.Override public com.google.datastore.v1.CompositeFilter buildPartial() { - com.google.datastore.v1.CompositeFilter result = - new com.google.datastore.v1.CompositeFilter(this); + com.google.datastore.v1.CompositeFilter result = new com.google.datastore.v1.CompositeFilter(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -621,39 +567,38 @@ private void buildPartial0(com.google.datastore.v1.CompositeFilter result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.CompositeFilter) { - return mergeFrom((com.google.datastore.v1.CompositeFilter) other); + return mergeFrom((com.google.datastore.v1.CompositeFilter)other); } else { super.mergeFrom(other); return this; @@ -683,10 +628,9 @@ public Builder mergeFrom(com.google.datastore.v1.CompositeFilter other) { filtersBuilder_ = null; filters_ = other.filters_; bitField0_ = (bitField0_ & ~0x00000002); - filtersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFiltersFieldBuilder() - : null; + filtersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFiltersFieldBuilder() : null; } else { filtersBuilder_.addAllMessages(other.filters_); } @@ -718,31 +662,30 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - op_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: - { - com.google.datastore.v1.Filter m = - input.readMessage(com.google.datastore.v1.Filter.parser(), extensionRegistry); - if (filtersBuilder_ == null) { - ensureFiltersIsMutable(); - filters_.add(m); - } else { - filtersBuilder_.addMessage(m); - } - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + op_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: { + com.google.datastore.v1.Filter m = + input.readMessage( + com.google.datastore.v1.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) { @@ -752,34 +695,26 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private int op_ = 0; /** - * - * *
      * The operator for combining multiple filters.
      * 
* * .google.datastore.v1.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.datastore.v1.CompositeFilter.Operator op = 1; - * * @param value The enum numeric value on the wire for op to set. * @return This builder for chaining. */ @@ -790,33 +725,24 @@ public Builder setOpValue(int value) { return this; } /** - * - * *
      * The operator for combining multiple filters.
      * 
* * .google.datastore.v1.CompositeFilter.Operator op = 1; - * * @return The op. */ @java.lang.Override public com.google.datastore.v1.CompositeFilter.Operator getOp() { - com.google.datastore.v1.CompositeFilter.Operator result = - com.google.datastore.v1.CompositeFilter.Operator.forNumber(op_); - return result == null - ? com.google.datastore.v1.CompositeFilter.Operator.UNRECOGNIZED - : result; + com.google.datastore.v1.CompositeFilter.Operator result = com.google.datastore.v1.CompositeFilter.Operator.forNumber(op_); + return result == null ? com.google.datastore.v1.CompositeFilter.Operator.UNRECOGNIZED : result; } /** - * - * *
      * The operator for combining multiple filters.
      * 
* * .google.datastore.v1.CompositeFilter.Operator op = 1; - * * @param value The op to set. * @return This builder for chaining. */ @@ -830,14 +756,11 @@ public Builder setOp(com.google.datastore.v1.CompositeFilter.Operator value) { return this; } /** - * - * *
      * The operator for combining multiple filters.
      * 
* * .google.datastore.v1.CompositeFilter.Operator op = 1; - * * @return This builder for chaining. */ public Builder clearOp() { @@ -848,24 +771,18 @@ public Builder clearOp() { } private java.util.List filters_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFiltersIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { filters_ = new java.util.ArrayList(filters_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.Filter, - com.google.datastore.v1.Filter.Builder, - com.google.datastore.v1.FilterOrBuilder> - filtersBuilder_; + com.google.datastore.v1.Filter, com.google.datastore.v1.Filter.Builder, com.google.datastore.v1.FilterOrBuilder> filtersBuilder_; /** - * - * *
      * The list of filters to combine.
      *
@@ -884,8 +801,6 @@ public java.util.List getFiltersList() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      *
@@ -904,8 +819,6 @@ public int getFiltersCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      *
@@ -924,8 +837,6 @@ public com.google.datastore.v1.Filter getFilters(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      *
@@ -936,7 +847,8 @@ public com.google.datastore.v1.Filter getFilters(int index) {
      *
      * repeated .google.datastore.v1.Filter filters = 2;
      */
-    public Builder setFilters(int index, com.google.datastore.v1.Filter value) {
+    public Builder setFilters(
+        int index, com.google.datastore.v1.Filter value) {
       if (filtersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -950,8 +862,6 @@ public Builder setFilters(int index, com.google.datastore.v1.Filter value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      *
@@ -962,7 +872,8 @@ public Builder setFilters(int index, com.google.datastore.v1.Filter value) {
      *
      * repeated .google.datastore.v1.Filter filters = 2;
      */
-    public Builder setFilters(int index, com.google.datastore.v1.Filter.Builder builderForValue) {
+    public Builder setFilters(
+        int index, com.google.datastore.v1.Filter.Builder builderForValue) {
       if (filtersBuilder_ == null) {
         ensureFiltersIsMutable();
         filters_.set(index, builderForValue.build());
@@ -973,8 +884,6 @@ public Builder setFilters(int index, com.google.datastore.v1.Filter.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      *
@@ -999,8 +908,6 @@ public Builder addFilters(com.google.datastore.v1.Filter value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      *
@@ -1011,7 +918,8 @@ public Builder addFilters(com.google.datastore.v1.Filter value) {
      *
      * repeated .google.datastore.v1.Filter filters = 2;
      */
-    public Builder addFilters(int index, com.google.datastore.v1.Filter value) {
+    public Builder addFilters(
+        int index, com.google.datastore.v1.Filter value) {
       if (filtersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1025,8 +933,6 @@ public Builder addFilters(int index, com.google.datastore.v1.Filter value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      *
@@ -1037,7 +943,8 @@ public Builder addFilters(int index, com.google.datastore.v1.Filter value) {
      *
      * repeated .google.datastore.v1.Filter filters = 2;
      */
-    public Builder addFilters(com.google.datastore.v1.Filter.Builder builderForValue) {
+    public Builder addFilters(
+        com.google.datastore.v1.Filter.Builder builderForValue) {
       if (filtersBuilder_ == null) {
         ensureFiltersIsMutable();
         filters_.add(builderForValue.build());
@@ -1048,8 +955,6 @@ public Builder addFilters(com.google.datastore.v1.Filter.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      *
@@ -1060,7 +965,8 @@ public Builder addFilters(com.google.datastore.v1.Filter.Builder builderForValue
      *
      * repeated .google.datastore.v1.Filter filters = 2;
      */
-    public Builder addFilters(int index, com.google.datastore.v1.Filter.Builder builderForValue) {
+    public Builder addFilters(
+        int index, com.google.datastore.v1.Filter.Builder builderForValue) {
       if (filtersBuilder_ == null) {
         ensureFiltersIsMutable();
         filters_.add(index, builderForValue.build());
@@ -1071,8 +977,6 @@ public Builder addFilters(int index, com.google.datastore.v1.Filter.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      *
@@ -1087,7 +991,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);
@@ -1095,8 +1000,6 @@ public Builder addAllFilters(
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      *
@@ -1118,8 +1021,6 @@ public Builder clearFilters() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      *
@@ -1141,8 +1042,6 @@ public Builder removeFilters(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      *
@@ -1153,12 +1052,11 @@ public Builder removeFilters(int index) {
      *
      * repeated .google.datastore.v1.Filter filters = 2;
      */
-    public com.google.datastore.v1.Filter.Builder getFiltersBuilder(int index) {
+    public com.google.datastore.v1.Filter.Builder getFiltersBuilder(
+        int index) {
       return getFiltersFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      *
@@ -1169,16 +1067,14 @@ public com.google.datastore.v1.Filter.Builder getFiltersBuilder(int index) {
      *
      * repeated .google.datastore.v1.Filter filters = 2;
      */
-    public com.google.datastore.v1.FilterOrBuilder getFiltersOrBuilder(int index) {
+    public com.google.datastore.v1.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.
      *
@@ -1189,8 +1085,8 @@ public com.google.datastore.v1.FilterOrBuilder getFiltersOrBuilder(int index) {
      *
      * repeated .google.datastore.v1.Filter filters = 2;
      */
-    public java.util.List
-        getFiltersOrBuilderList() {
+    public java.util.List 
+         getFiltersOrBuilderList() {
       if (filtersBuilder_ != null) {
         return filtersBuilder_.getMessageOrBuilderList();
       } else {
@@ -1198,8 +1094,6 @@ public com.google.datastore.v1.FilterOrBuilder getFiltersOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      *
@@ -1211,12 +1105,10 @@ public com.google.datastore.v1.FilterOrBuilder getFiltersOrBuilder(int index) {
      * repeated .google.datastore.v1.Filter filters = 2;
      */
     public com.google.datastore.v1.Filter.Builder addFiltersBuilder() {
-      return getFiltersFieldBuilder()
-          .addBuilder(com.google.datastore.v1.Filter.getDefaultInstance());
+      return getFiltersFieldBuilder().addBuilder(
+          com.google.datastore.v1.Filter.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      *
@@ -1227,13 +1119,12 @@ public com.google.datastore.v1.Filter.Builder addFiltersBuilder() {
      *
      * repeated .google.datastore.v1.Filter filters = 2;
      */
-    public com.google.datastore.v1.Filter.Builder addFiltersBuilder(int index) {
-      return getFiltersFieldBuilder()
-          .addBuilder(index, com.google.datastore.v1.Filter.getDefaultInstance());
+    public com.google.datastore.v1.Filter.Builder addFiltersBuilder(
+        int index) {
+      return getFiltersFieldBuilder().addBuilder(
+          index, com.google.datastore.v1.Filter.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The list of filters to combine.
      *
@@ -1244,29 +1135,27 @@ public com.google.datastore.v1.Filter.Builder addFiltersBuilder(int index) {
      *
      * repeated .google.datastore.v1.Filter filters = 2;
      */
-    public java.util.List getFiltersBuilderList() {
+    public java.util.List 
+         getFiltersBuilderList() {
       return getFiltersFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.datastore.v1.Filter,
-            com.google.datastore.v1.Filter.Builder,
-            com.google.datastore.v1.FilterOrBuilder>
+        com.google.datastore.v1.Filter, com.google.datastore.v1.Filter.Builder, com.google.datastore.v1.FilterOrBuilder> 
         getFiltersFieldBuilder() {
       if (filtersBuilder_ == null) {
-        filtersBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.datastore.v1.Filter,
-                com.google.datastore.v1.Filter.Builder,
-                com.google.datastore.v1.FilterOrBuilder>(
-                filters_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        filtersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.datastore.v1.Filter, com.google.datastore.v1.Filter.Builder, com.google.datastore.v1.FilterOrBuilder>(
+                filters_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         filters_ = null;
       }
       return filtersBuilder_;
     }
-
     @java.lang.Override
-    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 +1165,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.CompositeFilter)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.CompositeFilter)
   private static final com.google.datastore.v1.CompositeFilter DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.CompositeFilter();
   }
@@ -1290,27 +1179,27 @@ public static com.google.datastore.v1.CompositeFilter getDefaultInstance() {
     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;
@@ -1325,4 +1214,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.CompositeFilter getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CompositeFilterOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CompositeFilterOrBuilder.java
similarity index 68%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CompositeFilterOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CompositeFilterOrBuilder.java
index b9d87ece8..07590ed29 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CompositeFilterOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CompositeFilterOrBuilder.java
@@ -1,57 +1,33 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/query.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface CompositeFilterOrBuilder
-    extends
+public interface CompositeFilterOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.CompositeFilter)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The operator for combining multiple filters.
    * 
* * .google.datastore.v1.CompositeFilter.Operator op = 1; - * * @return The enum numeric value on the wire for op. */ int getOpValue(); /** - * - * *
    * The operator for combining multiple filters.
    * 
* * .google.datastore.v1.CompositeFilter.Operator op = 1; - * * @return The op. */ com.google.datastore.v1.CompositeFilter.Operator getOp(); /** - * - * *
    * The list of filters to combine.
    *
@@ -62,10 +38,9 @@ public interface CompositeFilterOrBuilder
    *
    * repeated .google.datastore.v1.Filter filters = 2;
    */
-  java.util.List getFiltersList();
+  java.util.List 
+      getFiltersList();
   /**
-   *
-   *
    * 
    * The list of filters to combine.
    *
@@ -78,8 +53,6 @@ public interface CompositeFilterOrBuilder
    */
   com.google.datastore.v1.Filter getFilters(int index);
   /**
-   *
-   *
    * 
    * The list of filters to combine.
    *
@@ -92,8 +65,6 @@ public interface CompositeFilterOrBuilder
    */
   int getFiltersCount();
   /**
-   *
-   *
    * 
    * The list of filters to combine.
    *
@@ -104,10 +75,9 @@ public interface CompositeFilterOrBuilder
    *
    * repeated .google.datastore.v1.Filter filters = 2;
    */
-  java.util.List getFiltersOrBuilderList();
+  java.util.List 
+      getFiltersOrBuilderList();
   /**
-   *
-   *
    * 
    * The list of filters to combine.
    *
@@ -118,5 +88,6 @@ public interface CompositeFilterOrBuilder
    *
    * repeated .google.datastore.v1.Filter filters = 2;
    */
-  com.google.datastore.v1.FilterOrBuilder getFiltersOrBuilder(int index);
+  com.google.datastore.v1.FilterOrBuilder getFiltersOrBuilder(
+      int index);
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/DatastoreProto.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/DatastoreProto.java
new file mode 100644
index 000000000..0a5ee664f
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/DatastoreProto.java
@@ -0,0 +1,459 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/datastore/v1/datastore.proto
+
+// Protobuf Java Version: 3.25.3
+package com.google.datastore.v1;
+
+public final class DatastoreProto {
+  private DatastoreProto() {}
+  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_datastore_v1_LookupRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_LookupRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_LookupResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_LookupResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_RunQueryRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_RunQueryRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_RunQueryResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_RunQueryResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_RunAggregationQueryRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_RunAggregationQueryRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_RunAggregationQueryResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_RunAggregationQueryResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_BeginTransactionRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_BeginTransactionRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_BeginTransactionResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_BeginTransactionResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_RollbackRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_RollbackRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_RollbackResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_RollbackResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_CommitRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_CommitRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_CommitResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_CommitResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_AllocateIdsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_AllocateIdsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_AllocateIdsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_AllocateIdsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_ReserveIdsRequest_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_ReserveIdsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_ReserveIdsResponse_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_ReserveIdsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_Mutation_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_Mutation_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_MutationResult_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_MutationResult_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_ReadOptions_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_ReadOptions_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_TransactionOptions_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_TransactionOptions_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_TransactionOptions_ReadWrite_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_TransactionOptions_ReadWrite_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_TransactionOptions_ReadOnly_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_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/datastore/v1/datastore.proto\022\023g" +
+      "oogle.datastore.v1\032\034google/api/annotatio" +
+      "ns.proto\032\027google/api/client.proto\032\037googl" +
+      "e/api/field_behavior.proto\032\030google/api/r" +
+      "outing.proto\032,google/datastore/v1/aggreg" +
+      "ation_result.proto\032 google/datastore/v1/" +
+      "entity.proto\032\037google/datastore/v1/query." +
+      "proto\032\'google/datastore/v1/query_profile" +
+      ".proto\032\037google/protobuf/timestamp.proto\"" +
+      "\242\001\n\rLookupRequest\022\027\n\nproject_id\030\010 \001(\tB\003\340" +
+      "A\002\022\023\n\013database_id\030\t \001(\t\0226\n\014read_options\030" +
+      "\001 \001(\0132 .google.datastore.v1.ReadOptions\022" +
+      "+\n\004keys\030\003 \003(\0132\030.google.datastore.v1.KeyB" +
+      "\003\340A\002\"\346\001\n\016LookupResponse\0220\n\005found\030\001 \003(\0132!" +
+      ".google.datastore.v1.EntityResult\0222\n\007mis" +
+      "sing\030\002 \003(\0132!.google.datastore.v1.EntityR" +
+      "esult\022*\n\010deferred\030\003 \003(\0132\030.google.datasto" +
+      "re.v1.Key\022\023\n\013transaction\030\005 \001(\014\022-\n\tread_t" +
+      "ime\030\007 \001(\0132\032.google.protobuf.Timestamp\"\341\002" +
+      "\n\017RunQueryRequest\022\027\n\nproject_id\030\010 \001(\tB\003\340" +
+      "A\002\022\023\n\013database_id\030\t \001(\t\0226\n\014partition_id\030" +
+      "\002 \001(\0132 .google.datastore.v1.PartitionId\022" +
+      "6\n\014read_options\030\001 \001(\0132 .google.datastore" +
+      ".v1.ReadOptions\022+\n\005query\030\003 \001(\0132\032.google." +
+      "datastore.v1.QueryH\000\0222\n\tgql_query\030\007 \001(\0132" +
+      "\035.google.datastore.v1.GqlQueryH\000\022A\n\017expl" +
+      "ain_options\030\014 \001(\0132#.google.datastore.v1." +
+      "ExplainOptionsB\003\340A\001B\014\n\nquery_type\"\306\001\n\020Ru" +
+      "nQueryResponse\0224\n\005batch\030\001 \001(\0132%.google.d" +
+      "atastore.v1.QueryResultBatch\022)\n\005query\030\002 " +
+      "\001(\0132\032.google.datastore.v1.Query\022\023\n\013trans" +
+      "action\030\005 \001(\014\022<\n\017explain_metrics\030\t \001(\0132#." +
+      "google.datastore.v1.ExplainMetrics\"\203\003\n\032R" +
+      "unAggregationQueryRequest\022\027\n\nproject_id\030" +
+      "\010 \001(\tB\003\340A\002\022\023\n\013database_id\030\t \001(\t\0226\n\014parti" +
+      "tion_id\030\002 \001(\0132 .google.datastore.v1.Part" +
+      "itionId\0226\n\014read_options\030\001 \001(\0132 .google.d" +
+      "atastore.v1.ReadOptions\022B\n\021aggregation_q" +
+      "uery\030\003 \001(\0132%.google.datastore.v1.Aggrega" +
+      "tionQueryH\000\0222\n\tgql_query\030\007 \001(\0132\035.google." +
+      "datastore.v1.GqlQueryH\000\022A\n\017explain_optio" +
+      "ns\030\013 \001(\0132#.google.datastore.v1.ExplainOp" +
+      "tionsB\003\340A\001B\014\n\nquery_type\"\342\001\n\033RunAggregat" +
+      "ionQueryResponse\022:\n\005batch\030\001 \001(\0132+.google" +
+      ".datastore.v1.AggregationResultBatch\0224\n\005" +
+      "query\030\002 \001(\0132%.google.datastore.v1.Aggreg" +
+      "ationQuery\022\023\n\013transaction\030\005 \001(\014\022<\n\017expla" +
+      "in_metrics\030\t \001(\0132#.google.datastore.v1.E" +
+      "xplainMetrics\"\215\001\n\027BeginTransactionReques" +
+      "t\022\027\n\nproject_id\030\010 \001(\tB\003\340A\002\022\023\n\013database_i" +
+      "d\030\t \001(\t\022D\n\023transaction_options\030\n \001(\0132\'.g" +
+      "oogle.datastore.v1.TransactionOptions\"/\n" +
+      "\030BeginTransactionResponse\022\023\n\013transaction" +
+      "\030\001 \001(\014\"Y\n\017RollbackRequest\022\027\n\nproject_id\030" +
+      "\010 \001(\tB\003\340A\002\022\023\n\013database_id\030\t \001(\t\022\030\n\013trans" +
+      "action\030\001 \001(\014B\003\340A\002\"\022\n\020RollbackResponse\"\350\002" +
+      "\n\rCommitRequest\022\027\n\nproject_id\030\010 \001(\tB\003\340A\002" +
+      "\022\023\n\013database_id\030\t \001(\t\0225\n\004mode\030\005 \001(\0162\'.go" +
+      "ogle.datastore.v1.CommitRequest.Mode\022\025\n\013" +
+      "transaction\030\001 \001(\014H\000\022I\n\026single_use_transa" +
+      "ction\030\n \001(\0132\'.google.datastore.v1.Transa" +
+      "ctionOptionsH\000\0220\n\tmutations\030\006 \003(\0132\035.goog" +
+      "le.datastore.v1.Mutation\"F\n\004Mode\022\024\n\020MODE" +
+      "_UNSPECIFIED\020\000\022\021\n\rTRANSACTIONAL\020\001\022\025\n\021NON" +
+      "_TRANSACTIONAL\020\002B\026\n\024transaction_selector" +
+      "\"\227\001\n\016CommitResponse\022=\n\020mutation_results\030" +
+      "\003 \003(\0132#.google.datastore.v1.MutationResu" +
+      "lt\022\025\n\rindex_updates\030\004 \001(\005\022/\n\013commit_time" +
+      "\030\010 \001(\0132\032.google.protobuf.Timestamp\"o\n\022Al" +
+      "locateIdsRequest\022\027\n\nproject_id\030\010 \001(\tB\003\340A" +
+      "\002\022\023\n\013database_id\030\t \001(\t\022+\n\004keys\030\001 \003(\0132\030.g" +
+      "oogle.datastore.v1.KeyB\003\340A\002\"=\n\023AllocateI" +
+      "dsResponse\022&\n\004keys\030\001 \003(\0132\030.google.datast" +
+      "ore.v1.Key\"n\n\021ReserveIdsRequest\022\027\n\nproje" +
+      "ct_id\030\010 \001(\tB\003\340A\002\022\023\n\013database_id\030\t \001(\t\022+\n" +
+      "\004keys\030\001 \003(\0132\030.google.datastore.v1.KeyB\003\340" +
+      "A\002\"\024\n\022ReserveIdsResponse\"\272\002\n\010Mutation\022-\n" +
+      "\006insert\030\004 \001(\0132\033.google.datastore.v1.Enti" +
+      "tyH\000\022-\n\006update\030\005 \001(\0132\033.google.datastore." +
+      "v1.EntityH\000\022-\n\006upsert\030\006 \001(\0132\033.google.dat" +
+      "astore.v1.EntityH\000\022*\n\006delete\030\007 \001(\0132\030.goo" +
+      "gle.datastore.v1.KeyH\000\022\026\n\014base_version\030\010" +
+      " \001(\003H\001\0221\n\013update_time\030\013 \001(\0132\032.google.pro" +
+      "tobuf.TimestampH\001B\013\n\toperationB\035\n\033confli" +
+      "ct_detection_strategy\"\305\001\n\016MutationResult" +
+      "\022%\n\003key\030\003 \001(\0132\030.google.datastore.v1.Key\022" +
+      "\017\n\007version\030\004 \001(\003\022/\n\013create_time\030\007 \001(\0132\032." +
+      "google.protobuf.Timestamp\022/\n\013update_time" +
+      "\030\006 \001(\0132\032.google.protobuf.Timestamp\022\031\n\021co" +
+      "nflict_detected\030\005 \001(\010\"\312\002\n\013ReadOptions\022L\n" +
+      "\020read_consistency\030\001 \001(\01620.google.datasto" +
+      "re.v1.ReadOptions.ReadConsistencyH\000\022\025\n\013t" +
+      "ransaction\030\002 \001(\014H\000\022B\n\017new_transaction\030\003 " +
+      "\001(\0132\'.google.datastore.v1.TransactionOpt" +
+      "ionsH\000\022/\n\tread_time\030\004 \001(\0132\032.google.proto" +
+      "buf.TimestampH\000\"M\n\017ReadConsistency\022 \n\034RE" +
+      "AD_CONSISTENCY_UNSPECIFIED\020\000\022\n\n\006STRONG\020\001" +
+      "\022\014\n\010EVENTUAL\020\002B\022\n\020consistency_type\"\222\002\n\022T" +
+      "ransactionOptions\022G\n\nread_write\030\001 \001(\01321." +
+      "google.datastore.v1.TransactionOptions.R" +
+      "eadWriteH\000\022E\n\tread_only\030\002 \001(\01320.google.d" +
+      "atastore.v1.TransactionOptions.ReadOnlyH" +
+      "\000\032)\n\tReadWrite\022\034\n\024previous_transaction\030\001" +
+      " \001(\014\0329\n\010ReadOnly\022-\n\tread_time\030\001 \001(\0132\032.go" +
+      "ogle.protobuf.TimestampB\006\n\004mode2\341\r\n\tData" +
+      "store\022\300\001\n\006Lookup\022\".google.datastore.v1.L" +
+      "ookupRequest\032#.google.datastore.v1.Looku" +
+      "pResponse\"m\332A\034project_id,read_options,ke" +
+      "ys\202\323\344\223\002%\" /v1/projects/{project_id}:look" +
+      "up:\001*\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n\013database_id" +
+      "\022\251\001\n\010RunQuery\022$.google.datastore.v1.RunQ" +
+      "ueryRequest\032%.google.datastore.v1.RunQue" +
+      "ryResponse\"P\202\323\344\223\002\'\"\"/v1/projects/{projec" +
+      "t_id}:runQuery:\001*\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n" +
+      "\013database_id\022\325\001\n\023RunAggregationQuery\022/.g" +
+      "oogle.datastore.v1.RunAggregationQueryRe" +
+      "quest\0320.google.datastore.v1.RunAggregati" +
+      "onQueryResponse\"[\202\323\344\223\0022\"-/v1/projects/{p" +
+      "roject_id}:runAggregationQuery:\001*\212\323\344\223\002\035\022" +
+      "\014\n\nproject_id\022\r\n\013database_id\022\326\001\n\020BeginTr" +
+      "ansaction\022,.google.datastore.v1.BeginTra" +
+      "nsactionRequest\032-.google.datastore.v1.Be" +
+      "ginTransactionResponse\"e\332A\nproject_id\202\323\344" +
+      "\223\002/\"*/v1/projects/{project_id}:beginTran" +
+      "saction:\001*\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n\013databa" +
+      "se_id\022\346\001\n\006Commit\022\".google.datastore.v1.C" +
+      "ommitRequest\032#.google.datastore.v1.Commi" +
+      "tResponse\"\222\001\332A%project_id,mode,transacti" +
+      "on,mutations\332A\031project_id,mode,mutations" +
+      "\202\323\344\223\002%\" /v1/projects/{project_id}:commit" +
+      ":\001*\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n\013database_id\022\302" +
+      "\001\n\010Rollback\022$.google.datastore.v1.Rollba" +
+      "ckRequest\032%.google.datastore.v1.Rollback" +
+      "Response\"i\332A\026project_id,transaction\202\323\344\223\002" +
+      "\'\"\"/v1/projects/{project_id}:rollback:\001*" +
+      "\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n\013database_id\022\307\001\n\013" +
+      "AllocateIds\022\'.google.datastore.v1.Alloca" +
+      "teIdsRequest\032(.google.datastore.v1.Alloc" +
+      "ateIdsResponse\"e\332A\017project_id,keys\202\323\344\223\002*" +
+      "\"%/v1/projects/{project_id}:allocateIds:" +
+      "\001*\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n\013database_id\022\303\001" +
+      "\n\nReserveIds\022&.google.datastore.v1.Reser" +
+      "veIdsRequest\032\'.google.datastore.v1.Reser" +
+      "veIdsResponse\"d\332A\017project_id,keys\202\323\344\223\002)\"" +
+      "$/v1/projects/{project_id}:reserveIds:\001*" +
+      "\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n\013database_id\032v\312A\030" +
+      "datastore.googleapis.com\322AXhttps://www.g" +
+      "oogleapis.com/auth/cloud-platform,https:" +
+      "//www.googleapis.com/auth/datastoreB\300\001\n\027" +
+      "com.google.datastore.v1B\016DatastoreProtoP" +
+      "\001Z
  * A Datastore data object.
  *
@@ -30,27 +13,28 @@
  *
  * Protobuf type {@code google.datastore.v1.Entity}
  */
-public final class Entity extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Entity extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.datastore.v1.Entity)
     EntityOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Entity.newBuilder() to construct.
   private Entity(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private Entity() {}
+  private Entity() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Entity();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.datastore.v1.EntityProto
-        .internal_static_google_datastore_v1_Entity_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Entity_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
@@ -61,15 +45,14 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
       case 3:
         return internalGetProperties();
       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.datastore.v1.EntityProto
-        .internal_static_google_datastore_v1_Entity_fieldAccessorTable
+    return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Entity_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.datastore.v1.Entity.class, com.google.datastore.v1.Entity.Builder.class);
   }
@@ -78,8 +61,6 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
   public static final int KEY_FIELD_NUMBER = 1;
   private com.google.datastore.v1.Key key_;
   /**
-   *
-   *
    * 
    * The entity's key.
    *
@@ -90,7 +71,6 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
    * 
* * .google.datastore.v1.Key key = 1; - * * @return Whether the key field is set. */ @java.lang.Override @@ -98,8 +78,6 @@ public boolean hasKey() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The entity's key.
    *
@@ -110,7 +88,6 @@ public boolean hasKey() {
    * 
* * .google.datastore.v1.Key key = 1; - * * @return The key. */ @java.lang.Override @@ -118,8 +95,6 @@ public com.google.datastore.v1.Key getKey() { return key_ == null ? com.google.datastore.v1.Key.getDefaultInstance() : key_; } /** - * - * *
    * The entity's key.
    *
@@ -137,37 +112,32 @@ public com.google.datastore.v1.KeyOrBuilder getKeyOrBuilder() {
   }
 
   public static final int PROPERTIES_FIELD_NUMBER = 3;
-
   private static final class PropertiesDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry
-        defaultEntry =
+    static final com.google.protobuf.MapEntry<
+        java.lang.String, com.google.datastore.v1.Value> defaultEntry =
             com.google.protobuf.MapEntry
-                .newDefaultInstance(
-                    com.google.datastore.v1.EntityProto
-                        .internal_static_google_datastore_v1_Entity_PropertiesEntry_descriptor,
-                    com.google.protobuf.WireFormat.FieldType.STRING,
-                    "",
-                    com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                    com.google.datastore.v1.Value.getDefaultInstance());
+            .newDefaultInstance(
+                com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Entity_PropertiesEntry_descriptor, 
+                com.google.protobuf.WireFormat.FieldType.STRING,
+                "",
+                com.google.protobuf.WireFormat.FieldType.MESSAGE,
+                com.google.datastore.v1.Value.getDefaultInstance());
   }
-
   @SuppressWarnings("serial")
-  private com.google.protobuf.MapField properties_;
-
+  private com.google.protobuf.MapField<
+      java.lang.String, com.google.datastore.v1.Value> properties_;
   private com.google.protobuf.MapField
-      internalGetProperties() {
+  internalGetProperties() {
     if (properties_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(PropertiesDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(
+          PropertiesDefaultEntryHolder.defaultEntry);
     }
     return properties_;
   }
-
   public int getPropertiesCount() {
     return internalGetProperties().getMap().size();
   }
   /**
-   *
-   *
    * 
    * The entity's properties.
    * The map's keys are property names.
@@ -180,21 +150,20 @@ public int getPropertiesCount() {
    * map<string, .google.datastore.v1.Value> properties = 3;
    */
   @java.lang.Override
-  public boolean containsProperties(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsProperties(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetProperties().getMap().containsKey(key);
   }
-  /** Use {@link #getPropertiesMap()} instead. */
+  /**
+   * Use {@link #getPropertiesMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getProperties() {
     return getPropertiesMap();
   }
   /**
-   *
-   *
    * 
    * The entity's properties.
    * The map's keys are property names.
@@ -211,8 +180,6 @@ public java.util.Map getPropert
     return internalGetProperties().getMap();
   }
   /**
-   *
-   *
    * 
    * The entity's properties.
    * The map's keys are property names.
@@ -225,20 +192,17 @@ public java.util.Map getPropert
    * map<string, .google.datastore.v1.Value> properties = 3;
    */
   @java.lang.Override
-  public /* nullable */ com.google.datastore.v1.Value getPropertiesOrDefault(
+  public /* nullable */
+com.google.datastore.v1.Value getPropertiesOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.datastore.v1.Value defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+com.google.datastore.v1.Value defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetProperties().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * The entity's properties.
    * The map's keys are property names.
@@ -251,10 +215,9 @@ public java.util.Map getPropert
    * map<string, .google.datastore.v1.Value> properties = 3;
    */
   @java.lang.Override
-  public com.google.datastore.v1.Value getPropertiesOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public com.google.datastore.v1.Value getPropertiesOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetProperties().getMap();
     if (!map.containsKey(key)) {
@@ -264,7 +227,6 @@ public com.google.datastore.v1.Value getPropertiesOrThrow(java.lang.String key)
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -276,12 +238,17 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(1, getKey());
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetProperties(), PropertiesDefaultEntryHolder.defaultEntry, 3);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetProperties(),
+        PropertiesDefaultEntryHolder.defaultEntry,
+        3);
     getUnknownFields().writeTo(output);
   }
 
@@ -292,17 +259,18 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getKey());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getKey());
     }
-    for (java.util.Map.Entry entry :
-        internalGetProperties().getMap().entrySet()) {
-      com.google.protobuf.MapEntry properties__ =
-          PropertiesDefaultEntryHolder.defaultEntry
-              .newBuilderForType()
-              .setKey(entry.getKey())
-              .setValue(entry.getValue())
-              .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, properties__);
+    for (java.util.Map.Entry entry
+         : internalGetProperties().getMap().entrySet()) {
+      com.google.protobuf.MapEntry
+      properties__ = PropertiesDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(3, properties__);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -312,7 +280,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.datastore.v1.Entity)) {
       return super.equals(obj);
@@ -321,9 +289,11 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasKey() != other.hasKey()) return false;
     if (hasKey()) {
-      if (!getKey().equals(other.getKey())) return false;
+      if (!getKey()
+          .equals(other.getKey())) return false;
     }
-    if (!internalGetProperties().equals(other.internalGetProperties())) return false;
+    if (!internalGetProperties().equals(
+        other.internalGetProperties())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -348,103 +318,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.Entity parseFrom(java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.Entity parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.Entity parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.datastore.v1.Entity parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.datastore.v1.Entity parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.Entity parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.Entity parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.Entity parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.Entity parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.datastore.v1.Entity parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   public static com.google.datastore.v1.Entity 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.datastore.v1.Entity parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.datastore.v1.Entity parseFrom(com.google.protobuf.CodedInputStream input)
+  public static com.google.datastore.v1.Entity 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.datastore.v1.Entity parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.datastore.v1.Entity prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 Datastore data object.
    *
@@ -453,13 +419,13 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.datastore.v1.Entity}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.datastore.v1.Entity)
       com.google.datastore.v1.EntityOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.datastore.v1.EntityProto
-          .internal_static_google_datastore_v1_Entity_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Entity_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
@@ -469,10 +435,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
         case 3:
           return internalGetProperties();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
     protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
         int number) {
@@ -480,15 +446,14 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi
         case 3:
           return internalGetMutableProperties();
         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.datastore.v1.EntityProto
-          .internal_static_google_datastore_v1_Entity_fieldAccessorTable
+      return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Entity_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.datastore.v1.Entity.class, com.google.datastore.v1.Entity.Builder.class);
     }
@@ -498,17 +463,17 @@ 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) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getKeyFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -523,9 +488,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.datastore.v1.EntityProto
-          .internal_static_google_datastore_v1_Entity_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Entity_descriptor;
     }
 
     @java.lang.Override
@@ -545,9 +510,7 @@ public com.google.datastore.v1.Entity build() {
     @java.lang.Override
     public com.google.datastore.v1.Entity buildPartial() {
       com.google.datastore.v1.Entity result = new com.google.datastore.v1.Entity(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -556,12 +519,13 @@ private void buildPartial0(com.google.datastore.v1.Entity result) {
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.key_ = keyBuilder_ == null ? key_ : keyBuilder_.build();
+        result.key_ = keyBuilder_ == null
+            ? key_
+            : keyBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.properties_ =
-            internalGetProperties().build(PropertiesDefaultEntryHolder.defaultEntry);
+        result.properties_ = internalGetProperties().build(PropertiesDefaultEntryHolder.defaultEntry);
       }
       result.bitField0_ |= to_bitField0_;
     }
@@ -570,39 +534,38 @@ private void buildPartial0(com.google.datastore.v1.Entity result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.Entity) {
-        return mergeFrom((com.google.datastore.v1.Entity) other);
+        return mergeFrom((com.google.datastore.v1.Entity)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -614,7 +577,8 @@ public Builder mergeFrom(com.google.datastore.v1.Entity other) {
       if (other.hasKey()) {
         mergeKey(other.getKey());
       }
-      internalGetMutableProperties().mergeFrom(other.internalGetProperties());
+      internalGetMutableProperties().mergeFrom(
+          other.internalGetProperties());
       bitField0_ |= 0x00000002;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -642,32 +606,28 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getKeyFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 26:
-              {
-                com.google.protobuf.MapEntry
-                    properties__ =
-                        input.readMessage(
-                            PropertiesDefaultEntryHolder.defaultEntry.getParserForType(),
-                            extensionRegistry);
-                internalGetMutableProperties()
-                    .ensureBuilderMap()
-                    .put(properties__.getKey(), properties__.getValue());
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 26
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getKeyFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 26: {
+              com.google.protobuf.MapEntry
+              properties__ = input.readMessage(
+                  PropertiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableProperties().ensureBuilderMap().put(
+                  properties__.getKey(), properties__.getValue());
+              bitField0_ |= 0x00000002;
+              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) {
@@ -677,18 +637,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.datastore.v1.Key key_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.Key,
-            com.google.datastore.v1.Key.Builder,
-            com.google.datastore.v1.KeyOrBuilder>
-        keyBuilder_;
+        com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> keyBuilder_;
     /**
-     *
-     *
      * 
      * The entity's key.
      *
@@ -699,15 +653,12 @@ public Builder mergeFrom(
      * 
* * .google.datastore.v1.Key key = 1; - * * @return Whether the key field is set. */ public boolean hasKey() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The entity's key.
      *
@@ -718,7 +669,6 @@ public boolean hasKey() {
      * 
* * .google.datastore.v1.Key key = 1; - * * @return The key. */ public com.google.datastore.v1.Key getKey() { @@ -729,8 +679,6 @@ public com.google.datastore.v1.Key getKey() { } } /** - * - * *
      * The entity's key.
      *
@@ -756,8 +704,6 @@ public Builder setKey(com.google.datastore.v1.Key value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity's key.
      *
@@ -769,7 +715,8 @@ public Builder setKey(com.google.datastore.v1.Key value) {
      *
      * .google.datastore.v1.Key key = 1;
      */
-    public Builder setKey(com.google.datastore.v1.Key.Builder builderForValue) {
+    public Builder setKey(
+        com.google.datastore.v1.Key.Builder builderForValue) {
       if (keyBuilder_ == null) {
         key_ = builderForValue.build();
       } else {
@@ -780,8 +727,6 @@ public Builder setKey(com.google.datastore.v1.Key.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity's key.
      *
@@ -795,9 +740,9 @@ public Builder setKey(com.google.datastore.v1.Key.Builder builderForValue) {
      */
     public Builder mergeKey(com.google.datastore.v1.Key value) {
       if (keyBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && key_ != null
-            && key_ != com.google.datastore.v1.Key.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          key_ != null &&
+          key_ != com.google.datastore.v1.Key.getDefaultInstance()) {
           getKeyBuilder().mergeFrom(value);
         } else {
           key_ = value;
@@ -812,8 +757,6 @@ public Builder mergeKey(com.google.datastore.v1.Key value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity's key.
      *
@@ -836,8 +779,6 @@ public Builder clearKey() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity's key.
      *
@@ -855,8 +796,6 @@ public com.google.datastore.v1.Key.Builder getKeyBuilder() {
       return getKeyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The entity's key.
      *
@@ -872,12 +811,11 @@ public com.google.datastore.v1.KeyOrBuilder getKeyOrBuilder() {
       if (keyBuilder_ != null) {
         return keyBuilder_.getMessageOrBuilder();
       } else {
-        return key_ == null ? com.google.datastore.v1.Key.getDefaultInstance() : key_;
+        return key_ == null ?
+            com.google.datastore.v1.Key.getDefaultInstance() : key_;
       }
     }
     /**
-     *
-     *
      * 
      * The entity's key.
      *
@@ -890,67 +828,43 @@ public com.google.datastore.v1.KeyOrBuilder getKeyOrBuilder() {
      * .google.datastore.v1.Key key = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.Key,
-            com.google.datastore.v1.Key.Builder,
-            com.google.datastore.v1.KeyOrBuilder>
+        com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> 
         getKeyFieldBuilder() {
       if (keyBuilder_ == null) {
-        keyBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.datastore.v1.Key,
-                com.google.datastore.v1.Key.Builder,
-                com.google.datastore.v1.KeyOrBuilder>(getKey(), getParentForChildren(), isClean());
+        keyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder>(
+                getKey(),
+                getParentForChildren(),
+                isClean());
         key_ = null;
       }
       return keyBuilder_;
     }
 
-    private static final class PropertiesConverter
-        implements com.google.protobuf.MapFieldBuilder.Converter<
-            java.lang.String,
-            com.google.datastore.v1.ValueOrBuilder,
-            com.google.datastore.v1.Value> {
+    private static final class PropertiesConverter implements com.google.protobuf.MapFieldBuilder.Converter {
       @java.lang.Override
       public com.google.datastore.v1.Value build(com.google.datastore.v1.ValueOrBuilder val) {
-        if (val instanceof com.google.datastore.v1.Value) {
-          return (com.google.datastore.v1.Value) val;
-        }
+        if (val instanceof com.google.datastore.v1.Value) { return (com.google.datastore.v1.Value) val; }
         return ((com.google.datastore.v1.Value.Builder) val).build();
       }
 
       @java.lang.Override
-      public com.google.protobuf.MapEntry
-          defaultEntry() {
+      public com.google.protobuf.MapEntry defaultEntry() {
         return PropertiesDefaultEntryHolder.defaultEntry;
       }
     };
-
     private static final PropertiesConverter propertiesConverter = new PropertiesConverter();
 
     private com.google.protobuf.MapFieldBuilder<
-            java.lang.String,
-            com.google.datastore.v1.ValueOrBuilder,
-            com.google.datastore.v1.Value,
-            com.google.datastore.v1.Value.Builder>
-        properties_;
-
-    private com.google.protobuf.MapFieldBuilder<
-            java.lang.String,
-            com.google.datastore.v1.ValueOrBuilder,
-            com.google.datastore.v1.Value,
-            com.google.datastore.v1.Value.Builder>
+        java.lang.String, com.google.datastore.v1.ValueOrBuilder, com.google.datastore.v1.Value, com.google.datastore.v1.Value.Builder> properties_;
+    private com.google.protobuf.MapFieldBuilder
         internalGetProperties() {
       if (properties_ == null) {
         return new com.google.protobuf.MapFieldBuilder<>(propertiesConverter);
       }
       return properties_;
     }
-
-    private com.google.protobuf.MapFieldBuilder<
-            java.lang.String,
-            com.google.datastore.v1.ValueOrBuilder,
-            com.google.datastore.v1.Value,
-            com.google.datastore.v1.Value.Builder>
+    private com.google.protobuf.MapFieldBuilder
         internalGetMutableProperties() {
       if (properties_ == null) {
         properties_ = new com.google.protobuf.MapFieldBuilder<>(propertiesConverter);
@@ -959,13 +873,10 @@ public com.google.datastore.v1.Value build(com.google.datastore.v1.ValueOrBuilde
       onChanged();
       return properties_;
     }
-
     public int getPropertiesCount() {
       return internalGetProperties().ensureBuilderMap().size();
     }
     /**
-     *
-     *
      * 
      * The entity's properties.
      * The map's keys are property names.
@@ -978,21 +889,20 @@ public int getPropertiesCount() {
      * map<string, .google.datastore.v1.Value> properties = 3;
      */
     @java.lang.Override
-    public boolean containsProperties(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsProperties(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetProperties().ensureBuilderMap().containsKey(key);
     }
-    /** Use {@link #getPropertiesMap()} instead. */
+    /**
+     * Use {@link #getPropertiesMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getProperties() {
       return getPropertiesMap();
     }
     /**
-     *
-     *
      * 
      * The entity's properties.
      * The map's keys are property names.
@@ -1009,8 +919,6 @@ public java.util.Map getPropert
       return internalGetProperties().getImmutableMap();
     }
     /**
-     *
-     *
      * 
      * The entity's properties.
      * The map's keys are property names.
@@ -1023,20 +931,16 @@ public java.util.Map getPropert
      * map<string, .google.datastore.v1.Value> properties = 3;
      */
     @java.lang.Override
-    public /* nullable */ com.google.datastore.v1.Value getPropertiesOrDefault(
+    public /* nullable */
+com.google.datastore.v1.Value getPropertiesOrDefault(
         java.lang.String key,
         /* nullable */
-        com.google.datastore.v1.Value defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map =
-          internalGetMutableProperties().ensureBuilderMap();
+com.google.datastore.v1.Value defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map = internalGetMutableProperties().ensureBuilderMap();
       return map.containsKey(key) ? propertiesConverter.build(map.get(key)) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * The entity's properties.
      * The map's keys are property names.
@@ -1049,26 +953,21 @@ public java.util.Map getPropert
      * map<string, .google.datastore.v1.Value> properties = 3;
      */
     @java.lang.Override
-    public com.google.datastore.v1.Value getPropertiesOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map =
-          internalGetMutableProperties().ensureBuilderMap();
+    public com.google.datastore.v1.Value getPropertiesOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map = internalGetMutableProperties().ensureBuilderMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return propertiesConverter.build(map.get(key));
     }
-
     public Builder clearProperties() {
       bitField0_ = (bitField0_ & ~0x00000002);
       internalGetMutableProperties().clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity's properties.
      * The map's keys are property names.
@@ -1080,22 +979,23 @@ public Builder clearProperties() {
      *
      * map<string, .google.datastore.v1.Value> properties = 3;
      */
-    public Builder removeProperties(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableProperties().ensureBuilderMap().remove(key);
+    public Builder removeProperties(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableProperties().ensureBuilderMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
-    public java.util.Map getMutableProperties() {
+    public java.util.Map
+        getMutableProperties() {
       bitField0_ |= 0x00000002;
       return internalGetMutableProperties().ensureMessageMap();
     }
     /**
-     *
-     *
      * 
      * The entity's properties.
      * The map's keys are property names.
@@ -1107,20 +1007,17 @@ public java.util.Map getMutable
      *
      * map<string, .google.datastore.v1.Value> properties = 3;
      */
-    public Builder putProperties(java.lang.String key, com.google.datastore.v1.Value value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableProperties().ensureBuilderMap().put(key, value);
+    public Builder putProperties(
+        java.lang.String key,
+        com.google.datastore.v1.Value value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableProperties().ensureBuilderMap()
+          .put(key, value);
       bitField0_ |= 0x00000002;
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity's properties.
      * The map's keys are property names.
@@ -1134,19 +1031,17 @@ public Builder putProperties(java.lang.String key, com.google.datastore.v1.Value
      */
     public Builder putAllProperties(
         java.util.Map values) {
-      for (java.util.Map.Entry e :
-          values.entrySet()) {
+      for (java.util.Map.Entry e : values.entrySet()) {
         if (e.getKey() == null || e.getValue() == null) {
           throw new NullPointerException();
         }
       }
-      internalGetMutableProperties().ensureBuilderMap().putAll(values);
+      internalGetMutableProperties().ensureBuilderMap()
+          .putAll(values);
       bitField0_ |= 0x00000002;
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity's properties.
      * The map's keys are property names.
@@ -1160,8 +1055,7 @@ public Builder putAllProperties(
      */
     public com.google.datastore.v1.Value.Builder putPropertiesBuilderIfAbsent(
         java.lang.String key) {
-      java.util.Map builderMap =
-          internalGetMutableProperties().ensureBuilderMap();
+      java.util.Map builderMap = internalGetMutableProperties().ensureBuilderMap();
       com.google.datastore.v1.ValueOrBuilder entry = builderMap.get(key);
       if (entry == null) {
         entry = com.google.datastore.v1.Value.newBuilder();
@@ -1173,9 +1067,9 @@ public com.google.datastore.v1.Value.Builder putPropertiesBuilderIfAbsent(
       }
       return (com.google.datastore.v1.Value.Builder) entry;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1185,12 +1079,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.Entity)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.Entity)
   private static final com.google.datastore.v1.Entity DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.Entity();
   }
@@ -1199,27 +1093,27 @@ public static com.google.datastore.v1.Entity getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Entity parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Entity parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1234,4 +1128,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.Entity getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityOrBuilder.java
similarity index 78%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityOrBuilder.java
index cc8398b53..76165612e 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityOrBuilder.java
@@ -1,32 +1,14 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/entity.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface EntityOrBuilder
-    extends
+public interface EntityOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.Entity)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The entity's key.
    *
@@ -37,13 +19,10 @@ public interface EntityOrBuilder
    * 
* * .google.datastore.v1.Key key = 1; - * * @return Whether the key field is set. */ boolean hasKey(); /** - * - * *
    * The entity's key.
    *
@@ -54,13 +33,10 @@ public interface EntityOrBuilder
    * 
* * .google.datastore.v1.Key key = 1; - * * @return The key. */ com.google.datastore.v1.Key getKey(); /** - * - * *
    * The entity's key.
    *
@@ -75,8 +51,6 @@ public interface EntityOrBuilder
   com.google.datastore.v1.KeyOrBuilder getKeyOrBuilder();
 
   /**
-   *
-   *
    * 
    * The entity's properties.
    * The map's keys are property names.
@@ -90,8 +64,6 @@ public interface EntityOrBuilder
    */
   int getPropertiesCount();
   /**
-   *
-   *
    * 
    * The entity's properties.
    * The map's keys are property names.
@@ -103,13 +75,15 @@ public interface EntityOrBuilder
    *
    * map<string, .google.datastore.v1.Value> properties = 3;
    */
-  boolean containsProperties(java.lang.String key);
-  /** Use {@link #getPropertiesMap()} instead. */
+  boolean containsProperties(
+      java.lang.String key);
+  /**
+   * Use {@link #getPropertiesMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getProperties();
+  java.util.Map
+  getProperties();
   /**
-   *
-   *
    * 
    * The entity's properties.
    * The map's keys are property names.
@@ -121,10 +95,9 @@ public interface EntityOrBuilder
    *
    * map<string, .google.datastore.v1.Value> properties = 3;
    */
-  java.util.Map getPropertiesMap();
+  java.util.Map
+  getPropertiesMap();
   /**
-   *
-   *
    * 
    * The entity's properties.
    * The map's keys are property names.
@@ -137,13 +110,11 @@ public interface EntityOrBuilder
    * map<string, .google.datastore.v1.Value> properties = 3;
    */
   /* nullable */
-  com.google.datastore.v1.Value getPropertiesOrDefault(
+com.google.datastore.v1.Value getPropertiesOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.datastore.v1.Value defaultValue);
+com.google.datastore.v1.Value defaultValue);
   /**
-   *
-   *
    * 
    * The entity's properties.
    * The map's keys are property names.
@@ -155,5 +126,6 @@ com.google.datastore.v1.Value getPropertiesOrDefault(
    *
    * map<string, .google.datastore.v1.Value> properties = 3;
    */
-  com.google.datastore.v1.Value getPropertiesOrThrow(java.lang.String key);
+  com.google.datastore.v1.Value getPropertiesOrThrow(
+      java.lang.String key);
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityProto.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityProto.java
new file mode 100644
index 000000000..d477bdf02
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityProto.java
@@ -0,0 +1,152 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/datastore/v1/entity.proto
+
+// Protobuf Java Version: 3.25.3
+package com.google.datastore.v1;
+
+public final class EntityProto {
+  private EntityProto() {}
+  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_datastore_v1_PartitionId_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_PartitionId_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_Key_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_Key_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_Key_PathElement_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_Key_PathElement_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_ArrayValue_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_ArrayValue_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_Value_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_Value_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_Entity_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_Entity_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_Entity_PropertiesEntry_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_Entity_PropertiesEntry_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/datastore/v1/entity.proto\022\023goog" +
+      "le.datastore.v1\032\034google/protobuf/struct." +
+      "proto\032\037google/protobuf/timestamp.proto\032\030" +
+      "google/type/latlng.proto\"L\n\013PartitionId\022" +
+      "\022\n\nproject_id\030\002 \001(\t\022\023\n\013database_id\030\003 \001(\t" +
+      "\022\024\n\014namespace_id\030\004 \001(\t\"\267\001\n\003Key\0226\n\014partit" +
+      "ion_id\030\001 \001(\0132 .google.datastore.v1.Parti" +
+      "tionId\0222\n\004path\030\002 \003(\0132$.google.datastore." +
+      "v1.Key.PathElement\032D\n\013PathElement\022\014\n\004kin" +
+      "d\030\001 \001(\t\022\014\n\002id\030\002 \001(\003H\000\022\016\n\004name\030\003 \001(\tH\000B\t\n" +
+      "\007id_type\"8\n\nArrayValue\022*\n\006values\030\001 \003(\0132\032" +
+      ".google.datastore.v1.Value\"\361\003\n\005Value\0220\n\n" +
+      "null_value\030\013 \001(\0162\032.google.protobuf.NullV" +
+      "alueH\000\022\027\n\rboolean_value\030\001 \001(\010H\000\022\027\n\rinteg" +
+      "er_value\030\002 \001(\003H\000\022\026\n\014double_value\030\003 \001(\001H\000" +
+      "\0225\n\017timestamp_value\030\n \001(\0132\032.google.proto" +
+      "buf.TimestampH\000\022-\n\tkey_value\030\005 \001(\0132\030.goo" +
+      "gle.datastore.v1.KeyH\000\022\026\n\014string_value\030\021" +
+      " \001(\tH\000\022\024\n\nblob_value\030\022 \001(\014H\000\022.\n\017geo_poin" +
+      "t_value\030\010 \001(\0132\023.google.type.LatLngH\000\0223\n\014" +
+      "entity_value\030\006 \001(\0132\033.google.datastore.v1" +
+      ".EntityH\000\0226\n\013array_value\030\t \001(\0132\037.google." +
+      "datastore.v1.ArrayValueH\000\022\017\n\007meaning\030\016 \001" +
+      "(\005\022\034\n\024exclude_from_indexes\030\023 \001(\010B\014\n\nvalu" +
+      "e_type\"\277\001\n\006Entity\022%\n\003key\030\001 \001(\0132\030.google." +
+      "datastore.v1.Key\022?\n\nproperties\030\003 \003(\0132+.g" +
+      "oogle.datastore.v1.Entity.PropertiesEntr" +
+      "y\032M\n\017PropertiesEntry\022\013\n\003key\030\001 \001(\t\022)\n\005val" +
+      "ue\030\002 \001(\0132\032.google.datastore.v1.Value:\0028\001" +
+      "B\275\001\n\027com.google.datastore.v1B\013EntityProt" +
+      "oP\001Z
  * The result of fetching an entity from Datastore.
  * 
* * Protobuf type {@code google.datastore.v1.EntityResult} */ -public final class EntityResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class EntityResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.datastore.v1.EntityResult) EntityResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use EntityResult.newBuilder() to construct. private EntityResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private EntityResult() { cursor_ = 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 EntityResult(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_EntityResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_EntityResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_EntityResult_fieldAccessorTable + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_EntityResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.EntityResult.class, - com.google.datastore.v1.EntityResult.Builder.class); + com.google.datastore.v1.EntityResult.class, com.google.datastore.v1.EntityResult.Builder.class); } /** - * - * *
    * Specifies what data the 'entity' field contains.
    * A `ResultType` is either implied (for example, in `LookupResponse.missing`
@@ -76,10 +55,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.datastore.v1.EntityResult.ResultType}
    */
-  public enum ResultType implements com.google.protobuf.ProtocolMessageEnum {
+  public enum ResultType
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Unspecified. This value is never used.
      * 
@@ -88,8 +66,6 @@ public enum ResultType implements com.google.protobuf.ProtocolMessageEnum { */ RESULT_TYPE_UNSPECIFIED(0), /** - * - * *
      * The key and properties.
      * 
@@ -98,8 +74,6 @@ public enum ResultType implements com.google.protobuf.ProtocolMessageEnum { */ FULL(1), /** - * - * *
      * A projected subset of properties. The entity may have no key.
      * 
@@ -108,8 +82,6 @@ public enum ResultType implements com.google.protobuf.ProtocolMessageEnum { */ PROJECTION(2), /** - * - * *
      * Only the key.
      * 
@@ -121,8 +93,6 @@ public enum ResultType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified. This value is never used.
      * 
@@ -131,8 +101,6 @@ public enum ResultType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int RESULT_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The key and properties.
      * 
@@ -141,8 +109,6 @@ public enum ResultType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FULL_VALUE = 1; /** - * - * *
      * A projected subset of properties. The entity may have no key.
      * 
@@ -151,8 +117,6 @@ public enum ResultType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int PROJECTION_VALUE = 2; /** - * - * *
      * Only the key.
      * 
@@ -161,6 +125,7 @@ public enum ResultType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int KEY_ONLY_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -185,51 +150,50 @@ public static ResultType valueOf(int value) { */ public static ResultType forNumber(int value) { switch (value) { - case 0: - return RESULT_TYPE_UNSPECIFIED; - case 1: - return FULL; - case 2: - return PROJECTION; - case 3: - return KEY_ONLY; - default: - return null; + case 0: return RESULT_TYPE_UNSPECIFIED; + case 1: return FULL; + case 2: return PROJECTION; + case 3: return KEY_ONLY; + 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< + ResultType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ResultType findValueByNumber(int number) { + return ResultType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ResultType findValueByNumber(int number) { - return ResultType.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.datastore.v1.EntityResult.getDescriptor().getEnumTypes().get(0); } private static final ResultType[] VALUES = values(); - public static ResultType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ResultType 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; @@ -250,14 +214,11 @@ private ResultType(int value) { public static final int ENTITY_FIELD_NUMBER = 1; private com.google.datastore.v1.Entity entity_; /** - * - * *
    * The resulting entity.
    * 
* * .google.datastore.v1.Entity entity = 1; - * * @return Whether the entity field is set. */ @java.lang.Override @@ -265,14 +226,11 @@ public boolean hasEntity() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The resulting entity.
    * 
* * .google.datastore.v1.Entity entity = 1; - * * @return The entity. */ @java.lang.Override @@ -280,8 +238,6 @@ public com.google.datastore.v1.Entity getEntity() { return entity_ == null ? com.google.datastore.v1.Entity.getDefaultInstance() : entity_; } /** - * - * *
    * The resulting entity.
    * 
@@ -296,8 +252,6 @@ public com.google.datastore.v1.EntityOrBuilder getEntityOrBuilder() { public static final int VERSION_FIELD_NUMBER = 4; private long version_ = 0L; /** - * - * *
    * The version of the entity, a strictly positive number that monotonically
    * increases with changes to the entity.
@@ -311,7 +265,6 @@ public com.google.datastore.v1.EntityOrBuilder getEntityOrBuilder() {
    * 
* * int64 version = 4; - * * @return The version. */ @java.lang.Override @@ -322,8 +275,6 @@ public long getVersion() { public static final int CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The time at which the entity was created.
    * This field is set for
@@ -332,7 +283,6 @@ public long getVersion() {
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -340,8 +290,6 @@ public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The time at which the entity was created.
    * This field is set for
@@ -350,7 +298,6 @@ public boolean hasCreateTime() {
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return The createTime. */ @java.lang.Override @@ -358,8 +305,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The time at which the entity was created.
    * This field is set for
@@ -377,8 +322,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   public static final int UPDATE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp updateTime_;
   /**
-   *
-   *
    * 
    * The time at which the entity was last changed.
    * This field is set for
@@ -387,7 +330,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp update_time = 5; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -395,8 +337,6 @@ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * The time at which the entity was last changed.
    * This field is set for
@@ -405,7 +345,6 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 5; - * * @return The updateTime. */ @java.lang.Override @@ -413,8 +352,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The time at which the entity was last changed.
    * This field is set for
@@ -432,15 +369,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   public static final int CURSOR_FIELD_NUMBER = 3;
   private com.google.protobuf.ByteString cursor_ = com.google.protobuf.ByteString.EMPTY;
   /**
-   *
-   *
    * 
    * A cursor that points to the position after the result entity.
    * Set only when the `EntityResult` is part of a `QueryResultBatch` message.
    * 
* * bytes cursor = 3; - * * @return The cursor. */ @java.lang.Override @@ -449,7 +383,6 @@ public com.google.protobuf.ByteString getCursor() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -461,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getEntity()); } @@ -487,19 +421,24 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntity()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getEntity()); } if (!cursor_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(3, cursor_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(3, cursor_); } if (version_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, version_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, version_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, getUpdateTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getCreateTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -509,7 +448,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.datastore.v1.EntityResult)) { return super.equals(obj); @@ -518,18 +457,23 @@ public boolean equals(final java.lang.Object obj) { if (hasEntity() != other.hasEntity()) return false; if (hasEntity()) { - if (!getEntity().equals(other.getEntity())) return false; + if (!getEntity() + .equals(other.getEntity())) return false; } - if (getVersion() != other.getVersion()) return false; + if (getVersion() + != other.getVersion()) 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 (!getCursor().equals(other.getCursor())) return false; + if (!getCursor() + .equals(other.getCursor())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -546,7 +490,8 @@ public int hashCode() { hash = (53 * hash) + getEntity().hashCode(); } hash = (37 * hash) + VERSION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getVersion()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getVersion()); if (hasCreateTime()) { hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime().hashCode(); @@ -562,126 +507,120 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.EntityResult parseFrom(java.nio.ByteBuffer data) + public static com.google.datastore.v1.EntityResult parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.EntityResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.datastore.v1.EntityResult parseFrom(com.google.protobuf.ByteString data) + public static com.google.datastore.v1.EntityResult parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.EntityResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.EntityResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.EntityResult parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.EntityResult parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.EntityResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.datastore.v1.EntityResult 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.datastore.v1.EntityResult parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.EntityResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.EntityResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.datastore.v1.EntityResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 fetching an entity from Datastore.
    * 
* * Protobuf type {@code google.datastore.v1.EntityResult} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.EntityResult) com.google.datastore.v1.EntityResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_EntityResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_EntityResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_EntityResult_fieldAccessorTable + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_EntityResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.EntityResult.class, - com.google.datastore.v1.EntityResult.Builder.class); + com.google.datastore.v1.EntityResult.class, com.google.datastore.v1.EntityResult.Builder.class); } // Construct using com.google.datastore.v1.EntityResult.newBuilder() @@ -689,19 +628,19 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getEntityFieldBuilder(); getCreateTimeFieldBuilder(); getUpdateTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -727,9 +666,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_EntityResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_EntityResult_descriptor; } @java.lang.Override @@ -749,9 +688,7 @@ public com.google.datastore.v1.EntityResult build() { @java.lang.Override public com.google.datastore.v1.EntityResult buildPartial() { com.google.datastore.v1.EntityResult result = new com.google.datastore.v1.EntityResult(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -760,18 +697,24 @@ private void buildPartial0(com.google.datastore.v1.EntityResult result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.entity_ = entityBuilder_ == null ? entity_ : entityBuilder_.build(); + result.entity_ = entityBuilder_ == null + ? entity_ + : entityBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.version_ = version_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000010) != 0)) { @@ -784,39 +727,38 @@ private void buildPartial0(com.google.datastore.v1.EntityResult result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.EntityResult) { - return mergeFrom((com.google.datastore.v1.EntityResult) other); + return mergeFrom((com.google.datastore.v1.EntityResult)other); } else { super.mergeFrom(other); return this; @@ -866,43 +808,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getEntityFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: - { - cursor_ = input.readBytes(); - bitField0_ |= 0x00000010; - break; - } // case 26 - case 32: - { - version_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 32 - case 42: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 42 - case 50: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 50 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getEntityFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: { + cursor_ = input.readBytes(); + bitField0_ |= 0x00000010; + break; + } // case 26 + case 32: { + version_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 32 + case 42: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 50: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + 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) { @@ -912,38 +854,28 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.datastore.v1.Entity entity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Entity, - com.google.datastore.v1.Entity.Builder, - com.google.datastore.v1.EntityOrBuilder> - entityBuilder_; + com.google.datastore.v1.Entity, com.google.datastore.v1.Entity.Builder, com.google.datastore.v1.EntityOrBuilder> entityBuilder_; /** - * - * *
      * The resulting entity.
      * 
* * .google.datastore.v1.Entity entity = 1; - * * @return Whether the entity field is set. */ public boolean hasEntity() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The resulting entity.
      * 
* * .google.datastore.v1.Entity entity = 1; - * * @return The entity. */ public com.google.datastore.v1.Entity getEntity() { @@ -954,8 +886,6 @@ public com.google.datastore.v1.Entity getEntity() { } } /** - * - * *
      * The resulting entity.
      * 
@@ -976,15 +906,14 @@ public Builder setEntity(com.google.datastore.v1.Entity value) { return this; } /** - * - * *
      * The resulting entity.
      * 
* * .google.datastore.v1.Entity entity = 1; */ - public Builder setEntity(com.google.datastore.v1.Entity.Builder builderForValue) { + public Builder setEntity( + com.google.datastore.v1.Entity.Builder builderForValue) { if (entityBuilder_ == null) { entity_ = builderForValue.build(); } else { @@ -995,8 +924,6 @@ public Builder setEntity(com.google.datastore.v1.Entity.Builder builderForValue) return this; } /** - * - * *
      * The resulting entity.
      * 
@@ -1005,9 +932,9 @@ public Builder setEntity(com.google.datastore.v1.Entity.Builder builderForValue) */ public Builder mergeEntity(com.google.datastore.v1.Entity value) { if (entityBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && entity_ != null - && entity_ != com.google.datastore.v1.Entity.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + entity_ != null && + entity_ != com.google.datastore.v1.Entity.getDefaultInstance()) { getEntityBuilder().mergeFrom(value); } else { entity_ = value; @@ -1022,8 +949,6 @@ public Builder mergeEntity(com.google.datastore.v1.Entity value) { return this; } /** - * - * *
      * The resulting entity.
      * 
@@ -1041,8 +966,6 @@ public Builder clearEntity() { return this; } /** - * - * *
      * The resulting entity.
      * 
@@ -1055,8 +978,6 @@ public com.google.datastore.v1.Entity.Builder getEntityBuilder() { return getEntityFieldBuilder().getBuilder(); } /** - * - * *
      * The resulting entity.
      * 
@@ -1067,12 +988,11 @@ public com.google.datastore.v1.EntityOrBuilder getEntityOrBuilder() { if (entityBuilder_ != null) { return entityBuilder_.getMessageOrBuilder(); } else { - return entity_ == null ? com.google.datastore.v1.Entity.getDefaultInstance() : entity_; + return entity_ == null ? + com.google.datastore.v1.Entity.getDefaultInstance() : entity_; } } /** - * - * *
      * The resulting entity.
      * 
@@ -1080,26 +1000,21 @@ public com.google.datastore.v1.EntityOrBuilder getEntityOrBuilder() { * .google.datastore.v1.Entity entity = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Entity, - com.google.datastore.v1.Entity.Builder, - com.google.datastore.v1.EntityOrBuilder> + com.google.datastore.v1.Entity, com.google.datastore.v1.Entity.Builder, com.google.datastore.v1.EntityOrBuilder> getEntityFieldBuilder() { if (entityBuilder_ == null) { - entityBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Entity, - com.google.datastore.v1.Entity.Builder, - com.google.datastore.v1.EntityOrBuilder>( - getEntity(), getParentForChildren(), isClean()); + entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.Entity, com.google.datastore.v1.Entity.Builder, com.google.datastore.v1.EntityOrBuilder>( + getEntity(), + getParentForChildren(), + isClean()); entity_ = null; } return entityBuilder_; } - private long version_; + private long version_ ; /** - * - * *
      * The version of the entity, a strictly positive number that monotonically
      * increases with changes to the entity.
@@ -1113,7 +1028,6 @@ public com.google.datastore.v1.EntityOrBuilder getEntityOrBuilder() {
      * 
* * int64 version = 4; - * * @return The version. */ @java.lang.Override @@ -1121,8 +1035,6 @@ public long getVersion() { return version_; } /** - * - * *
      * The version of the entity, a strictly positive number that monotonically
      * increases with changes to the entity.
@@ -1136,7 +1048,6 @@ public long getVersion() {
      * 
* * int64 version = 4; - * * @param value The version to set. * @return This builder for chaining. */ @@ -1148,8 +1059,6 @@ public Builder setVersion(long value) { return this; } /** - * - * *
      * The version of the entity, a strictly positive number that monotonically
      * increases with changes to the entity.
@@ -1163,7 +1072,6 @@ public Builder setVersion(long value) {
      * 
* * int64 version = 4; - * * @return This builder for chaining. */ public Builder clearVersion() { @@ -1175,13 +1083,8 @@ public Builder clearVersion() { 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_; /** - * - * *
      * The time at which the entity was created.
      * This field is set for
@@ -1190,15 +1093,12 @@ public Builder clearVersion() {
      * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The time at which the entity was created.
      * This field is set for
@@ -1207,21 +1107,16 @@ public boolean hasCreateTime() {
      * 
* * .google.protobuf.Timestamp create_time = 6; - * * @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(); } } /** - * - * *
      * The time at which the entity was created.
      * This field is set for
@@ -1245,8 +1140,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the entity was created.
      * This field is set for
@@ -1256,7 +1149,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 6;
      */
-    public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCreateTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (createTimeBuilder_ == null) {
         createTime_ = builderForValue.build();
       } else {
@@ -1267,8 +1161,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the entity was created.
      * This field is set for
@@ -1280,9 +1172,9 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       if (createTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && createTime_ != null
-            && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          createTime_ != null &&
+          createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCreateTimeBuilder().mergeFrom(value);
         } else {
           createTime_ = value;
@@ -1297,8 +1189,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the entity was created.
      * This field is set for
@@ -1319,8 +1209,6 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the entity was created.
      * This field is set for
@@ -1336,8 +1224,6 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which the entity was created.
      * This field is set for
@@ -1351,14 +1237,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_;
       }
     }
     /**
-     *
-     *
      * 
      * The time at which the entity was created.
      * This field is set for
@@ -1369,17 +1252,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_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> 
         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_;
@@ -1387,13 +1267,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_;
     /**
-     *
-     *
      * 
      * The time at which the entity was last changed.
      * This field is set for
@@ -1402,15 +1277,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp update_time = 5; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The time at which the entity was last changed.
      * This field is set for
@@ -1419,21 +1291,16 @@ public boolean hasUpdateTime() {
      * 
* * .google.protobuf.Timestamp update_time = 5; - * * @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 time at which the entity was last changed.
      * This field is set for
@@ -1457,8 +1324,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the entity was last changed.
      * This field is set for
@@ -1468,7 +1333,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 5;
      */
-    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
       } else {
@@ -1479,8 +1345,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the entity was last changed.
      * This field is set for
@@ -1492,9 +1356,9 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && updateTime_ != null
-            && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          updateTime_ != null &&
+          updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getUpdateTimeBuilder().mergeFrom(value);
         } else {
           updateTime_ = value;
@@ -1509,8 +1373,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the entity was last changed.
      * This field is set for
@@ -1531,8 +1393,6 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The time at which the entity was last changed.
      * This field is set for
@@ -1548,8 +1408,6 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The time at which the entity was last changed.
      * This field is set for
@@ -1563,14 +1421,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 time at which the entity was last changed.
      * This field is set for
@@ -1581,17 +1436,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_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> 
         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_;
@@ -1599,15 +1451,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
 
     private com.google.protobuf.ByteString cursor_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * A cursor that points to the position after the result entity.
      * Set only when the `EntityResult` is part of a `QueryResultBatch` message.
      * 
* * bytes cursor = 3; - * * @return The cursor. */ @java.lang.Override @@ -1615,37 +1464,29 @@ public com.google.protobuf.ByteString getCursor() { return cursor_; } /** - * - * *
      * A cursor that points to the position after the result entity.
      * Set only when the `EntityResult` is part of a `QueryResultBatch` message.
      * 
* * bytes cursor = 3; - * * @param value The cursor to set. * @return This builder for chaining. */ public Builder setCursor(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } cursor_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * A cursor that points to the position after the result entity.
      * Set only when the `EntityResult` is part of a `QueryResultBatch` message.
      * 
* * bytes cursor = 3; - * * @return This builder for chaining. */ public Builder clearCursor() { @@ -1654,9 +1495,9 @@ public Builder clearCursor() { 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); } @@ -1666,12 +1507,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.v1.EntityResult) } // @@protoc_insertion_point(class_scope:google.datastore.v1.EntityResult) private static final com.google.datastore.v1.EntityResult DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.v1.EntityResult(); } @@ -1680,27 +1521,27 @@ public static com.google.datastore.v1.EntityResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EntityResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EntityResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1715,4 +1556,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.EntityResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityResultOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityResultOrBuilder.java similarity index 83% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityResultOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityResultOrBuilder.java index b8262fd26..9ef39d31c 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityResultOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityResultOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface EntityResultOrBuilder - extends +public interface EntityResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.EntityResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The resulting entity.
    * 
* * .google.datastore.v1.Entity entity = 1; - * * @return Whether the entity field is set. */ boolean hasEntity(); /** - * - * *
    * The resulting entity.
    * 
* * .google.datastore.v1.Entity entity = 1; - * * @return The entity. */ com.google.datastore.v1.Entity getEntity(); /** - * - * *
    * The resulting entity.
    * 
@@ -60,8 +36,6 @@ public interface EntityResultOrBuilder com.google.datastore.v1.EntityOrBuilder getEntityOrBuilder(); /** - * - * *
    * The version of the entity, a strictly positive number that monotonically
    * increases with changes to the entity.
@@ -75,14 +49,11 @@ public interface EntityResultOrBuilder
    * 
* * int64 version = 4; - * * @return The version. */ long getVersion(); /** - * - * *
    * The time at which the entity was created.
    * This field is set for
@@ -91,13 +62,10 @@ public interface EntityResultOrBuilder
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The time at which the entity was created.
    * This field is set for
@@ -106,13 +74,10 @@ public interface EntityResultOrBuilder
    * 
* * .google.protobuf.Timestamp create_time = 6; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The time at which the entity was created.
    * This field is set for
@@ -125,8 +90,6 @@ public interface EntityResultOrBuilder
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * The time at which the entity was last changed.
    * This field is set for
@@ -135,13 +98,10 @@ public interface EntityResultOrBuilder
    * 
* * .google.protobuf.Timestamp update_time = 5; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The time at which the entity was last changed.
    * This field is set for
@@ -150,13 +110,10 @@ public interface EntityResultOrBuilder
    * 
* * .google.protobuf.Timestamp update_time = 5; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The time at which the entity was last changed.
    * This field is set for
@@ -169,15 +126,12 @@ public interface EntityResultOrBuilder
   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * A cursor that points to the position after the result entity.
    * Set only when the `EntityResult` is part of a `QueryResultBatch` message.
    * 
* * bytes cursor = 3; - * * @return The cursor. */ com.google.protobuf.ByteString getCursor(); diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExecutionStats.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExecutionStats.java similarity index 73% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExecutionStats.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExecutionStats.java index 7530347c4..da73b594c 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExecutionStats.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExecutionStats.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query_profile.proto @@ -20,60 +5,54 @@ package com.google.datastore.v1; /** - * - * *
  * Execution statistics for the query.
  * 
* * Protobuf type {@code google.datastore.v1.ExecutionStats} */ -public final class ExecutionStats extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExecutionStats extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.datastore.v1.ExecutionStats) ExecutionStatsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExecutionStats.newBuilder() to construct. private ExecutionStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ExecutionStats() {} + private ExecutionStats() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExecutionStats(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.QueryProfileProto - .internal_static_google_datastore_v1_ExecutionStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_ExecutionStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProfileProto - .internal_static_google_datastore_v1_ExecutionStats_fieldAccessorTable + return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_ExecutionStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.ExecutionStats.class, - com.google.datastore.v1.ExecutionStats.Builder.class); + com.google.datastore.v1.ExecutionStats.class, com.google.datastore.v1.ExecutionStats.Builder.class); } private int bitField0_; public static final int RESULTS_RETURNED_FIELD_NUMBER = 1; private long resultsReturned_ = 0L; /** - * - * *
    * Total number of results returned, including documents, projections,
    * aggregation results, keys.
    * 
* * int64 results_returned = 1; - * * @return The resultsReturned. */ @java.lang.Override @@ -84,14 +63,11 @@ public long getResultsReturned() { public static final int EXECUTION_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration executionDuration_; /** - * - * *
    * Total time to execute the query in the backend.
    * 
* * .google.protobuf.Duration execution_duration = 3; - * * @return Whether the executionDuration field is set. */ @java.lang.Override @@ -99,25 +75,18 @@ public boolean hasExecutionDuration() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Total time to execute the query in the backend.
    * 
* * .google.protobuf.Duration execution_duration = 3; - * * @return The executionDuration. */ @java.lang.Override public com.google.protobuf.Duration getExecutionDuration() { - return executionDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : executionDuration_; + return executionDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : executionDuration_; } /** - * - * *
    * Total time to execute the query in the backend.
    * 
@@ -126,22 +95,17 @@ public com.google.protobuf.Duration getExecutionDuration() { */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getExecutionDurationOrBuilder() { - return executionDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : executionDuration_; + return executionDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : executionDuration_; } public static final int READ_OPERATIONS_FIELD_NUMBER = 4; private long readOperations_ = 0L; /** - * - * *
    * Total billable read operations.
    * 
* * int64 read_operations = 4; - * * @return The readOperations. */ @java.lang.Override @@ -152,8 +116,6 @@ public long getReadOperations() { public static final int DEBUG_STATS_FIELD_NUMBER = 5; private com.google.protobuf.Struct debugStats_; /** - * - * *
    * Debugging statistics from the execution of the query. Note that the
    * debugging stats are subject to change as Firestore evolves. It could
@@ -170,7 +132,6 @@ public long getReadOperations() {
    * 
* * .google.protobuf.Struct debug_stats = 5; - * * @return Whether the debugStats field is set. */ @java.lang.Override @@ -178,8 +139,6 @@ public boolean hasDebugStats() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Debugging statistics from the execution of the query. Note that the
    * debugging stats are subject to change as Firestore evolves. It could
@@ -196,7 +155,6 @@ public boolean hasDebugStats() {
    * 
* * .google.protobuf.Struct debug_stats = 5; - * * @return The debugStats. */ @java.lang.Override @@ -204,8 +162,6 @@ public com.google.protobuf.Struct getDebugStats() { return debugStats_ == null ? com.google.protobuf.Struct.getDefaultInstance() : debugStats_; } /** - * - * *
    * Debugging statistics from the execution of the query. Note that the
    * debugging stats are subject to change as Firestore evolves. It could
@@ -229,7 +185,6 @@ public com.google.protobuf.StructOrBuilder getDebugStatsOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -241,7 +196,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 (resultsReturned_ != 0L) {
       output.writeInt64(1, resultsReturned_);
     }
@@ -264,16 +220,20 @@ public int getSerializedSize() {
 
     size = 0;
     if (resultsReturned_ != 0L) {
-      size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, resultsReturned_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt64Size(1, resultsReturned_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getExecutionDuration());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, getExecutionDuration());
     }
     if (readOperations_ != 0L) {
-      size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, readOperations_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt64Size(4, readOperations_);
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDebugStats());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, getDebugStats());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -283,22 +243,26 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.datastore.v1.ExecutionStats)) {
       return super.equals(obj);
     }
     com.google.datastore.v1.ExecutionStats other = (com.google.datastore.v1.ExecutionStats) obj;
 
-    if (getResultsReturned() != other.getResultsReturned()) return false;
+    if (getResultsReturned()
+        != other.getResultsReturned()) return false;
     if (hasExecutionDuration() != other.hasExecutionDuration()) return false;
     if (hasExecutionDuration()) {
-      if (!getExecutionDuration().equals(other.getExecutionDuration())) return false;
+      if (!getExecutionDuration()
+          .equals(other.getExecutionDuration())) return false;
     }
-    if (getReadOperations() != other.getReadOperations()) return false;
+    if (getReadOperations()
+        != other.getReadOperations()) return false;
     if (hasDebugStats() != other.hasDebugStats()) return false;
     if (hasDebugStats()) {
-      if (!getDebugStats().equals(other.getDebugStats())) return false;
+      if (!getDebugStats()
+          .equals(other.getDebugStats())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -312,13 +276,15 @@ public int hashCode() {
     int hash = 41;
     hash = (19 * hash) + getDescriptor().hashCode();
     hash = (37 * hash) + RESULTS_RETURNED_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getResultsReturned());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+        getResultsReturned());
     if (hasExecutionDuration()) {
       hash = (37 * hash) + EXECUTION_DURATION_FIELD_NUMBER;
       hash = (53 * hash) + getExecutionDuration().hashCode();
     }
     hash = (37 * hash) + READ_OPERATIONS_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getReadOperations());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+        getReadOperations());
     if (hasDebugStats()) {
       hash = (37 * hash) + DEBUG_STATS_FIELD_NUMBER;
       hash = (53 * hash) + getDebugStats().hashCode();
@@ -328,127 +294,120 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.ExecutionStats parseFrom(java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.ExecutionStats parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.ExecutionStats parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.ExecutionStats parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.ExecutionStats parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.ExecutionStats parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.ExecutionStats parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.ExecutionStats parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.datastore.v1.ExecutionStats parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   public static com.google.datastore.v1.ExecutionStats 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.datastore.v1.ExecutionStats parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.datastore.v1.ExecutionStats parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.datastore.v1.ExecutionStats parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.datastore.v1.ExecutionStats prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Execution statistics for the query.
    * 
* * Protobuf type {@code google.datastore.v1.ExecutionStats} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.ExecutionStats) com.google.datastore.v1.ExecutionStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.QueryProfileProto - .internal_static_google_datastore_v1_ExecutionStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_ExecutionStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProfileProto - .internal_static_google_datastore_v1_ExecutionStats_fieldAccessorTable + return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_ExecutionStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.ExecutionStats.class, - com.google.datastore.v1.ExecutionStats.Builder.class); + com.google.datastore.v1.ExecutionStats.class, com.google.datastore.v1.ExecutionStats.Builder.class); } // Construct using com.google.datastore.v1.ExecutionStats.newBuilder() @@ -456,18 +415,18 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getExecutionDurationFieldBuilder(); getDebugStatsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -488,9 +447,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.v1.QueryProfileProto - .internal_static_google_datastore_v1_ExecutionStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_ExecutionStats_descriptor; } @java.lang.Override @@ -509,11 +468,8 @@ public com.google.datastore.v1.ExecutionStats build() { @java.lang.Override public com.google.datastore.v1.ExecutionStats buildPartial() { - com.google.datastore.v1.ExecutionStats result = - new com.google.datastore.v1.ExecutionStats(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.datastore.v1.ExecutionStats result = new com.google.datastore.v1.ExecutionStats(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -525,17 +481,18 @@ private void buildPartial0(com.google.datastore.v1.ExecutionStats result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.executionDuration_ = - executionDurationBuilder_ == null - ? executionDuration_ - : executionDurationBuilder_.build(); + result.executionDuration_ = executionDurationBuilder_ == null + ? executionDuration_ + : executionDurationBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.readOperations_ = readOperations_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.debugStats_ = debugStatsBuilder_ == null ? debugStats_ : debugStatsBuilder_.build(); + result.debugStats_ = debugStatsBuilder_ == null + ? debugStats_ + : debugStatsBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -545,39 +502,38 @@ private void buildPartial0(com.google.datastore.v1.ExecutionStats result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.ExecutionStats) { - return mergeFrom((com.google.datastore.v1.ExecutionStats) other); + return mergeFrom((com.google.datastore.v1.ExecutionStats)other); } else { super.mergeFrom(other); return this; @@ -624,38 +580,36 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - resultsReturned_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 26: - { - input.readMessage( - getExecutionDurationFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 32: - { - readOperations_ = input.readInt64(); - bitField0_ |= 0x00000004; - break; - } // case 32 - case 42: - { - input.readMessage(getDebugStatsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 42 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + resultsReturned_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 26: { + input.readMessage( + getExecutionDurationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 32: { + readOperations_ = input.readInt64(); + bitField0_ |= 0x00000004; + break; + } // case 32 + case 42: { + input.readMessage( + getDebugStatsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + 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) { @@ -665,20 +619,16 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private long resultsReturned_; + private long resultsReturned_ ; /** - * - * *
      * Total number of results returned, including documents, projections,
      * aggregation results, keys.
      * 
* * int64 results_returned = 1; - * * @return The resultsReturned. */ @java.lang.Override @@ -686,15 +636,12 @@ public long getResultsReturned() { return resultsReturned_; } /** - * - * *
      * Total number of results returned, including documents, projections,
      * aggregation results, keys.
      * 
* * int64 results_returned = 1; - * * @param value The resultsReturned to set. * @return This builder for chaining. */ @@ -706,15 +653,12 @@ public Builder setResultsReturned(long value) { return this; } /** - * - * *
      * Total number of results returned, including documents, projections,
      * aggregation results, keys.
      * 
* * int64 results_returned = 1; - * * @return This builder for chaining. */ public Builder clearResultsReturned() { @@ -726,47 +670,34 @@ public Builder clearResultsReturned() { private com.google.protobuf.Duration executionDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> - executionDurationBuilder_; + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> executionDurationBuilder_; /** - * - * *
      * Total time to execute the query in the backend.
      * 
* * .google.protobuf.Duration execution_duration = 3; - * * @return Whether the executionDuration field is set. */ public boolean hasExecutionDuration() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Total time to execute the query in the backend.
      * 
* * .google.protobuf.Duration execution_duration = 3; - * * @return The executionDuration. */ public com.google.protobuf.Duration getExecutionDuration() { if (executionDurationBuilder_ == null) { - return executionDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : executionDuration_; + return executionDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : executionDuration_; } else { return executionDurationBuilder_.getMessage(); } } /** - * - * *
      * Total time to execute the query in the backend.
      * 
@@ -787,15 +718,14 @@ public Builder setExecutionDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Total time to execute the query in the backend.
      * 
* * .google.protobuf.Duration execution_duration = 3; */ - public Builder setExecutionDuration(com.google.protobuf.Duration.Builder builderForValue) { + public Builder setExecutionDuration( + com.google.protobuf.Duration.Builder builderForValue) { if (executionDurationBuilder_ == null) { executionDuration_ = builderForValue.build(); } else { @@ -806,8 +736,6 @@ public Builder setExecutionDuration(com.google.protobuf.Duration.Builder builder return this; } /** - * - * *
      * Total time to execute the query in the backend.
      * 
@@ -816,9 +744,9 @@ public Builder setExecutionDuration(com.google.protobuf.Duration.Builder builder */ public Builder mergeExecutionDuration(com.google.protobuf.Duration value) { if (executionDurationBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && executionDuration_ != null - && executionDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + executionDuration_ != null && + executionDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { getExecutionDurationBuilder().mergeFrom(value); } else { executionDuration_ = value; @@ -833,8 +761,6 @@ public Builder mergeExecutionDuration(com.google.protobuf.Duration value) { return this; } /** - * - * *
      * Total time to execute the query in the backend.
      * 
@@ -852,8 +778,6 @@ public Builder clearExecutionDuration() { return this; } /** - * - * *
      * Total time to execute the query in the backend.
      * 
@@ -866,8 +790,6 @@ public com.google.protobuf.Duration.Builder getExecutionDurationBuilder() { return getExecutionDurationFieldBuilder().getBuilder(); } /** - * - * *
      * Total time to execute the query in the backend.
      * 
@@ -878,14 +800,11 @@ public com.google.protobuf.DurationOrBuilder getExecutionDurationOrBuilder() { if (executionDurationBuilder_ != null) { return executionDurationBuilder_.getMessageOrBuilder(); } else { - return executionDuration_ == null - ? com.google.protobuf.Duration.getDefaultInstance() - : executionDuration_; + return executionDuration_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : executionDuration_; } } /** - * - * *
      * Total time to execute the query in the backend.
      * 
@@ -893,32 +812,26 @@ public com.google.protobuf.DurationOrBuilder getExecutionDurationOrBuilder() { * .google.protobuf.Duration execution_duration = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> getExecutionDurationFieldBuilder() { if (executionDurationBuilder_ == null) { - executionDurationBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, - com.google.protobuf.Duration.Builder, - com.google.protobuf.DurationOrBuilder>( - getExecutionDuration(), getParentForChildren(), isClean()); + executionDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getExecutionDuration(), + getParentForChildren(), + isClean()); executionDuration_ = null; } return executionDurationBuilder_; } - private long readOperations_; + private long readOperations_ ; /** - * - * *
      * Total billable read operations.
      * 
* * int64 read_operations = 4; - * * @return The readOperations. */ @java.lang.Override @@ -926,14 +839,11 @@ public long getReadOperations() { return readOperations_; } /** - * - * *
      * Total billable read operations.
      * 
* * int64 read_operations = 4; - * * @param value The readOperations to set. * @return This builder for chaining. */ @@ -945,14 +855,11 @@ public Builder setReadOperations(long value) { return this; } /** - * - * *
      * Total billable read operations.
      * 
* * int64 read_operations = 4; - * * @return This builder for chaining. */ public Builder clearReadOperations() { @@ -964,13 +871,8 @@ public Builder clearReadOperations() { private com.google.protobuf.Struct debugStats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> - debugStatsBuilder_; + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> debugStatsBuilder_; /** - * - * *
      * Debugging statistics from the execution of the query. Note that the
      * debugging stats are subject to change as Firestore evolves. It could
@@ -987,15 +889,12 @@ public Builder clearReadOperations() {
      * 
* * .google.protobuf.Struct debug_stats = 5; - * * @return Whether the debugStats field is set. */ public boolean hasDebugStats() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Debugging statistics from the execution of the query. Note that the
      * debugging stats are subject to change as Firestore evolves. It could
@@ -1012,7 +911,6 @@ public boolean hasDebugStats() {
      * 
* * .google.protobuf.Struct debug_stats = 5; - * * @return The debugStats. */ public com.google.protobuf.Struct getDebugStats() { @@ -1023,8 +921,6 @@ public com.google.protobuf.Struct getDebugStats() { } } /** - * - * *
      * Debugging statistics from the execution of the query. Note that the
      * debugging stats are subject to change as Firestore evolves. It could
@@ -1056,8 +952,6 @@ public Builder setDebugStats(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Debugging statistics from the execution of the query. Note that the
      * debugging stats are subject to change as Firestore evolves. It could
@@ -1075,7 +969,8 @@ public Builder setDebugStats(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct debug_stats = 5;
      */
-    public Builder setDebugStats(com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setDebugStats(
+        com.google.protobuf.Struct.Builder builderForValue) {
       if (debugStatsBuilder_ == null) {
         debugStats_ = builderForValue.build();
       } else {
@@ -1086,8 +981,6 @@ public Builder setDebugStats(com.google.protobuf.Struct.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * Debugging statistics from the execution of the query. Note that the
      * debugging stats are subject to change as Firestore evolves. It could
@@ -1107,9 +1000,9 @@ public Builder setDebugStats(com.google.protobuf.Struct.Builder builderForValue)
      */
     public Builder mergeDebugStats(com.google.protobuf.Struct value) {
       if (debugStatsBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && debugStats_ != null
-            && debugStats_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          debugStats_ != null &&
+          debugStats_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getDebugStatsBuilder().mergeFrom(value);
         } else {
           debugStats_ = value;
@@ -1124,8 +1017,6 @@ public Builder mergeDebugStats(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Debugging statistics from the execution of the query. Note that the
      * debugging stats are subject to change as Firestore evolves. It could
@@ -1154,8 +1045,6 @@ public Builder clearDebugStats() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Debugging statistics from the execution of the query. Note that the
      * debugging stats are subject to change as Firestore evolves. It could
@@ -1179,8 +1068,6 @@ public com.google.protobuf.Struct.Builder getDebugStatsBuilder() {
       return getDebugStatsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Debugging statistics from the execution of the query. Note that the
      * debugging stats are subject to change as Firestore evolves. It could
@@ -1202,12 +1089,11 @@ public com.google.protobuf.StructOrBuilder getDebugStatsOrBuilder() {
       if (debugStatsBuilder_ != null) {
         return debugStatsBuilder_.getMessageOrBuilder();
       } else {
-        return debugStats_ == null ? com.google.protobuf.Struct.getDefaultInstance() : debugStats_;
+        return debugStats_ == null ?
+            com.google.protobuf.Struct.getDefaultInstance() : debugStats_;
       }
     }
     /**
-     *
-     *
      * 
      * Debugging statistics from the execution of the query. Note that the
      * debugging stats are subject to change as Firestore evolves. It could
@@ -1226,24 +1112,21 @@ public com.google.protobuf.StructOrBuilder getDebugStatsOrBuilder() {
      * .google.protobuf.Struct debug_stats = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
         getDebugStatsFieldBuilder() {
       if (debugStatsBuilder_ == null) {
-        debugStatsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Struct,
-                com.google.protobuf.Struct.Builder,
-                com.google.protobuf.StructOrBuilder>(
-                getDebugStats(), getParentForChildren(), isClean());
+        debugStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
+                getDebugStats(),
+                getParentForChildren(),
+                isClean());
         debugStats_ = null;
       }
       return debugStatsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1253,12 +1136,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.ExecutionStats)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.ExecutionStats)
   private static final com.google.datastore.v1.ExecutionStats DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.ExecutionStats();
   }
@@ -1267,27 +1150,27 @@ public static com.google.datastore.v1.ExecutionStats getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ExecutionStats parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ExecutionStats parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1302,4 +1185,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.ExecutionStats getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExecutionStatsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExecutionStatsOrBuilder.java
similarity index 81%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExecutionStatsOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExecutionStatsOrBuilder.java
index b31b1227b..149802a07 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExecutionStatsOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExecutionStatsOrBuilder.java
@@ -1,70 +1,43 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/query_profile.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface ExecutionStatsOrBuilder
-    extends
+public interface ExecutionStatsOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.ExecutionStats)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Total number of results returned, including documents, projections,
    * aggregation results, keys.
    * 
* * int64 results_returned = 1; - * * @return The resultsReturned. */ long getResultsReturned(); /** - * - * *
    * Total time to execute the query in the backend.
    * 
* * .google.protobuf.Duration execution_duration = 3; - * * @return Whether the executionDuration field is set. */ boolean hasExecutionDuration(); /** - * - * *
    * Total time to execute the query in the backend.
    * 
* * .google.protobuf.Duration execution_duration = 3; - * * @return The executionDuration. */ com.google.protobuf.Duration getExecutionDuration(); /** - * - * *
    * Total time to execute the query in the backend.
    * 
@@ -74,21 +47,16 @@ public interface ExecutionStatsOrBuilder com.google.protobuf.DurationOrBuilder getExecutionDurationOrBuilder(); /** - * - * *
    * Total billable read operations.
    * 
* * int64 read_operations = 4; - * * @return The readOperations. */ long getReadOperations(); /** - * - * *
    * Debugging statistics from the execution of the query. Note that the
    * debugging stats are subject to change as Firestore evolves. It could
@@ -105,13 +73,10 @@ public interface ExecutionStatsOrBuilder
    * 
* * .google.protobuf.Struct debug_stats = 5; - * * @return Whether the debugStats field is set. */ boolean hasDebugStats(); /** - * - * *
    * Debugging statistics from the execution of the query. Note that the
    * debugging stats are subject to change as Firestore evolves. It could
@@ -128,13 +93,10 @@ public interface ExecutionStatsOrBuilder
    * 
* * .google.protobuf.Struct debug_stats = 5; - * * @return The debugStats. */ com.google.protobuf.Struct getDebugStats(); /** - * - * *
    * Debugging statistics from the execution of the query. Note that the
    * debugging stats are subject to change as Firestore evolves. It could
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainMetrics.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainMetrics.java
similarity index 69%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainMetrics.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainMetrics.java
index 423b58973..519b3b78e 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainMetrics.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainMetrics.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/query_profile.proto
 
@@ -20,59 +5,53 @@
 package com.google.datastore.v1;
 
 /**
- *
- *
  * 
  * Explain metrics for the query.
  * 
* * Protobuf type {@code google.datastore.v1.ExplainMetrics} */ -public final class ExplainMetrics extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExplainMetrics extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.datastore.v1.ExplainMetrics) ExplainMetricsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExplainMetrics.newBuilder() to construct. private ExplainMetrics(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ExplainMetrics() {} + private ExplainMetrics() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExplainMetrics(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.QueryProfileProto - .internal_static_google_datastore_v1_ExplainMetrics_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_ExplainMetrics_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProfileProto - .internal_static_google_datastore_v1_ExplainMetrics_fieldAccessorTable + return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_ExplainMetrics_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.ExplainMetrics.class, - com.google.datastore.v1.ExplainMetrics.Builder.class); + com.google.datastore.v1.ExplainMetrics.class, com.google.datastore.v1.ExplainMetrics.Builder.class); } private int bitField0_; public static final int PLAN_SUMMARY_FIELD_NUMBER = 1; private com.google.datastore.v1.PlanSummary planSummary_; /** - * - * *
    * Planning phase information for the query.
    * 
* * .google.datastore.v1.PlanSummary plan_summary = 1; - * * @return Whether the planSummary field is set. */ @java.lang.Override @@ -80,25 +59,18 @@ public boolean hasPlanSummary() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Planning phase information for the query.
    * 
* * .google.datastore.v1.PlanSummary plan_summary = 1; - * * @return The planSummary. */ @java.lang.Override public com.google.datastore.v1.PlanSummary getPlanSummary() { - return planSummary_ == null - ? com.google.datastore.v1.PlanSummary.getDefaultInstance() - : planSummary_; + return planSummary_ == null ? com.google.datastore.v1.PlanSummary.getDefaultInstance() : planSummary_; } /** - * - * *
    * Planning phase information for the query.
    * 
@@ -107,16 +79,12 @@ public com.google.datastore.v1.PlanSummary getPlanSummary() { */ @java.lang.Override public com.google.datastore.v1.PlanSummaryOrBuilder getPlanSummaryOrBuilder() { - return planSummary_ == null - ? com.google.datastore.v1.PlanSummary.getDefaultInstance() - : planSummary_; + return planSummary_ == null ? com.google.datastore.v1.PlanSummary.getDefaultInstance() : planSummary_; } public static final int EXECUTION_STATS_FIELD_NUMBER = 2; private com.google.datastore.v1.ExecutionStats executionStats_; /** - * - * *
    * Aggregated stats from the execution of the query. Only present when
    * [ExplainOptions.analyze][google.datastore.v1.ExplainOptions.analyze] is set
@@ -124,7 +92,6 @@ public com.google.datastore.v1.PlanSummaryOrBuilder getPlanSummaryOrBuilder() {
    * 
* * .google.datastore.v1.ExecutionStats execution_stats = 2; - * * @return Whether the executionStats field is set. */ @java.lang.Override @@ -132,8 +99,6 @@ public boolean hasExecutionStats() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * Aggregated stats from the execution of the query. Only present when
    * [ExplainOptions.analyze][google.datastore.v1.ExplainOptions.analyze] is set
@@ -141,18 +106,13 @@ public boolean hasExecutionStats() {
    * 
* * .google.datastore.v1.ExecutionStats execution_stats = 2; - * * @return The executionStats. */ @java.lang.Override public com.google.datastore.v1.ExecutionStats getExecutionStats() { - return executionStats_ == null - ? com.google.datastore.v1.ExecutionStats.getDefaultInstance() - : executionStats_; + return executionStats_ == null ? com.google.datastore.v1.ExecutionStats.getDefaultInstance() : executionStats_; } /** - * - * *
    * Aggregated stats from the execution of the query. Only present when
    * [ExplainOptions.analyze][google.datastore.v1.ExplainOptions.analyze] is set
@@ -163,13 +123,10 @@ public com.google.datastore.v1.ExecutionStats getExecutionStats() {
    */
   @java.lang.Override
   public com.google.datastore.v1.ExecutionStatsOrBuilder getExecutionStatsOrBuilder() {
-    return executionStats_ == null
-        ? com.google.datastore.v1.ExecutionStats.getDefaultInstance()
-        : executionStats_;
+    return executionStats_ == null ? com.google.datastore.v1.ExecutionStats.getDefaultInstance() : executionStats_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -181,7 +138,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(1, getPlanSummary());
     }
@@ -198,10 +156,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPlanSummary());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getPlanSummary());
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExecutionStats());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getExecutionStats());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -211,7 +171,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.datastore.v1.ExplainMetrics)) {
       return super.equals(obj);
@@ -220,11 +180,13 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasPlanSummary() != other.hasPlanSummary()) return false;
     if (hasPlanSummary()) {
-      if (!getPlanSummary().equals(other.getPlanSummary())) return false;
+      if (!getPlanSummary()
+          .equals(other.getPlanSummary())) return false;
     }
     if (hasExecutionStats() != other.hasExecutionStats()) return false;
     if (hasExecutionStats()) {
-      if (!getExecutionStats().equals(other.getExecutionStats())) return false;
+      if (!getExecutionStats()
+          .equals(other.getExecutionStats())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -250,127 +212,120 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.ExplainMetrics parseFrom(java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.ExplainMetrics parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.ExplainMetrics parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.ExplainMetrics parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.ExplainMetrics parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.ExplainMetrics parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.ExplainMetrics parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.ExplainMetrics parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.datastore.v1.ExplainMetrics parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   public static com.google.datastore.v1.ExplainMetrics 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.datastore.v1.ExplainMetrics parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.datastore.v1.ExplainMetrics parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.datastore.v1.ExplainMetrics parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.datastore.v1.ExplainMetrics prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Explain metrics for the query.
    * 
* * Protobuf type {@code google.datastore.v1.ExplainMetrics} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.ExplainMetrics) com.google.datastore.v1.ExplainMetricsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.QueryProfileProto - .internal_static_google_datastore_v1_ExplainMetrics_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_ExplainMetrics_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProfileProto - .internal_static_google_datastore_v1_ExplainMetrics_fieldAccessorTable + return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_ExplainMetrics_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.ExplainMetrics.class, - com.google.datastore.v1.ExplainMetrics.Builder.class); + com.google.datastore.v1.ExplainMetrics.class, com.google.datastore.v1.ExplainMetrics.Builder.class); } // Construct using com.google.datastore.v1.ExplainMetrics.newBuilder() @@ -378,18 +333,18 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPlanSummaryFieldBuilder(); getExecutionStatsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -408,9 +363,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.v1.QueryProfileProto - .internal_static_google_datastore_v1_ExplainMetrics_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_ExplainMetrics_descriptor; } @java.lang.Override @@ -429,11 +384,8 @@ public com.google.datastore.v1.ExplainMetrics build() { @java.lang.Override public com.google.datastore.v1.ExplainMetrics buildPartial() { - com.google.datastore.v1.ExplainMetrics result = - new com.google.datastore.v1.ExplainMetrics(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.datastore.v1.ExplainMetrics result = new com.google.datastore.v1.ExplainMetrics(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -442,13 +394,15 @@ private void buildPartial0(com.google.datastore.v1.ExplainMetrics result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.planSummary_ = - planSummaryBuilder_ == null ? planSummary_ : planSummaryBuilder_.build(); + result.planSummary_ = planSummaryBuilder_ == null + ? planSummary_ + : planSummaryBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.executionStats_ = - executionStatsBuilder_ == null ? executionStats_ : executionStatsBuilder_.build(); + result.executionStats_ = executionStatsBuilder_ == null + ? executionStats_ + : executionStatsBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -458,39 +412,38 @@ private void buildPartial0(com.google.datastore.v1.ExplainMetrics result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.ExplainMetrics) { - return mergeFrom((com.google.datastore.v1.ExplainMetrics) other); + return mergeFrom((com.google.datastore.v1.ExplainMetrics)other); } else { super.mergeFrom(other); return this; @@ -531,25 +484,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getPlanSummaryFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getExecutionStatsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getPlanSummaryFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getExecutionStatsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -559,52 +513,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.datastore.v1.PlanSummary planSummary_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PlanSummary, - com.google.datastore.v1.PlanSummary.Builder, - com.google.datastore.v1.PlanSummaryOrBuilder> - planSummaryBuilder_; + com.google.datastore.v1.PlanSummary, com.google.datastore.v1.PlanSummary.Builder, com.google.datastore.v1.PlanSummaryOrBuilder> planSummaryBuilder_; /** - * - * *
      * Planning phase information for the query.
      * 
* * .google.datastore.v1.PlanSummary plan_summary = 1; - * * @return Whether the planSummary field is set. */ public boolean hasPlanSummary() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Planning phase information for the query.
      * 
* * .google.datastore.v1.PlanSummary plan_summary = 1; - * * @return The planSummary. */ public com.google.datastore.v1.PlanSummary getPlanSummary() { if (planSummaryBuilder_ == null) { - return planSummary_ == null - ? com.google.datastore.v1.PlanSummary.getDefaultInstance() - : planSummary_; + return planSummary_ == null ? com.google.datastore.v1.PlanSummary.getDefaultInstance() : planSummary_; } else { return planSummaryBuilder_.getMessage(); } } /** - * - * *
      * Planning phase information for the query.
      * 
@@ -625,15 +565,14 @@ public Builder setPlanSummary(com.google.datastore.v1.PlanSummary value) { return this; } /** - * - * *
      * Planning phase information for the query.
      * 
* * .google.datastore.v1.PlanSummary plan_summary = 1; */ - public Builder setPlanSummary(com.google.datastore.v1.PlanSummary.Builder builderForValue) { + public Builder setPlanSummary( + com.google.datastore.v1.PlanSummary.Builder builderForValue) { if (planSummaryBuilder_ == null) { planSummary_ = builderForValue.build(); } else { @@ -644,8 +583,6 @@ public Builder setPlanSummary(com.google.datastore.v1.PlanSummary.Builder builde return this; } /** - * - * *
      * Planning phase information for the query.
      * 
@@ -654,9 +591,9 @@ public Builder setPlanSummary(com.google.datastore.v1.PlanSummary.Builder builde */ public Builder mergePlanSummary(com.google.datastore.v1.PlanSummary value) { if (planSummaryBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && planSummary_ != null - && planSummary_ != com.google.datastore.v1.PlanSummary.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + planSummary_ != null && + planSummary_ != com.google.datastore.v1.PlanSummary.getDefaultInstance()) { getPlanSummaryBuilder().mergeFrom(value); } else { planSummary_ = value; @@ -671,8 +608,6 @@ public Builder mergePlanSummary(com.google.datastore.v1.PlanSummary value) { return this; } /** - * - * *
      * Planning phase information for the query.
      * 
@@ -690,8 +625,6 @@ public Builder clearPlanSummary() { return this; } /** - * - * *
      * Planning phase information for the query.
      * 
@@ -704,8 +637,6 @@ public com.google.datastore.v1.PlanSummary.Builder getPlanSummaryBuilder() { return getPlanSummaryFieldBuilder().getBuilder(); } /** - * - * *
      * Planning phase information for the query.
      * 
@@ -716,14 +647,11 @@ public com.google.datastore.v1.PlanSummaryOrBuilder getPlanSummaryOrBuilder() { if (planSummaryBuilder_ != null) { return planSummaryBuilder_.getMessageOrBuilder(); } else { - return planSummary_ == null - ? com.google.datastore.v1.PlanSummary.getDefaultInstance() - : planSummary_; + return planSummary_ == null ? + com.google.datastore.v1.PlanSummary.getDefaultInstance() : planSummary_; } } /** - * - * *
      * Planning phase information for the query.
      * 
@@ -731,17 +659,14 @@ public com.google.datastore.v1.PlanSummaryOrBuilder getPlanSummaryOrBuilder() { * .google.datastore.v1.PlanSummary plan_summary = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PlanSummary, - com.google.datastore.v1.PlanSummary.Builder, - com.google.datastore.v1.PlanSummaryOrBuilder> + com.google.datastore.v1.PlanSummary, com.google.datastore.v1.PlanSummary.Builder, com.google.datastore.v1.PlanSummaryOrBuilder> getPlanSummaryFieldBuilder() { if (planSummaryBuilder_ == null) { - planSummaryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PlanSummary, - com.google.datastore.v1.PlanSummary.Builder, - com.google.datastore.v1.PlanSummaryOrBuilder>( - getPlanSummary(), getParentForChildren(), isClean()); + planSummaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.PlanSummary, com.google.datastore.v1.PlanSummary.Builder, com.google.datastore.v1.PlanSummaryOrBuilder>( + getPlanSummary(), + getParentForChildren(), + isClean()); planSummary_ = null; } return planSummaryBuilder_; @@ -749,13 +674,8 @@ public com.google.datastore.v1.PlanSummaryOrBuilder getPlanSummaryOrBuilder() { private com.google.datastore.v1.ExecutionStats executionStats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ExecutionStats, - com.google.datastore.v1.ExecutionStats.Builder, - com.google.datastore.v1.ExecutionStatsOrBuilder> - executionStatsBuilder_; + com.google.datastore.v1.ExecutionStats, com.google.datastore.v1.ExecutionStats.Builder, com.google.datastore.v1.ExecutionStatsOrBuilder> executionStatsBuilder_; /** - * - * *
      * Aggregated stats from the execution of the query. Only present when
      * [ExplainOptions.analyze][google.datastore.v1.ExplainOptions.analyze] is set
@@ -763,15 +683,12 @@ public com.google.datastore.v1.PlanSummaryOrBuilder getPlanSummaryOrBuilder() {
      * 
* * .google.datastore.v1.ExecutionStats execution_stats = 2; - * * @return Whether the executionStats field is set. */ public boolean hasExecutionStats() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Aggregated stats from the execution of the query. Only present when
      * [ExplainOptions.analyze][google.datastore.v1.ExplainOptions.analyze] is set
@@ -779,21 +696,16 @@ public boolean hasExecutionStats() {
      * 
* * .google.datastore.v1.ExecutionStats execution_stats = 2; - * * @return The executionStats. */ public com.google.datastore.v1.ExecutionStats getExecutionStats() { if (executionStatsBuilder_ == null) { - return executionStats_ == null - ? com.google.datastore.v1.ExecutionStats.getDefaultInstance() - : executionStats_; + return executionStats_ == null ? com.google.datastore.v1.ExecutionStats.getDefaultInstance() : executionStats_; } else { return executionStatsBuilder_.getMessage(); } } /** - * - * *
      * Aggregated stats from the execution of the query. Only present when
      * [ExplainOptions.analyze][google.datastore.v1.ExplainOptions.analyze] is set
@@ -816,8 +728,6 @@ public Builder setExecutionStats(com.google.datastore.v1.ExecutionStats value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Aggregated stats from the execution of the query. Only present when
      * [ExplainOptions.analyze][google.datastore.v1.ExplainOptions.analyze] is set
@@ -838,8 +748,6 @@ public Builder setExecutionStats(
       return this;
     }
     /**
-     *
-     *
      * 
      * Aggregated stats from the execution of the query. Only present when
      * [ExplainOptions.analyze][google.datastore.v1.ExplainOptions.analyze] is set
@@ -850,9 +758,9 @@ public Builder setExecutionStats(
      */
     public Builder mergeExecutionStats(com.google.datastore.v1.ExecutionStats value) {
       if (executionStatsBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0)
-            && executionStats_ != null
-            && executionStats_ != com.google.datastore.v1.ExecutionStats.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0) &&
+          executionStats_ != null &&
+          executionStats_ != com.google.datastore.v1.ExecutionStats.getDefaultInstance()) {
           getExecutionStatsBuilder().mergeFrom(value);
         } else {
           executionStats_ = value;
@@ -867,8 +775,6 @@ public Builder mergeExecutionStats(com.google.datastore.v1.ExecutionStats value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Aggregated stats from the execution of the query. Only present when
      * [ExplainOptions.analyze][google.datastore.v1.ExplainOptions.analyze] is set
@@ -888,8 +794,6 @@ public Builder clearExecutionStats() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Aggregated stats from the execution of the query. Only present when
      * [ExplainOptions.analyze][google.datastore.v1.ExplainOptions.analyze] is set
@@ -904,8 +808,6 @@ public com.google.datastore.v1.ExecutionStats.Builder getExecutionStatsBuilder()
       return getExecutionStatsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Aggregated stats from the execution of the query. Only present when
      * [ExplainOptions.analyze][google.datastore.v1.ExplainOptions.analyze] is set
@@ -918,14 +820,11 @@ public com.google.datastore.v1.ExecutionStatsOrBuilder getExecutionStatsOrBuilde
       if (executionStatsBuilder_ != null) {
         return executionStatsBuilder_.getMessageOrBuilder();
       } else {
-        return executionStats_ == null
-            ? com.google.datastore.v1.ExecutionStats.getDefaultInstance()
-            : executionStats_;
+        return executionStats_ == null ?
+            com.google.datastore.v1.ExecutionStats.getDefaultInstance() : executionStats_;
       }
     }
     /**
-     *
-     *
      * 
      * Aggregated stats from the execution of the query. Only present when
      * [ExplainOptions.analyze][google.datastore.v1.ExplainOptions.analyze] is set
@@ -935,24 +834,21 @@ public com.google.datastore.v1.ExecutionStatsOrBuilder getExecutionStatsOrBuilde
      * .google.datastore.v1.ExecutionStats execution_stats = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.ExecutionStats,
-            com.google.datastore.v1.ExecutionStats.Builder,
-            com.google.datastore.v1.ExecutionStatsOrBuilder>
+        com.google.datastore.v1.ExecutionStats, com.google.datastore.v1.ExecutionStats.Builder, com.google.datastore.v1.ExecutionStatsOrBuilder> 
         getExecutionStatsFieldBuilder() {
       if (executionStatsBuilder_ == null) {
-        executionStatsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.datastore.v1.ExecutionStats,
-                com.google.datastore.v1.ExecutionStats.Builder,
-                com.google.datastore.v1.ExecutionStatsOrBuilder>(
-                getExecutionStats(), getParentForChildren(), isClean());
+        executionStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.datastore.v1.ExecutionStats, com.google.datastore.v1.ExecutionStats.Builder, com.google.datastore.v1.ExecutionStatsOrBuilder>(
+                getExecutionStats(),
+                getParentForChildren(),
+                isClean());
         executionStats_ = null;
       }
       return executionStatsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -962,12 +858,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.ExplainMetrics)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.ExplainMetrics)
   private static final com.google.datastore.v1.ExplainMetrics DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.ExplainMetrics();
   }
@@ -976,27 +872,27 @@ public static com.google.datastore.v1.ExplainMetrics getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ExplainMetrics parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ExplainMetrics parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1011,4 +907,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.ExplainMetrics getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainMetricsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainMetricsOrBuilder.java
similarity index 74%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainMetricsOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainMetricsOrBuilder.java
index c6b995167..c4a37abbf 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainMetricsOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainMetricsOrBuilder.java
@@ -1,56 +1,32 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/query_profile.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface ExplainMetricsOrBuilder
-    extends
+public interface ExplainMetricsOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.ExplainMetrics)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Planning phase information for the query.
    * 
* * .google.datastore.v1.PlanSummary plan_summary = 1; - * * @return Whether the planSummary field is set. */ boolean hasPlanSummary(); /** - * - * *
    * Planning phase information for the query.
    * 
* * .google.datastore.v1.PlanSummary plan_summary = 1; - * * @return The planSummary. */ com.google.datastore.v1.PlanSummary getPlanSummary(); /** - * - * *
    * Planning phase information for the query.
    * 
@@ -60,8 +36,6 @@ public interface ExplainMetricsOrBuilder com.google.datastore.v1.PlanSummaryOrBuilder getPlanSummaryOrBuilder(); /** - * - * *
    * Aggregated stats from the execution of the query. Only present when
    * [ExplainOptions.analyze][google.datastore.v1.ExplainOptions.analyze] is set
@@ -69,13 +43,10 @@ public interface ExplainMetricsOrBuilder
    * 
* * .google.datastore.v1.ExecutionStats execution_stats = 2; - * * @return Whether the executionStats field is set. */ boolean hasExecutionStats(); /** - * - * *
    * Aggregated stats from the execution of the query. Only present when
    * [ExplainOptions.analyze][google.datastore.v1.ExplainOptions.analyze] is set
@@ -83,13 +54,10 @@ public interface ExplainMetricsOrBuilder
    * 
* * .google.datastore.v1.ExecutionStats execution_stats = 2; - * * @return The executionStats. */ com.google.datastore.v1.ExecutionStats getExecutionStats(); /** - * - * *
    * Aggregated stats from the execution of the query. Only present when
    * [ExplainOptions.analyze][google.datastore.v1.ExplainOptions.analyze] is set
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainOptions.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainOptions.java
similarity index 67%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainOptions.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainOptions.java
index 4e2f32872..f822cf27c 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainOptions.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainOptions.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/query_profile.proto
 
@@ -20,52 +5,47 @@
 package com.google.datastore.v1;
 
 /**
- *
- *
  * 
  * Explain options for the query.
  * 
* * Protobuf type {@code google.datastore.v1.ExplainOptions} */ -public final class ExplainOptions extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ExplainOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.datastore.v1.ExplainOptions) ExplainOptionsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ExplainOptions.newBuilder() to construct. private ExplainOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ExplainOptions() {} + private ExplainOptions() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ExplainOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.QueryProfileProto - .internal_static_google_datastore_v1_ExplainOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_ExplainOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProfileProto - .internal_static_google_datastore_v1_ExplainOptions_fieldAccessorTable + return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_ExplainOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.ExplainOptions.class, - com.google.datastore.v1.ExplainOptions.Builder.class); + com.google.datastore.v1.ExplainOptions.class, com.google.datastore.v1.ExplainOptions.Builder.class); } public static final int ANALYZE_FIELD_NUMBER = 1; private boolean analyze_ = false; /** - * - * *
    * Optional. Whether to execute this query.
    *
@@ -77,7 +57,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * bool analyze = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The analyze. */ @java.lang.Override @@ -86,7 +65,6 @@ public boolean getAnalyze() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -98,7 +76,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (analyze_ != false) { output.writeBool(1, analyze_); } @@ -112,7 +91,8 @@ public int getSerializedSize() { size = 0; if (analyze_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, analyze_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(1, analyze_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -122,14 +102,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.datastore.v1.ExplainOptions)) { return super.equals(obj); } com.google.datastore.v1.ExplainOptions other = (com.google.datastore.v1.ExplainOptions) obj; - if (getAnalyze() != other.getAnalyze()) return false; + if (getAnalyze() + != other.getAnalyze()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -142,142 +123,139 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ANALYZE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAnalyze()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getAnalyze()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.datastore.v1.ExplainOptions parseFrom(java.nio.ByteBuffer data) + public static com.google.datastore.v1.ExplainOptions parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.ExplainOptions parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.ExplainOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.ExplainOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.ExplainOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.ExplainOptions parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.ExplainOptions parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.ExplainOptions parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.datastore.v1.ExplainOptions 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.datastore.v1.ExplainOptions parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.ExplainOptions parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.ExplainOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.datastore.v1.ExplainOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Explain options for the query.
    * 
* * Protobuf type {@code google.datastore.v1.ExplainOptions} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.ExplainOptions) com.google.datastore.v1.ExplainOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.QueryProfileProto - .internal_static_google_datastore_v1_ExplainOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_ExplainOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProfileProto - .internal_static_google_datastore_v1_ExplainOptions_fieldAccessorTable + return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_ExplainOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.ExplainOptions.class, - com.google.datastore.v1.ExplainOptions.Builder.class); + com.google.datastore.v1.ExplainOptions.class, com.google.datastore.v1.ExplainOptions.Builder.class); } // Construct using com.google.datastore.v1.ExplainOptions.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -287,9 +265,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.v1.QueryProfileProto - .internal_static_google_datastore_v1_ExplainOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_ExplainOptions_descriptor; } @java.lang.Override @@ -308,11 +286,8 @@ public com.google.datastore.v1.ExplainOptions build() { @java.lang.Override public com.google.datastore.v1.ExplainOptions buildPartial() { - com.google.datastore.v1.ExplainOptions result = - new com.google.datastore.v1.ExplainOptions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.datastore.v1.ExplainOptions result = new com.google.datastore.v1.ExplainOptions(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -328,39 +303,38 @@ private void buildPartial0(com.google.datastore.v1.ExplainOptions result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.ExplainOptions) { - return mergeFrom((com.google.datastore.v1.ExplainOptions) other); + return mergeFrom((com.google.datastore.v1.ExplainOptions)other); } else { super.mergeFrom(other); return this; @@ -398,19 +372,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - analyze_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + analyze_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -420,13 +392,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private boolean analyze_; + private boolean analyze_ ; /** - * - * *
      * Optional. Whether to execute this query.
      *
@@ -438,7 +407,6 @@ public Builder mergeFrom(
      * 
* * bool analyze = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The analyze. */ @java.lang.Override @@ -446,8 +414,6 @@ public boolean getAnalyze() { return analyze_; } /** - * - * *
      * Optional. Whether to execute this query.
      *
@@ -459,7 +425,6 @@ public boolean getAnalyze() {
      * 
* * bool analyze = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @param value The analyze to set. * @return This builder for chaining. */ @@ -471,8 +436,6 @@ public Builder setAnalyze(boolean value) { return this; } /** - * - * *
      * Optional. Whether to execute this query.
      *
@@ -484,7 +447,6 @@ public Builder setAnalyze(boolean value) {
      * 
* * bool analyze = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return This builder for chaining. */ public Builder clearAnalyze() { @@ -493,9 +455,9 @@ public Builder clearAnalyze() { 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); } @@ -505,12 +467,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.v1.ExplainOptions) } // @@protoc_insertion_point(class_scope:google.datastore.v1.ExplainOptions) private static final com.google.datastore.v1.ExplainOptions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.v1.ExplainOptions(); } @@ -519,27 +481,27 @@ public static com.google.datastore.v1.ExplainOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplainOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplainOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -554,4 +516,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.ExplainOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainOptionsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainOptionsOrBuilder.java similarity index 54% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainOptionsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainOptionsOrBuilder.java index 0248d5101..ec5b3faee 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainOptionsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainOptionsOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query_profile.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface ExplainOptionsOrBuilder - extends +public interface ExplainOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.ExplainOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Optional. Whether to execute this query.
    *
@@ -38,7 +20,6 @@ public interface ExplainOptionsOrBuilder
    * 
* * bool analyze = 1 [(.google.api.field_behavior) = OPTIONAL]; - * * @return The analyze. */ boolean getAnalyze(); diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Filter.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Filter.java similarity index 71% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Filter.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Filter.java index b9b60db38..97c1c9398 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Filter.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Filter.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto @@ -20,59 +5,54 @@ package com.google.datastore.v1; /** - * - * *
  * A holder for any type of filter.
  * 
* * Protobuf type {@code google.datastore.v1.Filter} */ -public final class Filter extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Filter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.datastore.v1.Filter) FilterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Filter.newBuilder() to construct. private Filter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Filter() {} + private Filter() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Filter(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_Filter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_Filter_fieldAccessorTable + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_Filter_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.datastore.v1.Filter.class, com.google.datastore.v1.Filter.Builder.class); } private int filterTypeCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object filterType_; - public enum FilterTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { COMPOSITE_FILTER(1), PROPERTY_FILTER(2), FILTERTYPE_NOT_SET(0); private final int value; - private FilterTypeCase(int value) { this.value = value; } @@ -88,36 +68,30 @@ public static FilterTypeCase valueOf(int value) { public static FilterTypeCase forNumber(int value) { switch (value) { - case 1: - return COMPOSITE_FILTER; - case 2: - return PROPERTY_FILTER; - case 0: - return FILTERTYPE_NOT_SET; - default: - return null; + case 1: return COMPOSITE_FILTER; + case 2: return PROPERTY_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.datastore.v1.CompositeFilter composite_filter = 1; - * * @return Whether the compositeFilter field is set. */ @java.lang.Override @@ -125,26 +99,21 @@ public boolean hasCompositeFilter() { return filterTypeCase_ == 1; } /** - * - * *
    * A composite filter.
    * 
* * .google.datastore.v1.CompositeFilter composite_filter = 1; - * * @return The compositeFilter. */ @java.lang.Override public com.google.datastore.v1.CompositeFilter getCompositeFilter() { if (filterTypeCase_ == 1) { - return (com.google.datastore.v1.CompositeFilter) filterType_; + return (com.google.datastore.v1.CompositeFilter) filterType_; } return com.google.datastore.v1.CompositeFilter.getDefaultInstance(); } /** - * - * *
    * A composite filter.
    * 
@@ -154,21 +123,18 @@ public com.google.datastore.v1.CompositeFilter getCompositeFilter() { @java.lang.Override public com.google.datastore.v1.CompositeFilterOrBuilder getCompositeFilterOrBuilder() { if (filterTypeCase_ == 1) { - return (com.google.datastore.v1.CompositeFilter) filterType_; + return (com.google.datastore.v1.CompositeFilter) filterType_; } return com.google.datastore.v1.CompositeFilter.getDefaultInstance(); } public static final int PROPERTY_FILTER_FIELD_NUMBER = 2; /** - * - * *
    * A filter on a property.
    * 
* * .google.datastore.v1.PropertyFilter property_filter = 2; - * * @return Whether the propertyFilter field is set. */ @java.lang.Override @@ -176,26 +142,21 @@ public boolean hasPropertyFilter() { return filterTypeCase_ == 2; } /** - * - * *
    * A filter on a property.
    * 
* * .google.datastore.v1.PropertyFilter property_filter = 2; - * * @return The propertyFilter. */ @java.lang.Override public com.google.datastore.v1.PropertyFilter getPropertyFilter() { if (filterTypeCase_ == 2) { - return (com.google.datastore.v1.PropertyFilter) filterType_; + return (com.google.datastore.v1.PropertyFilter) filterType_; } return com.google.datastore.v1.PropertyFilter.getDefaultInstance(); } /** - * - * *
    * A filter on a property.
    * 
@@ -205,13 +166,12 @@ public com.google.datastore.v1.PropertyFilter getPropertyFilter() { @java.lang.Override public com.google.datastore.v1.PropertyFilterOrBuilder getPropertyFilterOrBuilder() { if (filterTypeCase_ == 2) { - return (com.google.datastore.v1.PropertyFilter) filterType_; + return (com.google.datastore.v1.PropertyFilter) filterType_; } return com.google.datastore.v1.PropertyFilter.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -223,7 +183,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 (filterTypeCase_ == 1) { output.writeMessage(1, (com.google.datastore.v1.CompositeFilter) filterType_); } @@ -240,14 +201,12 @@ public int getSerializedSize() { size = 0; if (filterTypeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.datastore.v1.CompositeFilter) filterType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.datastore.v1.CompositeFilter) filterType_); } if (filterTypeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.datastore.v1.PropertyFilter) filterType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.datastore.v1.PropertyFilter) filterType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -257,7 +216,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.datastore.v1.Filter)) { return super.equals(obj); @@ -267,10 +226,12 @@ public boolean equals(final java.lang.Object 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 (!getPropertyFilter().equals(other.getPropertyFilter())) return false; + if (!getPropertyFilter() + .equals(other.getPropertyFilter())) return false; break; case 0: default: @@ -303,134 +264,132 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.Filter parseFrom(java.nio.ByteBuffer data) + public static com.google.datastore.v1.Filter parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.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.datastore.v1.Filter parseFrom(com.google.protobuf.ByteString data) + public static com.google.datastore.v1.Filter parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.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.datastore.v1.Filter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.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.datastore.v1.Filter parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.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.datastore.v1.Filter 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.datastore.v1.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.datastore.v1.Filter parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.datastore.v1.Filter 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.datastore.v1.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.datastore.v1.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 - protected 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 holder for any type of filter.
    * 
* * Protobuf type {@code google.datastore.v1.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.datastore.v1.Filter) com.google.datastore.v1.FilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_Filter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_Filter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_Filter_fieldAccessorTable + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_Filter_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.datastore.v1.Filter.class, com.google.datastore.v1.Filter.Builder.class); } // Construct using com.google.datastore.v1.Filter.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -447,9 +406,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_Filter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_Filter_descriptor; } @java.lang.Override @@ -469,9 +428,7 @@ public com.google.datastore.v1.Filter build() { @java.lang.Override public com.google.datastore.v1.Filter buildPartial() { com.google.datastore.v1.Filter result = new com.google.datastore.v1.Filter(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -484,10 +441,12 @@ private void buildPartial0(com.google.datastore.v1.Filter result) { private void buildPartialOneofs(com.google.datastore.v1.Filter result) { result.filterTypeCase_ = filterTypeCase_; result.filterType_ = this.filterType_; - if (filterTypeCase_ == 1 && compositeFilterBuilder_ != null) { + if (filterTypeCase_ == 1 && + compositeFilterBuilder_ != null) { result.filterType_ = compositeFilterBuilder_.build(); } - if (filterTypeCase_ == 2 && propertyFilterBuilder_ != null) { + if (filterTypeCase_ == 2 && + propertyFilterBuilder_ != null) { result.filterType_ = propertyFilterBuilder_.build(); } } @@ -496,39 +455,38 @@ private void buildPartialOneofs(com.google.datastore.v1.Filter result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.Filter) { - return mergeFrom((com.google.datastore.v1.Filter) other); + return mergeFrom((com.google.datastore.v1.Filter)other); } else { super.mergeFrom(other); return this; @@ -538,20 +496,17 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.datastore.v1.Filter other) { if (other == com.google.datastore.v1.Filter.getDefaultInstance()) return this; switch (other.getFilterTypeCase()) { - case COMPOSITE_FILTER: - { - mergeCompositeFilter(other.getCompositeFilter()); - break; - } - case PROPERTY_FILTER: - { - mergePropertyFilter(other.getPropertyFilter()); - break; - } - case FILTERTYPE_NOT_SET: - { - break; - } + case COMPOSITE_FILTER: { + mergeCompositeFilter(other.getCompositeFilter()); + break; + } + case PROPERTY_FILTER: { + mergePropertyFilter(other.getPropertyFilter()); + break; + } + case FILTERTYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -579,25 +534,26 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getCompositeFilterFieldBuilder().getBuilder(), extensionRegistry); - filterTypeCase_ = 1; - break; - } // case 10 - case 18: - { - input.readMessage(getPropertyFilterFieldBuilder().getBuilder(), extensionRegistry); - filterTypeCase_ = 2; - break; - } // case 18 - 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( + getPropertyFilterFieldBuilder().getBuilder(), + extensionRegistry); + filterTypeCase_ = 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) { @@ -607,12 +563,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() { @@ -625,19 +581,13 @@ public Builder clearFilterType() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.CompositeFilter, - com.google.datastore.v1.CompositeFilter.Builder, - com.google.datastore.v1.CompositeFilterOrBuilder> - compositeFilterBuilder_; + com.google.datastore.v1.CompositeFilter, com.google.datastore.v1.CompositeFilter.Builder, com.google.datastore.v1.CompositeFilterOrBuilder> compositeFilterBuilder_; /** - * - * *
      * A composite filter.
      * 
* * .google.datastore.v1.CompositeFilter composite_filter = 1; - * * @return Whether the compositeFilter field is set. */ @java.lang.Override @@ -645,14 +595,11 @@ public boolean hasCompositeFilter() { return filterTypeCase_ == 1; } /** - * - * *
      * A composite filter.
      * 
* * .google.datastore.v1.CompositeFilter composite_filter = 1; - * * @return The compositeFilter. */ @java.lang.Override @@ -670,8 +617,6 @@ public com.google.datastore.v1.CompositeFilter getCompositeFilter() { } } /** - * - * *
      * A composite filter.
      * 
@@ -692,8 +637,6 @@ public Builder setCompositeFilter(com.google.datastore.v1.CompositeFilter value) return this; } /** - * - * *
      * A composite filter.
      * 
@@ -712,8 +655,6 @@ public Builder setCompositeFilter( return this; } /** - * - * *
      * A composite filter.
      * 
@@ -722,13 +663,10 @@ public Builder setCompositeFilter( */ public Builder mergeCompositeFilter(com.google.datastore.v1.CompositeFilter value) { if (compositeFilterBuilder_ == null) { - if (filterTypeCase_ == 1 - && filterType_ != com.google.datastore.v1.CompositeFilter.getDefaultInstance()) { - filterType_ = - com.google.datastore.v1.CompositeFilter.newBuilder( - (com.google.datastore.v1.CompositeFilter) filterType_) - .mergeFrom(value) - .buildPartial(); + if (filterTypeCase_ == 1 && + filterType_ != com.google.datastore.v1.CompositeFilter.getDefaultInstance()) { + filterType_ = com.google.datastore.v1.CompositeFilter.newBuilder((com.google.datastore.v1.CompositeFilter) filterType_) + .mergeFrom(value).buildPartial(); } else { filterType_ = value; } @@ -744,8 +682,6 @@ public Builder mergeCompositeFilter(com.google.datastore.v1.CompositeFilter valu return this; } /** - * - * *
      * A composite filter.
      * 
@@ -769,8 +705,6 @@ public Builder clearCompositeFilter() { return this; } /** - * - * *
      * A composite filter.
      * 
@@ -781,8 +715,6 @@ public com.google.datastore.v1.CompositeFilter.Builder getCompositeFilterBuilder return getCompositeFilterFieldBuilder().getBuilder(); } /** - * - * *
      * A composite filter.
      * 
@@ -801,8 +733,6 @@ public com.google.datastore.v1.CompositeFilterOrBuilder getCompositeFilterOrBuil } } /** - * - * *
      * A composite filter.
      * 
@@ -810,19 +740,14 @@ public com.google.datastore.v1.CompositeFilterOrBuilder getCompositeFilterOrBuil * .google.datastore.v1.CompositeFilter composite_filter = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.CompositeFilter, - com.google.datastore.v1.CompositeFilter.Builder, - com.google.datastore.v1.CompositeFilterOrBuilder> + com.google.datastore.v1.CompositeFilter, com.google.datastore.v1.CompositeFilter.Builder, com.google.datastore.v1.CompositeFilterOrBuilder> getCompositeFilterFieldBuilder() { if (compositeFilterBuilder_ == null) { if (!(filterTypeCase_ == 1)) { filterType_ = com.google.datastore.v1.CompositeFilter.getDefaultInstance(); } - compositeFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.CompositeFilter, - com.google.datastore.v1.CompositeFilter.Builder, - com.google.datastore.v1.CompositeFilterOrBuilder>( + compositeFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.CompositeFilter, com.google.datastore.v1.CompositeFilter.Builder, com.google.datastore.v1.CompositeFilterOrBuilder>( (com.google.datastore.v1.CompositeFilter) filterType_, getParentForChildren(), isClean()); @@ -834,19 +759,13 @@ public com.google.datastore.v1.CompositeFilterOrBuilder getCompositeFilterOrBuil } private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyFilter, - com.google.datastore.v1.PropertyFilter.Builder, - com.google.datastore.v1.PropertyFilterOrBuilder> - propertyFilterBuilder_; + com.google.datastore.v1.PropertyFilter, com.google.datastore.v1.PropertyFilter.Builder, com.google.datastore.v1.PropertyFilterOrBuilder> propertyFilterBuilder_; /** - * - * *
      * A filter on a property.
      * 
* * .google.datastore.v1.PropertyFilter property_filter = 2; - * * @return Whether the propertyFilter field is set. */ @java.lang.Override @@ -854,14 +773,11 @@ public boolean hasPropertyFilter() { return filterTypeCase_ == 2; } /** - * - * *
      * A filter on a property.
      * 
* * .google.datastore.v1.PropertyFilter property_filter = 2; - * * @return The propertyFilter. */ @java.lang.Override @@ -879,8 +795,6 @@ public com.google.datastore.v1.PropertyFilter getPropertyFilter() { } } /** - * - * *
      * A filter on a property.
      * 
@@ -901,8 +815,6 @@ public Builder setPropertyFilter(com.google.datastore.v1.PropertyFilter value) { return this; } /** - * - * *
      * A filter on a property.
      * 
@@ -921,8 +833,6 @@ public Builder setPropertyFilter( return this; } /** - * - * *
      * A filter on a property.
      * 
@@ -931,13 +841,10 @@ public Builder setPropertyFilter( */ public Builder mergePropertyFilter(com.google.datastore.v1.PropertyFilter value) { if (propertyFilterBuilder_ == null) { - if (filterTypeCase_ == 2 - && filterType_ != com.google.datastore.v1.PropertyFilter.getDefaultInstance()) { - filterType_ = - com.google.datastore.v1.PropertyFilter.newBuilder( - (com.google.datastore.v1.PropertyFilter) filterType_) - .mergeFrom(value) - .buildPartial(); + if (filterTypeCase_ == 2 && + filterType_ != com.google.datastore.v1.PropertyFilter.getDefaultInstance()) { + filterType_ = com.google.datastore.v1.PropertyFilter.newBuilder((com.google.datastore.v1.PropertyFilter) filterType_) + .mergeFrom(value).buildPartial(); } else { filterType_ = value; } @@ -953,8 +860,6 @@ public Builder mergePropertyFilter(com.google.datastore.v1.PropertyFilter value) return this; } /** - * - * *
      * A filter on a property.
      * 
@@ -978,8 +883,6 @@ public Builder clearPropertyFilter() { return this; } /** - * - * *
      * A filter on a property.
      * 
@@ -990,8 +893,6 @@ public com.google.datastore.v1.PropertyFilter.Builder getPropertyFilterBuilder() return getPropertyFilterFieldBuilder().getBuilder(); } /** - * - * *
      * A filter on a property.
      * 
@@ -1010,8 +911,6 @@ public com.google.datastore.v1.PropertyFilterOrBuilder getPropertyFilterOrBuilde } } /** - * - * *
      * A filter on a property.
      * 
@@ -1019,19 +918,14 @@ public com.google.datastore.v1.PropertyFilterOrBuilder getPropertyFilterOrBuilde * .google.datastore.v1.PropertyFilter property_filter = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyFilter, - com.google.datastore.v1.PropertyFilter.Builder, - com.google.datastore.v1.PropertyFilterOrBuilder> + com.google.datastore.v1.PropertyFilter, com.google.datastore.v1.PropertyFilter.Builder, com.google.datastore.v1.PropertyFilterOrBuilder> getPropertyFilterFieldBuilder() { if (propertyFilterBuilder_ == null) { if (!(filterTypeCase_ == 2)) { filterType_ = com.google.datastore.v1.PropertyFilter.getDefaultInstance(); } - propertyFilterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyFilter, - com.google.datastore.v1.PropertyFilter.Builder, - com.google.datastore.v1.PropertyFilterOrBuilder>( + propertyFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.PropertyFilter, com.google.datastore.v1.PropertyFilter.Builder, com.google.datastore.v1.PropertyFilterOrBuilder>( (com.google.datastore.v1.PropertyFilter) filterType_, getParentForChildren(), isClean()); @@ -1041,9 +935,9 @@ public com.google.datastore.v1.PropertyFilterOrBuilder getPropertyFilterOrBuilde onChanged(); return propertyFilterBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1053,12 +947,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.v1.Filter) } // @@protoc_insertion_point(class_scope:google.datastore.v1.Filter) private static final com.google.datastore.v1.Filter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.v1.Filter(); } @@ -1067,27 +961,27 @@ public static com.google.datastore.v1.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; @@ -1102,4 +996,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.Filter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/FilterOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/FilterOrBuilder.java similarity index 70% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/FilterOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/FilterOrBuilder.java index b7a38fddf..fa66948e6 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/FilterOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/FilterOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface FilterOrBuilder - extends +public interface FilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.Filter) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A composite filter.
    * 
* * .google.datastore.v1.CompositeFilter composite_filter = 1; - * * @return Whether the compositeFilter field is set. */ boolean hasCompositeFilter(); /** - * - * *
    * A composite filter.
    * 
* * .google.datastore.v1.CompositeFilter composite_filter = 1; - * * @return The compositeFilter. */ com.google.datastore.v1.CompositeFilter getCompositeFilter(); /** - * - * *
    * A composite filter.
    * 
@@ -60,32 +36,24 @@ public interface FilterOrBuilder com.google.datastore.v1.CompositeFilterOrBuilder getCompositeFilterOrBuilder(); /** - * - * *
    * A filter on a property.
    * 
* * .google.datastore.v1.PropertyFilter property_filter = 2; - * * @return Whether the propertyFilter field is set. */ boolean hasPropertyFilter(); /** - * - * *
    * A filter on a property.
    * 
* * .google.datastore.v1.PropertyFilter property_filter = 2; - * * @return The propertyFilter. */ com.google.datastore.v1.PropertyFilter getPropertyFilter(); /** - * - * *
    * A filter on a property.
    * 
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQuery.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQuery.java similarity index 74% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQuery.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQuery.java index 0c7eb2a61..e6406ca8f 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQuery.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQuery.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto @@ -20,8 +5,6 @@ package com.google.datastore.v1; /** - * - * *
  * A [GQL
  * query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.datastore.v1.GqlQuery}
  */
-public final class GqlQuery extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class GqlQuery extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.datastore.v1.GqlQuery)
     GqlQueryOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use GqlQuery.newBuilder() to construct.
   private GqlQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private GqlQuery() {
     queryString_ = "";
     positionalBindings_ = java.util.Collections.emptyList();
@@ -46,13 +28,14 @@ private GqlQuery() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new GqlQuery();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.datastore.v1.QueryProto
-        .internal_static_google_datastore_v1_GqlQuery_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_GqlQuery_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
@@ -63,33 +46,28 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
       case 5:
         return internalGetNamedBindings();
       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.datastore.v1.QueryProto
-        .internal_static_google_datastore_v1_GqlQuery_fieldAccessorTable
+    return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_GqlQuery_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.datastore.v1.GqlQuery.class, com.google.datastore.v1.GqlQuery.Builder.class);
   }
 
   public static final int QUERY_STRING_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object queryString_ = "";
   /**
-   *
-   *
    * 
    * A string of the format described
    * [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
    * 
* * string query_string = 1; - * * @return The queryString. */ @java.lang.Override @@ -98,30 +76,30 @@ public java.lang.String getQueryString() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryString_ = s; return s; } } /** - * - * *
    * A string of the format described
    * [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
    * 
* * string query_string = 1; - * * @return The bytes for queryString. */ @java.lang.Override - public com.google.protobuf.ByteString getQueryStringBytes() { + public com.google.protobuf.ByteString + getQueryStringBytes() { java.lang.Object ref = queryString_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); queryString_ = b; return b; } else { @@ -132,8 +110,6 @@ public com.google.protobuf.ByteString getQueryStringBytes() { public static final int ALLOW_LITERALS_FIELD_NUMBER = 2; private boolean allowLiterals_ = false; /** - * - * *
    * When false, the query string must not contain any literals and instead must
    * bind all values. For example,
@@ -142,7 +118,6 @@ public com.google.protobuf.ByteString getQueryStringBytes() {
    * 
* * bool allow_literals = 2; - * * @return The allowLiterals. */ @java.lang.Override @@ -151,40 +126,32 @@ public boolean getAllowLiterals() { } public static final int NAMED_BINDINGS_FIELD_NUMBER = 5; - private static final class NamedBindingsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.datastore.v1.GqlQueryParameter> - defaultEntry = + java.lang.String, com.google.datastore.v1.GqlQueryParameter> defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_GqlQuery_NamedBindingsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.datastore.v1.GqlQueryParameter.getDefaultInstance()); + .newDefaultInstance( + com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_GqlQuery_NamedBindingsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.datastore.v1.GqlQueryParameter.getDefaultInstance()); } - @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, com.google.datastore.v1.GqlQueryParameter> namedBindings_; private com.google.protobuf.MapField - namedBindings_; - - private com.google.protobuf.MapField - internalGetNamedBindings() { + internalGetNamedBindings() { if (namedBindings_ == null) { return com.google.protobuf.MapField.emptyMapField( NamedBindingsDefaultEntryHolder.defaultEntry); } return namedBindings_; } - public int getNamedBindingsCount() { return internalGetNamedBindings().getMap().size(); } /** - * - * *
    * For each non-reserved named binding site in the query string, there must be
    * a named parameter with that name, but not necessarily the inverse.
@@ -196,22 +163,20 @@ public int getNamedBindingsCount() {
    * map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
    */
   @java.lang.Override
-  public boolean containsNamedBindings(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public boolean containsNamedBindings(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     return internalGetNamedBindings().getMap().containsKey(key);
   }
-  /** Use {@link #getNamedBindingsMap()} instead. */
+  /**
+   * Use {@link #getNamedBindingsMap()} instead.
+   */
   @java.lang.Override
   @java.lang.Deprecated
-  public java.util.Map
-      getNamedBindings() {
+  public java.util.Map getNamedBindings() {
     return getNamedBindingsMap();
   }
   /**
-   *
-   *
    * 
    * For each non-reserved named binding site in the query string, there must be
    * a named parameter with that name, but not necessarily the inverse.
@@ -223,13 +188,10 @@ public boolean containsNamedBindings(java.lang.String key) {
    * map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
    */
   @java.lang.Override
-  public java.util.Map
-      getNamedBindingsMap() {
+  public java.util.Map getNamedBindingsMap() {
     return internalGetNamedBindings().getMap();
   }
   /**
-   *
-   *
    * 
    * For each non-reserved named binding site in the query string, there must be
    * a named parameter with that name, but not necessarily the inverse.
@@ -241,20 +203,17 @@ public boolean containsNamedBindings(java.lang.String key) {
    * map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
    */
   @java.lang.Override
-  public /* nullable */ com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrDefault(
+  public /* nullable */
+com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.datastore.v1.GqlQueryParameter defaultValue) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+com.google.datastore.v1.GqlQueryParameter defaultValue) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetNamedBindings().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
-   *
-   *
    * 
    * For each non-reserved named binding site in the query string, there must be
    * a named parameter with that name, but not necessarily the inverse.
@@ -266,10 +225,9 @@ public boolean containsNamedBindings(java.lang.String key) {
    * map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
    */
   @java.lang.Override
-  public com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrThrow(java.lang.String key) {
-    if (key == null) {
-      throw new NullPointerException("map key");
-    }
+  public com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrThrow(
+      java.lang.String key) {
+    if (key == null) { throw new NullPointerException("map key"); }
     java.util.Map map =
         internalGetNamedBindings().getMap();
     if (!map.containsKey(key)) {
@@ -279,12 +237,9 @@ public com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrThrow(java.la
   }
 
   public static final int POSITIONAL_BINDINGS_FIELD_NUMBER = 4;
-
   @SuppressWarnings("serial")
   private java.util.List positionalBindings_;
   /**
-   *
-   *
    * 
    * Numbered binding site @1 references the first numbered parameter,
    * effectively using 1-based indexing, rather than the usual 0.
@@ -300,8 +255,6 @@ public java.util.List getPositionalBi
     return positionalBindings_;
   }
   /**
-   *
-   *
    * 
    * Numbered binding site @1 references the first numbered parameter,
    * effectively using 1-based indexing, rather than the usual 0.
@@ -313,13 +266,11 @@ public java.util.List getPositionalBi
    * repeated .google.datastore.v1.GqlQueryParameter positional_bindings = 4;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getPositionalBindingsOrBuilderList() {
     return positionalBindings_;
   }
   /**
-   *
-   *
    * 
    * Numbered binding site @1 references the first numbered parameter,
    * effectively using 1-based indexing, rather than the usual 0.
@@ -335,8 +286,6 @@ public int getPositionalBindingsCount() {
     return positionalBindings_.size();
   }
   /**
-   *
-   *
    * 
    * Numbered binding site @1 references the first numbered parameter,
    * effectively using 1-based indexing, rather than the usual 0.
@@ -352,8 +301,6 @@ public com.google.datastore.v1.GqlQueryParameter getPositionalBindings(int index
     return positionalBindings_.get(index);
   }
   /**
-   *
-   *
    * 
    * Numbered binding site @1 references the first numbered parameter,
    * effectively using 1-based indexing, rather than the usual 0.
@@ -371,7 +318,6 @@ public com.google.datastore.v1.GqlQueryParameterOrBuilder getPositionalBindingsO
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -383,7 +329,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(queryString_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, queryString_);
     }
@@ -393,8 +340,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     for (int i = 0; i < positionalBindings_.size(); i++) {
       output.writeMessage(4, positionalBindings_.get(i));
     }
-    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
-        output, internalGetNamedBindings(), NamedBindingsDefaultEntryHolder.defaultEntry, 5);
+    com.google.protobuf.GeneratedMessageV3
+      .serializeStringMapTo(
+        output,
+        internalGetNamedBindings(),
+        NamedBindingsDefaultEntryHolder.defaultEntry,
+        5);
     getUnknownFields().writeTo(output);
   }
 
@@ -408,22 +359,22 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, queryString_);
     }
     if (allowLiterals_ != false) {
-      size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, allowLiterals_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBoolSize(2, allowLiterals_);
     }
     for (int i = 0; i < positionalBindings_.size(); i++) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(4, positionalBindings_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, positionalBindings_.get(i));
     }
-    for (java.util.Map.Entry entry :
-        internalGetNamedBindings().getMap().entrySet()) {
+    for (java.util.Map.Entry entry
+         : internalGetNamedBindings().getMap().entrySet()) {
       com.google.protobuf.MapEntry
-          namedBindings__ =
-              NamedBindingsDefaultEntryHolder.defaultEntry
-                  .newBuilderForType()
-                  .setKey(entry.getKey())
-                  .setValue(entry.getValue())
-                  .build();
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, namedBindings__);
+      namedBindings__ = NamedBindingsDefaultEntryHolder.defaultEntry.newBuilderForType()
+          .setKey(entry.getKey())
+          .setValue(entry.getValue())
+          .build();
+      size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(5, namedBindings__);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -433,17 +384,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.datastore.v1.GqlQuery)) {
       return super.equals(obj);
     }
     com.google.datastore.v1.GqlQuery other = (com.google.datastore.v1.GqlQuery) obj;
 
-    if (!getQueryString().equals(other.getQueryString())) return false;
-    if (getAllowLiterals() != other.getAllowLiterals()) return false;
-    if (!internalGetNamedBindings().equals(other.internalGetNamedBindings())) return false;
-    if (!getPositionalBindingsList().equals(other.getPositionalBindingsList())) return false;
+    if (!getQueryString()
+        .equals(other.getQueryString())) return false;
+    if (getAllowLiterals()
+        != other.getAllowLiterals()) return false;
+    if (!internalGetNamedBindings().equals(
+        other.internalGetNamedBindings())) return false;
+    if (!getPositionalBindingsList()
+        .equals(other.getPositionalBindingsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -458,7 +413,8 @@ public int hashCode() {
     hash = (37 * hash) + QUERY_STRING_FIELD_NUMBER;
     hash = (53 * hash) + getQueryString().hashCode();
     hash = (37 * hash) + ALLOW_LITERALS_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowLiterals());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
+        getAllowLiterals());
     if (!internalGetNamedBindings().getMap().isEmpty()) {
       hash = (37 * hash) + NAMED_BINDINGS_FIELD_NUMBER;
       hash = (53 * hash) + internalGetNamedBindings().hashCode();
@@ -472,103 +428,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.GqlQuery parseFrom(java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.GqlQuery parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.GqlQuery parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.datastore.v1.GqlQuery parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.datastore.v1.GqlQuery parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.GqlQuery parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.GqlQuery parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.GqlQuery parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.GqlQuery parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.datastore.v1.GqlQuery parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   public static com.google.datastore.v1.GqlQuery 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.datastore.v1.GqlQuery parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.datastore.v1.GqlQuery parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.datastore.v1.GqlQuery parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.datastore.v1.GqlQuery prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 [GQL
    * query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
@@ -576,13 +528,13 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.datastore.v1.GqlQuery}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.datastore.v1.GqlQuery)
       com.google.datastore.v1.GqlQueryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.datastore.v1.QueryProto
-          .internal_static_google_datastore_v1_GqlQuery_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_GqlQuery_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
@@ -592,10 +544,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
         case 5:
           return internalGetNamedBindings();
         default:
-          throw new RuntimeException("Invalid map field number: " + number);
+          throw new RuntimeException(
+              "Invalid map field number: " + number);
       }
     }
-
     @SuppressWarnings({"rawtypes"})
     protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
         int number) {
@@ -603,27 +555,28 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi
         case 5:
           return internalGetMutableNamedBindings();
         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.datastore.v1.QueryProto
-          .internal_static_google_datastore_v1_GqlQuery_fieldAccessorTable
+      return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_GqlQuery_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.GqlQuery.class,
-              com.google.datastore.v1.GqlQuery.Builder.class);
+              com.google.datastore.v1.GqlQuery.class, com.google.datastore.v1.GqlQuery.Builder.class);
     }
 
     // Construct using com.google.datastore.v1.GqlQuery.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -642,9 +595,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.datastore.v1.QueryProto
-          .internal_static_google_datastore_v1_GqlQuery_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_GqlQuery_descriptor;
     }
 
     @java.lang.Override
@@ -665,9 +618,7 @@ public com.google.datastore.v1.GqlQuery build() {
     public com.google.datastore.v1.GqlQuery buildPartial() {
       com.google.datastore.v1.GqlQuery result = new com.google.datastore.v1.GqlQuery(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -693,8 +644,7 @@ private void buildPartial0(com.google.datastore.v1.GqlQuery result) {
         result.allowLiterals_ = allowLiterals_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.namedBindings_ =
-            internalGetNamedBindings().build(NamedBindingsDefaultEntryHolder.defaultEntry);
+        result.namedBindings_ = internalGetNamedBindings().build(NamedBindingsDefaultEntryHolder.defaultEntry);
       }
     }
 
@@ -702,39 +652,38 @@ private void buildPartial0(com.google.datastore.v1.GqlQuery result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.GqlQuery) {
-        return mergeFrom((com.google.datastore.v1.GqlQuery) other);
+        return mergeFrom((com.google.datastore.v1.GqlQuery)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -751,7 +700,8 @@ public Builder mergeFrom(com.google.datastore.v1.GqlQuery other) {
       if (other.getAllowLiterals() != false) {
         setAllowLiterals(other.getAllowLiterals());
       }
-      internalGetMutableNamedBindings().mergeFrom(other.internalGetNamedBindings());
+      internalGetMutableNamedBindings().mergeFrom(
+          other.internalGetNamedBindings());
       bitField0_ |= 0x00000004;
       if (positionalBindingsBuilder_ == null) {
         if (!other.positionalBindings_.isEmpty()) {
@@ -771,10 +721,9 @@ public Builder mergeFrom(com.google.datastore.v1.GqlQuery other) {
             positionalBindingsBuilder_ = null;
             positionalBindings_ = other.positionalBindings_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            positionalBindingsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getPositionalBindingsFieldBuilder()
-                    : null;
+            positionalBindingsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getPositionalBindingsFieldBuilder() : null;
           } else {
             positionalBindingsBuilder_.addAllMessages(other.positionalBindings_);
           }
@@ -806,52 +755,44 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                queryString_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                allowLiterals_ = input.readBool();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 34:
-              {
-                com.google.datastore.v1.GqlQueryParameter m =
-                    input.readMessage(
-                        com.google.datastore.v1.GqlQueryParameter.parser(), extensionRegistry);
-                if (positionalBindingsBuilder_ == null) {
-                  ensurePositionalBindingsIsMutable();
-                  positionalBindings_.add(m);
-                } else {
-                  positionalBindingsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 34
-            case 42:
-              {
-                com.google.protobuf.MapEntry<
-                        java.lang.String, com.google.datastore.v1.GqlQueryParameter>
-                    namedBindings__ =
-                        input.readMessage(
-                            NamedBindingsDefaultEntryHolder.defaultEntry.getParserForType(),
-                            extensionRegistry);
-                internalGetMutableNamedBindings()
-                    .ensureBuilderMap()
-                    .put(namedBindings__.getKey(), namedBindings__.getValue());
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 42
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              queryString_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              allowLiterals_ = input.readBool();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 34: {
+              com.google.datastore.v1.GqlQueryParameter m =
+                  input.readMessage(
+                      com.google.datastore.v1.GqlQueryParameter.parser(),
+                      extensionRegistry);
+              if (positionalBindingsBuilder_ == null) {
+                ensurePositionalBindingsIsMutable();
+                positionalBindings_.add(m);
+              } else {
+                positionalBindingsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 34
+            case 42: {
+              com.google.protobuf.MapEntry
+              namedBindings__ = input.readMessage(
+                  NamedBindingsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
+              internalGetMutableNamedBindings().ensureBuilderMap().put(
+                  namedBindings__.getKey(), namedBindings__.getValue());
+              bitField0_ |= 0x00000004;
+              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) {
@@ -861,26 +802,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object queryString_ = "";
     /**
-     *
-     *
      * 
      * A string of the format described
      * [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
      * 
* * string query_string = 1; - * * @return The queryString. */ public java.lang.String getQueryString() { java.lang.Object ref = queryString_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryString_ = s; return s; @@ -889,22 +827,21 @@ public java.lang.String getQueryString() { } } /** - * - * *
      * A string of the format described
      * [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
      * 
* * string query_string = 1; - * * @return The bytes for queryString. */ - public com.google.protobuf.ByteString getQueryStringBytes() { + public com.google.protobuf.ByteString + getQueryStringBytes() { java.lang.Object ref = queryString_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); queryString_ = b; return b; } else { @@ -912,37 +849,30 @@ public com.google.protobuf.ByteString getQueryStringBytes() { } } /** - * - * *
      * A string of the format described
      * [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
      * 
* * string query_string = 1; - * * @param value The queryString to set. * @return This builder for chaining. */ - public Builder setQueryString(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQueryString( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } queryString_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * A string of the format described
      * [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
      * 
* * string query_string = 1; - * * @return This builder for chaining. */ public Builder clearQueryString() { @@ -952,22 +882,18 @@ public Builder clearQueryString() { return this; } /** - * - * *
      * A string of the format described
      * [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
      * 
* * string query_string = 1; - * * @param value The bytes for queryString to set. * @return This builder for chaining. */ - public Builder setQueryStringBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setQueryStringBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); queryString_ = value; bitField0_ |= 0x00000001; @@ -975,10 +901,8 @@ public Builder setQueryStringBytes(com.google.protobuf.ByteString value) { return this; } - private boolean allowLiterals_; + private boolean allowLiterals_ ; /** - * - * *
      * When false, the query string must not contain any literals and instead must
      * bind all values. For example,
@@ -987,7 +911,6 @@ public Builder setQueryStringBytes(com.google.protobuf.ByteString value) {
      * 
* * bool allow_literals = 2; - * * @return The allowLiterals. */ @java.lang.Override @@ -995,8 +918,6 @@ public boolean getAllowLiterals() { return allowLiterals_; } /** - * - * *
      * When false, the query string must not contain any literals and instead must
      * bind all values. For example,
@@ -1005,7 +926,6 @@ public boolean getAllowLiterals() {
      * 
* * bool allow_literals = 2; - * * @param value The allowLiterals to set. * @return This builder for chaining. */ @@ -1017,8 +937,6 @@ public Builder setAllowLiterals(boolean value) { return this; } /** - * - * *
      * When false, the query string must not contain any literals and instead must
      * bind all values. For example,
@@ -1027,7 +945,6 @@ public Builder setAllowLiterals(boolean value) {
      * 
* * bool allow_literals = 2; - * * @return This builder for chaining. */ public Builder clearAllowLiterals() { @@ -1037,55 +954,30 @@ public Builder clearAllowLiterals() { return this; } - private static final class NamedBindingsConverter - implements com.google.protobuf.MapFieldBuilder.Converter< - java.lang.String, - com.google.datastore.v1.GqlQueryParameterOrBuilder, - com.google.datastore.v1.GqlQueryParameter> { + private static final class NamedBindingsConverter implements com.google.protobuf.MapFieldBuilder.Converter { @java.lang.Override - public com.google.datastore.v1.GqlQueryParameter build( - com.google.datastore.v1.GqlQueryParameterOrBuilder val) { - if (val instanceof com.google.datastore.v1.GqlQueryParameter) { - return (com.google.datastore.v1.GqlQueryParameter) val; - } + public com.google.datastore.v1.GqlQueryParameter build(com.google.datastore.v1.GqlQueryParameterOrBuilder val) { + if (val instanceof com.google.datastore.v1.GqlQueryParameter) { return (com.google.datastore.v1.GqlQueryParameter) val; } return ((com.google.datastore.v1.GqlQueryParameter.Builder) val).build(); } @java.lang.Override - public com.google.protobuf.MapEntry< - java.lang.String, com.google.datastore.v1.GqlQueryParameter> - defaultEntry() { + public com.google.protobuf.MapEntry defaultEntry() { return NamedBindingsDefaultEntryHolder.defaultEntry; } }; - - private static final NamedBindingsConverter namedBindingsConverter = - new NamedBindingsConverter(); - - private com.google.protobuf.MapFieldBuilder< - java.lang.String, - com.google.datastore.v1.GqlQueryParameterOrBuilder, - com.google.datastore.v1.GqlQueryParameter, - com.google.datastore.v1.GqlQueryParameter.Builder> - namedBindings_; + private static final NamedBindingsConverter namedBindingsConverter = new NamedBindingsConverter(); private com.google.protobuf.MapFieldBuilder< - java.lang.String, - com.google.datastore.v1.GqlQueryParameterOrBuilder, - com.google.datastore.v1.GqlQueryParameter, - com.google.datastore.v1.GqlQueryParameter.Builder> + java.lang.String, com.google.datastore.v1.GqlQueryParameterOrBuilder, com.google.datastore.v1.GqlQueryParameter, com.google.datastore.v1.GqlQueryParameter.Builder> namedBindings_; + private com.google.protobuf.MapFieldBuilder internalGetNamedBindings() { if (namedBindings_ == null) { return new com.google.protobuf.MapFieldBuilder<>(namedBindingsConverter); } return namedBindings_; } - - private com.google.protobuf.MapFieldBuilder< - java.lang.String, - com.google.datastore.v1.GqlQueryParameterOrBuilder, - com.google.datastore.v1.GqlQueryParameter, - com.google.datastore.v1.GqlQueryParameter.Builder> + private com.google.protobuf.MapFieldBuilder internalGetMutableNamedBindings() { if (namedBindings_ == null) { namedBindings_ = new com.google.protobuf.MapFieldBuilder<>(namedBindingsConverter); @@ -1094,13 +986,10 @@ public com.google.datastore.v1.GqlQueryParameter build( onChanged(); return namedBindings_; } - public int getNamedBindingsCount() { return internalGetNamedBindings().ensureBuilderMap().size(); } /** - * - * *
      * For each non-reserved named binding site in the query string, there must be
      * a named parameter with that name, but not necessarily the inverse.
@@ -1112,22 +1001,20 @@ public int getNamedBindingsCount() {
      * map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
      */
     @java.lang.Override
-    public boolean containsNamedBindings(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
+    public boolean containsNamedBindings(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
       return internalGetNamedBindings().ensureBuilderMap().containsKey(key);
     }
-    /** Use {@link #getNamedBindingsMap()} instead. */
+    /**
+     * Use {@link #getNamedBindingsMap()} instead.
+     */
     @java.lang.Override
     @java.lang.Deprecated
-    public java.util.Map
-        getNamedBindings() {
+    public java.util.Map getNamedBindings() {
       return getNamedBindingsMap();
     }
     /**
-     *
-     *
      * 
      * For each non-reserved named binding site in the query string, there must be
      * a named parameter with that name, but not necessarily the inverse.
@@ -1139,13 +1026,10 @@ public boolean containsNamedBindings(java.lang.String key) {
      * map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
      */
     @java.lang.Override
-    public java.util.Map
-        getNamedBindingsMap() {
+    public java.util.Map getNamedBindingsMap() {
       return internalGetNamedBindings().getImmutableMap();
     }
     /**
-     *
-     *
      * 
      * For each non-reserved named binding site in the query string, there must be
      * a named parameter with that name, but not necessarily the inverse.
@@ -1157,20 +1041,16 @@ public boolean containsNamedBindings(java.lang.String key) {
      * map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
      */
     @java.lang.Override
-    public /* nullable */ com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrDefault(
+    public /* nullable */
+com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrDefault(
         java.lang.String key,
         /* nullable */
-        com.google.datastore.v1.GqlQueryParameter defaultValue) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map =
-          internalGetMutableNamedBindings().ensureBuilderMap();
+com.google.datastore.v1.GqlQueryParameter defaultValue) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map = internalGetMutableNamedBindings().ensureBuilderMap();
       return map.containsKey(key) ? namedBindingsConverter.build(map.get(key)) : defaultValue;
     }
     /**
-     *
-     *
      * 
      * For each non-reserved named binding site in the query string, there must be
      * a named parameter with that name, but not necessarily the inverse.
@@ -1182,26 +1062,21 @@ public boolean containsNamedBindings(java.lang.String key) {
      * map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
      */
     @java.lang.Override
-    public com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrThrow(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      java.util.Map map =
-          internalGetMutableNamedBindings().ensureBuilderMap();
+    public com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrThrow(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      java.util.Map map = internalGetMutableNamedBindings().ensureBuilderMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return namedBindingsConverter.build(map.get(key));
     }
-
     public Builder clearNamedBindings() {
       bitField0_ = (bitField0_ & ~0x00000004);
       internalGetMutableNamedBindings().clear();
       return this;
     }
     /**
-     *
-     *
      * 
      * For each non-reserved named binding site in the query string, there must be
      * a named parameter with that name, but not necessarily the inverse.
@@ -1212,14 +1087,16 @@ public Builder clearNamedBindings() {
      *
      * map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
      */
-    public Builder removeNamedBindings(java.lang.String key) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      internalGetMutableNamedBindings().ensureBuilderMap().remove(key);
+    public Builder removeNamedBindings(
+        java.lang.String key) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      internalGetMutableNamedBindings().ensureBuilderMap()
+          .remove(key);
       return this;
     }
-    /** Use alternate mutation accessors instead. */
+    /**
+     * Use alternate mutation accessors instead.
+     */
     @java.lang.Deprecated
     public java.util.Map
         getMutableNamedBindings() {
@@ -1227,8 +1104,6 @@ public Builder removeNamedBindings(java.lang.String key) {
       return internalGetMutableNamedBindings().ensureMessageMap();
     }
     /**
-     *
-     *
      * 
      * For each non-reserved named binding site in the query string, there must be
      * a named parameter with that name, but not necessarily the inverse.
@@ -1240,20 +1115,16 @@ public Builder removeNamedBindings(java.lang.String key) {
      * map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
      */
     public Builder putNamedBindings(
-        java.lang.String key, com.google.datastore.v1.GqlQueryParameter value) {
-      if (key == null) {
-        throw new NullPointerException("map key");
-      }
-      if (value == null) {
-        throw new NullPointerException("map value");
-      }
-      internalGetMutableNamedBindings().ensureBuilderMap().put(key, value);
+        java.lang.String key,
+        com.google.datastore.v1.GqlQueryParameter value) {
+      if (key == null) { throw new NullPointerException("map key"); }
+      if (value == null) { throw new NullPointerException("map value"); }
+      internalGetMutableNamedBindings().ensureBuilderMap()
+          .put(key, value);
       bitField0_ |= 0x00000004;
       return this;
     }
     /**
-     *
-     *
      * 
      * For each non-reserved named binding site in the query string, there must be
      * a named parameter with that name, but not necessarily the inverse.
@@ -1266,19 +1137,17 @@ public Builder putNamedBindings(
      */
     public Builder putAllNamedBindings(
         java.util.Map values) {
-      for (java.util.Map.Entry e :
-          values.entrySet()) {
+      for (java.util.Map.Entry e : values.entrySet()) {
         if (e.getKey() == null || e.getValue() == null) {
           throw new NullPointerException();
         }
       }
-      internalGetMutableNamedBindings().ensureBuilderMap().putAll(values);
+      internalGetMutableNamedBindings().ensureBuilderMap()
+          .putAll(values);
       bitField0_ |= 0x00000004;
       return this;
     }
     /**
-     *
-     *
      * 
      * For each non-reserved named binding site in the query string, there must be
      * a named parameter with that name, but not necessarily the inverse.
@@ -1291,8 +1160,7 @@ public Builder putAllNamedBindings(
      */
     public com.google.datastore.v1.GqlQueryParameter.Builder putNamedBindingsBuilderIfAbsent(
         java.lang.String key) {
-      java.util.Map
-          builderMap = internalGetMutableNamedBindings().ensureBuilderMap();
+      java.util.Map builderMap = internalGetMutableNamedBindings().ensureBuilderMap();
       com.google.datastore.v1.GqlQueryParameterOrBuilder entry = builderMap.get(key);
       if (entry == null) {
         entry = com.google.datastore.v1.GqlQueryParameter.newBuilder();
@@ -1306,25 +1174,18 @@ public com.google.datastore.v1.GqlQueryParameter.Builder putNamedBindingsBuilder
     }
 
     private java.util.List positionalBindings_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensurePositionalBindingsIsMutable() {
       if (!((bitField0_ & 0x00000008) != 0)) {
-        positionalBindings_ =
-            new java.util.ArrayList(positionalBindings_);
+        positionalBindings_ = new java.util.ArrayList(positionalBindings_);
         bitField0_ |= 0x00000008;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.datastore.v1.GqlQueryParameter,
-            com.google.datastore.v1.GqlQueryParameter.Builder,
-            com.google.datastore.v1.GqlQueryParameterOrBuilder>
-        positionalBindingsBuilder_;
+        com.google.datastore.v1.GqlQueryParameter, com.google.datastore.v1.GqlQueryParameter.Builder, com.google.datastore.v1.GqlQueryParameterOrBuilder> positionalBindingsBuilder_;
 
     /**
-     *
-     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1343,8 +1204,6 @@ public java.util.List getPositionalBi
       }
     }
     /**
-     *
-     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1363,8 +1222,6 @@ public int getPositionalBindingsCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1383,8 +1240,6 @@ public com.google.datastore.v1.GqlQueryParameter getPositionalBindings(int index
       }
     }
     /**
-     *
-     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1410,8 +1265,6 @@ public Builder setPositionalBindings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1434,8 +1287,6 @@ public Builder setPositionalBindings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1460,8 +1311,6 @@ public Builder addPositionalBindings(com.google.datastore.v1.GqlQueryParameter v
       return this;
     }
     /**
-     *
-     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1487,8 +1336,6 @@ public Builder addPositionalBindings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1511,8 +1358,6 @@ public Builder addPositionalBindings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1535,8 +1380,6 @@ public Builder addPositionalBindings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1551,7 +1394,8 @@ public Builder addAllPositionalBindings(
         java.lang.Iterable values) {
       if (positionalBindingsBuilder_ == null) {
         ensurePositionalBindingsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, positionalBindings_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, positionalBindings_);
         onChanged();
       } else {
         positionalBindingsBuilder_.addAllMessages(values);
@@ -1559,8 +1403,6 @@ public Builder addAllPositionalBindings(
       return this;
     }
     /**
-     *
-     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1582,8 +1424,6 @@ public Builder clearPositionalBindings() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1605,8 +1445,6 @@ public Builder removePositionalBindings(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1622,8 +1460,6 @@ public com.google.datastore.v1.GqlQueryParameter.Builder getPositionalBindingsBu
       return getPositionalBindingsFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1637,14 +1473,11 @@ public com.google.datastore.v1.GqlQueryParameter.Builder getPositionalBindingsBu
     public com.google.datastore.v1.GqlQueryParameterOrBuilder getPositionalBindingsOrBuilder(
         int index) {
       if (positionalBindingsBuilder_ == null) {
-        return positionalBindings_.get(index);
-      } else {
+        return positionalBindings_.get(index);  } else {
         return positionalBindingsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1655,8 +1488,8 @@ public com.google.datastore.v1.GqlQueryParameterOrBuilder getPositionalBindingsO
      *
      * repeated .google.datastore.v1.GqlQueryParameter positional_bindings = 4;
      */
-    public java.util.List
-        getPositionalBindingsOrBuilderList() {
+    public java.util.List 
+         getPositionalBindingsOrBuilderList() {
       if (positionalBindingsBuilder_ != null) {
         return positionalBindingsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1664,8 +1497,6 @@ public com.google.datastore.v1.GqlQueryParameterOrBuilder getPositionalBindingsO
       }
     }
     /**
-     *
-     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1677,12 +1508,10 @@ public com.google.datastore.v1.GqlQueryParameterOrBuilder getPositionalBindingsO
      * repeated .google.datastore.v1.GqlQueryParameter positional_bindings = 4;
      */
     public com.google.datastore.v1.GqlQueryParameter.Builder addPositionalBindingsBuilder() {
-      return getPositionalBindingsFieldBuilder()
-          .addBuilder(com.google.datastore.v1.GqlQueryParameter.getDefaultInstance());
+      return getPositionalBindingsFieldBuilder().addBuilder(
+          com.google.datastore.v1.GqlQueryParameter.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1695,12 +1524,10 @@ public com.google.datastore.v1.GqlQueryParameter.Builder addPositionalBindingsBu
      */
     public com.google.datastore.v1.GqlQueryParameter.Builder addPositionalBindingsBuilder(
         int index) {
-      return getPositionalBindingsFieldBuilder()
-          .addBuilder(index, com.google.datastore.v1.GqlQueryParameter.getDefaultInstance());
+      return getPositionalBindingsFieldBuilder().addBuilder(
+          index, com.google.datastore.v1.GqlQueryParameter.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1711,22 +1538,16 @@ public com.google.datastore.v1.GqlQueryParameter.Builder addPositionalBindingsBu
      *
      * repeated .google.datastore.v1.GqlQueryParameter positional_bindings = 4;
      */
-    public java.util.List
-        getPositionalBindingsBuilderList() {
+    public java.util.List 
+         getPositionalBindingsBuilderList() {
       return getPositionalBindingsFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.datastore.v1.GqlQueryParameter,
-            com.google.datastore.v1.GqlQueryParameter.Builder,
-            com.google.datastore.v1.GqlQueryParameterOrBuilder>
+        com.google.datastore.v1.GqlQueryParameter, com.google.datastore.v1.GqlQueryParameter.Builder, com.google.datastore.v1.GqlQueryParameterOrBuilder> 
         getPositionalBindingsFieldBuilder() {
       if (positionalBindingsBuilder_ == null) {
-        positionalBindingsBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.datastore.v1.GqlQueryParameter,
-                com.google.datastore.v1.GqlQueryParameter.Builder,
-                com.google.datastore.v1.GqlQueryParameterOrBuilder>(
+        positionalBindingsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.datastore.v1.GqlQueryParameter, com.google.datastore.v1.GqlQueryParameter.Builder, com.google.datastore.v1.GqlQueryParameterOrBuilder>(
                 positionalBindings_,
                 ((bitField0_ & 0x00000008) != 0),
                 getParentForChildren(),
@@ -1735,9 +1556,9 @@ public com.google.datastore.v1.GqlQueryParameter.Builder addPositionalBindingsBu
       }
       return positionalBindingsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1747,12 +1568,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.GqlQuery)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.GqlQuery)
   private static final com.google.datastore.v1.GqlQuery DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.GqlQuery();
   }
@@ -1761,27 +1582,27 @@ public static com.google.datastore.v1.GqlQuery getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public GqlQuery parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public GqlQuery parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1796,4 +1617,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.GqlQuery getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryOrBuilder.java
similarity index 81%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryOrBuilder.java
index 7cedc2fd3..b8701d9cc 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryOrBuilder.java
@@ -1,59 +1,36 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/query.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface GqlQueryOrBuilder
-    extends
+public interface GqlQueryOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.GqlQuery)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * A string of the format described
    * [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
    * 
* * string query_string = 1; - * * @return The queryString. */ java.lang.String getQueryString(); /** - * - * *
    * A string of the format described
    * [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
    * 
* * string query_string = 1; - * * @return The bytes for queryString. */ - com.google.protobuf.ByteString getQueryStringBytes(); + com.google.protobuf.ByteString + getQueryStringBytes(); /** - * - * *
    * When false, the query string must not contain any literals and instead must
    * bind all values. For example,
@@ -62,14 +39,11 @@ public interface GqlQueryOrBuilder
    * 
* * bool allow_literals = 2; - * * @return The allowLiterals. */ boolean getAllowLiterals(); /** - * - * *
    * For each non-reserved named binding site in the query string, there must be
    * a named parameter with that name, but not necessarily the inverse.
@@ -82,8 +56,6 @@ public interface GqlQueryOrBuilder
    */
   int getNamedBindingsCount();
   /**
-   *
-   *
    * 
    * For each non-reserved named binding site in the query string, there must be
    * a named parameter with that name, but not necessarily the inverse.
@@ -94,13 +66,15 @@ public interface GqlQueryOrBuilder
    *
    * map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
    */
-  boolean containsNamedBindings(java.lang.String key);
-  /** Use {@link #getNamedBindingsMap()} instead. */
+  boolean containsNamedBindings(
+      java.lang.String key);
+  /**
+   * Use {@link #getNamedBindingsMap()} instead.
+   */
   @java.lang.Deprecated
-  java.util.Map getNamedBindings();
+  java.util.Map
+  getNamedBindings();
   /**
-   *
-   *
    * 
    * For each non-reserved named binding site in the query string, there must be
    * a named parameter with that name, but not necessarily the inverse.
@@ -111,10 +85,9 @@ public interface GqlQueryOrBuilder
    *
    * map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
    */
-  java.util.Map getNamedBindingsMap();
+  java.util.Map
+  getNamedBindingsMap();
   /**
-   *
-   *
    * 
    * For each non-reserved named binding site in the query string, there must be
    * a named parameter with that name, but not necessarily the inverse.
@@ -126,13 +99,11 @@ public interface GqlQueryOrBuilder
    * map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
    */
   /* nullable */
-  com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrDefault(
+com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrDefault(
       java.lang.String key,
       /* nullable */
-      com.google.datastore.v1.GqlQueryParameter defaultValue);
+com.google.datastore.v1.GqlQueryParameter defaultValue);
   /**
-   *
-   *
    * 
    * For each non-reserved named binding site in the query string, there must be
    * a named parameter with that name, but not necessarily the inverse.
@@ -143,11 +114,10 @@ com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrDefault(
    *
    * map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
    */
-  com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrThrow(java.lang.String key);
+  com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrThrow(
+      java.lang.String key);
 
   /**
-   *
-   *
    * 
    * Numbered binding site @1 references the first numbered parameter,
    * effectively using 1-based indexing, rather than the usual 0.
@@ -158,10 +128,9 @@ com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrDefault(
    *
    * repeated .google.datastore.v1.GqlQueryParameter positional_bindings = 4;
    */
-  java.util.List getPositionalBindingsList();
+  java.util.List 
+      getPositionalBindingsList();
   /**
-   *
-   *
    * 
    * Numbered binding site @1 references the first numbered parameter,
    * effectively using 1-based indexing, rather than the usual 0.
@@ -174,8 +143,6 @@ com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrDefault(
    */
   com.google.datastore.v1.GqlQueryParameter getPositionalBindings(int index);
   /**
-   *
-   *
    * 
    * Numbered binding site @1 references the first numbered parameter,
    * effectively using 1-based indexing, rather than the usual 0.
@@ -188,8 +155,6 @@ com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrDefault(
    */
   int getPositionalBindingsCount();
   /**
-   *
-   *
    * 
    * Numbered binding site @1 references the first numbered parameter,
    * effectively using 1-based indexing, rather than the usual 0.
@@ -200,11 +165,9 @@ com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrDefault(
    *
    * repeated .google.datastore.v1.GqlQueryParameter positional_bindings = 4;
    */
-  java.util.List
+  java.util.List 
       getPositionalBindingsOrBuilderList();
   /**
-   *
-   *
    * 
    * Numbered binding site @1 references the first numbered parameter,
    * effectively using 1-based indexing, rather than the usual 0.
@@ -215,5 +178,6 @@ com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrDefault(
    *
    * repeated .google.datastore.v1.GqlQueryParameter positional_bindings = 4;
    */
-  com.google.datastore.v1.GqlQueryParameterOrBuilder getPositionalBindingsOrBuilder(int index);
+  com.google.datastore.v1.GqlQueryParameterOrBuilder getPositionalBindingsOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameter.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameter.java
similarity index 68%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameter.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameter.java
index 866409cff..84fd7e28f 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameter.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameter.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/query.proto
 
@@ -20,61 +5,54 @@
 package com.google.datastore.v1;
 
 /**
- *
- *
  * 
  * A binding parameter for a GQL query.
  * 
* * Protobuf type {@code google.datastore.v1.GqlQueryParameter} */ -public final class GqlQueryParameter extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GqlQueryParameter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.datastore.v1.GqlQueryParameter) GqlQueryParameterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GqlQueryParameter.newBuilder() to construct. private GqlQueryParameter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private GqlQueryParameter() {} + private GqlQueryParameter() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GqlQueryParameter(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_GqlQueryParameter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_GqlQueryParameter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_GqlQueryParameter_fieldAccessorTable + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_GqlQueryParameter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.GqlQueryParameter.class, - com.google.datastore.v1.GqlQueryParameter.Builder.class); + com.google.datastore.v1.GqlQueryParameter.class, com.google.datastore.v1.GqlQueryParameter.Builder.class); } private int parameterTypeCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object parameterType_; - public enum ParameterTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { VALUE(2), CURSOR(3), PARAMETERTYPE_NOT_SET(0); private final int value; - private ParameterTypeCase(int value) { this.value = value; } @@ -90,36 +68,30 @@ public static ParameterTypeCase valueOf(int value) { public static ParameterTypeCase forNumber(int value) { switch (value) { - case 2: - return VALUE; - case 3: - return CURSOR; - case 0: - return PARAMETERTYPE_NOT_SET; - default: - return null; + case 2: return VALUE; + case 3: return CURSOR; + case 0: return PARAMETERTYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ParameterTypeCase getParameterTypeCase() { - return ParameterTypeCase.forNumber(parameterTypeCase_); + public ParameterTypeCase + getParameterTypeCase() { + return ParameterTypeCase.forNumber( + parameterTypeCase_); } public static final int VALUE_FIELD_NUMBER = 2; /** - * - * *
    * A value parameter.
    * 
* * .google.datastore.v1.Value value = 2; - * * @return Whether the value field is set. */ @java.lang.Override @@ -127,26 +99,21 @@ public boolean hasValue() { return parameterTypeCase_ == 2; } /** - * - * *
    * A value parameter.
    * 
* * .google.datastore.v1.Value value = 2; - * * @return The value. */ @java.lang.Override public com.google.datastore.v1.Value getValue() { if (parameterTypeCase_ == 2) { - return (com.google.datastore.v1.Value) parameterType_; + return (com.google.datastore.v1.Value) parameterType_; } return com.google.datastore.v1.Value.getDefaultInstance(); } /** - * - * *
    * A value parameter.
    * 
@@ -156,22 +123,19 @@ public com.google.datastore.v1.Value getValue() { @java.lang.Override public com.google.datastore.v1.ValueOrBuilder getValueOrBuilder() { if (parameterTypeCase_ == 2) { - return (com.google.datastore.v1.Value) parameterType_; + return (com.google.datastore.v1.Value) parameterType_; } return com.google.datastore.v1.Value.getDefaultInstance(); } public static final int CURSOR_FIELD_NUMBER = 3; /** - * - * *
    * A query cursor. Query cursors are returned in query
    * result batches.
    * 
* * bytes cursor = 3; - * * @return Whether the cursor field is set. */ @java.lang.Override @@ -179,15 +143,12 @@ public boolean hasCursor() { return parameterTypeCase_ == 3; } /** - * - * *
    * A query cursor. Query cursors are returned in query
    * result batches.
    * 
* * bytes cursor = 3; - * * @return The cursor. */ @java.lang.Override @@ -199,7 +160,6 @@ public com.google.protobuf.ByteString getCursor() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -211,12 +171,14 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (parameterTypeCase_ == 2) { output.writeMessage(2, (com.google.datastore.v1.Value) parameterType_); } if (parameterTypeCase_ == 3) { - output.writeBytes(3, (com.google.protobuf.ByteString) parameterType_); + output.writeBytes( + 3, (com.google.protobuf.ByteString) parameterType_); } getUnknownFields().writeTo(output); } @@ -228,14 +190,13 @@ public int getSerializedSize() { size = 0; if (parameterTypeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.datastore.v1.Value) parameterType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.datastore.v1.Value) parameterType_); } if (parameterTypeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeBytesSize( - 3, (com.google.protobuf.ByteString) parameterType_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize( + 3, (com.google.protobuf.ByteString) parameterType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -245,21 +206,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.datastore.v1.GqlQueryParameter)) { return super.equals(obj); } - com.google.datastore.v1.GqlQueryParameter other = - (com.google.datastore.v1.GqlQueryParameter) obj; + com.google.datastore.v1.GqlQueryParameter other = (com.google.datastore.v1.GqlQueryParameter) obj; if (!getParameterTypeCase().equals(other.getParameterTypeCase())) return false; switch (parameterTypeCase_) { case 2: - if (!getValue().equals(other.getValue())) return false; + if (!getValue() + .equals(other.getValue())) return false; break; case 3: - if (!getCursor().equals(other.getCursor())) return false; + if (!getCursor() + .equals(other.getCursor())) return false; break; case 0: default: @@ -292,136 +254,132 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.GqlQueryParameter parseFrom(java.nio.ByteBuffer data) + public static com.google.datastore.v1.GqlQueryParameter parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.GqlQueryParameter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.GqlQueryParameter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.GqlQueryParameter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.GqlQueryParameter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.GqlQueryParameter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.GqlQueryParameter parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.GqlQueryParameter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.GqlQueryParameter parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.GqlQueryParameter parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.v1.GqlQueryParameter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.GqlQueryParameter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.GqlQueryParameter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.datastore.v1.GqlQueryParameter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 binding parameter for a GQL query.
    * 
* * Protobuf type {@code google.datastore.v1.GqlQueryParameter} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.GqlQueryParameter) com.google.datastore.v1.GqlQueryParameterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_GqlQueryParameter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_GqlQueryParameter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_GqlQueryParameter_fieldAccessorTable + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_GqlQueryParameter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.GqlQueryParameter.class, - com.google.datastore.v1.GqlQueryParameter.Builder.class); + com.google.datastore.v1.GqlQueryParameter.class, com.google.datastore.v1.GqlQueryParameter.Builder.class); } // Construct using com.google.datastore.v1.GqlQueryParameter.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -435,9 +393,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_GqlQueryParameter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_GqlQueryParameter_descriptor; } @java.lang.Override @@ -456,11 +414,8 @@ public com.google.datastore.v1.GqlQueryParameter build() { @java.lang.Override public com.google.datastore.v1.GqlQueryParameter buildPartial() { - com.google.datastore.v1.GqlQueryParameter result = - new com.google.datastore.v1.GqlQueryParameter(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.datastore.v1.GqlQueryParameter result = new com.google.datastore.v1.GqlQueryParameter(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -473,7 +428,8 @@ private void buildPartial0(com.google.datastore.v1.GqlQueryParameter result) { private void buildPartialOneofs(com.google.datastore.v1.GqlQueryParameter result) { result.parameterTypeCase_ = parameterTypeCase_; result.parameterType_ = this.parameterType_; - if (parameterTypeCase_ == 2 && valueBuilder_ != null) { + if (parameterTypeCase_ == 2 && + valueBuilder_ != null) { result.parameterType_ = valueBuilder_.build(); } } @@ -482,39 +438,38 @@ private void buildPartialOneofs(com.google.datastore.v1.GqlQueryParameter result public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.GqlQueryParameter) { - return mergeFrom((com.google.datastore.v1.GqlQueryParameter) other); + return mergeFrom((com.google.datastore.v1.GqlQueryParameter)other); } else { super.mergeFrom(other); return this; @@ -524,20 +479,17 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.datastore.v1.GqlQueryParameter other) { if (other == com.google.datastore.v1.GqlQueryParameter.getDefaultInstance()) return this; switch (other.getParameterTypeCase()) { - case VALUE: - { - mergeValue(other.getValue()); - break; - } - case CURSOR: - { - setCursor(other.getCursor()); - break; - } - case PARAMETERTYPE_NOT_SET: - { - break; - } + case VALUE: { + mergeValue(other.getValue()); + break; + } + case CURSOR: { + setCursor(other.getCursor()); + break; + } + case PARAMETERTYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -565,25 +517,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - input.readMessage(getValueFieldBuilder().getBuilder(), extensionRegistry); - parameterTypeCase_ = 2; - break; - } // case 18 - case 26: - { - parameterType_ = input.readBytes(); - parameterTypeCase_ = 3; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + input.readMessage( + getValueFieldBuilder().getBuilder(), + extensionRegistry); + parameterTypeCase_ = 2; + break; + } // case 18 + case 26: { + parameterType_ = input.readBytes(); + parameterTypeCase_ = 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) { @@ -593,12 +544,12 @@ public Builder mergeFrom( } // finally return this; } - private int parameterTypeCase_ = 0; private java.lang.Object parameterType_; - - public ParameterTypeCase getParameterTypeCase() { - return ParameterTypeCase.forNumber(parameterTypeCase_); + public ParameterTypeCase + getParameterTypeCase() { + return ParameterTypeCase.forNumber( + parameterTypeCase_); } public Builder clearParameterType() { @@ -611,19 +562,13 @@ public Builder clearParameterType() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Value, - com.google.datastore.v1.Value.Builder, - com.google.datastore.v1.ValueOrBuilder> - valueBuilder_; + com.google.datastore.v1.Value, com.google.datastore.v1.Value.Builder, com.google.datastore.v1.ValueOrBuilder> valueBuilder_; /** - * - * *
      * A value parameter.
      * 
* * .google.datastore.v1.Value value = 2; - * * @return Whether the value field is set. */ @java.lang.Override @@ -631,14 +576,11 @@ public boolean hasValue() { return parameterTypeCase_ == 2; } /** - * - * *
      * A value parameter.
      * 
* * .google.datastore.v1.Value value = 2; - * * @return The value. */ @java.lang.Override @@ -656,8 +598,6 @@ public com.google.datastore.v1.Value getValue() { } } /** - * - * *
      * A value parameter.
      * 
@@ -678,15 +618,14 @@ public Builder setValue(com.google.datastore.v1.Value value) { return this; } /** - * - * *
      * A value parameter.
      * 
* * .google.datastore.v1.Value value = 2; */ - public Builder setValue(com.google.datastore.v1.Value.Builder builderForValue) { + public Builder setValue( + com.google.datastore.v1.Value.Builder builderForValue) { if (valueBuilder_ == null) { parameterType_ = builderForValue.build(); onChanged(); @@ -697,8 +636,6 @@ public Builder setValue(com.google.datastore.v1.Value.Builder builderForValue) { return this; } /** - * - * *
      * A value parameter.
      * 
@@ -707,13 +644,10 @@ public Builder setValue(com.google.datastore.v1.Value.Builder builderForValue) { */ public Builder mergeValue(com.google.datastore.v1.Value value) { if (valueBuilder_ == null) { - if (parameterTypeCase_ == 2 - && parameterType_ != com.google.datastore.v1.Value.getDefaultInstance()) { - parameterType_ = - com.google.datastore.v1.Value.newBuilder( - (com.google.datastore.v1.Value) parameterType_) - .mergeFrom(value) - .buildPartial(); + if (parameterTypeCase_ == 2 && + parameterType_ != com.google.datastore.v1.Value.getDefaultInstance()) { + parameterType_ = com.google.datastore.v1.Value.newBuilder((com.google.datastore.v1.Value) parameterType_) + .mergeFrom(value).buildPartial(); } else { parameterType_ = value; } @@ -729,8 +663,6 @@ public Builder mergeValue(com.google.datastore.v1.Value value) { return this; } /** - * - * *
      * A value parameter.
      * 
@@ -754,8 +686,6 @@ public Builder clearValue() { return this; } /** - * - * *
      * A value parameter.
      * 
@@ -766,8 +696,6 @@ public com.google.datastore.v1.Value.Builder getValueBuilder() { return getValueFieldBuilder().getBuilder(); } /** - * - * *
      * A value parameter.
      * 
@@ -786,8 +714,6 @@ public com.google.datastore.v1.ValueOrBuilder getValueOrBuilder() { } } /** - * - * *
      * A value parameter.
      * 
@@ -795,20 +721,17 @@ public com.google.datastore.v1.ValueOrBuilder getValueOrBuilder() { * .google.datastore.v1.Value value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Value, - com.google.datastore.v1.Value.Builder, - com.google.datastore.v1.ValueOrBuilder> + com.google.datastore.v1.Value, com.google.datastore.v1.Value.Builder, com.google.datastore.v1.ValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { if (!(parameterTypeCase_ == 2)) { parameterType_ = com.google.datastore.v1.Value.getDefaultInstance(); } - valueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Value, - com.google.datastore.v1.Value.Builder, - com.google.datastore.v1.ValueOrBuilder>( - (com.google.datastore.v1.Value) parameterType_, getParentForChildren(), isClean()); + valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.Value, com.google.datastore.v1.Value.Builder, com.google.datastore.v1.ValueOrBuilder>( + (com.google.datastore.v1.Value) parameterType_, + getParentForChildren(), + isClean()); parameterType_ = null; } parameterTypeCase_ = 2; @@ -817,30 +740,24 @@ public com.google.datastore.v1.ValueOrBuilder getValueOrBuilder() { } /** - * - * *
      * A query cursor. Query cursors are returned in query
      * result batches.
      * 
* * bytes cursor = 3; - * * @return Whether the cursor field is set. */ public boolean hasCursor() { return parameterTypeCase_ == 3; } /** - * - * *
      * A query cursor. Query cursors are returned in query
      * result batches.
      * 
* * bytes cursor = 3; - * * @return The cursor. */ public com.google.protobuf.ByteString getCursor() { @@ -850,37 +767,29 @@ public com.google.protobuf.ByteString getCursor() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * A query cursor. Query cursors are returned in query
      * result batches.
      * 
* * bytes cursor = 3; - * * @param value The cursor to set. * @return This builder for chaining. */ public Builder setCursor(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } parameterTypeCase_ = 3; parameterType_ = value; onChanged(); return this; } /** - * - * *
      * A query cursor. Query cursors are returned in query
      * result batches.
      * 
* * bytes cursor = 3; - * * @return This builder for chaining. */ public Builder clearCursor() { @@ -891,9 +800,9 @@ public Builder clearCursor() { } 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); } @@ -903,12 +812,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.v1.GqlQueryParameter) } // @@protoc_insertion_point(class_scope:google.datastore.v1.GqlQueryParameter) private static final com.google.datastore.v1.GqlQueryParameter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.v1.GqlQueryParameter(); } @@ -917,27 +826,27 @@ public static com.google.datastore.v1.GqlQueryParameter getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GqlQueryParameter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GqlQueryParameter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -952,4 +861,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.GqlQueryParameter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameterOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameterOrBuilder.java similarity index 65% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameterOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameterOrBuilder.java index c4faa7547..0ceec612a 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameterOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameterOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface GqlQueryParameterOrBuilder - extends +public interface GqlQueryParameterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.GqlQueryParameter) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A value parameter.
    * 
* * .google.datastore.v1.Value value = 2; - * * @return Whether the value field is set. */ boolean hasValue(); /** - * - * *
    * A value parameter.
    * 
* * .google.datastore.v1.Value value = 2; - * * @return The value. */ com.google.datastore.v1.Value getValue(); /** - * - * *
    * A value parameter.
    * 
@@ -60,28 +36,22 @@ public interface GqlQueryParameterOrBuilder com.google.datastore.v1.ValueOrBuilder getValueOrBuilder(); /** - * - * *
    * A query cursor. Query cursors are returned in query
    * result batches.
    * 
* * bytes cursor = 3; - * * @return Whether the cursor field is set. */ boolean hasCursor(); /** - * - * *
    * A query cursor. Query cursors are returned in query
    * result batches.
    * 
* * bytes cursor = 3; - * * @return The cursor. */ com.google.protobuf.ByteString getCursor(); diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Key.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Key.java similarity index 81% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Key.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Key.java index 693c867fb..68d734f7c 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Key.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Key.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/entity.proto @@ -20,8 +5,6 @@ package com.google.datastore.v1; /** - * - * *
  * A unique identifier for an entity.
  * If a key's partition ID or any of its path kinds or names are
@@ -31,47 +14,44 @@
  *
  * Protobuf type {@code google.datastore.v1.Key}
  */
-public final class Key extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class Key extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.datastore.v1.Key)
     KeyOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Key.newBuilder() to construct.
   private Key(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private Key() {
     path_ = 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 Key();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
     return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Key_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.v1.EntityProto
-        .internal_static_google_datastore_v1_Key_fieldAccessorTable
+    return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Key_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.datastore.v1.Key.class, com.google.datastore.v1.Key.Builder.class);
   }
 
-  public interface PathElementOrBuilder
-      extends
+  public interface PathElementOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.datastore.v1.Key.PathElement)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The kind of the entity.
      *
@@ -85,13 +65,10 @@ public interface PathElementOrBuilder
      * 
* * string kind = 1; - * * @return The kind. */ java.lang.String getKind(); /** - * - * *
      * The kind of the entity.
      *
@@ -105,14 +82,12 @@ public interface PathElementOrBuilder
      * 
* * string kind = 1; - * * @return The bytes for kind. */ - com.google.protobuf.ByteString getKindBytes(); + com.google.protobuf.ByteString + getKindBytes(); /** - * - * *
      * The auto-allocated ID of the entity.
      *
@@ -121,13 +96,10 @@ public interface PathElementOrBuilder
      * 
* * int64 id = 2; - * * @return Whether the id field is set. */ boolean hasId(); /** - * - * *
      * The auto-allocated ID of the entity.
      *
@@ -136,14 +108,11 @@ public interface PathElementOrBuilder
      * 
* * int64 id = 2; - * * @return The id. */ long getId(); /** - * - * *
      * The name of the entity.
      *
@@ -157,13 +126,10 @@ public interface PathElementOrBuilder
      * 
* * string name = 3; - * * @return Whether the name field is set. */ boolean hasName(); /** - * - * *
      * The name of the entity.
      *
@@ -177,13 +143,10 @@ public interface PathElementOrBuilder
      * 
* * string name = 3; - * * @return The name. */ java.lang.String getName(); /** - * - * *
      * The name of the entity.
      *
@@ -197,16 +160,14 @@ public interface PathElementOrBuilder
      * 
* * string name = 3; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); com.google.datastore.v1.Key.PathElement.IdTypeCase getIdTypeCase(); } /** - * - * *
    * A (kind, ID/name) pair used to construct a key path.
    *
@@ -216,55 +177,49 @@ public interface PathElementOrBuilder
    *
    * Protobuf type {@code google.datastore.v1.Key.PathElement}
    */
-  public static final class PathElement extends com.google.protobuf.GeneratedMessageV3
-      implements
+  public static final class PathElement extends
+      com.google.protobuf.GeneratedMessageV3 implements
       // @@protoc_insertion_point(message_implements:google.datastore.v1.Key.PathElement)
       PathElementOrBuilder {
-    private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
     // Use PathElement.newBuilder() to construct.
     private PathElement(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
-
     private PathElement() {
       kind_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(
+        UnusedPrivateParameter unused) {
       return new PathElement();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.datastore.v1.EntityProto
-          .internal_static_google_datastore_v1_Key_PathElement_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Key_PathElement_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.EntityProto
-          .internal_static_google_datastore_v1_Key_PathElement_fieldAccessorTable
+      return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Key_PathElement_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.Key.PathElement.class,
-              com.google.datastore.v1.Key.PathElement.Builder.class);
+              com.google.datastore.v1.Key.PathElement.class, com.google.datastore.v1.Key.PathElement.Builder.class);
     }
 
     private int idTypeCase_ = 0;
-
     @SuppressWarnings("serial")
     private java.lang.Object idType_;
-
     public enum IdTypeCase
-        implements
-            com.google.protobuf.Internal.EnumLite,
+        implements com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       ID(2),
       NAME(3),
       IDTYPE_NOT_SET(0);
       private final int value;
-
       private IdTypeCase(int value) {
         this.value = value;
       }
@@ -280,33 +235,27 @@ public static IdTypeCase valueOf(int value) {
 
       public static IdTypeCase forNumber(int value) {
         switch (value) {
-          case 2:
-            return ID;
-          case 3:
-            return NAME;
-          case 0:
-            return IDTYPE_NOT_SET;
-          default:
-            return null;
+          case 2: return ID;
+          case 3: return NAME;
+          case 0: return IDTYPE_NOT_SET;
+          default: return null;
         }
       }
-
       public int getNumber() {
         return this.value;
       }
     };
 
-    public IdTypeCase getIdTypeCase() {
-      return IdTypeCase.forNumber(idTypeCase_);
+    public IdTypeCase
+    getIdTypeCase() {
+      return IdTypeCase.forNumber(
+          idTypeCase_);
     }
 
     public static final int KIND_FIELD_NUMBER = 1;
-
     @SuppressWarnings("serial")
     private volatile java.lang.Object kind_ = "";
     /**
-     *
-     *
      * 
      * The kind of the entity.
      *
@@ -320,7 +269,6 @@ public IdTypeCase getIdTypeCase() {
      * 
* * string kind = 1; - * * @return The kind. */ @java.lang.Override @@ -329,15 +277,14 @@ public java.lang.String getKind() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; } } /** - * - * *
      * The kind of the entity.
      *
@@ -351,15 +298,16 @@ public java.lang.String getKind() {
      * 
* * string kind = 1; - * * @return The bytes for kind. */ @java.lang.Override - public com.google.protobuf.ByteString getKindBytes() { + public com.google.protobuf.ByteString + getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kind_ = b; return b; } else { @@ -369,8 +317,6 @@ public com.google.protobuf.ByteString getKindBytes() { public static final int ID_FIELD_NUMBER = 2; /** - * - * *
      * The auto-allocated ID of the entity.
      *
@@ -379,7 +325,6 @@ public com.google.protobuf.ByteString getKindBytes() {
      * 
* * int64 id = 2; - * * @return Whether the id field is set. */ @java.lang.Override @@ -387,8 +332,6 @@ public boolean hasId() { return idTypeCase_ == 2; } /** - * - * *
      * The auto-allocated ID of the entity.
      *
@@ -397,7 +340,6 @@ public boolean hasId() {
      * 
* * int64 id = 2; - * * @return The id. */ @java.lang.Override @@ -410,8 +352,6 @@ public long getId() { public static final int NAME_FIELD_NUMBER = 3; /** - * - * *
      * The name of the entity.
      *
@@ -425,15 +365,12 @@ public long getId() {
      * 
* * string name = 3; - * * @return Whether the name field is set. */ public boolean hasName() { return idTypeCase_ == 3; } /** - * - * *
      * The name of the entity.
      *
@@ -447,7 +384,6 @@ public boolean hasName() {
      * 
* * string name = 3; - * * @return The name. */ public java.lang.String getName() { @@ -458,7 +394,8 @@ 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(); if (idTypeCase_ == 3) { idType_ = s; @@ -467,8 +404,6 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the entity.
      *
@@ -482,17 +417,18 @@ public java.lang.String getName() {
      * 
* * string name = 3; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = ""; if (idTypeCase_ == 3) { ref = idType_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (idTypeCase_ == 3) { idType_ = b; } @@ -503,7 +439,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -515,12 +450,14 @@ public final boolean isInitialized() { } @java.lang.Override - public 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(kind_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kind_); } if (idTypeCase_ == 2) { - output.writeInt64(2, (long) ((java.lang.Long) idType_)); + output.writeInt64( + 2, (long)((java.lang.Long) idType_)); } if (idTypeCase_ == 3) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, idType_); @@ -538,9 +475,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, kind_); } if (idTypeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeInt64Size( - 2, (long) ((java.lang.Long) idType_)); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size( + 2, (long)((java.lang.Long) idType_)); } if (idTypeCase_ == 3) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, idType_); @@ -553,21 +490,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.datastore.v1.Key.PathElement)) { return super.equals(obj); } com.google.datastore.v1.Key.PathElement other = (com.google.datastore.v1.Key.PathElement) obj; - if (!getKind().equals(other.getKind())) return false; + if (!getKind() + .equals(other.getKind())) return false; if (!getIdTypeCase().equals(other.getIdTypeCase())) return false; switch (idTypeCase_) { case 2: - if (getId() != other.getId()) return false; + if (getId() + != other.getId()) return false; break; case 3: - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; break; case 0: default: @@ -588,7 +528,8 @@ public int hashCode() { switch (idTypeCase_) { case 2: hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getId()); break; case 3: hash = (37 * hash) + NAME_FIELD_NUMBER; @@ -602,94 +543,90 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.Key.PathElement parseFrom(java.nio.ByteBuffer data) + public static com.google.datastore.v1.Key.PathElement parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.Key.PathElement parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.Key.PathElement parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.Key.PathElement parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.Key.PathElement parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.Key.PathElement parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.Key.PathElement parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.Key.PathElement parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.Key.PathElement parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.Key.PathElement parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.v1.Key.PathElement parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.Key.PathElement parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.Key.PathElement parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.datastore.v1.Key.PathElement prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -699,8 +636,6 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * A (kind, ID/name) pair used to construct a key path.
      *
@@ -710,33 +645,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.datastore.v1.Key.PathElement}
      */
-    public static final class Builder
-        extends com.google.protobuf.GeneratedMessageV3.Builder
-        implements
+    public static final class Builder extends
+        com.google.protobuf.GeneratedMessageV3.Builder implements
         // @@protoc_insertion_point(builder_implements:google.datastore.v1.Key.PathElement)
         com.google.datastore.v1.Key.PathElementOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-        return com.google.datastore.v1.EntityProto
-            .internal_static_google_datastore_v1_Key_PathElement_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Key_PathElement_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.datastore.v1.EntityProto
-            .internal_static_google_datastore_v1_Key_PathElement_fieldAccessorTable
+        return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Key_PathElement_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.datastore.v1.Key.PathElement.class,
-                com.google.datastore.v1.Key.PathElement.Builder.class);
+                com.google.datastore.v1.Key.PathElement.class, com.google.datastore.v1.Key.PathElement.Builder.class);
       }
 
       // Construct using com.google.datastore.v1.Key.PathElement.newBuilder()
-      private Builder() {}
+      private Builder() {
 
-      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-        super(parent);
       }
 
+      private Builder(
+          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+        super(parent);
+
+      }
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -748,9 +683,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-        return com.google.datastore.v1.EntityProto
-            .internal_static_google_datastore_v1_Key_PathElement_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor
+          getDescriptorForType() {
+        return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Key_PathElement_descriptor;
       }
 
       @java.lang.Override
@@ -769,11 +704,8 @@ public com.google.datastore.v1.Key.PathElement build() {
 
       @java.lang.Override
       public com.google.datastore.v1.Key.PathElement buildPartial() {
-        com.google.datastore.v1.Key.PathElement result =
-            new com.google.datastore.v1.Key.PathElement(this);
-        if (bitField0_ != 0) {
-          buildPartial0(result);
-        }
+        com.google.datastore.v1.Key.PathElement result = new com.google.datastore.v1.Key.PathElement(this);
+        if (bitField0_ != 0) { buildPartial0(result); }
         buildPartialOneofs(result);
         onBuilt();
         return result;
@@ -795,41 +727,38 @@ private void buildPartialOneofs(com.google.datastore.v1.Key.PathElement result)
       public Builder clone() {
         return super.clone();
       }
-
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.setField(field, value);
       }
-
       @java.lang.Override
-      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(
+          com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
-
       @java.lang.Override
-      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(
+          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
-
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index,
-          java.lang.Object value) {
+          int index, java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
-
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field,
+          java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
-
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.datastore.v1.Key.PathElement) {
-          return mergeFrom((com.google.datastore.v1.Key.PathElement) other);
+          return mergeFrom((com.google.datastore.v1.Key.PathElement)other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -844,22 +773,19 @@ public Builder mergeFrom(com.google.datastore.v1.Key.PathElement other) {
           onChanged();
         }
         switch (other.getIdTypeCase()) {
-          case ID:
-            {
-              setId(other.getId());
-              break;
-            }
-          case NAME:
-            {
-              idTypeCase_ = 3;
-              idType_ = other.idType_;
-              onChanged();
-              break;
-            }
-          case IDTYPE_NOT_SET:
-            {
-              break;
-            }
+          case ID: {
+            setId(other.getId());
+            break;
+          }
+          case NAME: {
+            idTypeCase_ = 3;
+            idType_ = other.idType_;
+            onChanged();
+            break;
+          }
+          case IDTYPE_NOT_SET: {
+            break;
+          }
         }
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
@@ -887,32 +813,28 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10:
-                {
-                  kind_ = input.readStringRequireUtf8();
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-              case 16:
-                {
-                  idType_ = input.readInt64();
-                  idTypeCase_ = 2;
-                  break;
-                } // case 16
-              case 26:
-                {
-                  java.lang.String s = input.readStringRequireUtf8();
-                  idTypeCase_ = 3;
-                  idType_ = s;
-                  break;
-                } // case 26
-              default:
-                {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+              case 10: {
+                kind_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+              case 16: {
+                idType_ = input.readInt64();
+                idTypeCase_ = 2;
+                break;
+              } // case 16
+              case 26: {
+                java.lang.String s = input.readStringRequireUtf8();
+                idTypeCase_ = 3;
+                idType_ = s;
+                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) {
@@ -922,12 +844,12 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
-
       private int idTypeCase_ = 0;
       private java.lang.Object idType_;
-
-      public IdTypeCase getIdTypeCase() {
-        return IdTypeCase.forNumber(idTypeCase_);
+      public IdTypeCase
+          getIdTypeCase() {
+        return IdTypeCase.forNumber(
+            idTypeCase_);
       }
 
       public Builder clearIdType() {
@@ -941,8 +863,6 @@ public Builder clearIdType() {
 
       private java.lang.Object kind_ = "";
       /**
-       *
-       *
        * 
        * The kind of the entity.
        *
@@ -956,13 +876,13 @@ public Builder clearIdType() {
        * 
* * string kind = 1; - * * @return The kind. */ public java.lang.String getKind() { java.lang.Object ref = kind_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; @@ -971,8 +891,6 @@ public java.lang.String getKind() { } } /** - * - * *
        * The kind of the entity.
        *
@@ -986,14 +904,15 @@ public java.lang.String getKind() {
        * 
* * string kind = 1; - * * @return The bytes for kind. */ - public com.google.protobuf.ByteString getKindBytes() { + public com.google.protobuf.ByteString + getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); kind_ = b; return b; } else { @@ -1001,8 +920,6 @@ public com.google.protobuf.ByteString getKindBytes() { } } /** - * - * *
        * The kind of the entity.
        *
@@ -1016,22 +933,18 @@ public com.google.protobuf.ByteString getKindBytes() {
        * 
* * string kind = 1; - * * @param value The kind to set. * @return This builder for chaining. */ - public Builder setKind(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKind( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } kind_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The kind of the entity.
        *
@@ -1045,7 +958,6 @@ public Builder setKind(java.lang.String value) {
        * 
* * string kind = 1; - * * @return This builder for chaining. */ public Builder clearKind() { @@ -1055,8 +967,6 @@ public Builder clearKind() { return this; } /** - * - * *
        * The kind of the entity.
        *
@@ -1070,14 +980,12 @@ public Builder clearKind() {
        * 
* * string kind = 1; - * * @param value The bytes for kind to set. * @return This builder for chaining. */ - public Builder setKindBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setKindBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); kind_ = value; bitField0_ |= 0x00000001; @@ -1086,8 +994,6 @@ public Builder setKindBytes(com.google.protobuf.ByteString value) { } /** - * - * *
        * The auto-allocated ID of the entity.
        *
@@ -1096,15 +1002,12 @@ public Builder setKindBytes(com.google.protobuf.ByteString value) {
        * 
* * int64 id = 2; - * * @return Whether the id field is set. */ public boolean hasId() { return idTypeCase_ == 2; } /** - * - * *
        * The auto-allocated ID of the entity.
        *
@@ -1113,7 +1016,6 @@ public boolean hasId() {
        * 
* * int64 id = 2; - * * @return The id. */ public long getId() { @@ -1123,8 +1025,6 @@ public long getId() { return 0L; } /** - * - * *
        * The auto-allocated ID of the entity.
        *
@@ -1133,7 +1033,6 @@ public long getId() {
        * 
* * int64 id = 2; - * * @param value The id to set. * @return This builder for chaining. */ @@ -1145,8 +1044,6 @@ public Builder setId(long value) { return this; } /** - * - * *
        * The auto-allocated ID of the entity.
        *
@@ -1155,7 +1052,6 @@ public Builder setId(long value) {
        * 
* * int64 id = 2; - * * @return This builder for chaining. */ public Builder clearId() { @@ -1168,8 +1064,6 @@ public Builder clearId() { } /** - * - * *
        * The name of the entity.
        *
@@ -1183,7 +1077,6 @@ public Builder clearId() {
        * 
* * string name = 3; - * * @return Whether the name field is set. */ @java.lang.Override @@ -1191,8 +1084,6 @@ public boolean hasName() { return idTypeCase_ == 3; } /** - * - * *
        * The name of the entity.
        *
@@ -1206,7 +1097,6 @@ public boolean hasName() {
        * 
* * string name = 3; - * * @return The name. */ @java.lang.Override @@ -1216,7 +1106,8 @@ public java.lang.String getName() { ref = idType_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (idTypeCase_ == 3) { idType_ = s; @@ -1227,8 +1118,6 @@ public java.lang.String getName() { } } /** - * - * *
        * The name of the entity.
        *
@@ -1242,18 +1131,19 @@ public java.lang.String getName() {
        * 
* * string name = 3; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = ""; if (idTypeCase_ == 3) { ref = idType_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (idTypeCase_ == 3) { idType_ = b; } @@ -1263,8 +1153,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
        * The name of the entity.
        *
@@ -1278,22 +1166,18 @@ public com.google.protobuf.ByteString getNameBytes() {
        * 
* * string name = 3; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } idTypeCase_ = 3; idType_ = value; onChanged(); return this; } /** - * - * *
        * The name of the entity.
        *
@@ -1307,7 +1191,6 @@ public Builder setName(java.lang.String value) {
        * 
* * string name = 3; - * * @return This builder for chaining. */ public Builder clearName() { @@ -1319,8 +1202,6 @@ public Builder clearName() { return this; } /** - * - * *
        * The name of the entity.
        *
@@ -1334,21 +1215,18 @@ public Builder clearName() {
        * 
* * string name = 3; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); idTypeCase_ = 3; idType_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1361,12 +1239,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.v1.Key.PathElement) } // @@protoc_insertion_point(class_scope:google.datastore.v1.Key.PathElement) private static final com.google.datastore.v1.Key.PathElement DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.v1.Key.PathElement(); } @@ -1375,28 +1253,27 @@ public static com.google.datastore.v1.Key.PathElement getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PathElement parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PathElement parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1411,14 +1288,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.Key.PathElement getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } private int bitField0_; public static final int PARTITION_ID_FIELD_NUMBER = 1; private com.google.datastore.v1.PartitionId partitionId_; /** - * - * *
    * Entities are partitioned into subsets, currently identified by a project
    * ID and namespace ID.
@@ -1426,7 +1302,6 @@ public com.google.datastore.v1.Key.PathElement getDefaultInstanceForType() {
    * 
* * .google.datastore.v1.PartitionId partition_id = 1; - * * @return Whether the partitionId field is set. */ @java.lang.Override @@ -1434,8 +1309,6 @@ public boolean hasPartitionId() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Entities are partitioned into subsets, currently identified by a project
    * ID and namespace ID.
@@ -1443,18 +1316,13 @@ public boolean hasPartitionId() {
    * 
* * .google.datastore.v1.PartitionId partition_id = 1; - * * @return The partitionId. */ @java.lang.Override public com.google.datastore.v1.PartitionId getPartitionId() { - return partitionId_ == null - ? com.google.datastore.v1.PartitionId.getDefaultInstance() - : partitionId_; + return partitionId_ == null ? com.google.datastore.v1.PartitionId.getDefaultInstance() : partitionId_; } /** - * - * *
    * Entities are partitioned into subsets, currently identified by a project
    * ID and namespace ID.
@@ -1465,18 +1333,13 @@ public com.google.datastore.v1.PartitionId getPartitionId() {
    */
   @java.lang.Override
   public com.google.datastore.v1.PartitionIdOrBuilder getPartitionIdOrBuilder() {
-    return partitionId_ == null
-        ? com.google.datastore.v1.PartitionId.getDefaultInstance()
-        : partitionId_;
+    return partitionId_ == null ? com.google.datastore.v1.PartitionId.getDefaultInstance() : partitionId_;
   }
 
   public static final int PATH_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private java.util.List path_;
   /**
-   *
-   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -1503,8 +1366,6 @@ public java.util.List getPathList() {
     return path_;
   }
   /**
-   *
-   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -1527,13 +1388,11 @@ public java.util.List getPathList() {
    * repeated .google.datastore.v1.Key.PathElement path = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getPathOrBuilderList() {
     return path_;
   }
   /**
-   *
-   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -1560,8 +1419,6 @@ public int getPathCount() {
     return path_.size();
   }
   /**
-   *
-   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -1588,8 +1445,6 @@ public com.google.datastore.v1.Key.PathElement getPath(int index) {
     return path_.get(index);
   }
   /**
-   *
-   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -1612,12 +1467,12 @@ public com.google.datastore.v1.Key.PathElement getPath(int index) {
    * repeated .google.datastore.v1.Key.PathElement path = 2;
    */
   @java.lang.Override
-  public com.google.datastore.v1.Key.PathElementOrBuilder getPathOrBuilder(int index) {
+  public com.google.datastore.v1.Key.PathElementOrBuilder getPathOrBuilder(
+      int index) {
     return path_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1629,7 +1484,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 (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(1, getPartitionId());
     }
@@ -1646,10 +1502,12 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPartitionId());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getPartitionId());
     }
     for (int i = 0; i < path_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, path_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, path_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1659,7 +1517,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.datastore.v1.Key)) {
       return super.equals(obj);
@@ -1668,9 +1526,11 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasPartitionId() != other.hasPartitionId()) return false;
     if (hasPartitionId()) {
-      if (!getPartitionId().equals(other.getPartitionId())) return false;
+      if (!getPartitionId()
+          .equals(other.getPartitionId())) return false;
     }
-    if (!getPathList().equals(other.getPathList())) return false;
+    if (!getPathList()
+        .equals(other.getPathList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -1695,103 +1555,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.Key parseFrom(java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.Key parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.Key parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.datastore.v1.Key parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.datastore.v1.Key parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.Key parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.Key parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.Key parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.Key parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.datastore.v1.Key parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   public static com.google.datastore.v1.Key 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.datastore.v1.Key parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.datastore.v1.Key parseFrom(com.google.protobuf.CodedInputStream input)
+  public static com.google.datastore.v1.Key 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.datastore.v1.Key parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.datastore.v1.Key prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 unique identifier for an entity.
    * If a key's partition ID or any of its path kinds or names are
@@ -1801,19 +1657,19 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.datastore.v1.Key}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.datastore.v1.Key)
       com.google.datastore.v1.KeyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
       return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Key_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.EntityProto
-          .internal_static_google_datastore_v1_Key_fieldAccessorTable
+      return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Key_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.datastore.v1.Key.class, com.google.datastore.v1.Key.Builder.class);
     }
@@ -1823,18 +1679,18 @@ 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) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getPartitionIdFieldBuilder();
         getPathFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1855,7 +1711,8 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
       return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Key_descriptor;
     }
 
@@ -1877,9 +1734,7 @@ public com.google.datastore.v1.Key build() {
     public com.google.datastore.v1.Key buildPartial() {
       com.google.datastore.v1.Key result = new com.google.datastore.v1.Key(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -1900,8 +1755,9 @@ private void buildPartial0(com.google.datastore.v1.Key result) {
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.partitionId_ =
-            partitionIdBuilder_ == null ? partitionId_ : partitionIdBuilder_.build();
+        result.partitionId_ = partitionIdBuilder_ == null
+            ? partitionId_
+            : partitionIdBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -1911,39 +1767,38 @@ private void buildPartial0(com.google.datastore.v1.Key result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.Key) {
-        return mergeFrom((com.google.datastore.v1.Key) other);
+        return mergeFrom((com.google.datastore.v1.Key)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1973,10 +1828,9 @@ public Builder mergeFrom(com.google.datastore.v1.Key other) {
             pathBuilder_ = null;
             path_ = other.path_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            pathBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getPathFieldBuilder()
-                    : null;
+            pathBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getPathFieldBuilder() : null;
           } else {
             pathBuilder_.addAllMessages(other.path_);
           }
@@ -2008,32 +1862,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getPartitionIdFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                com.google.datastore.v1.Key.PathElement m =
-                    input.readMessage(
-                        com.google.datastore.v1.Key.PathElement.parser(), extensionRegistry);
-                if (pathBuilder_ == null) {
-                  ensurePathIsMutable();
-                  path_.add(m);
-                } else {
-                  pathBuilder_.addMessage(m);
-                }
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getPartitionIdFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              com.google.datastore.v1.Key.PathElement m =
+                  input.readMessage(
+                      com.google.datastore.v1.Key.PathElement.parser(),
+                      extensionRegistry);
+              if (pathBuilder_ == null) {
+                ensurePathIsMutable();
+                path_.add(m);
+              } else {
+                pathBuilder_.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) {
@@ -2043,18 +1897,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.datastore.v1.PartitionId partitionId_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.PartitionId,
-            com.google.datastore.v1.PartitionId.Builder,
-            com.google.datastore.v1.PartitionIdOrBuilder>
-        partitionIdBuilder_;
+        com.google.datastore.v1.PartitionId, com.google.datastore.v1.PartitionId.Builder, com.google.datastore.v1.PartitionIdOrBuilder> partitionIdBuilder_;
     /**
-     *
-     *
      * 
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -2062,15 +1910,12 @@ public Builder mergeFrom(
      * 
* * .google.datastore.v1.PartitionId partition_id = 1; - * * @return Whether the partitionId field is set. */ public boolean hasPartitionId() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -2078,21 +1923,16 @@ public boolean hasPartitionId() {
      * 
* * .google.datastore.v1.PartitionId partition_id = 1; - * * @return The partitionId. */ public com.google.datastore.v1.PartitionId getPartitionId() { if (partitionIdBuilder_ == null) { - return partitionId_ == null - ? com.google.datastore.v1.PartitionId.getDefaultInstance() - : partitionId_; + return partitionId_ == null ? com.google.datastore.v1.PartitionId.getDefaultInstance() : partitionId_; } else { return partitionIdBuilder_.getMessage(); } } /** - * - * *
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -2115,8 +1955,6 @@ public Builder setPartitionId(com.google.datastore.v1.PartitionId value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -2125,7 +1963,8 @@ public Builder setPartitionId(com.google.datastore.v1.PartitionId value) {
      *
      * .google.datastore.v1.PartitionId partition_id = 1;
      */
-    public Builder setPartitionId(com.google.datastore.v1.PartitionId.Builder builderForValue) {
+    public Builder setPartitionId(
+        com.google.datastore.v1.PartitionId.Builder builderForValue) {
       if (partitionIdBuilder_ == null) {
         partitionId_ = builderForValue.build();
       } else {
@@ -2136,8 +1975,6 @@ public Builder setPartitionId(com.google.datastore.v1.PartitionId.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -2148,9 +1985,9 @@ public Builder setPartitionId(com.google.datastore.v1.PartitionId.Builder builde
      */
     public Builder mergePartitionId(com.google.datastore.v1.PartitionId value) {
       if (partitionIdBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && partitionId_ != null
-            && partitionId_ != com.google.datastore.v1.PartitionId.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          partitionId_ != null &&
+          partitionId_ != com.google.datastore.v1.PartitionId.getDefaultInstance()) {
           getPartitionIdBuilder().mergeFrom(value);
         } else {
           partitionId_ = value;
@@ -2165,8 +2002,6 @@ public Builder mergePartitionId(com.google.datastore.v1.PartitionId value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -2186,8 +2021,6 @@ public Builder clearPartitionId() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -2202,8 +2035,6 @@ public com.google.datastore.v1.PartitionId.Builder getPartitionIdBuilder() {
       return getPartitionIdFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -2216,14 +2047,11 @@ public com.google.datastore.v1.PartitionIdOrBuilder getPartitionIdOrBuilder() {
       if (partitionIdBuilder_ != null) {
         return partitionIdBuilder_.getMessageOrBuilder();
       } else {
-        return partitionId_ == null
-            ? com.google.datastore.v1.PartitionId.getDefaultInstance()
-            : partitionId_;
+        return partitionId_ == null ?
+            com.google.datastore.v1.PartitionId.getDefaultInstance() : partitionId_;
       }
     }
     /**
-     *
-     *
      * 
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -2233,41 +2061,32 @@ public com.google.datastore.v1.PartitionIdOrBuilder getPartitionIdOrBuilder() {
      * .google.datastore.v1.PartitionId partition_id = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.PartitionId,
-            com.google.datastore.v1.PartitionId.Builder,
-            com.google.datastore.v1.PartitionIdOrBuilder>
+        com.google.datastore.v1.PartitionId, com.google.datastore.v1.PartitionId.Builder, com.google.datastore.v1.PartitionIdOrBuilder> 
         getPartitionIdFieldBuilder() {
       if (partitionIdBuilder_ == null) {
-        partitionIdBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.datastore.v1.PartitionId,
-                com.google.datastore.v1.PartitionId.Builder,
-                com.google.datastore.v1.PartitionIdOrBuilder>(
-                getPartitionId(), getParentForChildren(), isClean());
+        partitionIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.datastore.v1.PartitionId, com.google.datastore.v1.PartitionId.Builder, com.google.datastore.v1.PartitionIdOrBuilder>(
+                getPartitionId(),
+                getParentForChildren(),
+                isClean());
         partitionId_ = null;
       }
       return partitionIdBuilder_;
     }
 
     private java.util.List path_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensurePathIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         path_ = new java.util.ArrayList(path_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.datastore.v1.Key.PathElement,
-            com.google.datastore.v1.Key.PathElement.Builder,
-            com.google.datastore.v1.Key.PathElementOrBuilder>
-        pathBuilder_;
+        com.google.datastore.v1.Key.PathElement, com.google.datastore.v1.Key.PathElement.Builder, com.google.datastore.v1.Key.PathElementOrBuilder> pathBuilder_;
 
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2297,8 +2116,6 @@ public java.util.List getPathList() {
       }
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2328,8 +2145,6 @@ public int getPathCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2359,8 +2174,6 @@ public com.google.datastore.v1.Key.PathElement getPath(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2382,7 +2195,8 @@ public com.google.datastore.v1.Key.PathElement getPath(int index) {
      *
      * repeated .google.datastore.v1.Key.PathElement path = 2;
      */
-    public Builder setPath(int index, com.google.datastore.v1.Key.PathElement value) {
+    public Builder setPath(
+        int index, com.google.datastore.v1.Key.PathElement value) {
       if (pathBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2396,8 +2210,6 @@ public Builder setPath(int index, com.google.datastore.v1.Key.PathElement value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2431,8 +2243,6 @@ public Builder setPath(
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2468,8 +2278,6 @@ public Builder addPath(com.google.datastore.v1.Key.PathElement value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2491,7 +2299,8 @@ public Builder addPath(com.google.datastore.v1.Key.PathElement value) {
      *
      * repeated .google.datastore.v1.Key.PathElement path = 2;
      */
-    public Builder addPath(int index, com.google.datastore.v1.Key.PathElement value) {
+    public Builder addPath(
+        int index, com.google.datastore.v1.Key.PathElement value) {
       if (pathBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2505,8 +2314,6 @@ public Builder addPath(int index, com.google.datastore.v1.Key.PathElement value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2528,7 +2335,8 @@ public Builder addPath(int index, com.google.datastore.v1.Key.PathElement value)
      *
      * repeated .google.datastore.v1.Key.PathElement path = 2;
      */
-    public Builder addPath(com.google.datastore.v1.Key.PathElement.Builder builderForValue) {
+    public Builder addPath(
+        com.google.datastore.v1.Key.PathElement.Builder builderForValue) {
       if (pathBuilder_ == null) {
         ensurePathIsMutable();
         path_.add(builderForValue.build());
@@ -2539,8 +2347,6 @@ public Builder addPath(com.google.datastore.v1.Key.PathElement.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2574,8 +2380,6 @@ public Builder addPath(
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2601,7 +2405,8 @@ public Builder addAllPath(
         java.lang.Iterable values) {
       if (pathBuilder_ == null) {
         ensurePathIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, path_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, path_);
         onChanged();
       } else {
         pathBuilder_.addAllMessages(values);
@@ -2609,8 +2414,6 @@ public Builder addAllPath(
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2643,8 +2446,6 @@ public Builder clearPath() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2677,8 +2478,6 @@ public Builder removePath(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2700,12 +2499,11 @@ public Builder removePath(int index) {
      *
      * repeated .google.datastore.v1.Key.PathElement path = 2;
      */
-    public com.google.datastore.v1.Key.PathElement.Builder getPathBuilder(int index) {
+    public com.google.datastore.v1.Key.PathElement.Builder getPathBuilder(
+        int index) {
       return getPathFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2727,16 +2525,14 @@ public com.google.datastore.v1.Key.PathElement.Builder getPathBuilder(int index)
      *
      * repeated .google.datastore.v1.Key.PathElement path = 2;
      */
-    public com.google.datastore.v1.Key.PathElementOrBuilder getPathOrBuilder(int index) {
+    public com.google.datastore.v1.Key.PathElementOrBuilder getPathOrBuilder(
+        int index) {
       if (pathBuilder_ == null) {
-        return path_.get(index);
-      } else {
+        return path_.get(index);  } else {
         return pathBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2758,8 +2554,8 @@ public com.google.datastore.v1.Key.PathElementOrBuilder getPathOrBuilder(int ind
      *
      * repeated .google.datastore.v1.Key.PathElement path = 2;
      */
-    public java.util.List
-        getPathOrBuilderList() {
+    public java.util.List 
+         getPathOrBuilderList() {
       if (pathBuilder_ != null) {
         return pathBuilder_.getMessageOrBuilderList();
       } else {
@@ -2767,8 +2563,6 @@ public com.google.datastore.v1.Key.PathElementOrBuilder getPathOrBuilder(int ind
       }
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2791,12 +2585,10 @@ public com.google.datastore.v1.Key.PathElementOrBuilder getPathOrBuilder(int ind
      * repeated .google.datastore.v1.Key.PathElement path = 2;
      */
     public com.google.datastore.v1.Key.PathElement.Builder addPathBuilder() {
-      return getPathFieldBuilder()
-          .addBuilder(com.google.datastore.v1.Key.PathElement.getDefaultInstance());
+      return getPathFieldBuilder().addBuilder(
+          com.google.datastore.v1.Key.PathElement.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2818,13 +2610,12 @@ public com.google.datastore.v1.Key.PathElement.Builder addPathBuilder() {
      *
      * repeated .google.datastore.v1.Key.PathElement path = 2;
      */
-    public com.google.datastore.v1.Key.PathElement.Builder addPathBuilder(int index) {
-      return getPathFieldBuilder()
-          .addBuilder(index, com.google.datastore.v1.Key.PathElement.getDefaultInstance());
+    public com.google.datastore.v1.Key.PathElement.Builder addPathBuilder(
+        int index) {
+      return getPathFieldBuilder().addBuilder(
+          index, com.google.datastore.v1.Key.PathElement.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2846,29 +2637,27 @@ public com.google.datastore.v1.Key.PathElement.Builder addPathBuilder(int index)
      *
      * repeated .google.datastore.v1.Key.PathElement path = 2;
      */
-    public java.util.List getPathBuilderList() {
+    public java.util.List 
+         getPathBuilderList() {
       return getPathFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.datastore.v1.Key.PathElement,
-            com.google.datastore.v1.Key.PathElement.Builder,
-            com.google.datastore.v1.Key.PathElementOrBuilder>
+        com.google.datastore.v1.Key.PathElement, com.google.datastore.v1.Key.PathElement.Builder, com.google.datastore.v1.Key.PathElementOrBuilder> 
         getPathFieldBuilder() {
       if (pathBuilder_ == null) {
-        pathBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.datastore.v1.Key.PathElement,
-                com.google.datastore.v1.Key.PathElement.Builder,
-                com.google.datastore.v1.Key.PathElementOrBuilder>(
-                path_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        pathBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.datastore.v1.Key.PathElement, com.google.datastore.v1.Key.PathElement.Builder, com.google.datastore.v1.Key.PathElementOrBuilder>(
+                path_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         path_ = null;
       }
       return pathBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2878,12 +2667,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.Key)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.Key)
   private static final com.google.datastore.v1.Key DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.Key();
   }
@@ -2892,27 +2681,27 @@ public static com.google.datastore.v1.Key getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Key parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Key parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2927,4 +2716,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.Key getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KeyOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KeyOrBuilder.java
similarity index 88%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KeyOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KeyOrBuilder.java
index b88c3493e..2d940904b 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KeyOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KeyOrBuilder.java
@@ -1,32 +1,14 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/entity.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface KeyOrBuilder
-    extends
+public interface KeyOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.Key)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * Entities are partitioned into subsets, currently identified by a project
    * ID and namespace ID.
@@ -34,13 +16,10 @@ public interface KeyOrBuilder
    * 
* * .google.datastore.v1.PartitionId partition_id = 1; - * * @return Whether the partitionId field is set. */ boolean hasPartitionId(); /** - * - * *
    * Entities are partitioned into subsets, currently identified by a project
    * ID and namespace ID.
@@ -48,13 +27,10 @@ public interface KeyOrBuilder
    * 
* * .google.datastore.v1.PartitionId partition_id = 1; - * * @return The partitionId. */ com.google.datastore.v1.PartitionId getPartitionId(); /** - * - * *
    * Entities are partitioned into subsets, currently identified by a project
    * ID and namespace ID.
@@ -66,8 +42,6 @@ public interface KeyOrBuilder
   com.google.datastore.v1.PartitionIdOrBuilder getPartitionIdOrBuilder();
 
   /**
-   *
-   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -89,10 +63,9 @@ public interface KeyOrBuilder
    *
    * repeated .google.datastore.v1.Key.PathElement path = 2;
    */
-  java.util.List getPathList();
+  java.util.List 
+      getPathList();
   /**
-   *
-   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -116,8 +89,6 @@ public interface KeyOrBuilder
    */
   com.google.datastore.v1.Key.PathElement getPath(int index);
   /**
-   *
-   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -141,8 +112,6 @@ public interface KeyOrBuilder
    */
   int getPathCount();
   /**
-   *
-   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -164,10 +133,9 @@ public interface KeyOrBuilder
    *
    * repeated .google.datastore.v1.Key.PathElement path = 2;
    */
-  java.util.List getPathOrBuilderList();
+  java.util.List 
+      getPathOrBuilderList();
   /**
-   *
-   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -189,5 +157,6 @@ public interface KeyOrBuilder
    *
    * repeated .google.datastore.v1.Key.PathElement path = 2;
    */
-  com.google.datastore.v1.Key.PathElementOrBuilder getPathOrBuilder(int index);
+  com.google.datastore.v1.Key.PathElementOrBuilder getPathOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KindExpression.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KindExpression.java
similarity index 65%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KindExpression.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KindExpression.java
index fde068625..d8bbee77e 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KindExpression.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KindExpression.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/query.proto
 
@@ -20,62 +5,54 @@
 package com.google.datastore.v1;
 
 /**
- *
- *
  * 
  * A representation of a kind.
  * 
* * Protobuf type {@code google.datastore.v1.KindExpression} */ -public final class KindExpression extends com.google.protobuf.GeneratedMessageV3 - implements +public final class KindExpression extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.datastore.v1.KindExpression) KindExpressionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use KindExpression.newBuilder() to construct. private KindExpression(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private KindExpression() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new KindExpression(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_KindExpression_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_KindExpression_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_KindExpression_fieldAccessorTable + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_KindExpression_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.KindExpression.class, - com.google.datastore.v1.KindExpression.Builder.class); + com.google.datastore.v1.KindExpression.class, com.google.datastore.v1.KindExpression.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * The name of the kind.
    * 
* * string name = 1; - * * @return The name. */ @java.lang.Override @@ -84,29 +61,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 name of the kind.
    * 
* * 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 { @@ -115,7 +92,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -127,7 +103,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_); } @@ -151,14 +128,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.datastore.v1.KindExpression)) { return super.equals(obj); } com.google.datastore.v1.KindExpression other = (com.google.datastore.v1.KindExpression) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -177,136 +155,132 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.KindExpression parseFrom(java.nio.ByteBuffer data) + public static com.google.datastore.v1.KindExpression parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.KindExpression parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.KindExpression parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.KindExpression parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.KindExpression parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.KindExpression parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.KindExpression parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.KindExpression parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.datastore.v1.KindExpression 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.datastore.v1.KindExpression parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.KindExpression parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.KindExpression parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.datastore.v1.KindExpression prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 representation of a kind.
    * 
* * Protobuf type {@code google.datastore.v1.KindExpression} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.KindExpression) com.google.datastore.v1.KindExpressionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_KindExpression_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_KindExpression_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_KindExpression_fieldAccessorTable + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_KindExpression_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.KindExpression.class, - com.google.datastore.v1.KindExpression.Builder.class); + com.google.datastore.v1.KindExpression.class, com.google.datastore.v1.KindExpression.Builder.class); } // Construct using com.google.datastore.v1.KindExpression.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -316,9 +290,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_KindExpression_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_KindExpression_descriptor; } @java.lang.Override @@ -337,11 +311,8 @@ public com.google.datastore.v1.KindExpression build() { @java.lang.Override public com.google.datastore.v1.KindExpression buildPartial() { - com.google.datastore.v1.KindExpression result = - new com.google.datastore.v1.KindExpression(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.datastore.v1.KindExpression result = new com.google.datastore.v1.KindExpression(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -357,39 +328,38 @@ private void buildPartial0(com.google.datastore.v1.KindExpression result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.KindExpression) { - return mergeFrom((com.google.datastore.v1.KindExpression) other); + return mergeFrom((com.google.datastore.v1.KindExpression)other); } else { super.mergeFrom(other); return this; @@ -429,19 +399,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -451,25 +419,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * The name of the kind.
      * 
* * 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; @@ -478,21 +443,20 @@ public java.lang.String getName() { } } /** - * - * *
      * The name of the kind.
      * 
* * 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 { @@ -500,35 +464,28 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * The name of the kind.
      * 
* * string name = 1; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The name of the kind.
      * 
* * string name = 1; - * * @return This builder for chaining. */ public Builder clearName() { @@ -538,30 +495,26 @@ public Builder clearName() { return this; } /** - * - * *
      * The name of the kind.
      * 
* * string name = 1; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; 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); } @@ -571,12 +524,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.v1.KindExpression) } // @@protoc_insertion_point(class_scope:google.datastore.v1.KindExpression) private static final com.google.datastore.v1.KindExpression DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.v1.KindExpression(); } @@ -585,27 +538,27 @@ public static com.google.datastore.v1.KindExpression getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KindExpression parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KindExpression parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -620,4 +573,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.KindExpression getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KindExpressionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KindExpressionOrBuilder.java new file mode 100644 index 000000000..a96468658 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KindExpressionOrBuilder.java @@ -0,0 +1,30 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/datastore/v1/query.proto + +// Protobuf Java Version: 3.25.3 +package com.google.datastore.v1; + +public interface KindExpressionOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.datastore.v1.KindExpression) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * The name of the kind.
+   * 
+ * + * string name = 1; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * The name of the kind.
+   * 
+ * + * string name = 1; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupRequest.java similarity index 70% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupRequest.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupRequest.java index cd95d3a06..7a516ac4e 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupRequest.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto @@ -20,24 +5,21 @@ package com.google.datastore.v1; /** - * - * *
  * The request for [Datastore.Lookup][google.datastore.v1.Datastore.Lookup].
  * 
* * Protobuf type {@code google.datastore.v1.LookupRequest} */ -public final class LookupRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LookupRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.datastore.v1.LookupRequest) LookupRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LookupRequest.newBuilder() to construct. private LookupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LookupRequest() { projectId_ = ""; databaseId_ = ""; @@ -46,39 +28,34 @@ private LookupRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LookupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_LookupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_LookupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_LookupRequest_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_LookupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.LookupRequest.class, - com.google.datastore.v1.LookupRequest.Builder.class); + com.google.datastore.v1.LookupRequest.class, com.google.datastore.v1.LookupRequest.Builder.class); } private int bitField0_; public static final int PROJECT_ID_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ @java.lang.Override @@ -87,29 +64,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -118,12 +95,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int DATABASE_ID_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object databaseId_ = ""; /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -132,7 +106,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
    * 
* * string database_id = 9; - * * @return The databaseId. */ @java.lang.Override @@ -141,15 +114,14 @@ public java.lang.String getDatabaseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; } } /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -158,15 +130,16 @@ public java.lang.String getDatabaseId() {
    * 
* * string database_id = 9; - * * @return The bytes for databaseId. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -177,14 +150,11 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { public static final int READ_OPTIONS_FIELD_NUMBER = 1; private com.google.datastore.v1.ReadOptions readOptions_; /** - * - * *
    * The options for this lookup request.
    * 
* * .google.datastore.v1.ReadOptions read_options = 1; - * * @return Whether the readOptions field is set. */ @java.lang.Override @@ -192,25 +162,18 @@ public boolean hasReadOptions() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The options for this lookup request.
    * 
* * .google.datastore.v1.ReadOptions read_options = 1; - * * @return The readOptions. */ @java.lang.Override public com.google.datastore.v1.ReadOptions getReadOptions() { - return readOptions_ == null - ? com.google.datastore.v1.ReadOptions.getDefaultInstance() - : readOptions_; + return readOptions_ == null ? com.google.datastore.v1.ReadOptions.getDefaultInstance() : readOptions_; } /** - * - * *
    * The options for this lookup request.
    * 
@@ -219,88 +182,71 @@ public com.google.datastore.v1.ReadOptions getReadOptions() { */ @java.lang.Override public com.google.datastore.v1.ReadOptionsOrBuilder getReadOptionsOrBuilder() { - return readOptions_ == null - ? com.google.datastore.v1.ReadOptions.getDefaultInstance() - : readOptions_; + return readOptions_ == null ? com.google.datastore.v1.ReadOptions.getDefaultInstance() : readOptions_; } public static final int KEYS_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List keys_; /** - * - * *
    * Required. Keys of entities to look up.
    * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getKeysList() { return keys_; } /** - * - * *
    * Required. Keys of entities to look up.
    * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List getKeysOrBuilderList() { + public java.util.List + getKeysOrBuilderList() { return keys_; } /** - * - * *
    * Required. Keys of entities to look up.
    * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getKeysCount() { return keys_.size(); } /** - * - * *
    * Required. Keys of entities to look up.
    * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.datastore.v1.Key getKeys(int index) { return keys_.get(index); } /** - * - * *
    * Required. Keys of entities to look up.
    * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(int index) { + public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder( + int index) { return keys_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -312,7 +258,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getReadOptions()); } @@ -335,10 +282,12 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReadOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getReadOptions()); } for (int i = 0; i < keys_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, keys_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, keys_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, projectId_); @@ -354,20 +303,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.datastore.v1.LookupRequest)) { return super.equals(obj); } com.google.datastore.v1.LookupRequest other = (com.google.datastore.v1.LookupRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getDatabaseId().equals(other.getDatabaseId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getDatabaseId() + .equals(other.getDatabaseId())) return false; if (hasReadOptions() != other.hasReadOptions()) return false; if (hasReadOptions()) { - if (!getReadOptions().equals(other.getReadOptions())) return false; + if (!getReadOptions() + .equals(other.getReadOptions())) return false; } - if (!getKeysList().equals(other.getKeysList())) return false; + if (!getKeysList() + .equals(other.getKeysList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -396,126 +349,120 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.LookupRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.datastore.v1.LookupRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.LookupRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.datastore.v1.LookupRequest parseFrom(com.google.protobuf.ByteString data) + public static com.google.datastore.v1.LookupRequest parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.LookupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.LookupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.LookupRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.LookupRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.LookupRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.datastore.v1.LookupRequest 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.datastore.v1.LookupRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.LookupRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.LookupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.datastore.v1.LookupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [Datastore.Lookup][google.datastore.v1.Datastore.Lookup].
    * 
* * Protobuf type {@code google.datastore.v1.LookupRequest} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.LookupRequest) com.google.datastore.v1.LookupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_LookupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_LookupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_LookupRequest_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_LookupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.LookupRequest.class, - com.google.datastore.v1.LookupRequest.Builder.class); + com.google.datastore.v1.LookupRequest.class, com.google.datastore.v1.LookupRequest.Builder.class); } // Construct using com.google.datastore.v1.LookupRequest.newBuilder() @@ -523,18 +470,18 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getReadOptionsFieldBuilder(); getKeysFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -557,9 +504,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_LookupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_LookupRequest_descriptor; } @java.lang.Override @@ -578,12 +525,9 @@ public com.google.datastore.v1.LookupRequest build() { @java.lang.Override public com.google.datastore.v1.LookupRequest buildPartial() { - com.google.datastore.v1.LookupRequest result = - new com.google.datastore.v1.LookupRequest(this); + com.google.datastore.v1.LookupRequest result = new com.google.datastore.v1.LookupRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -610,8 +554,9 @@ private void buildPartial0(com.google.datastore.v1.LookupRequest result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.readOptions_ = - readOptionsBuilder_ == null ? readOptions_ : readOptionsBuilder_.build(); + result.readOptions_ = readOptionsBuilder_ == null + ? readOptions_ + : readOptionsBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -621,39 +566,38 @@ private void buildPartial0(com.google.datastore.v1.LookupRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.LookupRequest) { - return mergeFrom((com.google.datastore.v1.LookupRequest) other); + return mergeFrom((com.google.datastore.v1.LookupRequest)other); } else { super.mergeFrom(other); return this; @@ -693,10 +637,9 @@ public Builder mergeFrom(com.google.datastore.v1.LookupRequest other) { keysBuilder_ = null; keys_ = other.keys_; bitField0_ = (bitField0_ & ~0x00000008); - keysBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getKeysFieldBuilder() - : null; + keysBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getKeysFieldBuilder() : null; } else { keysBuilder_.addAllMessages(other.keys_); } @@ -728,43 +671,42 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getReadOptionsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 10 - case 26: - { - com.google.datastore.v1.Key m = - input.readMessage(com.google.datastore.v1.Key.parser(), extensionRegistry); - if (keysBuilder_ == null) { - ensureKeysIsMutable(); - keys_.add(m); - } else { - keysBuilder_.addMessage(m); - } - break; - } // case 26 - case 66: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 66 - case 74: - { - databaseId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 74 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getReadOptionsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 10 + case 26: { + com.google.datastore.v1.Key m = + input.readMessage( + com.google.datastore.v1.Key.parser(), + extensionRegistry); + if (keysBuilder_ == null) { + ensureKeysIsMutable(); + keys_.add(m); + } else { + keysBuilder_.addMessage(m); + } + break; + } // case 26 + case 66: { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 66 + case 74: { + databaseId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 74 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -774,25 +716,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object projectId_ = ""; /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -801,21 +740,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -823,35 +761,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -861,21 +792,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -885,8 +812,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object databaseId_ = ""; /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -895,13 +820,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string database_id = 9; - * * @return The databaseId. */ public java.lang.String getDatabaseId() { java.lang.Object ref = databaseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; @@ -910,8 +835,6 @@ public java.lang.String getDatabaseId() { } } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -920,14 +843,15 @@ public java.lang.String getDatabaseId() {
      * 
* * string database_id = 9; - * * @return The bytes for databaseId. */ - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -935,8 +859,6 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { } } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -945,22 +867,18 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() {
      * 
* * string database_id = 9; - * * @param value The databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } databaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -969,7 +887,6 @@ public Builder setDatabaseId(java.lang.String value) {
      * 
* * string database_id = 9; - * * @return This builder for chaining. */ public Builder clearDatabaseId() { @@ -979,8 +896,6 @@ public Builder clearDatabaseId() { return this; } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -989,14 +904,12 @@ public Builder clearDatabaseId() {
      * 
* * string database_id = 9; - * * @param value The bytes for databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); databaseId_ = value; bitField0_ |= 0x00000002; @@ -1006,47 +919,34 @@ public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { private com.google.datastore.v1.ReadOptions readOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ReadOptions, - com.google.datastore.v1.ReadOptions.Builder, - com.google.datastore.v1.ReadOptionsOrBuilder> - readOptionsBuilder_; + com.google.datastore.v1.ReadOptions, com.google.datastore.v1.ReadOptions.Builder, com.google.datastore.v1.ReadOptionsOrBuilder> readOptionsBuilder_; /** - * - * *
      * The options for this lookup request.
      * 
* * .google.datastore.v1.ReadOptions read_options = 1; - * * @return Whether the readOptions field is set. */ public boolean hasReadOptions() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The options for this lookup request.
      * 
* * .google.datastore.v1.ReadOptions read_options = 1; - * * @return The readOptions. */ public com.google.datastore.v1.ReadOptions getReadOptions() { if (readOptionsBuilder_ == null) { - return readOptions_ == null - ? com.google.datastore.v1.ReadOptions.getDefaultInstance() - : readOptions_; + return readOptions_ == null ? com.google.datastore.v1.ReadOptions.getDefaultInstance() : readOptions_; } else { return readOptionsBuilder_.getMessage(); } } /** - * - * *
      * The options for this lookup request.
      * 
@@ -1067,15 +967,14 @@ public Builder setReadOptions(com.google.datastore.v1.ReadOptions value) { return this; } /** - * - * *
      * The options for this lookup request.
      * 
* * .google.datastore.v1.ReadOptions read_options = 1; */ - public Builder setReadOptions(com.google.datastore.v1.ReadOptions.Builder builderForValue) { + public Builder setReadOptions( + com.google.datastore.v1.ReadOptions.Builder builderForValue) { if (readOptionsBuilder_ == null) { readOptions_ = builderForValue.build(); } else { @@ -1086,8 +985,6 @@ public Builder setReadOptions(com.google.datastore.v1.ReadOptions.Builder builde return this; } /** - * - * *
      * The options for this lookup request.
      * 
@@ -1096,9 +993,9 @@ public Builder setReadOptions(com.google.datastore.v1.ReadOptions.Builder builde */ public Builder mergeReadOptions(com.google.datastore.v1.ReadOptions value) { if (readOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && readOptions_ != null - && readOptions_ != com.google.datastore.v1.ReadOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + readOptions_ != null && + readOptions_ != com.google.datastore.v1.ReadOptions.getDefaultInstance()) { getReadOptionsBuilder().mergeFrom(value); } else { readOptions_ = value; @@ -1113,8 +1010,6 @@ public Builder mergeReadOptions(com.google.datastore.v1.ReadOptions value) { return this; } /** - * - * *
      * The options for this lookup request.
      * 
@@ -1132,8 +1027,6 @@ public Builder clearReadOptions() { return this; } /** - * - * *
      * The options for this lookup request.
      * 
@@ -1146,8 +1039,6 @@ public com.google.datastore.v1.ReadOptions.Builder getReadOptionsBuilder() { return getReadOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * The options for this lookup request.
      * 
@@ -1158,14 +1049,11 @@ public com.google.datastore.v1.ReadOptionsOrBuilder getReadOptionsOrBuilder() { if (readOptionsBuilder_ != null) { return readOptionsBuilder_.getMessageOrBuilder(); } else { - return readOptions_ == null - ? com.google.datastore.v1.ReadOptions.getDefaultInstance() - : readOptions_; + return readOptions_ == null ? + com.google.datastore.v1.ReadOptions.getDefaultInstance() : readOptions_; } } /** - * - * *
      * The options for this lookup request.
      * 
@@ -1173,46 +1061,37 @@ public com.google.datastore.v1.ReadOptionsOrBuilder getReadOptionsOrBuilder() { * .google.datastore.v1.ReadOptions read_options = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ReadOptions, - com.google.datastore.v1.ReadOptions.Builder, - com.google.datastore.v1.ReadOptionsOrBuilder> + com.google.datastore.v1.ReadOptions, com.google.datastore.v1.ReadOptions.Builder, com.google.datastore.v1.ReadOptionsOrBuilder> getReadOptionsFieldBuilder() { if (readOptionsBuilder_ == null) { - readOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ReadOptions, - com.google.datastore.v1.ReadOptions.Builder, - com.google.datastore.v1.ReadOptionsOrBuilder>( - getReadOptions(), getParentForChildren(), isClean()); + readOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.ReadOptions, com.google.datastore.v1.ReadOptions.Builder, com.google.datastore.v1.ReadOptionsOrBuilder>( + getReadOptions(), + getParentForChildren(), + isClean()); readOptions_ = null; } return readOptionsBuilder_; } - private java.util.List keys_ = java.util.Collections.emptyList(); - + private java.util.List keys_ = + java.util.Collections.emptyList(); private void ensureKeysIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { keys_ = new java.util.ArrayList(keys_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.Key, - com.google.datastore.v1.Key.Builder, - com.google.datastore.v1.KeyOrBuilder> - keysBuilder_; + com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> keysBuilder_; /** - * - * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getKeysList() { if (keysBuilder_ == null) { @@ -1222,14 +1101,11 @@ public java.util.List getKeysList() { } } /** - * - * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; */ public int getKeysCount() { if (keysBuilder_ == null) { @@ -1239,14 +1115,11 @@ public int getKeysCount() { } } /** - * - * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.datastore.v1.Key getKeys(int index) { if (keysBuilder_ == null) { @@ -1256,16 +1129,14 @@ public com.google.datastore.v1.Key getKeys(int index) { } } /** - * - * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setKeys(int index, com.google.datastore.v1.Key value) { + public Builder setKeys( + int index, com.google.datastore.v1.Key value) { if (keysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1279,16 +1150,14 @@ public Builder setKeys(int index, com.google.datastore.v1.Key value) { return this; } /** - * - * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setKeys(int index, com.google.datastore.v1.Key.Builder builderForValue) { + public Builder setKeys( + int index, com.google.datastore.v1.Key.Builder builderForValue) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.set(index, builderForValue.build()); @@ -1299,14 +1168,11 @@ public Builder setKeys(int index, com.google.datastore.v1.Key.Builder builderFor return this; } /** - * - * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addKeys(com.google.datastore.v1.Key value) { if (keysBuilder_ == null) { @@ -1322,16 +1188,14 @@ public Builder addKeys(com.google.datastore.v1.Key value) { return this; } /** - * - * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addKeys(int index, com.google.datastore.v1.Key value) { + public Builder addKeys( + int index, com.google.datastore.v1.Key value) { if (keysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1345,16 +1209,14 @@ public Builder addKeys(int index, com.google.datastore.v1.Key value) { return this; } /** - * - * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addKeys(com.google.datastore.v1.Key.Builder builderForValue) { + public Builder addKeys( + com.google.datastore.v1.Key.Builder builderForValue) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.add(builderForValue.build()); @@ -1365,16 +1227,14 @@ public Builder addKeys(com.google.datastore.v1.Key.Builder builderForValue) { return this; } /** - * - * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addKeys(int index, com.google.datastore.v1.Key.Builder builderForValue) { + public Builder addKeys( + int index, com.google.datastore.v1.Key.Builder builderForValue) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.add(index, builderForValue.build()); @@ -1385,19 +1245,18 @@ public Builder addKeys(int index, com.google.datastore.v1.Key.Builder builderFor return this; } /** - * - * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addAllKeys(java.lang.Iterable values) { + public Builder addAllKeys( + java.lang.Iterable values) { if (keysBuilder_ == null) { ensureKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, keys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, keys_); onChanged(); } else { keysBuilder_.addAllMessages(values); @@ -1405,14 +1264,11 @@ public Builder addAllKeys(java.lang.Iterable * Required. Keys of entities to look up. *
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearKeys() { if (keysBuilder_ == null) { @@ -1425,14 +1281,11 @@ public Builder clearKeys() { return this; } /** - * - * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeKeys(int index) { if (keysBuilder_ == null) { @@ -1445,46 +1298,39 @@ public Builder removeKeys(int index) { return this; } /** - * - * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.datastore.v1.Key.Builder getKeysBuilder(int index) { + public com.google.datastore.v1.Key.Builder getKeysBuilder( + int index) { return getKeysFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(int index) { + public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder( + int index) { if (keysBuilder_ == null) { - return keys_.get(index); - } else { + return keys_.get(index); } else { return keysBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List getKeysOrBuilderList() { + public java.util.List + getKeysOrBuilderList() { if (keysBuilder_ != null) { return keysBuilder_.getMessageOrBuilderList(); } else { @@ -1492,65 +1338,56 @@ public java.util.List getKeysOrB } } /** - * - * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.datastore.v1.Key.Builder addKeysBuilder() { - return getKeysFieldBuilder().addBuilder(com.google.datastore.v1.Key.getDefaultInstance()); + return getKeysFieldBuilder().addBuilder( + com.google.datastore.v1.Key.getDefaultInstance()); } /** - * - * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.datastore.v1.Key.Builder addKeysBuilder(int index) { - return getKeysFieldBuilder() - .addBuilder(index, com.google.datastore.v1.Key.getDefaultInstance()); + public com.google.datastore.v1.Key.Builder addKeysBuilder( + int index) { + return getKeysFieldBuilder().addBuilder( + index, com.google.datastore.v1.Key.getDefaultInstance()); } /** - * - * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List getKeysBuilderList() { + public java.util.List + getKeysBuilderList() { return getKeysFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.Key, - com.google.datastore.v1.Key.Builder, - com.google.datastore.v1.KeyOrBuilder> + com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> getKeysFieldBuilder() { if (keysBuilder_ == null) { - keysBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.Key, - com.google.datastore.v1.Key.Builder, - com.google.datastore.v1.KeyOrBuilder>( - keys_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); + keysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder>( + keys_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); keys_ = null; } return keysBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1560,12 +1397,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.v1.LookupRequest) } // @@protoc_insertion_point(class_scope:google.datastore.v1.LookupRequest) private static final com.google.datastore.v1.LookupRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.v1.LookupRequest(); } @@ -1574,27 +1411,27 @@ public static com.google.datastore.v1.LookupRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LookupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LookupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1609,4 +1446,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.LookupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupRequestOrBuilder.java similarity index 69% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupRequestOrBuilder.java index 82fe24661..804dfaeb8 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupRequestOrBuilder.java @@ -1,57 +1,34 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface LookupRequestOrBuilder - extends +public interface LookupRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.LookupRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -60,13 +37,10 @@ public interface LookupRequestOrBuilder
    * 
* * string database_id = 9; - * * @return The databaseId. */ java.lang.String getDatabaseId(); /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -75,38 +49,30 @@ public interface LookupRequestOrBuilder
    * 
* * string database_id = 9; - * * @return The bytes for databaseId. */ - com.google.protobuf.ByteString getDatabaseIdBytes(); + com.google.protobuf.ByteString + getDatabaseIdBytes(); /** - * - * *
    * The options for this lookup request.
    * 
* * .google.datastore.v1.ReadOptions read_options = 1; - * * @return Whether the readOptions field is set. */ boolean hasReadOptions(); /** - * - * *
    * The options for this lookup request.
    * 
* * .google.datastore.v1.ReadOptions read_options = 1; - * * @return The readOptions. */ com.google.datastore.v1.ReadOptions getReadOptions(); /** - * - * *
    * The options for this lookup request.
    * 
@@ -116,58 +82,46 @@ public interface LookupRequestOrBuilder com.google.datastore.v1.ReadOptionsOrBuilder getReadOptionsOrBuilder(); /** - * - * *
    * Required. Keys of entities to look up.
    * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getKeysList(); + java.util.List + getKeysList(); /** - * - * *
    * Required. Keys of entities to look up.
    * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; */ com.google.datastore.v1.Key getKeys(int index); /** - * - * *
    * Required. Keys of entities to look up.
    * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; */ int getKeysCount(); /** - * - * *
    * Required. Keys of entities to look up.
    * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getKeysOrBuilderList(); + java.util.List + getKeysOrBuilderList(); /** - * - * *
    * Required. Keys of entities to look up.
    * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(int index); + com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder( + int index); } diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupResponse.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupResponse.java similarity index 79% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupResponse.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupResponse.java index 6b56e1025..89208df09 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto @@ -20,24 +5,21 @@ package com.google.datastore.v1; /** - * - * *
  * The response for [Datastore.Lookup][google.datastore.v1.Datastore.Lookup].
  * 
* * Protobuf type {@code google.datastore.v1.LookupResponse} */ -public final class LookupResponse extends com.google.protobuf.GeneratedMessageV3 - implements +public final class LookupResponse extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.datastore.v1.LookupResponse) LookupResponseOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use LookupResponse.newBuilder() to construct. private LookupResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private LookupResponse() { found_ = java.util.Collections.emptyList(); missing_ = java.util.Collections.emptyList(); @@ -47,33 +29,29 @@ private LookupResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new LookupResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_LookupResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_LookupResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_LookupResponse_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_LookupResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.LookupResponse.class, - com.google.datastore.v1.LookupResponse.Builder.class); + com.google.datastore.v1.LookupResponse.class, com.google.datastore.v1.LookupResponse.Builder.class); } private int bitField0_; public static final int FOUND_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List found_; /** - * - * *
    * Entities found as `ResultType.FULL` entities. The order of results in this
    * field is undefined and has no relation to the order of the keys in the
@@ -87,8 +65,6 @@ public java.util.List getFoundList() {
     return found_;
   }
   /**
-   *
-   *
    * 
    * Entities found as `ResultType.FULL` entities. The order of results in this
    * field is undefined and has no relation to the order of the keys in the
@@ -98,13 +74,11 @@ public java.util.List getFoundList() {
    * repeated .google.datastore.v1.EntityResult found = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getFoundOrBuilderList() {
     return found_;
   }
   /**
-   *
-   *
    * 
    * Entities found as `ResultType.FULL` entities. The order of results in this
    * field is undefined and has no relation to the order of the keys in the
@@ -118,8 +92,6 @@ public int getFoundCount() {
     return found_.size();
   }
   /**
-   *
-   *
    * 
    * Entities found as `ResultType.FULL` entities. The order of results in this
    * field is undefined and has no relation to the order of the keys in the
@@ -133,8 +105,6 @@ public com.google.datastore.v1.EntityResult getFound(int index) {
     return found_.get(index);
   }
   /**
-   *
-   *
    * 
    * Entities found as `ResultType.FULL` entities. The order of results in this
    * field is undefined and has no relation to the order of the keys in the
@@ -144,17 +114,15 @@ public com.google.datastore.v1.EntityResult getFound(int index) {
    * repeated .google.datastore.v1.EntityResult found = 1;
    */
   @java.lang.Override
-  public com.google.datastore.v1.EntityResultOrBuilder getFoundOrBuilder(int index) {
+  public com.google.datastore.v1.EntityResultOrBuilder getFoundOrBuilder(
+      int index) {
     return found_.get(index);
   }
 
   public static final int MISSING_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private java.util.List missing_;
   /**
-   *
-   *
    * 
    * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
    * in this field is undefined and has no relation to the order of the keys
@@ -168,8 +136,6 @@ public java.util.List getMissingList() {
     return missing_;
   }
   /**
-   *
-   *
    * 
    * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
    * in this field is undefined and has no relation to the order of the keys
@@ -179,13 +145,11 @@ public java.util.List getMissingList() {
    * repeated .google.datastore.v1.EntityResult missing = 2;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getMissingOrBuilderList() {
     return missing_;
   }
   /**
-   *
-   *
    * 
    * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
    * in this field is undefined and has no relation to the order of the keys
@@ -199,8 +163,6 @@ public int getMissingCount() {
     return missing_.size();
   }
   /**
-   *
-   *
    * 
    * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
    * in this field is undefined and has no relation to the order of the keys
@@ -214,8 +176,6 @@ public com.google.datastore.v1.EntityResult getMissing(int index) {
     return missing_.get(index);
   }
   /**
-   *
-   *
    * 
    * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
    * in this field is undefined and has no relation to the order of the keys
@@ -225,17 +185,15 @@ public com.google.datastore.v1.EntityResult getMissing(int index) {
    * repeated .google.datastore.v1.EntityResult missing = 2;
    */
   @java.lang.Override
-  public com.google.datastore.v1.EntityResultOrBuilder getMissingOrBuilder(int index) {
+  public com.google.datastore.v1.EntityResultOrBuilder getMissingOrBuilder(
+      int index) {
     return missing_.get(index);
   }
 
   public static final int DEFERRED_FIELD_NUMBER = 3;
-
   @SuppressWarnings("serial")
   private java.util.List deferred_;
   /**
-   *
-   *
    * 
    * A list of keys that were not looked up due to resource constraints. The
    * order of results in this field is undefined and has no relation to the
@@ -249,8 +207,6 @@ public java.util.List getDeferredList() {
     return deferred_;
   }
   /**
-   *
-   *
    * 
    * A list of keys that were not looked up due to resource constraints. The
    * order of results in this field is undefined and has no relation to the
@@ -260,12 +216,11 @@ public java.util.List getDeferredList() {
    * repeated .google.datastore.v1.Key deferred = 3;
    */
   @java.lang.Override
-  public java.util.List getDeferredOrBuilderList() {
+  public java.util.List 
+      getDeferredOrBuilderList() {
     return deferred_;
   }
   /**
-   *
-   *
    * 
    * A list of keys that were not looked up due to resource constraints. The
    * order of results in this field is undefined and has no relation to the
@@ -279,8 +234,6 @@ public int getDeferredCount() {
     return deferred_.size();
   }
   /**
-   *
-   *
    * 
    * A list of keys that were not looked up due to resource constraints. The
    * order of results in this field is undefined and has no relation to the
@@ -294,8 +247,6 @@ public com.google.datastore.v1.Key getDeferred(int index) {
     return deferred_.get(index);
   }
   /**
-   *
-   *
    * 
    * A list of keys that were not looked up due to resource constraints. The
    * order of results in this field is undefined and has no relation to the
@@ -305,15 +256,14 @@ public com.google.datastore.v1.Key getDeferred(int index) {
    * repeated .google.datastore.v1.Key deferred = 3;
    */
   @java.lang.Override
-  public com.google.datastore.v1.KeyOrBuilder getDeferredOrBuilder(int index) {
+  public com.google.datastore.v1.KeyOrBuilder getDeferredOrBuilder(
+      int index) {
     return deferred_.get(index);
   }
 
   public static final int TRANSACTION_FIELD_NUMBER = 5;
   private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY;
   /**
-   *
-   *
    * 
    * The identifier of the transaction that was started as part of this Lookup
    * request.
@@ -325,7 +275,6 @@ public com.google.datastore.v1.KeyOrBuilder getDeferredOrBuilder(int index) {
    * 
* * bytes transaction = 5; - * * @return The transaction. */ @java.lang.Override @@ -336,14 +285,11 @@ public com.google.protobuf.ByteString getTransaction() { public static final int READ_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp readTime_; /** - * - * *
    * The time at which these entities were read or found missing.
    * 
* * .google.protobuf.Timestamp read_time = 7; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -351,14 +297,11 @@ public boolean hasReadTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The time at which these entities were read or found missing.
    * 
* * .google.protobuf.Timestamp read_time = 7; - * * @return The readTime. */ @java.lang.Override @@ -366,8 +309,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * The time at which these entities were read or found missing.
    * 
@@ -380,7 +321,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -392,7 +332,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 < found_.size(); i++) { output.writeMessage(1, found_.get(i)); } @@ -418,19 +359,24 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < found_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, found_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, found_.get(i)); } for (int i = 0; i < missing_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, missing_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, missing_.get(i)); } for (int i = 0; i < deferred_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, deferred_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, deferred_.get(i)); } if (!transaction_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, transaction_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(5, transaction_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getReadTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getReadTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -440,20 +386,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.datastore.v1.LookupResponse)) { return super.equals(obj); } com.google.datastore.v1.LookupResponse other = (com.google.datastore.v1.LookupResponse) obj; - if (!getFoundList().equals(other.getFoundList())) return false; - if (!getMissingList().equals(other.getMissingList())) return false; - if (!getDeferredList().equals(other.getDeferredList())) return false; - if (!getTransaction().equals(other.getTransaction())) return false; + if (!getFoundList() + .equals(other.getFoundList())) return false; + if (!getMissingList() + .equals(other.getMissingList())) return false; + if (!getDeferredList() + .equals(other.getDeferredList())) 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; @@ -489,127 +440,120 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.LookupResponse parseFrom(java.nio.ByteBuffer data) + public static com.google.datastore.v1.LookupResponse parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.LookupResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.LookupResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.LookupResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.LookupResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.LookupResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.LookupResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.LookupResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.datastore.v1.LookupResponse 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.datastore.v1.LookupResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.LookupResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.LookupResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.datastore.v1.LookupResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [Datastore.Lookup][google.datastore.v1.Datastore.Lookup].
    * 
* * Protobuf type {@code google.datastore.v1.LookupResponse} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.LookupResponse) com.google.datastore.v1.LookupResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_LookupResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_LookupResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_LookupResponse_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_LookupResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.LookupResponse.class, - com.google.datastore.v1.LookupResponse.Builder.class); + com.google.datastore.v1.LookupResponse.class, com.google.datastore.v1.LookupResponse.Builder.class); } // Construct using com.google.datastore.v1.LookupResponse.newBuilder() @@ -617,20 +561,20 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getFoundFieldBuilder(); getMissingFieldBuilder(); getDeferredFieldBuilder(); getReadTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -666,9 +610,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_LookupResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_LookupResponse_descriptor; } @java.lang.Override @@ -687,12 +631,9 @@ public com.google.datastore.v1.LookupResponse build() { @java.lang.Override public com.google.datastore.v1.LookupResponse buildPartial() { - com.google.datastore.v1.LookupResponse result = - new com.google.datastore.v1.LookupResponse(this); + com.google.datastore.v1.LookupResponse result = new com.google.datastore.v1.LookupResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -734,7 +675,9 @@ private void buildPartial0(com.google.datastore.v1.LookupResponse result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000010) != 0)) { - result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build(); + result.readTime_ = readTimeBuilder_ == null + ? readTime_ + : readTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -744,39 +687,38 @@ private void buildPartial0(com.google.datastore.v1.LookupResponse result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.LookupResponse) { - return mergeFrom((com.google.datastore.v1.LookupResponse) other); + return mergeFrom((com.google.datastore.v1.LookupResponse)other); } else { super.mergeFrom(other); return this; @@ -803,10 +745,9 @@ public Builder mergeFrom(com.google.datastore.v1.LookupResponse other) { foundBuilder_ = null; found_ = other.found_; bitField0_ = (bitField0_ & ~0x00000001); - foundBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFoundFieldBuilder() - : null; + foundBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getFoundFieldBuilder() : null; } else { foundBuilder_.addAllMessages(other.found_); } @@ -830,10 +771,9 @@ public Builder mergeFrom(com.google.datastore.v1.LookupResponse other) { missingBuilder_ = null; missing_ = other.missing_; bitField0_ = (bitField0_ & ~0x00000002); - missingBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getMissingFieldBuilder() - : null; + missingBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getMissingFieldBuilder() : null; } else { missingBuilder_.addAllMessages(other.missing_); } @@ -857,10 +797,9 @@ public Builder mergeFrom(com.google.datastore.v1.LookupResponse other) { deferredBuilder_ = null; deferred_ = other.deferred_; bitField0_ = (bitField0_ & ~0x00000004); - deferredBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDeferredFieldBuilder() - : null; + deferredBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDeferredFieldBuilder() : null; } else { deferredBuilder_.addAllMessages(other.deferred_); } @@ -898,63 +837,63 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.datastore.v1.EntityResult m = - input.readMessage( - com.google.datastore.v1.EntityResult.parser(), extensionRegistry); - if (foundBuilder_ == null) { - ensureFoundIsMutable(); - found_.add(m); - } else { - foundBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: - { - com.google.datastore.v1.EntityResult m = - input.readMessage( - com.google.datastore.v1.EntityResult.parser(), extensionRegistry); - if (missingBuilder_ == null) { - ensureMissingIsMutable(); - missing_.add(m); - } else { - missingBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - com.google.datastore.v1.Key m = - input.readMessage(com.google.datastore.v1.Key.parser(), extensionRegistry); - if (deferredBuilder_ == null) { - ensureDeferredIsMutable(); - deferred_.add(m); - } else { - deferredBuilder_.addMessage(m); - } - break; - } // case 26 - case 42: - { - transaction_ = input.readBytes(); - bitField0_ |= 0x00000008; - break; - } // case 42 - case 58: - { - input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.datastore.v1.EntityResult m = + input.readMessage( + com.google.datastore.v1.EntityResult.parser(), + extensionRegistry); + if (foundBuilder_ == null) { + ensureFoundIsMutable(); + found_.add(m); + } else { + foundBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: { + com.google.datastore.v1.EntityResult m = + input.readMessage( + com.google.datastore.v1.EntityResult.parser(), + extensionRegistry); + if (missingBuilder_ == null) { + ensureMissingIsMutable(); + missing_.add(m); + } else { + missingBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + com.google.datastore.v1.Key m = + input.readMessage( + com.google.datastore.v1.Key.parser(), + extensionRegistry); + if (deferredBuilder_ == null) { + ensureDeferredIsMutable(); + deferred_.add(m); + } else { + deferredBuilder_.addMessage(m); + } + break; + } // case 26 + case 42: { + transaction_ = input.readBytes(); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 58: { + input.readMessage( + getReadTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000010; + 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) { @@ -964,28 +903,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List found_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureFoundIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { found_ = new java.util.ArrayList(found_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.EntityResult, - com.google.datastore.v1.EntityResult.Builder, - com.google.datastore.v1.EntityResultOrBuilder> - foundBuilder_; + com.google.datastore.v1.EntityResult, com.google.datastore.v1.EntityResult.Builder, com.google.datastore.v1.EntityResultOrBuilder> foundBuilder_; /** - * - * *
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1002,8 +934,6 @@ public java.util.List getFoundList() {
       }
     }
     /**
-     *
-     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1020,8 +950,6 @@ public int getFoundCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1038,8 +966,6 @@ public com.google.datastore.v1.EntityResult getFound(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1048,7 +974,8 @@ public com.google.datastore.v1.EntityResult getFound(int index) {
      *
      * repeated .google.datastore.v1.EntityResult found = 1;
      */
-    public Builder setFound(int index, com.google.datastore.v1.EntityResult value) {
+    public Builder setFound(
+        int index, com.google.datastore.v1.EntityResult value) {
       if (foundBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1062,8 +989,6 @@ public Builder setFound(int index, com.google.datastore.v1.EntityResult value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1084,8 +1009,6 @@ public Builder setFound(
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1108,8 +1031,6 @@ public Builder addFound(com.google.datastore.v1.EntityResult value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1118,7 +1039,8 @@ public Builder addFound(com.google.datastore.v1.EntityResult value) {
      *
      * repeated .google.datastore.v1.EntityResult found = 1;
      */
-    public Builder addFound(int index, com.google.datastore.v1.EntityResult value) {
+    public Builder addFound(
+        int index, com.google.datastore.v1.EntityResult value) {
       if (foundBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1132,8 +1054,6 @@ public Builder addFound(int index, com.google.datastore.v1.EntityResult value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1142,7 +1062,8 @@ public Builder addFound(int index, com.google.datastore.v1.EntityResult value) {
      *
      * repeated .google.datastore.v1.EntityResult found = 1;
      */
-    public Builder addFound(com.google.datastore.v1.EntityResult.Builder builderForValue) {
+    public Builder addFound(
+        com.google.datastore.v1.EntityResult.Builder builderForValue) {
       if (foundBuilder_ == null) {
         ensureFoundIsMutable();
         found_.add(builderForValue.build());
@@ -1153,8 +1074,6 @@ public Builder addFound(com.google.datastore.v1.EntityResult.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1175,8 +1094,6 @@ public Builder addFound(
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1189,7 +1106,8 @@ public Builder addAllFound(
         java.lang.Iterable values) {
       if (foundBuilder_ == null) {
         ensureFoundIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, found_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, found_);
         onChanged();
       } else {
         foundBuilder_.addAllMessages(values);
@@ -1197,8 +1115,6 @@ public Builder addAllFound(
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1218,8 +1134,6 @@ public Builder clearFound() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1239,8 +1153,6 @@ public Builder removeFound(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1249,12 +1161,11 @@ public Builder removeFound(int index) {
      *
      * repeated .google.datastore.v1.EntityResult found = 1;
      */
-    public com.google.datastore.v1.EntityResult.Builder getFoundBuilder(int index) {
+    public com.google.datastore.v1.EntityResult.Builder getFoundBuilder(
+        int index) {
       return getFoundFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1263,16 +1174,14 @@ public com.google.datastore.v1.EntityResult.Builder getFoundBuilder(int index) {
      *
      * repeated .google.datastore.v1.EntityResult found = 1;
      */
-    public com.google.datastore.v1.EntityResultOrBuilder getFoundOrBuilder(int index) {
+    public com.google.datastore.v1.EntityResultOrBuilder getFoundOrBuilder(
+        int index) {
       if (foundBuilder_ == null) {
-        return found_.get(index);
-      } else {
+        return found_.get(index);  } else {
         return foundBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1281,8 +1190,8 @@ public com.google.datastore.v1.EntityResultOrBuilder getFoundOrBuilder(int index
      *
      * repeated .google.datastore.v1.EntityResult found = 1;
      */
-    public java.util.List
-        getFoundOrBuilderList() {
+    public java.util.List 
+         getFoundOrBuilderList() {
       if (foundBuilder_ != null) {
         return foundBuilder_.getMessageOrBuilderList();
       } else {
@@ -1290,8 +1199,6 @@ public com.google.datastore.v1.EntityResultOrBuilder getFoundOrBuilder(int index
       }
     }
     /**
-     *
-     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1301,12 +1208,10 @@ public com.google.datastore.v1.EntityResultOrBuilder getFoundOrBuilder(int index
      * repeated .google.datastore.v1.EntityResult found = 1;
      */
     public com.google.datastore.v1.EntityResult.Builder addFoundBuilder() {
-      return getFoundFieldBuilder()
-          .addBuilder(com.google.datastore.v1.EntityResult.getDefaultInstance());
+      return getFoundFieldBuilder().addBuilder(
+          com.google.datastore.v1.EntityResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1315,13 +1220,12 @@ public com.google.datastore.v1.EntityResult.Builder addFoundBuilder() {
      *
      * repeated .google.datastore.v1.EntityResult found = 1;
      */
-    public com.google.datastore.v1.EntityResult.Builder addFoundBuilder(int index) {
-      return getFoundFieldBuilder()
-          .addBuilder(index, com.google.datastore.v1.EntityResult.getDefaultInstance());
+    public com.google.datastore.v1.EntityResult.Builder addFoundBuilder(
+        int index) {
+      return getFoundFieldBuilder().addBuilder(
+          index, com.google.datastore.v1.EntityResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1330,46 +1234,38 @@ public com.google.datastore.v1.EntityResult.Builder addFoundBuilder(int index) {
      *
      * repeated .google.datastore.v1.EntityResult found = 1;
      */
-    public java.util.List getFoundBuilderList() {
+    public java.util.List 
+         getFoundBuilderList() {
       return getFoundFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.datastore.v1.EntityResult,
-            com.google.datastore.v1.EntityResult.Builder,
-            com.google.datastore.v1.EntityResultOrBuilder>
+        com.google.datastore.v1.EntityResult, com.google.datastore.v1.EntityResult.Builder, com.google.datastore.v1.EntityResultOrBuilder> 
         getFoundFieldBuilder() {
       if (foundBuilder_ == null) {
-        foundBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.datastore.v1.EntityResult,
-                com.google.datastore.v1.EntityResult.Builder,
-                com.google.datastore.v1.EntityResultOrBuilder>(
-                found_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        foundBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.datastore.v1.EntityResult, com.google.datastore.v1.EntityResult.Builder, com.google.datastore.v1.EntityResultOrBuilder>(
+                found_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         found_ = null;
       }
       return foundBuilder_;
     }
 
     private java.util.List missing_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureMissingIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         missing_ = new java.util.ArrayList(missing_);
         bitField0_ |= 0x00000002;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.datastore.v1.EntityResult,
-            com.google.datastore.v1.EntityResult.Builder,
-            com.google.datastore.v1.EntityResultOrBuilder>
-        missingBuilder_;
+        com.google.datastore.v1.EntityResult, com.google.datastore.v1.EntityResult.Builder, com.google.datastore.v1.EntityResultOrBuilder> missingBuilder_;
 
     /**
-     *
-     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1386,8 +1282,6 @@ public java.util.List getMissingList() {
       }
     }
     /**
-     *
-     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1404,8 +1298,6 @@ public int getMissingCount() {
       }
     }
     /**
-     *
-     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1422,8 +1314,6 @@ public com.google.datastore.v1.EntityResult getMissing(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1432,7 +1322,8 @@ public com.google.datastore.v1.EntityResult getMissing(int index) {
      *
      * repeated .google.datastore.v1.EntityResult missing = 2;
      */
-    public Builder setMissing(int index, com.google.datastore.v1.EntityResult value) {
+    public Builder setMissing(
+        int index, com.google.datastore.v1.EntityResult value) {
       if (missingBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1446,8 +1337,6 @@ public Builder setMissing(int index, com.google.datastore.v1.EntityResult value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1468,8 +1357,6 @@ public Builder setMissing(
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1492,8 +1379,6 @@ public Builder addMissing(com.google.datastore.v1.EntityResult value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1502,7 +1387,8 @@ public Builder addMissing(com.google.datastore.v1.EntityResult value) {
      *
      * repeated .google.datastore.v1.EntityResult missing = 2;
      */
-    public Builder addMissing(int index, com.google.datastore.v1.EntityResult value) {
+    public Builder addMissing(
+        int index, com.google.datastore.v1.EntityResult value) {
       if (missingBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1516,8 +1402,6 @@ public Builder addMissing(int index, com.google.datastore.v1.EntityResult value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1526,7 +1410,8 @@ public Builder addMissing(int index, com.google.datastore.v1.EntityResult value)
      *
      * repeated .google.datastore.v1.EntityResult missing = 2;
      */
-    public Builder addMissing(com.google.datastore.v1.EntityResult.Builder builderForValue) {
+    public Builder addMissing(
+        com.google.datastore.v1.EntityResult.Builder builderForValue) {
       if (missingBuilder_ == null) {
         ensureMissingIsMutable();
         missing_.add(builderForValue.build());
@@ -1537,8 +1422,6 @@ public Builder addMissing(com.google.datastore.v1.EntityResult.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1559,8 +1442,6 @@ public Builder addMissing(
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1573,7 +1454,8 @@ public Builder addAllMissing(
         java.lang.Iterable values) {
       if (missingBuilder_ == null) {
         ensureMissingIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, missing_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, missing_);
         onChanged();
       } else {
         missingBuilder_.addAllMessages(values);
@@ -1581,8 +1463,6 @@ public Builder addAllMissing(
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1602,8 +1482,6 @@ public Builder clearMissing() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1623,8 +1501,6 @@ public Builder removeMissing(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1633,12 +1509,11 @@ public Builder removeMissing(int index) {
      *
      * repeated .google.datastore.v1.EntityResult missing = 2;
      */
-    public com.google.datastore.v1.EntityResult.Builder getMissingBuilder(int index) {
+    public com.google.datastore.v1.EntityResult.Builder getMissingBuilder(
+        int index) {
       return getMissingFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1647,16 +1522,14 @@ public com.google.datastore.v1.EntityResult.Builder getMissingBuilder(int index)
      *
      * repeated .google.datastore.v1.EntityResult missing = 2;
      */
-    public com.google.datastore.v1.EntityResultOrBuilder getMissingOrBuilder(int index) {
+    public com.google.datastore.v1.EntityResultOrBuilder getMissingOrBuilder(
+        int index) {
       if (missingBuilder_ == null) {
-        return missing_.get(index);
-      } else {
+        return missing_.get(index);  } else {
         return missingBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1665,8 +1538,8 @@ public com.google.datastore.v1.EntityResultOrBuilder getMissingOrBuilder(int ind
      *
      * repeated .google.datastore.v1.EntityResult missing = 2;
      */
-    public java.util.List
-        getMissingOrBuilderList() {
+    public java.util.List 
+         getMissingOrBuilderList() {
       if (missingBuilder_ != null) {
         return missingBuilder_.getMessageOrBuilderList();
       } else {
@@ -1674,8 +1547,6 @@ public com.google.datastore.v1.EntityResultOrBuilder getMissingOrBuilder(int ind
       }
     }
     /**
-     *
-     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1685,12 +1556,10 @@ public com.google.datastore.v1.EntityResultOrBuilder getMissingOrBuilder(int ind
      * repeated .google.datastore.v1.EntityResult missing = 2;
      */
     public com.google.datastore.v1.EntityResult.Builder addMissingBuilder() {
-      return getMissingFieldBuilder()
-          .addBuilder(com.google.datastore.v1.EntityResult.getDefaultInstance());
+      return getMissingFieldBuilder().addBuilder(
+          com.google.datastore.v1.EntityResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1699,13 +1568,12 @@ public com.google.datastore.v1.EntityResult.Builder addMissingBuilder() {
      *
      * repeated .google.datastore.v1.EntityResult missing = 2;
      */
-    public com.google.datastore.v1.EntityResult.Builder addMissingBuilder(int index) {
-      return getMissingFieldBuilder()
-          .addBuilder(index, com.google.datastore.v1.EntityResult.getDefaultInstance());
+    public com.google.datastore.v1.EntityResult.Builder addMissingBuilder(
+        int index) {
+      return getMissingFieldBuilder().addBuilder(
+          index, com.google.datastore.v1.EntityResult.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1714,46 +1582,38 @@ public com.google.datastore.v1.EntityResult.Builder addMissingBuilder(int index)
      *
      * repeated .google.datastore.v1.EntityResult missing = 2;
      */
-    public java.util.List getMissingBuilderList() {
+    public java.util.List 
+         getMissingBuilderList() {
       return getMissingFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.datastore.v1.EntityResult,
-            com.google.datastore.v1.EntityResult.Builder,
-            com.google.datastore.v1.EntityResultOrBuilder>
+        com.google.datastore.v1.EntityResult, com.google.datastore.v1.EntityResult.Builder, com.google.datastore.v1.EntityResultOrBuilder> 
         getMissingFieldBuilder() {
       if (missingBuilder_ == null) {
-        missingBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.datastore.v1.EntityResult,
-                com.google.datastore.v1.EntityResult.Builder,
-                com.google.datastore.v1.EntityResultOrBuilder>(
-                missing_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        missingBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.datastore.v1.EntityResult, com.google.datastore.v1.EntityResult.Builder, com.google.datastore.v1.EntityResultOrBuilder>(
+                missing_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         missing_ = null;
       }
       return missingBuilder_;
     }
 
     private java.util.List deferred_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureDeferredIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
         deferred_ = new java.util.ArrayList(deferred_);
         bitField0_ |= 0x00000004;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.datastore.v1.Key,
-            com.google.datastore.v1.Key.Builder,
-            com.google.datastore.v1.KeyOrBuilder>
-        deferredBuilder_;
+        com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> deferredBuilder_;
 
     /**
-     *
-     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -1770,8 +1630,6 @@ public java.util.List getDeferredList() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -1788,8 +1646,6 @@ public int getDeferredCount() {
       }
     }
     /**
-     *
-     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -1806,8 +1662,6 @@ public com.google.datastore.v1.Key getDeferred(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -1816,7 +1670,8 @@ public com.google.datastore.v1.Key getDeferred(int index) {
      *
      * repeated .google.datastore.v1.Key deferred = 3;
      */
-    public Builder setDeferred(int index, com.google.datastore.v1.Key value) {
+    public Builder setDeferred(
+        int index, com.google.datastore.v1.Key value) {
       if (deferredBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1830,8 +1685,6 @@ public Builder setDeferred(int index, com.google.datastore.v1.Key value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -1840,7 +1693,8 @@ public Builder setDeferred(int index, com.google.datastore.v1.Key value) {
      *
      * repeated .google.datastore.v1.Key deferred = 3;
      */
-    public Builder setDeferred(int index, com.google.datastore.v1.Key.Builder builderForValue) {
+    public Builder setDeferred(
+        int index, com.google.datastore.v1.Key.Builder builderForValue) {
       if (deferredBuilder_ == null) {
         ensureDeferredIsMutable();
         deferred_.set(index, builderForValue.build());
@@ -1851,8 +1705,6 @@ public Builder setDeferred(int index, com.google.datastore.v1.Key.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -1875,8 +1727,6 @@ public Builder addDeferred(com.google.datastore.v1.Key value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -1885,7 +1735,8 @@ public Builder addDeferred(com.google.datastore.v1.Key value) {
      *
      * repeated .google.datastore.v1.Key deferred = 3;
      */
-    public Builder addDeferred(int index, com.google.datastore.v1.Key value) {
+    public Builder addDeferred(
+        int index, com.google.datastore.v1.Key value) {
       if (deferredBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1899,8 +1750,6 @@ public Builder addDeferred(int index, com.google.datastore.v1.Key value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -1909,7 +1758,8 @@ public Builder addDeferred(int index, com.google.datastore.v1.Key value) {
      *
      * repeated .google.datastore.v1.Key deferred = 3;
      */
-    public Builder addDeferred(com.google.datastore.v1.Key.Builder builderForValue) {
+    public Builder addDeferred(
+        com.google.datastore.v1.Key.Builder builderForValue) {
       if (deferredBuilder_ == null) {
         ensureDeferredIsMutable();
         deferred_.add(builderForValue.build());
@@ -1920,8 +1770,6 @@ public Builder addDeferred(com.google.datastore.v1.Key.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -1930,7 +1778,8 @@ public Builder addDeferred(com.google.datastore.v1.Key.Builder builderForValue)
      *
      * repeated .google.datastore.v1.Key deferred = 3;
      */
-    public Builder addDeferred(int index, com.google.datastore.v1.Key.Builder builderForValue) {
+    public Builder addDeferred(
+        int index, com.google.datastore.v1.Key.Builder builderForValue) {
       if (deferredBuilder_ == null) {
         ensureDeferredIsMutable();
         deferred_.add(index, builderForValue.build());
@@ -1941,8 +1790,6 @@ public Builder addDeferred(int index, com.google.datastore.v1.Key.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -1955,7 +1802,8 @@ public Builder addAllDeferred(
         java.lang.Iterable values) {
       if (deferredBuilder_ == null) {
         ensureDeferredIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deferred_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, deferred_);
         onChanged();
       } else {
         deferredBuilder_.addAllMessages(values);
@@ -1963,8 +1811,6 @@ public Builder addAllDeferred(
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -1984,8 +1830,6 @@ public Builder clearDeferred() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -2005,8 +1849,6 @@ public Builder removeDeferred(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -2015,12 +1857,11 @@ public Builder removeDeferred(int index) {
      *
      * repeated .google.datastore.v1.Key deferred = 3;
      */
-    public com.google.datastore.v1.Key.Builder getDeferredBuilder(int index) {
+    public com.google.datastore.v1.Key.Builder getDeferredBuilder(
+        int index) {
       return getDeferredFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -2029,16 +1870,14 @@ public com.google.datastore.v1.Key.Builder getDeferredBuilder(int index) {
      *
      * repeated .google.datastore.v1.Key deferred = 3;
      */
-    public com.google.datastore.v1.KeyOrBuilder getDeferredOrBuilder(int index) {
+    public com.google.datastore.v1.KeyOrBuilder getDeferredOrBuilder(
+        int index) {
       if (deferredBuilder_ == null) {
-        return deferred_.get(index);
-      } else {
+        return deferred_.get(index);  } else {
         return deferredBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -2047,8 +1886,8 @@ public com.google.datastore.v1.KeyOrBuilder getDeferredOrBuilder(int index) {
      *
      * repeated .google.datastore.v1.Key deferred = 3;
      */
-    public java.util.List
-        getDeferredOrBuilderList() {
+    public java.util.List 
+         getDeferredOrBuilderList() {
       if (deferredBuilder_ != null) {
         return deferredBuilder_.getMessageOrBuilderList();
       } else {
@@ -2056,8 +1895,6 @@ public com.google.datastore.v1.KeyOrBuilder getDeferredOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -2067,11 +1904,10 @@ public com.google.datastore.v1.KeyOrBuilder getDeferredOrBuilder(int index) {
      * repeated .google.datastore.v1.Key deferred = 3;
      */
     public com.google.datastore.v1.Key.Builder addDeferredBuilder() {
-      return getDeferredFieldBuilder().addBuilder(com.google.datastore.v1.Key.getDefaultInstance());
+      return getDeferredFieldBuilder().addBuilder(
+          com.google.datastore.v1.Key.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -2080,13 +1916,12 @@ public com.google.datastore.v1.Key.Builder addDeferredBuilder() {
      *
      * repeated .google.datastore.v1.Key deferred = 3;
      */
-    public com.google.datastore.v1.Key.Builder addDeferredBuilder(int index) {
-      return getDeferredFieldBuilder()
-          .addBuilder(index, com.google.datastore.v1.Key.getDefaultInstance());
+    public com.google.datastore.v1.Key.Builder addDeferredBuilder(
+        int index) {
+      return getDeferredFieldBuilder().addBuilder(
+          index, com.google.datastore.v1.Key.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -2095,22 +1930,20 @@ public com.google.datastore.v1.Key.Builder addDeferredBuilder(int index) {
      *
      * repeated .google.datastore.v1.Key deferred = 3;
      */
-    public java.util.List getDeferredBuilderList() {
+    public java.util.List 
+         getDeferredBuilderList() {
       return getDeferredFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.datastore.v1.Key,
-            com.google.datastore.v1.Key.Builder,
-            com.google.datastore.v1.KeyOrBuilder>
+        com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> 
         getDeferredFieldBuilder() {
       if (deferredBuilder_ == null) {
-        deferredBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.datastore.v1.Key,
-                com.google.datastore.v1.Key.Builder,
-                com.google.datastore.v1.KeyOrBuilder>(
-                deferred_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
+        deferredBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder>(
+                deferred_,
+                ((bitField0_ & 0x00000004) != 0),
+                getParentForChildren(),
+                isClean());
         deferred_ = null;
       }
       return deferredBuilder_;
@@ -2118,8 +1951,6 @@ public java.util.List getDeferredBuilderLis
 
     private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * The identifier of the transaction that was started as part of this Lookup
      * request.
@@ -2131,7 +1962,6 @@ public java.util.List getDeferredBuilderLis
      * 
* * bytes transaction = 5; - * * @return The transaction. */ @java.lang.Override @@ -2139,8 +1969,6 @@ public com.google.protobuf.ByteString getTransaction() { return transaction_; } /** - * - * *
      * The identifier of the transaction that was started as part of this Lookup
      * request.
@@ -2152,22 +1980,17 @@ public com.google.protobuf.ByteString getTransaction() {
      * 
* * bytes transaction = 5; - * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } transaction_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** - * - * *
      * The identifier of the transaction that was started as part of this Lookup
      * request.
@@ -2179,7 +2002,6 @@ public Builder setTransaction(com.google.protobuf.ByteString value) {
      * 
* * bytes transaction = 5; - * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -2191,33 +2013,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 these entities were read or found missing.
      * 
* * .google.protobuf.Timestamp read_time = 7; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return ((bitField0_ & 0x00000010) != 0); } /** - * - * *
      * The time at which these entities were read or found missing.
      * 
* * .google.protobuf.Timestamp read_time = 7; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -2228,8 +2041,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * The time at which these entities were read or found missing.
      * 
@@ -2250,15 +2061,14 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which these entities were read or found missing.
      * 
* * .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) { readTime_ = builderForValue.build(); } else { @@ -2269,8 +2079,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue return this; } /** - * - * *
      * The time at which these entities were read or found missing.
      * 
@@ -2279,9 +2087,9 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue */ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { if (readTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) - && readTime_ != null - && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) && + readTime_ != null && + readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getReadTimeBuilder().mergeFrom(value); } else { readTime_ = value; @@ -2296,8 +2104,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The time at which these entities were read or found missing.
      * 
@@ -2315,8 +2121,6 @@ public Builder clearReadTime() { return this; } /** - * - * *
      * The time at which these entities were read or found missing.
      * 
@@ -2329,8 +2133,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { return getReadTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The time at which these entities were read or found missing.
      * 
@@ -2341,12 +2143,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 these entities were read or found missing.
      * 
@@ -2354,24 +2155,21 @@ 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) { - 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); } @@ -2381,12 +2179,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.v1.LookupResponse) } // @@protoc_insertion_point(class_scope:google.datastore.v1.LookupResponse) private static final com.google.datastore.v1.LookupResponse DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.v1.LookupResponse(); } @@ -2395,27 +2193,27 @@ public static com.google.datastore.v1.LookupResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LookupResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LookupResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2430,4 +2228,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.LookupResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupResponseOrBuilder.java similarity index 83% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupResponseOrBuilder.java index 2935a1b62..d63f8b611 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupResponseOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface LookupResponseOrBuilder - extends +public interface LookupResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.LookupResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Entities found as `ResultType.FULL` entities. The order of results in this
    * field is undefined and has no relation to the order of the keys in the
@@ -35,10 +17,9 @@ public interface LookupResponseOrBuilder
    *
    * repeated .google.datastore.v1.EntityResult found = 1;
    */
-  java.util.List getFoundList();
+  java.util.List 
+      getFoundList();
   /**
-   *
-   *
    * 
    * Entities found as `ResultType.FULL` entities. The order of results in this
    * field is undefined and has no relation to the order of the keys in the
@@ -49,8 +30,6 @@ public interface LookupResponseOrBuilder
    */
   com.google.datastore.v1.EntityResult getFound(int index);
   /**
-   *
-   *
    * 
    * Entities found as `ResultType.FULL` entities. The order of results in this
    * field is undefined and has no relation to the order of the keys in the
@@ -61,8 +40,6 @@ public interface LookupResponseOrBuilder
    */
   int getFoundCount();
   /**
-   *
-   *
    * 
    * Entities found as `ResultType.FULL` entities. The order of results in this
    * field is undefined and has no relation to the order of the keys in the
@@ -71,10 +48,9 @@ public interface LookupResponseOrBuilder
    *
    * repeated .google.datastore.v1.EntityResult found = 1;
    */
-  java.util.List getFoundOrBuilderList();
+  java.util.List 
+      getFoundOrBuilderList();
   /**
-   *
-   *
    * 
    * Entities found as `ResultType.FULL` entities. The order of results in this
    * field is undefined and has no relation to the order of the keys in the
@@ -83,11 +59,10 @@ public interface LookupResponseOrBuilder
    *
    * repeated .google.datastore.v1.EntityResult found = 1;
    */
-  com.google.datastore.v1.EntityResultOrBuilder getFoundOrBuilder(int index);
+  com.google.datastore.v1.EntityResultOrBuilder getFoundOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
    * in this field is undefined and has no relation to the order of the keys
@@ -96,10 +71,9 @@ public interface LookupResponseOrBuilder
    *
    * repeated .google.datastore.v1.EntityResult missing = 2;
    */
-  java.util.List getMissingList();
+  java.util.List 
+      getMissingList();
   /**
-   *
-   *
    * 
    * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
    * in this field is undefined and has no relation to the order of the keys
@@ -110,8 +84,6 @@ public interface LookupResponseOrBuilder
    */
   com.google.datastore.v1.EntityResult getMissing(int index);
   /**
-   *
-   *
    * 
    * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
    * in this field is undefined and has no relation to the order of the keys
@@ -122,8 +94,6 @@ public interface LookupResponseOrBuilder
    */
   int getMissingCount();
   /**
-   *
-   *
    * 
    * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
    * in this field is undefined and has no relation to the order of the keys
@@ -132,10 +102,9 @@ public interface LookupResponseOrBuilder
    *
    * repeated .google.datastore.v1.EntityResult missing = 2;
    */
-  java.util.List getMissingOrBuilderList();
+  java.util.List 
+      getMissingOrBuilderList();
   /**
-   *
-   *
    * 
    * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
    * in this field is undefined and has no relation to the order of the keys
@@ -144,11 +113,10 @@ public interface LookupResponseOrBuilder
    *
    * repeated .google.datastore.v1.EntityResult missing = 2;
    */
-  com.google.datastore.v1.EntityResultOrBuilder getMissingOrBuilder(int index);
+  com.google.datastore.v1.EntityResultOrBuilder getMissingOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * A list of keys that were not looked up due to resource constraints. The
    * order of results in this field is undefined and has no relation to the
@@ -157,10 +125,9 @@ public interface LookupResponseOrBuilder
    *
    * repeated .google.datastore.v1.Key deferred = 3;
    */
-  java.util.List getDeferredList();
+  java.util.List 
+      getDeferredList();
   /**
-   *
-   *
    * 
    * A list of keys that were not looked up due to resource constraints. The
    * order of results in this field is undefined and has no relation to the
@@ -171,8 +138,6 @@ public interface LookupResponseOrBuilder
    */
   com.google.datastore.v1.Key getDeferred(int index);
   /**
-   *
-   *
    * 
    * A list of keys that were not looked up due to resource constraints. The
    * order of results in this field is undefined and has no relation to the
@@ -183,8 +148,6 @@ public interface LookupResponseOrBuilder
    */
   int getDeferredCount();
   /**
-   *
-   *
    * 
    * A list of keys that were not looked up due to resource constraints. The
    * order of results in this field is undefined and has no relation to the
@@ -193,10 +156,9 @@ public interface LookupResponseOrBuilder
    *
    * repeated .google.datastore.v1.Key deferred = 3;
    */
-  java.util.List getDeferredOrBuilderList();
+  java.util.List 
+      getDeferredOrBuilderList();
   /**
-   *
-   *
    * 
    * A list of keys that were not looked up due to resource constraints. The
    * order of results in this field is undefined and has no relation to the
@@ -205,11 +167,10 @@ public interface LookupResponseOrBuilder
    *
    * repeated .google.datastore.v1.Key deferred = 3;
    */
-  com.google.datastore.v1.KeyOrBuilder getDeferredOrBuilder(int index);
+  com.google.datastore.v1.KeyOrBuilder getDeferredOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The identifier of the transaction that was started as part of this Lookup
    * request.
@@ -221,38 +182,29 @@ public interface LookupResponseOrBuilder
    * 
* * bytes transaction = 5; - * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** - * - * *
    * The time at which these entities were read or found missing.
    * 
* * .google.protobuf.Timestamp read_time = 7; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * The time at which these entities were read or found missing.
    * 
* * .google.protobuf.Timestamp read_time = 7; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * The time at which these entities were read or found missing.
    * 
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Mutation.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Mutation.java similarity index 74% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Mutation.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Mutation.java index 91895d180..dc133d028 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Mutation.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Mutation.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto @@ -20,54 +5,49 @@ package com.google.datastore.v1; /** - * - * *
  * A mutation to apply to an entity.
  * 
* * Protobuf type {@code google.datastore.v1.Mutation} */ -public final class Mutation extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Mutation extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.datastore.v1.Mutation) MutationOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Mutation.newBuilder() to construct. private Mutation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private Mutation() {} + private Mutation() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Mutation(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_Mutation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_Mutation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_Mutation_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_Mutation_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.datastore.v1.Mutation.class, com.google.datastore.v1.Mutation.Builder.class); } private int operationCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object operation_; - public enum OperationCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INSERT(4), UPDATE(5), @@ -75,7 +55,6 @@ public enum OperationCase DELETE(7), OPERATION_NOT_SET(0); private final int value; - private OperationCase(int value) { this.value = value; } @@ -91,44 +70,35 @@ public static OperationCase valueOf(int value) { public static OperationCase forNumber(int value) { switch (value) { - case 4: - return INSERT; - case 5: - return UPDATE; - case 6: - return UPSERT; - case 7: - return DELETE; - case 0: - return OPERATION_NOT_SET; - default: - return null; + case 4: return INSERT; + case 5: return UPDATE; + case 6: return UPSERT; + case 7: return DELETE; + 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_); } private int conflictDetectionStrategyCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object conflictDetectionStrategy_; - public enum ConflictDetectionStrategyCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BASE_VERSION(8), UPDATE_TIME(11), CONFLICTDETECTIONSTRATEGY_NOT_SET(0); private final int value; - private ConflictDetectionStrategyCase(int value) { this.value = value; } @@ -144,37 +114,31 @@ public static ConflictDetectionStrategyCase valueOf(int value) { public static ConflictDetectionStrategyCase forNumber(int value) { switch (value) { - case 8: - return BASE_VERSION; - case 11: - return UPDATE_TIME; - case 0: - return CONFLICTDETECTIONSTRATEGY_NOT_SET; - default: - return null; + case 8: return BASE_VERSION; + case 11: return UPDATE_TIME; + case 0: return CONFLICTDETECTIONSTRATEGY_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ConflictDetectionStrategyCase getConflictDetectionStrategyCase() { - return ConflictDetectionStrategyCase.forNumber(conflictDetectionStrategyCase_); + public ConflictDetectionStrategyCase + getConflictDetectionStrategyCase() { + return ConflictDetectionStrategyCase.forNumber( + conflictDetectionStrategyCase_); } public static final int INSERT_FIELD_NUMBER = 4; /** - * - * *
    * The entity to insert. The entity must not already exist.
    * The entity key's final path element may be incomplete.
    * 
* * .google.datastore.v1.Entity insert = 4; - * * @return Whether the insert field is set. */ @java.lang.Override @@ -182,27 +146,22 @@ public boolean hasInsert() { return operationCase_ == 4; } /** - * - * *
    * The entity to insert. The entity must not already exist.
    * The entity key's final path element may be incomplete.
    * 
* * .google.datastore.v1.Entity insert = 4; - * * @return The insert. */ @java.lang.Override public com.google.datastore.v1.Entity getInsert() { if (operationCase_ == 4) { - return (com.google.datastore.v1.Entity) operation_; + return (com.google.datastore.v1.Entity) operation_; } return com.google.datastore.v1.Entity.getDefaultInstance(); } /** - * - * *
    * The entity to insert. The entity must not already exist.
    * The entity key's final path element may be incomplete.
@@ -213,22 +172,19 @@ public com.google.datastore.v1.Entity getInsert() {
   @java.lang.Override
   public com.google.datastore.v1.EntityOrBuilder getInsertOrBuilder() {
     if (operationCase_ == 4) {
-      return (com.google.datastore.v1.Entity) operation_;
+       return (com.google.datastore.v1.Entity) operation_;
     }
     return com.google.datastore.v1.Entity.getDefaultInstance();
   }
 
   public static final int UPDATE_FIELD_NUMBER = 5;
   /**
-   *
-   *
    * 
    * The entity to update. The entity must already exist.
    * Must have a complete key path.
    * 
* * .google.datastore.v1.Entity update = 5; - * * @return Whether the update field is set. */ @java.lang.Override @@ -236,27 +192,22 @@ public boolean hasUpdate() { return operationCase_ == 5; } /** - * - * *
    * The entity to update. The entity must already exist.
    * Must have a complete key path.
    * 
* * .google.datastore.v1.Entity update = 5; - * * @return The update. */ @java.lang.Override public com.google.datastore.v1.Entity getUpdate() { if (operationCase_ == 5) { - return (com.google.datastore.v1.Entity) operation_; + return (com.google.datastore.v1.Entity) operation_; } return com.google.datastore.v1.Entity.getDefaultInstance(); } /** - * - * *
    * The entity to update. The entity must already exist.
    * Must have a complete key path.
@@ -267,22 +218,19 @@ public com.google.datastore.v1.Entity getUpdate() {
   @java.lang.Override
   public com.google.datastore.v1.EntityOrBuilder getUpdateOrBuilder() {
     if (operationCase_ == 5) {
-      return (com.google.datastore.v1.Entity) operation_;
+       return (com.google.datastore.v1.Entity) operation_;
     }
     return com.google.datastore.v1.Entity.getDefaultInstance();
   }
 
   public static final int UPSERT_FIELD_NUMBER = 6;
   /**
-   *
-   *
    * 
    * The entity to upsert. The entity may or may not already exist.
    * The entity key's final path element may be incomplete.
    * 
* * .google.datastore.v1.Entity upsert = 6; - * * @return Whether the upsert field is set. */ @java.lang.Override @@ -290,27 +238,22 @@ public boolean hasUpsert() { return operationCase_ == 6; } /** - * - * *
    * The entity to upsert. The entity may or may not already exist.
    * The entity key's final path element may be incomplete.
    * 
* * .google.datastore.v1.Entity upsert = 6; - * * @return The upsert. */ @java.lang.Override public com.google.datastore.v1.Entity getUpsert() { if (operationCase_ == 6) { - return (com.google.datastore.v1.Entity) operation_; + return (com.google.datastore.v1.Entity) operation_; } return com.google.datastore.v1.Entity.getDefaultInstance(); } /** - * - * *
    * The entity to upsert. The entity may or may not already exist.
    * The entity key's final path element may be incomplete.
@@ -321,22 +264,19 @@ public com.google.datastore.v1.Entity getUpsert() {
   @java.lang.Override
   public com.google.datastore.v1.EntityOrBuilder getUpsertOrBuilder() {
     if (operationCase_ == 6) {
-      return (com.google.datastore.v1.Entity) operation_;
+       return (com.google.datastore.v1.Entity) operation_;
     }
     return com.google.datastore.v1.Entity.getDefaultInstance();
   }
 
   public static final int DELETE_FIELD_NUMBER = 7;
   /**
-   *
-   *
    * 
    * The key of the entity to delete. The entity may or may not already exist.
    * Must have a complete key path and must not be reserved/read-only.
    * 
* * .google.datastore.v1.Key delete = 7; - * * @return Whether the delete field is set. */ @java.lang.Override @@ -344,27 +284,22 @@ public boolean hasDelete() { return operationCase_ == 7; } /** - * - * *
    * The key of the entity to delete. The entity may or may not already exist.
    * Must have a complete key path and must not be reserved/read-only.
    * 
* * .google.datastore.v1.Key delete = 7; - * * @return The delete. */ @java.lang.Override public com.google.datastore.v1.Key getDelete() { if (operationCase_ == 7) { - return (com.google.datastore.v1.Key) operation_; + return (com.google.datastore.v1.Key) operation_; } return com.google.datastore.v1.Key.getDefaultInstance(); } /** - * - * *
    * The key of the entity to delete. The entity may or may not already exist.
    * Must have a complete key path and must not be reserved/read-only.
@@ -375,15 +310,13 @@ public com.google.datastore.v1.Key getDelete() {
   @java.lang.Override
   public com.google.datastore.v1.KeyOrBuilder getDeleteOrBuilder() {
     if (operationCase_ == 7) {
-      return (com.google.datastore.v1.Key) operation_;
+       return (com.google.datastore.v1.Key) operation_;
     }
     return com.google.datastore.v1.Key.getDefaultInstance();
   }
 
   public static final int BASE_VERSION_FIELD_NUMBER = 8;
   /**
-   *
-   *
    * 
    * The version of the entity that this mutation is being applied
    * to. If this does not match the current version on the server, the
@@ -391,7 +324,6 @@ public com.google.datastore.v1.KeyOrBuilder getDeleteOrBuilder() {
    * 
* * int64 base_version = 8; - * * @return Whether the baseVersion field is set. */ @java.lang.Override @@ -399,8 +331,6 @@ public boolean hasBaseVersion() { return conflictDetectionStrategyCase_ == 8; } /** - * - * *
    * The version of the entity that this mutation is being applied
    * to. If this does not match the current version on the server, the
@@ -408,7 +338,6 @@ public boolean hasBaseVersion() {
    * 
* * int64 base_version = 8; - * * @return The baseVersion. */ @java.lang.Override @@ -421,8 +350,6 @@ public long getBaseVersion() { public static final int UPDATE_TIME_FIELD_NUMBER = 11; /** - * - * *
    * The update time of the entity that this mutation is being applied
    * to. If this does not match the current update time on the server, the
@@ -430,7 +357,6 @@ public long getBaseVersion() {
    * 
* * .google.protobuf.Timestamp update_time = 11; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -438,8 +364,6 @@ public boolean hasUpdateTime() { return conflictDetectionStrategyCase_ == 11; } /** - * - * *
    * The update time of the entity that this mutation is being applied
    * to. If this does not match the current update time on the server, the
@@ -447,19 +371,16 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 11; - * * @return The updateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getUpdateTime() { if (conflictDetectionStrategyCase_ == 11) { - return (com.google.protobuf.Timestamp) conflictDetectionStrategy_; + return (com.google.protobuf.Timestamp) conflictDetectionStrategy_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * The update time of the entity that this mutation is being applied
    * to. If this does not match the current update time on the server, the
@@ -471,13 +392,12 @@ public com.google.protobuf.Timestamp getUpdateTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
     if (conflictDetectionStrategyCase_ == 11) {
-      return (com.google.protobuf.Timestamp) conflictDetectionStrategy_;
+       return (com.google.protobuf.Timestamp) conflictDetectionStrategy_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -489,7 +409,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_ == 4) {
       output.writeMessage(4, (com.google.datastore.v1.Entity) operation_);
     }
@@ -503,7 +424,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
       output.writeMessage(7, (com.google.datastore.v1.Key) operation_);
     }
     if (conflictDetectionStrategyCase_ == 8) {
-      output.writeInt64(8, (long) ((java.lang.Long) conflictDetectionStrategy_));
+      output.writeInt64(
+          8, (long)((java.lang.Long) conflictDetectionStrategy_));
     }
     if (conflictDetectionStrategyCase_ == 11) {
       output.writeMessage(11, (com.google.protobuf.Timestamp) conflictDetectionStrategy_);
@@ -518,34 +440,29 @@ public int getSerializedSize() {
 
     size = 0;
     if (operationCase_ == 4) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              4, (com.google.datastore.v1.Entity) operation_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, (com.google.datastore.v1.Entity) operation_);
     }
     if (operationCase_ == 5) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              5, (com.google.datastore.v1.Entity) operation_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, (com.google.datastore.v1.Entity) operation_);
     }
     if (operationCase_ == 6) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              6, (com.google.datastore.v1.Entity) operation_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, (com.google.datastore.v1.Entity) operation_);
     }
     if (operationCase_ == 7) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              7, (com.google.datastore.v1.Key) operation_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(7, (com.google.datastore.v1.Key) operation_);
     }
     if (conflictDetectionStrategyCase_ == 8) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeInt64Size(
-              8, (long) ((java.lang.Long) conflictDetectionStrategy_));
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt64Size(
+            8, (long)((java.lang.Long) conflictDetectionStrategy_));
     }
     if (conflictDetectionStrategyCase_ == 11) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              11, (com.google.protobuf.Timestamp) conflictDetectionStrategy_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(11, (com.google.protobuf.Timestamp) conflictDetectionStrategy_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -555,7 +472,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.datastore.v1.Mutation)) {
       return super.equals(obj);
@@ -565,28 +482,33 @@ public boolean equals(final java.lang.Object obj) {
     if (!getOperationCase().equals(other.getOperationCase())) return false;
     switch (operationCase_) {
       case 4:
-        if (!getInsert().equals(other.getInsert())) return false;
+        if (!getInsert()
+            .equals(other.getInsert())) return false;
         break;
       case 5:
-        if (!getUpdate().equals(other.getUpdate())) return false;
+        if (!getUpdate()
+            .equals(other.getUpdate())) return false;
         break;
       case 6:
-        if (!getUpsert().equals(other.getUpsert())) return false;
+        if (!getUpsert()
+            .equals(other.getUpsert())) return false;
         break;
       case 7:
-        if (!getDelete().equals(other.getDelete())) return false;
+        if (!getDelete()
+            .equals(other.getDelete())) return false;
         break;
       case 0:
       default:
     }
-    if (!getConflictDetectionStrategyCase().equals(other.getConflictDetectionStrategyCase()))
-      return false;
+    if (!getConflictDetectionStrategyCase().equals(other.getConflictDetectionStrategyCase())) return false;
     switch (conflictDetectionStrategyCase_) {
       case 8:
-        if (getBaseVersion() != other.getBaseVersion()) return false;
+        if (getBaseVersion()
+            != other.getBaseVersion()) return false;
         break;
       case 11:
-        if (!getUpdateTime().equals(other.getUpdateTime())) return false;
+        if (!getUpdateTime()
+            .equals(other.getUpdateTime())) return false;
         break;
       case 0:
       default:
@@ -625,7 +547,8 @@ public int hashCode() {
     switch (conflictDetectionStrategyCase_) {
       case 8:
         hash = (37 * hash) + BASE_VERSION_FIELD_NUMBER;
-        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBaseVersion());
+        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+            getBaseVersion());
         break;
       case 11:
         hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER;
@@ -639,135 +562,132 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.Mutation parseFrom(java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.Mutation parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.Mutation parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.datastore.v1.Mutation parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.datastore.v1.Mutation parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.Mutation parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.Mutation parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.Mutation parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.Mutation parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.datastore.v1.Mutation parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   public static com.google.datastore.v1.Mutation 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.datastore.v1.Mutation parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.datastore.v1.Mutation parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.datastore.v1.Mutation parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.datastore.v1.Mutation prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 mutation to apply to an entity.
    * 
* * Protobuf type {@code google.datastore.v1.Mutation} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.Mutation) com.google.datastore.v1.MutationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_Mutation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_Mutation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_Mutation_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_Mutation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.Mutation.class, - com.google.datastore.v1.Mutation.Builder.class); + com.google.datastore.v1.Mutation.class, com.google.datastore.v1.Mutation.Builder.class); } // Construct using com.google.datastore.v1.Mutation.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -795,9 +715,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_Mutation_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_Mutation_descriptor; } @java.lang.Override @@ -817,9 +737,7 @@ public com.google.datastore.v1.Mutation build() { @java.lang.Override public com.google.datastore.v1.Mutation buildPartial() { com.google.datastore.v1.Mutation result = new com.google.datastore.v1.Mutation(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -832,21 +750,26 @@ private void buildPartial0(com.google.datastore.v1.Mutation result) { private void buildPartialOneofs(com.google.datastore.v1.Mutation result) { result.operationCase_ = operationCase_; result.operation_ = this.operation_; - if (operationCase_ == 4 && insertBuilder_ != null) { + if (operationCase_ == 4 && + insertBuilder_ != null) { result.operation_ = insertBuilder_.build(); } - if (operationCase_ == 5 && updateBuilder_ != null) { + if (operationCase_ == 5 && + updateBuilder_ != null) { result.operation_ = updateBuilder_.build(); } - if (operationCase_ == 6 && upsertBuilder_ != null) { + if (operationCase_ == 6 && + upsertBuilder_ != null) { result.operation_ = upsertBuilder_.build(); } - if (operationCase_ == 7 && deleteBuilder_ != null) { + if (operationCase_ == 7 && + deleteBuilder_ != null) { result.operation_ = deleteBuilder_.build(); } result.conflictDetectionStrategyCase_ = conflictDetectionStrategyCase_; result.conflictDetectionStrategy_ = this.conflictDetectionStrategy_; - if (conflictDetectionStrategyCase_ == 11 && updateTimeBuilder_ != null) { + if (conflictDetectionStrategyCase_ == 11 && + updateTimeBuilder_ != null) { result.conflictDetectionStrategy_ = updateTimeBuilder_.build(); } } @@ -855,39 +778,38 @@ private void buildPartialOneofs(com.google.datastore.v1.Mutation result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.Mutation) { - return mergeFrom((com.google.datastore.v1.Mutation) other); + return mergeFrom((com.google.datastore.v1.Mutation)other); } else { super.mergeFrom(other); return this; @@ -897,46 +819,38 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.datastore.v1.Mutation other) { if (other == com.google.datastore.v1.Mutation.getDefaultInstance()) return this; switch (other.getOperationCase()) { - case INSERT: - { - mergeInsert(other.getInsert()); - break; - } - case UPDATE: - { - mergeUpdate(other.getUpdate()); - break; - } - case UPSERT: - { - mergeUpsert(other.getUpsert()); - break; - } - case DELETE: - { - mergeDelete(other.getDelete()); - break; - } - case OPERATION_NOT_SET: - { - break; - } + case INSERT: { + mergeInsert(other.getInsert()); + break; + } + case UPDATE: { + mergeUpdate(other.getUpdate()); + break; + } + case UPSERT: { + mergeUpsert(other.getUpsert()); + break; + } + case DELETE: { + mergeDelete(other.getDelete()); + break; + } + case OPERATION_NOT_SET: { + break; + } } switch (other.getConflictDetectionStrategyCase()) { - case BASE_VERSION: - { - setBaseVersion(other.getBaseVersion()); - break; - } - case UPDATE_TIME: - { - mergeUpdateTime(other.getUpdateTime()); - break; - } - case CONFLICTDETECTIONSTRATEGY_NOT_SET: - { - break; - } + case BASE_VERSION: { + setBaseVersion(other.getBaseVersion()); + break; + } + case UPDATE_TIME: { + mergeUpdateTime(other.getUpdateTime()); + break; + } + case CONFLICTDETECTIONSTRATEGY_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -964,49 +878,52 @@ public Builder mergeFrom( case 0: done = true; break; - case 34: - { - input.readMessage(getInsertFieldBuilder().getBuilder(), extensionRegistry); - operationCase_ = 4; - break; - } // case 34 - case 42: - { - input.readMessage(getUpdateFieldBuilder().getBuilder(), extensionRegistry); - operationCase_ = 5; - break; - } // case 42 - case 50: - { - input.readMessage(getUpsertFieldBuilder().getBuilder(), extensionRegistry); - operationCase_ = 6; - break; - } // case 50 - case 58: - { - input.readMessage(getDeleteFieldBuilder().getBuilder(), extensionRegistry); - operationCase_ = 7; - break; - } // case 58 - case 64: - { - conflictDetectionStrategy_ = input.readInt64(); - conflictDetectionStrategyCase_ = 8; - break; - } // case 64 - case 90: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - conflictDetectionStrategyCase_ = 11; - break; - } // case 90 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 34: { + input.readMessage( + getInsertFieldBuilder().getBuilder(), + extensionRegistry); + operationCase_ = 4; + break; + } // case 34 + case 42: { + input.readMessage( + getUpdateFieldBuilder().getBuilder(), + extensionRegistry); + operationCase_ = 5; + break; + } // case 42 + case 50: { + input.readMessage( + getUpsertFieldBuilder().getBuilder(), + extensionRegistry); + operationCase_ = 6; + break; + } // case 50 + case 58: { + input.readMessage( + getDeleteFieldBuilder().getBuilder(), + extensionRegistry); + operationCase_ = 7; + break; + } // case 58 + case 64: { + conflictDetectionStrategy_ = input.readInt64(); + conflictDetectionStrategyCase_ = 8; + break; + } // case 64 + case 90: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + conflictDetectionStrategyCase_ = 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) { @@ -1016,12 +933,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() { @@ -1033,9 +950,10 @@ public Builder clearOperation() { private int conflictDetectionStrategyCase_ = 0; private java.lang.Object conflictDetectionStrategy_; - - public ConflictDetectionStrategyCase getConflictDetectionStrategyCase() { - return ConflictDetectionStrategyCase.forNumber(conflictDetectionStrategyCase_); + public ConflictDetectionStrategyCase + getConflictDetectionStrategyCase() { + return ConflictDetectionStrategyCase.forNumber( + conflictDetectionStrategyCase_); } public Builder clearConflictDetectionStrategy() { @@ -1048,20 +966,14 @@ public Builder clearConflictDetectionStrategy() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Entity, - com.google.datastore.v1.Entity.Builder, - com.google.datastore.v1.EntityOrBuilder> - insertBuilder_; + com.google.datastore.v1.Entity, com.google.datastore.v1.Entity.Builder, com.google.datastore.v1.EntityOrBuilder> insertBuilder_; /** - * - * *
      * The entity to insert. The entity must not already exist.
      * The entity key's final path element may be incomplete.
      * 
* * .google.datastore.v1.Entity insert = 4; - * * @return Whether the insert field is set. */ @java.lang.Override @@ -1069,15 +981,12 @@ public boolean hasInsert() { return operationCase_ == 4; } /** - * - * *
      * The entity to insert. The entity must not already exist.
      * The entity key's final path element may be incomplete.
      * 
* * .google.datastore.v1.Entity insert = 4; - * * @return The insert. */ @java.lang.Override @@ -1095,8 +1004,6 @@ public com.google.datastore.v1.Entity getInsert() { } } /** - * - * *
      * The entity to insert. The entity must not already exist.
      * The entity key's final path element may be incomplete.
@@ -1118,8 +1025,6 @@ public Builder setInsert(com.google.datastore.v1.Entity value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity to insert. The entity must not already exist.
      * The entity key's final path element may be incomplete.
@@ -1127,7 +1032,8 @@ public Builder setInsert(com.google.datastore.v1.Entity value) {
      *
      * .google.datastore.v1.Entity insert = 4;
      */
-    public Builder setInsert(com.google.datastore.v1.Entity.Builder builderForValue) {
+    public Builder setInsert(
+        com.google.datastore.v1.Entity.Builder builderForValue) {
       if (insertBuilder_ == null) {
         operation_ = builderForValue.build();
         onChanged();
@@ -1138,8 +1044,6 @@ public Builder setInsert(com.google.datastore.v1.Entity.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity to insert. The entity must not already exist.
      * The entity key's final path element may be incomplete.
@@ -1149,12 +1053,10 @@ public Builder setInsert(com.google.datastore.v1.Entity.Builder builderForValue)
      */
     public Builder mergeInsert(com.google.datastore.v1.Entity value) {
       if (insertBuilder_ == null) {
-        if (operationCase_ == 4
-            && operation_ != com.google.datastore.v1.Entity.getDefaultInstance()) {
-          operation_ =
-              com.google.datastore.v1.Entity.newBuilder((com.google.datastore.v1.Entity) operation_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (operationCase_ == 4 &&
+            operation_ != com.google.datastore.v1.Entity.getDefaultInstance()) {
+          operation_ = com.google.datastore.v1.Entity.newBuilder((com.google.datastore.v1.Entity) operation_)
+              .mergeFrom(value).buildPartial();
         } else {
           operation_ = value;
         }
@@ -1170,8 +1072,6 @@ public Builder mergeInsert(com.google.datastore.v1.Entity value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity to insert. The entity must not already exist.
      * The entity key's final path element may be incomplete.
@@ -1196,8 +1096,6 @@ public Builder clearInsert() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity to insert. The entity must not already exist.
      * The entity key's final path element may be incomplete.
@@ -1209,8 +1107,6 @@ public com.google.datastore.v1.Entity.Builder getInsertBuilder() {
       return getInsertFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The entity to insert. The entity must not already exist.
      * The entity key's final path element may be incomplete.
@@ -1230,8 +1126,6 @@ public com.google.datastore.v1.EntityOrBuilder getInsertOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * The entity to insert. The entity must not already exist.
      * The entity key's final path element may be incomplete.
@@ -1240,20 +1134,17 @@ public com.google.datastore.v1.EntityOrBuilder getInsertOrBuilder() {
      * .google.datastore.v1.Entity insert = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.Entity,
-            com.google.datastore.v1.Entity.Builder,
-            com.google.datastore.v1.EntityOrBuilder>
+        com.google.datastore.v1.Entity, com.google.datastore.v1.Entity.Builder, com.google.datastore.v1.EntityOrBuilder> 
         getInsertFieldBuilder() {
       if (insertBuilder_ == null) {
         if (!(operationCase_ == 4)) {
           operation_ = com.google.datastore.v1.Entity.getDefaultInstance();
         }
-        insertBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.datastore.v1.Entity,
-                com.google.datastore.v1.Entity.Builder,
-                com.google.datastore.v1.EntityOrBuilder>(
-                (com.google.datastore.v1.Entity) operation_, getParentForChildren(), isClean());
+        insertBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.datastore.v1.Entity, com.google.datastore.v1.Entity.Builder, com.google.datastore.v1.EntityOrBuilder>(
+                (com.google.datastore.v1.Entity) operation_,
+                getParentForChildren(),
+                isClean());
         operation_ = null;
       }
       operationCase_ = 4;
@@ -1262,20 +1153,14 @@ public com.google.datastore.v1.EntityOrBuilder getInsertOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.Entity,
-            com.google.datastore.v1.Entity.Builder,
-            com.google.datastore.v1.EntityOrBuilder>
-        updateBuilder_;
+        com.google.datastore.v1.Entity, com.google.datastore.v1.Entity.Builder, com.google.datastore.v1.EntityOrBuilder> updateBuilder_;
     /**
-     *
-     *
      * 
      * The entity to update. The entity must already exist.
      * Must have a complete key path.
      * 
* * .google.datastore.v1.Entity update = 5; - * * @return Whether the update field is set. */ @java.lang.Override @@ -1283,15 +1168,12 @@ public boolean hasUpdate() { return operationCase_ == 5; } /** - * - * *
      * The entity to update. The entity must already exist.
      * Must have a complete key path.
      * 
* * .google.datastore.v1.Entity update = 5; - * * @return The update. */ @java.lang.Override @@ -1309,8 +1191,6 @@ public com.google.datastore.v1.Entity getUpdate() { } } /** - * - * *
      * The entity to update. The entity must already exist.
      * Must have a complete key path.
@@ -1332,8 +1212,6 @@ public Builder setUpdate(com.google.datastore.v1.Entity value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity to update. The entity must already exist.
      * Must have a complete key path.
@@ -1341,7 +1219,8 @@ public Builder setUpdate(com.google.datastore.v1.Entity value) {
      *
      * .google.datastore.v1.Entity update = 5;
      */
-    public Builder setUpdate(com.google.datastore.v1.Entity.Builder builderForValue) {
+    public Builder setUpdate(
+        com.google.datastore.v1.Entity.Builder builderForValue) {
       if (updateBuilder_ == null) {
         operation_ = builderForValue.build();
         onChanged();
@@ -1352,8 +1231,6 @@ public Builder setUpdate(com.google.datastore.v1.Entity.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity to update. The entity must already exist.
      * Must have a complete key path.
@@ -1363,12 +1240,10 @@ public Builder setUpdate(com.google.datastore.v1.Entity.Builder builderForValue)
      */
     public Builder mergeUpdate(com.google.datastore.v1.Entity value) {
       if (updateBuilder_ == null) {
-        if (operationCase_ == 5
-            && operation_ != com.google.datastore.v1.Entity.getDefaultInstance()) {
-          operation_ =
-              com.google.datastore.v1.Entity.newBuilder((com.google.datastore.v1.Entity) operation_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (operationCase_ == 5 &&
+            operation_ != com.google.datastore.v1.Entity.getDefaultInstance()) {
+          operation_ = com.google.datastore.v1.Entity.newBuilder((com.google.datastore.v1.Entity) operation_)
+              .mergeFrom(value).buildPartial();
         } else {
           operation_ = value;
         }
@@ -1384,8 +1259,6 @@ public Builder mergeUpdate(com.google.datastore.v1.Entity value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity to update. The entity must already exist.
      * Must have a complete key path.
@@ -1410,8 +1283,6 @@ public Builder clearUpdate() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity to update. The entity must already exist.
      * Must have a complete key path.
@@ -1423,8 +1294,6 @@ public com.google.datastore.v1.Entity.Builder getUpdateBuilder() {
       return getUpdateFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The entity to update. The entity must already exist.
      * Must have a complete key path.
@@ -1444,8 +1313,6 @@ public com.google.datastore.v1.EntityOrBuilder getUpdateOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * The entity to update. The entity must already exist.
      * Must have a complete key path.
@@ -1454,20 +1321,17 @@ public com.google.datastore.v1.EntityOrBuilder getUpdateOrBuilder() {
      * .google.datastore.v1.Entity update = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.Entity,
-            com.google.datastore.v1.Entity.Builder,
-            com.google.datastore.v1.EntityOrBuilder>
+        com.google.datastore.v1.Entity, com.google.datastore.v1.Entity.Builder, com.google.datastore.v1.EntityOrBuilder> 
         getUpdateFieldBuilder() {
       if (updateBuilder_ == null) {
         if (!(operationCase_ == 5)) {
           operation_ = com.google.datastore.v1.Entity.getDefaultInstance();
         }
-        updateBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.datastore.v1.Entity,
-                com.google.datastore.v1.Entity.Builder,
-                com.google.datastore.v1.EntityOrBuilder>(
-                (com.google.datastore.v1.Entity) operation_, getParentForChildren(), isClean());
+        updateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.datastore.v1.Entity, com.google.datastore.v1.Entity.Builder, com.google.datastore.v1.EntityOrBuilder>(
+                (com.google.datastore.v1.Entity) operation_,
+                getParentForChildren(),
+                isClean());
         operation_ = null;
       }
       operationCase_ = 5;
@@ -1476,20 +1340,14 @@ public com.google.datastore.v1.EntityOrBuilder getUpdateOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.Entity,
-            com.google.datastore.v1.Entity.Builder,
-            com.google.datastore.v1.EntityOrBuilder>
-        upsertBuilder_;
+        com.google.datastore.v1.Entity, com.google.datastore.v1.Entity.Builder, com.google.datastore.v1.EntityOrBuilder> upsertBuilder_;
     /**
-     *
-     *
      * 
      * The entity to upsert. The entity may or may not already exist.
      * The entity key's final path element may be incomplete.
      * 
* * .google.datastore.v1.Entity upsert = 6; - * * @return Whether the upsert field is set. */ @java.lang.Override @@ -1497,15 +1355,12 @@ public boolean hasUpsert() { return operationCase_ == 6; } /** - * - * *
      * The entity to upsert. The entity may or may not already exist.
      * The entity key's final path element may be incomplete.
      * 
* * .google.datastore.v1.Entity upsert = 6; - * * @return The upsert. */ @java.lang.Override @@ -1523,8 +1378,6 @@ public com.google.datastore.v1.Entity getUpsert() { } } /** - * - * *
      * The entity to upsert. The entity may or may not already exist.
      * The entity key's final path element may be incomplete.
@@ -1546,8 +1399,6 @@ public Builder setUpsert(com.google.datastore.v1.Entity value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity to upsert. The entity may or may not already exist.
      * The entity key's final path element may be incomplete.
@@ -1555,7 +1406,8 @@ public Builder setUpsert(com.google.datastore.v1.Entity value) {
      *
      * .google.datastore.v1.Entity upsert = 6;
      */
-    public Builder setUpsert(com.google.datastore.v1.Entity.Builder builderForValue) {
+    public Builder setUpsert(
+        com.google.datastore.v1.Entity.Builder builderForValue) {
       if (upsertBuilder_ == null) {
         operation_ = builderForValue.build();
         onChanged();
@@ -1566,8 +1418,6 @@ public Builder setUpsert(com.google.datastore.v1.Entity.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity to upsert. The entity may or may not already exist.
      * The entity key's final path element may be incomplete.
@@ -1577,12 +1427,10 @@ public Builder setUpsert(com.google.datastore.v1.Entity.Builder builderForValue)
      */
     public Builder mergeUpsert(com.google.datastore.v1.Entity value) {
       if (upsertBuilder_ == null) {
-        if (operationCase_ == 6
-            && operation_ != com.google.datastore.v1.Entity.getDefaultInstance()) {
-          operation_ =
-              com.google.datastore.v1.Entity.newBuilder((com.google.datastore.v1.Entity) operation_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (operationCase_ == 6 &&
+            operation_ != com.google.datastore.v1.Entity.getDefaultInstance()) {
+          operation_ = com.google.datastore.v1.Entity.newBuilder((com.google.datastore.v1.Entity) operation_)
+              .mergeFrom(value).buildPartial();
         } else {
           operation_ = value;
         }
@@ -1598,8 +1446,6 @@ public Builder mergeUpsert(com.google.datastore.v1.Entity value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity to upsert. The entity may or may not already exist.
      * The entity key's final path element may be incomplete.
@@ -1624,8 +1470,6 @@ public Builder clearUpsert() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The entity to upsert. The entity may or may not already exist.
      * The entity key's final path element may be incomplete.
@@ -1637,8 +1481,6 @@ public com.google.datastore.v1.Entity.Builder getUpsertBuilder() {
       return getUpsertFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The entity to upsert. The entity may or may not already exist.
      * The entity key's final path element may be incomplete.
@@ -1658,8 +1500,6 @@ public com.google.datastore.v1.EntityOrBuilder getUpsertOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * The entity to upsert. The entity may or may not already exist.
      * The entity key's final path element may be incomplete.
@@ -1668,20 +1508,17 @@ public com.google.datastore.v1.EntityOrBuilder getUpsertOrBuilder() {
      * .google.datastore.v1.Entity upsert = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.Entity,
-            com.google.datastore.v1.Entity.Builder,
-            com.google.datastore.v1.EntityOrBuilder>
+        com.google.datastore.v1.Entity, com.google.datastore.v1.Entity.Builder, com.google.datastore.v1.EntityOrBuilder> 
         getUpsertFieldBuilder() {
       if (upsertBuilder_ == null) {
         if (!(operationCase_ == 6)) {
           operation_ = com.google.datastore.v1.Entity.getDefaultInstance();
         }
-        upsertBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.datastore.v1.Entity,
-                com.google.datastore.v1.Entity.Builder,
-                com.google.datastore.v1.EntityOrBuilder>(
-                (com.google.datastore.v1.Entity) operation_, getParentForChildren(), isClean());
+        upsertBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.datastore.v1.Entity, com.google.datastore.v1.Entity.Builder, com.google.datastore.v1.EntityOrBuilder>(
+                (com.google.datastore.v1.Entity) operation_,
+                getParentForChildren(),
+                isClean());
         operation_ = null;
       }
       operationCase_ = 6;
@@ -1690,20 +1527,14 @@ public com.google.datastore.v1.EntityOrBuilder getUpsertOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.Key,
-            com.google.datastore.v1.Key.Builder,
-            com.google.datastore.v1.KeyOrBuilder>
-        deleteBuilder_;
+        com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> deleteBuilder_;
     /**
-     *
-     *
      * 
      * The key of the entity to delete. The entity may or may not already exist.
      * Must have a complete key path and must not be reserved/read-only.
      * 
* * .google.datastore.v1.Key delete = 7; - * * @return Whether the delete field is set. */ @java.lang.Override @@ -1711,15 +1542,12 @@ public boolean hasDelete() { return operationCase_ == 7; } /** - * - * *
      * The key of the entity to delete. The entity may or may not already exist.
      * Must have a complete key path and must not be reserved/read-only.
      * 
* * .google.datastore.v1.Key delete = 7; - * * @return The delete. */ @java.lang.Override @@ -1737,8 +1565,6 @@ public com.google.datastore.v1.Key getDelete() { } } /** - * - * *
      * The key of the entity to delete. The entity may or may not already exist.
      * Must have a complete key path and must not be reserved/read-only.
@@ -1760,8 +1586,6 @@ public Builder setDelete(com.google.datastore.v1.Key value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The key of the entity to delete. The entity may or may not already exist.
      * Must have a complete key path and must not be reserved/read-only.
@@ -1769,7 +1593,8 @@ public Builder setDelete(com.google.datastore.v1.Key value) {
      *
      * .google.datastore.v1.Key delete = 7;
      */
-    public Builder setDelete(com.google.datastore.v1.Key.Builder builderForValue) {
+    public Builder setDelete(
+        com.google.datastore.v1.Key.Builder builderForValue) {
       if (deleteBuilder_ == null) {
         operation_ = builderForValue.build();
         onChanged();
@@ -1780,8 +1605,6 @@ public Builder setDelete(com.google.datastore.v1.Key.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The key of the entity to delete. The entity may or may not already exist.
      * Must have a complete key path and must not be reserved/read-only.
@@ -1791,11 +1614,10 @@ public Builder setDelete(com.google.datastore.v1.Key.Builder builderForValue) {
      */
     public Builder mergeDelete(com.google.datastore.v1.Key value) {
       if (deleteBuilder_ == null) {
-        if (operationCase_ == 7 && operation_ != com.google.datastore.v1.Key.getDefaultInstance()) {
-          operation_ =
-              com.google.datastore.v1.Key.newBuilder((com.google.datastore.v1.Key) operation_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (operationCase_ == 7 &&
+            operation_ != com.google.datastore.v1.Key.getDefaultInstance()) {
+          operation_ = com.google.datastore.v1.Key.newBuilder((com.google.datastore.v1.Key) operation_)
+              .mergeFrom(value).buildPartial();
         } else {
           operation_ = value;
         }
@@ -1811,8 +1633,6 @@ public Builder mergeDelete(com.google.datastore.v1.Key value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The key of the entity to delete. The entity may or may not already exist.
      * Must have a complete key path and must not be reserved/read-only.
@@ -1837,8 +1657,6 @@ public Builder clearDelete() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The key of the entity to delete. The entity may or may not already exist.
      * Must have a complete key path and must not be reserved/read-only.
@@ -1850,8 +1668,6 @@ public com.google.datastore.v1.Key.Builder getDeleteBuilder() {
       return getDeleteFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The key of the entity to delete. The entity may or may not already exist.
      * Must have a complete key path and must not be reserved/read-only.
@@ -1871,8 +1687,6 @@ public com.google.datastore.v1.KeyOrBuilder getDeleteOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * The key of the entity to delete. The entity may or may not already exist.
      * Must have a complete key path and must not be reserved/read-only.
@@ -1881,20 +1695,17 @@ public com.google.datastore.v1.KeyOrBuilder getDeleteOrBuilder() {
      * .google.datastore.v1.Key delete = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.Key,
-            com.google.datastore.v1.Key.Builder,
-            com.google.datastore.v1.KeyOrBuilder>
+        com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> 
         getDeleteFieldBuilder() {
       if (deleteBuilder_ == null) {
         if (!(operationCase_ == 7)) {
           operation_ = com.google.datastore.v1.Key.getDefaultInstance();
         }
-        deleteBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.datastore.v1.Key,
-                com.google.datastore.v1.Key.Builder,
-                com.google.datastore.v1.KeyOrBuilder>(
-                (com.google.datastore.v1.Key) operation_, getParentForChildren(), isClean());
+        deleteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder>(
+                (com.google.datastore.v1.Key) operation_,
+                getParentForChildren(),
+                isClean());
         operation_ = null;
       }
       operationCase_ = 7;
@@ -1903,8 +1714,6 @@ public com.google.datastore.v1.KeyOrBuilder getDeleteOrBuilder() {
     }
 
     /**
-     *
-     *
      * 
      * The version of the entity that this mutation is being applied
      * to. If this does not match the current version on the server, the
@@ -1912,15 +1721,12 @@ public com.google.datastore.v1.KeyOrBuilder getDeleteOrBuilder() {
      * 
* * int64 base_version = 8; - * * @return Whether the baseVersion field is set. */ public boolean hasBaseVersion() { return conflictDetectionStrategyCase_ == 8; } /** - * - * *
      * The version of the entity that this mutation is being applied
      * to. If this does not match the current version on the server, the
@@ -1928,7 +1734,6 @@ public boolean hasBaseVersion() {
      * 
* * int64 base_version = 8; - * * @return The baseVersion. */ public long getBaseVersion() { @@ -1938,8 +1743,6 @@ public long getBaseVersion() { return 0L; } /** - * - * *
      * The version of the entity that this mutation is being applied
      * to. If this does not match the current version on the server, the
@@ -1947,7 +1750,6 @@ public long getBaseVersion() {
      * 
* * int64 base_version = 8; - * * @param value The baseVersion to set. * @return This builder for chaining. */ @@ -1959,8 +1761,6 @@ public Builder setBaseVersion(long value) { return this; } /** - * - * *
      * The version of the entity that this mutation is being applied
      * to. If this does not match the current version on the server, the
@@ -1968,7 +1768,6 @@ public Builder setBaseVersion(long value) {
      * 
* * int64 base_version = 8; - * * @return This builder for chaining. */ public Builder clearBaseVersion() { @@ -1981,13 +1780,8 @@ public Builder clearBaseVersion() { } 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 update time of the entity that this mutation is being applied
      * to. If this does not match the current update time on the server, the
@@ -1995,7 +1789,6 @@ public Builder clearBaseVersion() {
      * 
* * .google.protobuf.Timestamp update_time = 11; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -2003,8 +1796,6 @@ public boolean hasUpdateTime() { return conflictDetectionStrategyCase_ == 11; } /** - * - * *
      * The update time of the entity that this mutation is being applied
      * to. If this does not match the current update time on the server, the
@@ -2012,7 +1803,6 @@ public boolean hasUpdateTime() {
      * 
* * .google.protobuf.Timestamp update_time = 11; - * * @return The updateTime. */ @java.lang.Override @@ -2030,8 +1820,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { } } /** - * - * *
      * The update time of the entity that this mutation is being applied
      * to. If this does not match the current update time on the server, the
@@ -2054,8 +1842,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update time of the entity that this mutation is being applied
      * to. If this does not match the current update time on the server, the
@@ -2064,7 +1850,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 11;
      */
-    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         conflictDetectionStrategy_ = builderForValue.build();
         onChanged();
@@ -2075,8 +1862,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The update time of the entity that this mutation is being applied
      * to. If this does not match the current update time on the server, the
@@ -2087,13 +1872,10 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
-        if (conflictDetectionStrategyCase_ == 11
-            && conflictDetectionStrategy_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          conflictDetectionStrategy_ =
-              com.google.protobuf.Timestamp.newBuilder(
-                      (com.google.protobuf.Timestamp) conflictDetectionStrategy_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (conflictDetectionStrategyCase_ == 11 &&
+            conflictDetectionStrategy_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          conflictDetectionStrategy_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) conflictDetectionStrategy_)
+              .mergeFrom(value).buildPartial();
         } else {
           conflictDetectionStrategy_ = value;
         }
@@ -2109,8 +1891,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update time of the entity that this mutation is being applied
      * to. If this does not match the current update time on the server, the
@@ -2136,8 +1916,6 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update time of the entity that this mutation is being applied
      * to. If this does not match the current update time on the server, the
@@ -2150,8 +1928,6 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The update time of the entity that this mutation is being applied
      * to. If this does not match the current update time on the server, the
@@ -2172,8 +1948,6 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * The update time of the entity that this mutation is being applied
      * to. If this does not match the current update time on the server, the
@@ -2183,19 +1957,14 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_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> 
         getUpdateTimeFieldBuilder() {
       if (updateTimeBuilder_ == null) {
         if (!(conflictDetectionStrategyCase_ == 11)) {
           conflictDetectionStrategy_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        updateTimeBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
+        updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
                 (com.google.protobuf.Timestamp) conflictDetectionStrategy_,
                 getParentForChildren(),
                 isClean());
@@ -2205,9 +1974,9 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
       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);
     }
 
@@ -2217,12 +1986,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.Mutation)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.Mutation)
   private static final com.google.datastore.v1.Mutation DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.Mutation();
   }
@@ -2231,27 +2000,27 @@ public static com.google.datastore.v1.Mutation getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Mutation parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Mutation parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2266,4 +2035,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.Mutation getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationOrBuilder.java
similarity index 86%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationOrBuilder.java
index e833ed942..03090e154 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationOrBuilder.java
@@ -1,58 +1,34 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/datastore.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface MutationOrBuilder
-    extends
+public interface MutationOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.Mutation)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The entity to insert. The entity must not already exist.
    * The entity key's final path element may be incomplete.
    * 
* * .google.datastore.v1.Entity insert = 4; - * * @return Whether the insert field is set. */ boolean hasInsert(); /** - * - * *
    * The entity to insert. The entity must not already exist.
    * The entity key's final path element may be incomplete.
    * 
* * .google.datastore.v1.Entity insert = 4; - * * @return The insert. */ com.google.datastore.v1.Entity getInsert(); /** - * - * *
    * The entity to insert. The entity must not already exist.
    * The entity key's final path element may be incomplete.
@@ -63,34 +39,26 @@ public interface MutationOrBuilder
   com.google.datastore.v1.EntityOrBuilder getInsertOrBuilder();
 
   /**
-   *
-   *
    * 
    * The entity to update. The entity must already exist.
    * Must have a complete key path.
    * 
* * .google.datastore.v1.Entity update = 5; - * * @return Whether the update field is set. */ boolean hasUpdate(); /** - * - * *
    * The entity to update. The entity must already exist.
    * Must have a complete key path.
    * 
* * .google.datastore.v1.Entity update = 5; - * * @return The update. */ com.google.datastore.v1.Entity getUpdate(); /** - * - * *
    * The entity to update. The entity must already exist.
    * Must have a complete key path.
@@ -101,34 +69,26 @@ public interface MutationOrBuilder
   com.google.datastore.v1.EntityOrBuilder getUpdateOrBuilder();
 
   /**
-   *
-   *
    * 
    * The entity to upsert. The entity may or may not already exist.
    * The entity key's final path element may be incomplete.
    * 
* * .google.datastore.v1.Entity upsert = 6; - * * @return Whether the upsert field is set. */ boolean hasUpsert(); /** - * - * *
    * The entity to upsert. The entity may or may not already exist.
    * The entity key's final path element may be incomplete.
    * 
* * .google.datastore.v1.Entity upsert = 6; - * * @return The upsert. */ com.google.datastore.v1.Entity getUpsert(); /** - * - * *
    * The entity to upsert. The entity may or may not already exist.
    * The entity key's final path element may be incomplete.
@@ -139,34 +99,26 @@ public interface MutationOrBuilder
   com.google.datastore.v1.EntityOrBuilder getUpsertOrBuilder();
 
   /**
-   *
-   *
    * 
    * The key of the entity to delete. The entity may or may not already exist.
    * Must have a complete key path and must not be reserved/read-only.
    * 
* * .google.datastore.v1.Key delete = 7; - * * @return Whether the delete field is set. */ boolean hasDelete(); /** - * - * *
    * The key of the entity to delete. The entity may or may not already exist.
    * Must have a complete key path and must not be reserved/read-only.
    * 
* * .google.datastore.v1.Key delete = 7; - * * @return The delete. */ com.google.datastore.v1.Key getDelete(); /** - * - * *
    * The key of the entity to delete. The entity may or may not already exist.
    * Must have a complete key path and must not be reserved/read-only.
@@ -177,8 +129,6 @@ public interface MutationOrBuilder
   com.google.datastore.v1.KeyOrBuilder getDeleteOrBuilder();
 
   /**
-   *
-   *
    * 
    * The version of the entity that this mutation is being applied
    * to. If this does not match the current version on the server, the
@@ -186,13 +136,10 @@ public interface MutationOrBuilder
    * 
* * int64 base_version = 8; - * * @return Whether the baseVersion field is set. */ boolean hasBaseVersion(); /** - * - * *
    * The version of the entity that this mutation is being applied
    * to. If this does not match the current version on the server, the
@@ -200,14 +147,11 @@ public interface MutationOrBuilder
    * 
* * int64 base_version = 8; - * * @return The baseVersion. */ long getBaseVersion(); /** - * - * *
    * The update time of the entity that this mutation is being applied
    * to. If this does not match the current update time on the server, the
@@ -215,13 +159,10 @@ public interface MutationOrBuilder
    * 
* * .google.protobuf.Timestamp update_time = 11; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The update time of the entity that this mutation is being applied
    * to. If this does not match the current update time on the server, the
@@ -229,13 +170,10 @@ public interface MutationOrBuilder
    * 
* * .google.protobuf.Timestamp update_time = 11; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The update time of the entity that this mutation is being applied
    * to. If this does not match the current update time on the server, the
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationResult.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationResult.java
similarity index 75%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationResult.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationResult.java
index 2e7abf0bd..29bf69eab 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationResult.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationResult.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/datastore.proto
 
@@ -20,60 +5,54 @@
 package com.google.datastore.v1;
 
 /**
- *
- *
  * 
  * The result of applying a mutation.
  * 
* * Protobuf type {@code google.datastore.v1.MutationResult} */ -public final class MutationResult extends com.google.protobuf.GeneratedMessageV3 - implements +public final class MutationResult extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.datastore.v1.MutationResult) MutationResultOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use MutationResult.newBuilder() to construct. private MutationResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private MutationResult() {} + private MutationResult() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new MutationResult(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_MutationResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_MutationResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_MutationResult_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_MutationResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.MutationResult.class, - com.google.datastore.v1.MutationResult.Builder.class); + com.google.datastore.v1.MutationResult.class, com.google.datastore.v1.MutationResult.Builder.class); } private int bitField0_; public static final int KEY_FIELD_NUMBER = 3; private com.google.datastore.v1.Key key_; /** - * - * *
    * The automatically allocated key.
    * Set only when the mutation allocated a key.
    * 
* * .google.datastore.v1.Key key = 3; - * * @return Whether the key field is set. */ @java.lang.Override @@ -81,15 +60,12 @@ public boolean hasKey() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The automatically allocated key.
    * Set only when the mutation allocated a key.
    * 
* * .google.datastore.v1.Key key = 3; - * * @return The key. */ @java.lang.Override @@ -97,8 +73,6 @@ public com.google.datastore.v1.Key getKey() { return key_ == null ? com.google.datastore.v1.Key.getDefaultInstance() : key_; } /** - * - * *
    * The automatically allocated key.
    * Set only when the mutation allocated a key.
@@ -114,8 +88,6 @@ public com.google.datastore.v1.KeyOrBuilder getKeyOrBuilder() {
   public static final int VERSION_FIELD_NUMBER = 4;
   private long version_ = 0L;
   /**
-   *
-   *
    * 
    * The version of the entity on the server after processing the mutation. If
    * the mutation doesn't change anything on the server, then the version will
@@ -125,7 +97,6 @@ public com.google.datastore.v1.KeyOrBuilder getKeyOrBuilder() {
    * 
* * int64 version = 4; - * * @return The version. */ @java.lang.Override @@ -136,14 +107,11 @@ public long getVersion() { public static final int CREATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp createTime_; /** - * - * *
    * The create time of the entity. This field will not be set after a 'delete'.
    * 
* * .google.protobuf.Timestamp create_time = 7; - * * @return Whether the createTime field is set. */ @java.lang.Override @@ -151,14 +119,11 @@ public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The create time of the entity. This field will not be set after a 'delete'.
    * 
* * .google.protobuf.Timestamp create_time = 7; - * * @return The createTime. */ @java.lang.Override @@ -166,8 +131,6 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** - * - * *
    * The create time of the entity. This field will not be set after a 'delete'.
    * 
@@ -182,8 +145,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** - * - * *
    * The update time of the entity on the server after processing the mutation.
    * If the mutation doesn't change anything on the server, then the timestamp
@@ -192,7 +153,6 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -200,8 +160,6 @@ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * The update time of the entity on the server after processing the mutation.
    * If the mutation doesn't change anything on the server, then the timestamp
@@ -210,7 +168,6 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ @java.lang.Override @@ -218,8 +175,6 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** - * - * *
    * The update time of the entity on the server after processing the mutation.
    * If the mutation doesn't change anything on the server, then the timestamp
@@ -237,15 +192,12 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   public static final int CONFLICT_DETECTED_FIELD_NUMBER = 5;
   private boolean conflictDetected_ = false;
   /**
-   *
-   *
    * 
    * Whether a conflict was detected for this mutation. Always false when a
    * conflict detection strategy field is not set in the mutation.
    * 
* * bool conflict_detected = 5; - * * @return The conflictDetected. */ @java.lang.Override @@ -254,7 +206,6 @@ public boolean getConflictDetected() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,7 +217,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getKey()); } @@ -292,19 +244,24 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getKey()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getKey()); } if (version_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, version_); + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(4, version_); } if (conflictDetected_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, conflictDetected_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(5, conflictDetected_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, getUpdateTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCreateTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getCreateTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -314,7 +271,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.datastore.v1.MutationResult)) { return super.equals(obj); @@ -323,18 +280,23 @@ public boolean equals(final java.lang.Object obj) { if (hasKey() != other.hasKey()) return false; if (hasKey()) { - if (!getKey().equals(other.getKey())) return false; + if (!getKey() + .equals(other.getKey())) return false; } - if (getVersion() != other.getVersion()) return false; + if (getVersion() + != other.getVersion()) 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 (getConflictDetected() != other.getConflictDetected()) return false; + if (getConflictDetected() + != other.getConflictDetected()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -351,7 +313,8 @@ public int hashCode() { hash = (53 * hash) + getKey().hashCode(); } hash = (37 * hash) + VERSION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getVersion()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getVersion()); if (hasCreateTime()) { hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime().hashCode(); @@ -361,133 +324,127 @@ public int hashCode() { hash = (53 * hash) + getUpdateTime().hashCode(); } hash = (37 * hash) + CONFLICT_DETECTED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getConflictDetected()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getConflictDetected()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.datastore.v1.MutationResult parseFrom(java.nio.ByteBuffer data) + public static com.google.datastore.v1.MutationResult parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.MutationResult parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.MutationResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.MutationResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.MutationResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.MutationResult parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.MutationResult parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.MutationResult parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.datastore.v1.MutationResult 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.datastore.v1.MutationResult parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.MutationResult parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.MutationResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.datastore.v1.MutationResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 mutation.
    * 
* * Protobuf type {@code google.datastore.v1.MutationResult} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.MutationResult) com.google.datastore.v1.MutationResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_MutationResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_MutationResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_MutationResult_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_MutationResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.MutationResult.class, - com.google.datastore.v1.MutationResult.Builder.class); + com.google.datastore.v1.MutationResult.class, com.google.datastore.v1.MutationResult.Builder.class); } // Construct using com.google.datastore.v1.MutationResult.newBuilder() @@ -495,19 +452,19 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getKeyFieldBuilder(); getCreateTimeFieldBuilder(); getUpdateTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -533,9 +490,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_MutationResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_MutationResult_descriptor; } @java.lang.Override @@ -554,11 +511,8 @@ public com.google.datastore.v1.MutationResult build() { @java.lang.Override public com.google.datastore.v1.MutationResult buildPartial() { - com.google.datastore.v1.MutationResult result = - new com.google.datastore.v1.MutationResult(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.datastore.v1.MutationResult result = new com.google.datastore.v1.MutationResult(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -567,18 +521,24 @@ private void buildPartial0(com.google.datastore.v1.MutationResult result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.key_ = keyBuilder_ == null ? key_ : keyBuilder_.build(); + result.key_ = keyBuilder_ == null + ? key_ + : keyBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.version_ = version_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null + ? createTime_ + : createTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null + ? updateTime_ + : updateTimeBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000010) != 0)) { @@ -591,39 +551,38 @@ private void buildPartial0(com.google.datastore.v1.MutationResult result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.MutationResult) { - return mergeFrom((com.google.datastore.v1.MutationResult) other); + return mergeFrom((com.google.datastore.v1.MutationResult)other); } else { super.mergeFrom(other); return this; @@ -673,43 +632,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 26: - { - input.readMessage(getKeyFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 26 - case 32: - { - version_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 32 - case 40: - { - conflictDetected_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 50: - { - input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 50 - case 58: - { - input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 58 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 26: { + input.readMessage( + getKeyFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 26 + case 32: { + version_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 32 + case 40: { + conflictDetected_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: { + input.readMessage( + getUpdateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 50 + case 58: { + input.readMessage( + getCreateTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + 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) { @@ -719,40 +678,30 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.datastore.v1.Key key_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Key, - com.google.datastore.v1.Key.Builder, - com.google.datastore.v1.KeyOrBuilder> - keyBuilder_; + com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> keyBuilder_; /** - * - * *
      * The automatically allocated key.
      * Set only when the mutation allocated a key.
      * 
* * .google.datastore.v1.Key key = 3; - * * @return Whether the key field is set. */ public boolean hasKey() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The automatically allocated key.
      * Set only when the mutation allocated a key.
      * 
* * .google.datastore.v1.Key key = 3; - * * @return The key. */ public com.google.datastore.v1.Key getKey() { @@ -763,8 +712,6 @@ public com.google.datastore.v1.Key getKey() { } } /** - * - * *
      * The automatically allocated key.
      * Set only when the mutation allocated a key.
@@ -786,8 +733,6 @@ public Builder setKey(com.google.datastore.v1.Key value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The automatically allocated key.
      * Set only when the mutation allocated a key.
@@ -795,7 +740,8 @@ public Builder setKey(com.google.datastore.v1.Key value) {
      *
      * .google.datastore.v1.Key key = 3;
      */
-    public Builder setKey(com.google.datastore.v1.Key.Builder builderForValue) {
+    public Builder setKey(
+        com.google.datastore.v1.Key.Builder builderForValue) {
       if (keyBuilder_ == null) {
         key_ = builderForValue.build();
       } else {
@@ -806,8 +752,6 @@ public Builder setKey(com.google.datastore.v1.Key.Builder builderForValue) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The automatically allocated key.
      * Set only when the mutation allocated a key.
@@ -817,9 +761,9 @@ public Builder setKey(com.google.datastore.v1.Key.Builder builderForValue) {
      */
     public Builder mergeKey(com.google.datastore.v1.Key value) {
       if (keyBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0)
-            && key_ != null
-            && key_ != com.google.datastore.v1.Key.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0) &&
+          key_ != null &&
+          key_ != com.google.datastore.v1.Key.getDefaultInstance()) {
           getKeyBuilder().mergeFrom(value);
         } else {
           key_ = value;
@@ -834,8 +778,6 @@ public Builder mergeKey(com.google.datastore.v1.Key value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The automatically allocated key.
      * Set only when the mutation allocated a key.
@@ -854,8 +796,6 @@ public Builder clearKey() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The automatically allocated key.
      * Set only when the mutation allocated a key.
@@ -869,8 +809,6 @@ public com.google.datastore.v1.Key.Builder getKeyBuilder() {
       return getKeyFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The automatically allocated key.
      * Set only when the mutation allocated a key.
@@ -882,12 +820,11 @@ public com.google.datastore.v1.KeyOrBuilder getKeyOrBuilder() {
       if (keyBuilder_ != null) {
         return keyBuilder_.getMessageOrBuilder();
       } else {
-        return key_ == null ? com.google.datastore.v1.Key.getDefaultInstance() : key_;
+        return key_ == null ?
+            com.google.datastore.v1.Key.getDefaultInstance() : key_;
       }
     }
     /**
-     *
-     *
      * 
      * The automatically allocated key.
      * Set only when the mutation allocated a key.
@@ -896,25 +833,21 @@ public com.google.datastore.v1.KeyOrBuilder getKeyOrBuilder() {
      * .google.datastore.v1.Key key = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.Key,
-            com.google.datastore.v1.Key.Builder,
-            com.google.datastore.v1.KeyOrBuilder>
+        com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> 
         getKeyFieldBuilder() {
       if (keyBuilder_ == null) {
-        keyBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.datastore.v1.Key,
-                com.google.datastore.v1.Key.Builder,
-                com.google.datastore.v1.KeyOrBuilder>(getKey(), getParentForChildren(), isClean());
+        keyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder>(
+                getKey(),
+                getParentForChildren(),
+                isClean());
         key_ = null;
       }
       return keyBuilder_;
     }
 
-    private long version_;
+    private long version_ ;
     /**
-     *
-     *
      * 
      * The version of the entity on the server after processing the mutation. If
      * the mutation doesn't change anything on the server, then the version will
@@ -924,7 +857,6 @@ public com.google.datastore.v1.KeyOrBuilder getKeyOrBuilder() {
      * 
* * int64 version = 4; - * * @return The version. */ @java.lang.Override @@ -932,8 +864,6 @@ public long getVersion() { return version_; } /** - * - * *
      * The version of the entity on the server after processing the mutation. If
      * the mutation doesn't change anything on the server, then the version will
@@ -943,7 +873,6 @@ public long getVersion() {
      * 
* * int64 version = 4; - * * @param value The version to set. * @return This builder for chaining. */ @@ -955,8 +884,6 @@ public Builder setVersion(long value) { return this; } /** - * - * *
      * The version of the entity on the server after processing the mutation. If
      * the mutation doesn't change anything on the server, then the version will
@@ -966,7 +893,6 @@ public Builder setVersion(long value) {
      * 
* * int64 version = 4; - * * @return This builder for chaining. */ public Builder clearVersion() { @@ -978,47 +904,34 @@ public Builder clearVersion() { 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_; /** - * - * *
      * The create time of the entity. This field will not be set after a 'delete'.
      * 
* * .google.protobuf.Timestamp create_time = 7; - * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The create time of the entity. This field will not be set after a 'delete'.
      * 
* * .google.protobuf.Timestamp create_time = 7; - * * @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(); } } /** - * - * *
      * The create time of the entity. This field will not be set after a 'delete'.
      * 
@@ -1039,15 +952,14 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The create time of the entity. This field will not be set after a 'delete'.
      * 
* * .google.protobuf.Timestamp create_time = 7; */ - public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -1058,8 +970,6 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal return this; } /** - * - * *
      * The create time of the entity. This field will not be set after a 'delete'.
      * 
@@ -1068,9 +978,9 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && createTime_ != null - && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + createTime_ != null && + createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -1085,8 +995,6 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * The create time of the entity. This field will not be set after a 'delete'.
      * 
@@ -1104,8 +1012,6 @@ public Builder clearCreateTime() { return this; } /** - * - * *
      * The create time of the entity. This field will not be set after a 'delete'.
      * 
@@ -1118,8 +1024,6 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** - * - * *
      * The create time of the entity. This field will not be set after a 'delete'.
      * 
@@ -1130,14 +1034,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_; } } /** - * - * *
      * The create time of the entity. This field will not be set after a 'delete'.
      * 
@@ -1145,17 +1046,14 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_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> 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_; @@ -1163,13 +1061,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_; /** - * - * *
      * The update time of the entity on the server after processing the mutation.
      * If the mutation doesn't change anything on the server, then the timestamp
@@ -1178,15 +1071,12 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The update time of the entity on the server after processing the mutation.
      * If the mutation doesn't change anything on the server, then the timestamp
@@ -1195,21 +1085,16 @@ public boolean hasUpdateTime() {
      * 
* * .google.protobuf.Timestamp update_time = 6; - * * @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 update time of the entity on the server after processing the mutation.
      * If the mutation doesn't change anything on the server, then the timestamp
@@ -1233,8 +1118,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update time of the entity on the server after processing the mutation.
      * If the mutation doesn't change anything on the server, then the timestamp
@@ -1244,7 +1127,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 6;
      */
-    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
       } else {
@@ -1255,8 +1139,6 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
       return this;
     }
     /**
-     *
-     *
      * 
      * The update time of the entity on the server after processing the mutation.
      * If the mutation doesn't change anything on the server, then the timestamp
@@ -1268,9 +1150,9 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
      */
     public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && updateTime_ != null
-            && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          updateTime_ != null &&
+          updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getUpdateTimeBuilder().mergeFrom(value);
         } else {
           updateTime_ = value;
@@ -1285,8 +1167,6 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update time of the entity on the server after processing the mutation.
      * If the mutation doesn't change anything on the server, then the timestamp
@@ -1307,8 +1187,6 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The update time of the entity on the server after processing the mutation.
      * If the mutation doesn't change anything on the server, then the timestamp
@@ -1324,8 +1202,6 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The update time of the entity on the server after processing the mutation.
      * If the mutation doesn't change anything on the server, then the timestamp
@@ -1339,14 +1215,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 update time of the entity on the server after processing the mutation.
      * If the mutation doesn't change anything on the server, then the timestamp
@@ -1357,33 +1230,27 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_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> 
         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 boolean conflictDetected_;
+    private boolean conflictDetected_ ;
     /**
-     *
-     *
      * 
      * Whether a conflict was detected for this mutation. Always false when a
      * conflict detection strategy field is not set in the mutation.
      * 
* * bool conflict_detected = 5; - * * @return The conflictDetected. */ @java.lang.Override @@ -1391,15 +1258,12 @@ public boolean getConflictDetected() { return conflictDetected_; } /** - * - * *
      * Whether a conflict was detected for this mutation. Always false when a
      * conflict detection strategy field is not set in the mutation.
      * 
* * bool conflict_detected = 5; - * * @param value The conflictDetected to set. * @return This builder for chaining. */ @@ -1411,15 +1275,12 @@ public Builder setConflictDetected(boolean value) { return this; } /** - * - * *
      * Whether a conflict was detected for this mutation. Always false when a
      * conflict detection strategy field is not set in the mutation.
      * 
* * bool conflict_detected = 5; - * * @return This builder for chaining. */ public Builder clearConflictDetected() { @@ -1428,9 +1289,9 @@ public Builder clearConflictDetected() { 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); } @@ -1440,12 +1301,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.v1.MutationResult) } // @@protoc_insertion_point(class_scope:google.datastore.v1.MutationResult) private static final com.google.datastore.v1.MutationResult DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.v1.MutationResult(); } @@ -1454,27 +1315,27 @@ public static com.google.datastore.v1.MutationResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MutationResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MutationResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1489,4 +1350,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.MutationResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationResultOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationResultOrBuilder.java similarity index 83% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationResultOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationResultOrBuilder.java index bec5014e2..65f437b2e 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationResultOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationResultOrBuilder.java @@ -1,58 +1,34 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface MutationResultOrBuilder - extends +public interface MutationResultOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.MutationResult) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The automatically allocated key.
    * Set only when the mutation allocated a key.
    * 
* * .google.datastore.v1.Key key = 3; - * * @return Whether the key field is set. */ boolean hasKey(); /** - * - * *
    * The automatically allocated key.
    * Set only when the mutation allocated a key.
    * 
* * .google.datastore.v1.Key key = 3; - * * @return The key. */ com.google.datastore.v1.Key getKey(); /** - * - * *
    * The automatically allocated key.
    * Set only when the mutation allocated a key.
@@ -63,8 +39,6 @@ public interface MutationResultOrBuilder
   com.google.datastore.v1.KeyOrBuilder getKeyOrBuilder();
 
   /**
-   *
-   *
    * 
    * The version of the entity on the server after processing the mutation. If
    * the mutation doesn't change anything on the server, then the version will
@@ -74,38 +48,29 @@ public interface MutationResultOrBuilder
    * 
* * int64 version = 4; - * * @return The version. */ long getVersion(); /** - * - * *
    * The create time of the entity. This field will not be set after a 'delete'.
    * 
* * .google.protobuf.Timestamp create_time = 7; - * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** - * - * *
    * The create time of the entity. This field will not be set after a 'delete'.
    * 
* * .google.protobuf.Timestamp create_time = 7; - * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** - * - * *
    * The create time of the entity. This field will not be set after a 'delete'.
    * 
@@ -115,8 +80,6 @@ public interface MutationResultOrBuilder com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** - * - * *
    * The update time of the entity on the server after processing the mutation.
    * If the mutation doesn't change anything on the server, then the timestamp
@@ -125,13 +88,10 @@ public interface MutationResultOrBuilder
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** - * - * *
    * The update time of the entity on the server after processing the mutation.
    * If the mutation doesn't change anything on the server, then the timestamp
@@ -140,13 +100,10 @@ public interface MutationResultOrBuilder
    * 
* * .google.protobuf.Timestamp update_time = 6; - * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** - * - * *
    * The update time of the entity on the server after processing the mutation.
    * If the mutation doesn't change anything on the server, then the timestamp
@@ -159,15 +116,12 @@ public interface MutationResultOrBuilder
   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
 
   /**
-   *
-   *
    * 
    * Whether a conflict was detected for this mutation. Always false when a
    * conflict detection strategy field is not set in the mutation.
    * 
* * bool conflict_detected = 5; - * * @return The conflictDetected. */ boolean getConflictDetected(); diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PartitionId.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PartitionId.java similarity index 70% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PartitionId.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PartitionId.java index 9116410f5..fb2d7b79c 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PartitionId.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PartitionId.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/entity.proto @@ -20,8 +5,6 @@ package com.google.datastore.v1; /** - * - * *
  * A partition ID identifies a grouping of entities. The grouping is always
  * by project and namespace, however the namespace ID may be empty.
@@ -47,16 +30,15 @@
  *
  * Protobuf type {@code google.datastore.v1.PartitionId}
  */
-public final class PartitionId extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class PartitionId extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.datastore.v1.PartitionId)
     PartitionIdOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use PartitionId.newBuilder() to construct.
   private PartitionId(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private PartitionId() {
     projectId_ = "";
     databaseId_ = "";
@@ -65,38 +47,33 @@ private PartitionId() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new PartitionId();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.datastore.v1.EntityProto
-        .internal_static_google_datastore_v1_PartitionId_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_PartitionId_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.v1.EntityProto
-        .internal_static_google_datastore_v1_PartitionId_fieldAccessorTable
+    return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_PartitionId_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.v1.PartitionId.class,
-            com.google.datastore.v1.PartitionId.Builder.class);
+            com.google.datastore.v1.PartitionId.class, com.google.datastore.v1.PartitionId.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 2;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object projectId_ = "";
   /**
-   *
-   *
    * 
    * The ID of the project to which the entities belong.
    * 
* * string project_id = 2; - * * @return The projectId. */ @java.lang.Override @@ -105,29 +82,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * The ID of the project to which the entities belong.
    * 
* * string project_id = 2; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -136,19 +113,15 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int DATABASE_ID_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object databaseId_ = ""; /** - * - * *
    * If not empty, the ID of the database to which the entities
    * belong.
    * 
* * string database_id = 3; - * * @return The databaseId. */ @java.lang.Override @@ -157,30 +130,30 @@ public java.lang.String getDatabaseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; } } /** - * - * *
    * If not empty, the ID of the database to which the entities
    * belong.
    * 
* * string database_id = 3; - * * @return The bytes for databaseId. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -189,18 +162,14 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { } public static final int NAMESPACE_ID_FIELD_NUMBER = 4; - @SuppressWarnings("serial") private volatile java.lang.Object namespaceId_ = ""; /** - * - * *
    * If not empty, the ID of the namespace to which the entities belong.
    * 
* * string namespace_id = 4; - * * @return The namespaceId. */ @java.lang.Override @@ -209,29 +178,29 @@ public java.lang.String getNamespaceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); namespaceId_ = s; return s; } } /** - * - * *
    * If not empty, the ID of the namespace to which the entities belong.
    * 
* * string namespace_id = 4; - * * @return The bytes for namespaceId. */ @java.lang.Override - public com.google.protobuf.ByteString getNamespaceIdBytes() { + public com.google.protobuf.ByteString + getNamespaceIdBytes() { java.lang.Object ref = namespaceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); namespaceId_ = b; return b; } else { @@ -240,7 +209,6 @@ public com.google.protobuf.ByteString getNamespaceIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -252,7 +220,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(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, projectId_); } @@ -288,16 +257,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.datastore.v1.PartitionId)) { return super.equals(obj); } com.google.datastore.v1.PartitionId other = (com.google.datastore.v1.PartitionId) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getDatabaseId().equals(other.getDatabaseId())) return false; - if (!getNamespaceId().equals(other.getNamespaceId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getDatabaseId() + .equals(other.getDatabaseId())) return false; + if (!getNamespaceId() + .equals(other.getNamespaceId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -320,103 +292,99 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.PartitionId parseFrom(java.nio.ByteBuffer data) + public static com.google.datastore.v1.PartitionId parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.PartitionId parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.datastore.v1.PartitionId parseFrom(com.google.protobuf.ByteString data) + public static com.google.datastore.v1.PartitionId parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.PartitionId parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.PartitionId parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.PartitionId parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.PartitionId parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.PartitionId parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.datastore.v1.PartitionId 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.datastore.v1.PartitionId parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.PartitionId parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.PartitionId parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.datastore.v1.PartitionId prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 partition ID identifies a grouping of entities. The grouping is always
    * by project and namespace, however the namespace ID may be empty.
@@ -442,32 +410,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.datastore.v1.PartitionId}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.datastore.v1.PartitionId)
       com.google.datastore.v1.PartitionIdOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.datastore.v1.EntityProto
-          .internal_static_google_datastore_v1_PartitionId_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_PartitionId_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.EntityProto
-          .internal_static_google_datastore_v1_PartitionId_fieldAccessorTable
+      return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_PartitionId_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.PartitionId.class,
-              com.google.datastore.v1.PartitionId.Builder.class);
+              com.google.datastore.v1.PartitionId.class, com.google.datastore.v1.PartitionId.Builder.class);
     }
 
     // Construct using com.google.datastore.v1.PartitionId.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -479,9 +448,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.datastore.v1.EntityProto
-          .internal_static_google_datastore_v1_PartitionId_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_PartitionId_descriptor;
     }
 
     @java.lang.Override
@@ -501,9 +470,7 @@ public com.google.datastore.v1.PartitionId build() {
     @java.lang.Override
     public com.google.datastore.v1.PartitionId buildPartial() {
       com.google.datastore.v1.PartitionId result = new com.google.datastore.v1.PartitionId(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -525,39 +492,38 @@ private void buildPartial0(com.google.datastore.v1.PartitionId result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.PartitionId) {
-        return mergeFrom((com.google.datastore.v1.PartitionId) other);
+        return mergeFrom((com.google.datastore.v1.PartitionId)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -607,31 +573,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18:
-              {
-                projectId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 18
-            case 26:
-              {
-                databaseId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 26
-            case 34:
-              {
-                namespaceId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 34
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 18: {
+              projectId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 18
+            case 26: {
+              databaseId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 26
+            case 34: {
+              namespaceId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 34
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -641,25 +603,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object projectId_ = "";
     /**
-     *
-     *
      * 
      * The ID of the project to which the entities belong.
      * 
* * string project_id = 2; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -668,21 +627,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * The ID of the project to which the entities belong.
      * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -690,35 +648,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * The ID of the project to which the entities belong.
      * 
* * string project_id = 2; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * The ID of the project to which the entities belong.
      * 
* * string project_id = 2; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -728,21 +679,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * The ID of the project to which the entities belong.
      * 
* * string project_id = 2; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -752,21 +699,19 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object databaseId_ = ""; /** - * - * *
      * If not empty, the ID of the database to which the entities
      * belong.
      * 
* * string database_id = 3; - * * @return The databaseId. */ public java.lang.String getDatabaseId() { java.lang.Object ref = databaseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; @@ -775,22 +720,21 @@ public java.lang.String getDatabaseId() { } } /** - * - * *
      * If not empty, the ID of the database to which the entities
      * belong.
      * 
* * string database_id = 3; - * * @return The bytes for databaseId. */ - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -798,37 +742,30 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { } } /** - * - * *
      * If not empty, the ID of the database to which the entities
      * belong.
      * 
* * string database_id = 3; - * * @param value The databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } databaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * If not empty, the ID of the database to which the entities
      * belong.
      * 
* * string database_id = 3; - * * @return This builder for chaining. */ public Builder clearDatabaseId() { @@ -838,22 +775,18 @@ public Builder clearDatabaseId() { return this; } /** - * - * *
      * If not empty, the ID of the database to which the entities
      * belong.
      * 
* * string database_id = 3; - * * @param value The bytes for databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); databaseId_ = value; bitField0_ |= 0x00000002; @@ -863,20 +796,18 @@ public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object namespaceId_ = ""; /** - * - * *
      * If not empty, the ID of the namespace to which the entities belong.
      * 
* * string namespace_id = 4; - * * @return The namespaceId. */ public java.lang.String getNamespaceId() { java.lang.Object ref = namespaceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); namespaceId_ = s; return s; @@ -885,21 +816,20 @@ public java.lang.String getNamespaceId() { } } /** - * - * *
      * If not empty, the ID of the namespace to which the entities belong.
      * 
* * string namespace_id = 4; - * * @return The bytes for namespaceId. */ - public com.google.protobuf.ByteString getNamespaceIdBytes() { + public com.google.protobuf.ByteString + getNamespaceIdBytes() { java.lang.Object ref = namespaceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); namespaceId_ = b; return b; } else { @@ -907,35 +837,28 @@ public com.google.protobuf.ByteString getNamespaceIdBytes() { } } /** - * - * *
      * If not empty, the ID of the namespace to which the entities belong.
      * 
* * string namespace_id = 4; - * * @param value The namespaceId to set. * @return This builder for chaining. */ - public Builder setNamespaceId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNamespaceId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } namespaceId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * If not empty, the ID of the namespace to which the entities belong.
      * 
* * string namespace_id = 4; - * * @return This builder for chaining. */ public Builder clearNamespaceId() { @@ -945,30 +868,26 @@ public Builder clearNamespaceId() { return this; } /** - * - * *
      * If not empty, the ID of the namespace to which the entities belong.
      * 
* * string namespace_id = 4; - * * @param value The bytes for namespaceId to set. * @return This builder for chaining. */ - public Builder setNamespaceIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNamespaceIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); namespaceId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -978,12 +897,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.v1.PartitionId) } // @@protoc_insertion_point(class_scope:google.datastore.v1.PartitionId) private static final com.google.datastore.v1.PartitionId DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.v1.PartitionId(); } @@ -992,27 +911,27 @@ public static com.google.datastore.v1.PartitionId getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartitionId parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionId parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1027,4 +946,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.PartitionId getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PartitionIdOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PartitionIdOrBuilder.java similarity index 62% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PartitionIdOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PartitionIdOrBuilder.java index d9dc8c271..144b3a079 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PartitionIdOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PartitionIdOrBuilder.java @@ -1,103 +1,72 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/entity.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface PartitionIdOrBuilder - extends +public interface PartitionIdOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.PartitionId) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The ID of the project to which the entities belong.
    * 
* * string project_id = 2; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * The ID of the project to which the entities belong.
    * 
* * string project_id = 2; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * If not empty, the ID of the database to which the entities
    * belong.
    * 
* * string database_id = 3; - * * @return The databaseId. */ java.lang.String getDatabaseId(); /** - * - * *
    * If not empty, the ID of the database to which the entities
    * belong.
    * 
* * string database_id = 3; - * * @return The bytes for databaseId. */ - com.google.protobuf.ByteString getDatabaseIdBytes(); + com.google.protobuf.ByteString + getDatabaseIdBytes(); /** - * - * *
    * If not empty, the ID of the namespace to which the entities belong.
    * 
* * string namespace_id = 4; - * * @return The namespaceId. */ java.lang.String getNamespaceId(); /** - * - * *
    * If not empty, the ID of the namespace to which the entities belong.
    * 
* * string namespace_id = 4; - * * @return The bytes for namespaceId. */ - com.google.protobuf.ByteString getNamespaceIdBytes(); + com.google.protobuf.ByteString + getNamespaceIdBytes(); } diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PlanSummary.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PlanSummary.java similarity index 74% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PlanSummary.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PlanSummary.java index b68c700c3..99f981e97 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PlanSummary.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PlanSummary.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query_profile.proto @@ -20,56 +5,49 @@ package com.google.datastore.v1; /** - * - * *
  * Planning phase information for the query.
  * 
* * Protobuf type {@code google.datastore.v1.PlanSummary} */ -public final class PlanSummary extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PlanSummary extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.datastore.v1.PlanSummary) PlanSummaryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PlanSummary.newBuilder() to construct. private PlanSummary(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PlanSummary() { indexesUsed_ = 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 PlanSummary(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.QueryProfileProto - .internal_static_google_datastore_v1_PlanSummary_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_PlanSummary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProfileProto - .internal_static_google_datastore_v1_PlanSummary_fieldAccessorTable + return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_PlanSummary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.PlanSummary.class, - com.google.datastore.v1.PlanSummary.Builder.class); + com.google.datastore.v1.PlanSummary.class, com.google.datastore.v1.PlanSummary.Builder.class); } public static final int INDEXES_USED_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List indexesUsed_; /** - * - * *
    * The indexes selected for the query. For example:
    *  [
@@ -85,8 +63,6 @@ public java.util.List getIndexesUsedList() {
     return indexesUsed_;
   }
   /**
-   *
-   *
    * 
    * The indexes selected for the query. For example:
    *  [
@@ -98,13 +74,11 @@ public java.util.List getIndexesUsedList() {
    * repeated .google.protobuf.Struct indexes_used = 1;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getIndexesUsedOrBuilderList() {
     return indexesUsed_;
   }
   /**
-   *
-   *
    * 
    * The indexes selected for the query. For example:
    *  [
@@ -120,8 +94,6 @@ public int getIndexesUsedCount() {
     return indexesUsed_.size();
   }
   /**
-   *
-   *
    * 
    * The indexes selected for the query. For example:
    *  [
@@ -137,8 +109,6 @@ public com.google.protobuf.Struct getIndexesUsed(int index) {
     return indexesUsed_.get(index);
   }
   /**
-   *
-   *
    * 
    * The indexes selected for the query. For example:
    *  [
@@ -150,12 +120,12 @@ public com.google.protobuf.Struct getIndexesUsed(int index) {
    * repeated .google.protobuf.Struct indexes_used = 1;
    */
   @java.lang.Override
-  public com.google.protobuf.StructOrBuilder getIndexesUsedOrBuilder(int index) {
+  public com.google.protobuf.StructOrBuilder getIndexesUsedOrBuilder(
+      int index) {
     return indexesUsed_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -167,7 +137,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 < indexesUsed_.size(); i++) {
       output.writeMessage(1, indexesUsed_.get(i));
     }
@@ -181,7 +152,8 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < indexesUsed_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, indexesUsed_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, indexesUsed_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -191,14 +163,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.datastore.v1.PlanSummary)) {
       return super.equals(obj);
     }
     com.google.datastore.v1.PlanSummary other = (com.google.datastore.v1.PlanSummary) obj;
 
-    if (!getIndexesUsedList().equals(other.getIndexesUsedList())) return false;
+    if (!getIndexesUsedList()
+        .equals(other.getIndexesUsedList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -219,135 +192,132 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.PlanSummary parseFrom(java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.PlanSummary parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.PlanSummary parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.datastore.v1.PlanSummary parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.datastore.v1.PlanSummary parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.PlanSummary parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.PlanSummary parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.PlanSummary parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.PlanSummary parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.datastore.v1.PlanSummary parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   public static com.google.datastore.v1.PlanSummary 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.datastore.v1.PlanSummary parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.datastore.v1.PlanSummary parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.datastore.v1.PlanSummary parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.datastore.v1.PlanSummary prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(
+      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
-   *
-   *
    * 
    * Planning phase information for the query.
    * 
* * Protobuf type {@code google.datastore.v1.PlanSummary} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.PlanSummary) com.google.datastore.v1.PlanSummaryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.QueryProfileProto - .internal_static_google_datastore_v1_PlanSummary_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_PlanSummary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProfileProto - .internal_static_google_datastore_v1_PlanSummary_fieldAccessorTable + return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_PlanSummary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.PlanSummary.class, - com.google.datastore.v1.PlanSummary.Builder.class); + com.google.datastore.v1.PlanSummary.class, com.google.datastore.v1.PlanSummary.Builder.class); } // Construct using com.google.datastore.v1.PlanSummary.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -363,9 +333,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.v1.QueryProfileProto - .internal_static_google_datastore_v1_PlanSummary_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_PlanSummary_descriptor; } @java.lang.Override @@ -386,9 +356,7 @@ public com.google.datastore.v1.PlanSummary build() { public com.google.datastore.v1.PlanSummary buildPartial() { com.google.datastore.v1.PlanSummary result = new com.google.datastore.v1.PlanSummary(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -413,39 +381,38 @@ private void buildPartial0(com.google.datastore.v1.PlanSummary result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.PlanSummary) { - return mergeFrom((com.google.datastore.v1.PlanSummary) other); + return mergeFrom((com.google.datastore.v1.PlanSummary)other); } else { super.mergeFrom(other); return this; @@ -472,10 +439,9 @@ public Builder mergeFrom(com.google.datastore.v1.PlanSummary other) { indexesUsedBuilder_ = null; indexesUsed_ = other.indexesUsed_; bitField0_ = (bitField0_ & ~0x00000001); - indexesUsedBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getIndexesUsedFieldBuilder() - : null; + indexesUsedBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getIndexesUsedFieldBuilder() : null; } else { indexesUsedBuilder_.addAllMessages(other.indexesUsed_); } @@ -507,25 +473,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - com.google.protobuf.Struct m = - input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); - if (indexesUsedBuilder_ == null) { - ensureIndexesUsedIsMutable(); - indexesUsed_.add(m); - } else { - indexesUsedBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + com.google.protobuf.Struct m = + input.readMessage( + com.google.protobuf.Struct.parser(), + extensionRegistry); + if (indexesUsedBuilder_ == null) { + ensureIndexesUsedIsMutable(); + indexesUsed_.add(m); + } else { + indexesUsedBuilder_.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) { @@ -535,28 +501,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List indexesUsed_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureIndexesUsedIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { indexesUsed_ = new java.util.ArrayList(indexesUsed_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protobuf.Struct, - com.google.protobuf.Struct.Builder, - com.google.protobuf.StructOrBuilder> - indexesUsedBuilder_; + com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> indexesUsedBuilder_; /** - * - * *
      * The indexes selected for the query. For example:
      *  [
@@ -575,8 +534,6 @@ public java.util.List getIndexesUsedList() {
       }
     }
     /**
-     *
-     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -595,8 +552,6 @@ public int getIndexesUsedCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -615,8 +570,6 @@ public com.google.protobuf.Struct getIndexesUsed(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -627,7 +580,8 @@ public com.google.protobuf.Struct getIndexesUsed(int index) {
      *
      * repeated .google.protobuf.Struct indexes_used = 1;
      */
-    public Builder setIndexesUsed(int index, com.google.protobuf.Struct value) {
+    public Builder setIndexesUsed(
+        int index, com.google.protobuf.Struct value) {
       if (indexesUsedBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -641,8 +595,6 @@ public Builder setIndexesUsed(int index, com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -653,7 +605,8 @@ public Builder setIndexesUsed(int index, com.google.protobuf.Struct value) {
      *
      * repeated .google.protobuf.Struct indexes_used = 1;
      */
-    public Builder setIndexesUsed(int index, com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setIndexesUsed(
+        int index, com.google.protobuf.Struct.Builder builderForValue) {
       if (indexesUsedBuilder_ == null) {
         ensureIndexesUsedIsMutable();
         indexesUsed_.set(index, builderForValue.build());
@@ -664,8 +617,6 @@ public Builder setIndexesUsed(int index, com.google.protobuf.Struct.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -690,8 +641,6 @@ public Builder addIndexesUsed(com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -702,7 +651,8 @@ public Builder addIndexesUsed(com.google.protobuf.Struct value) {
      *
      * repeated .google.protobuf.Struct indexes_used = 1;
      */
-    public Builder addIndexesUsed(int index, com.google.protobuf.Struct value) {
+    public Builder addIndexesUsed(
+        int index, com.google.protobuf.Struct value) {
       if (indexesUsedBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -716,8 +666,6 @@ public Builder addIndexesUsed(int index, com.google.protobuf.Struct value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -728,7 +676,8 @@ public Builder addIndexesUsed(int index, com.google.protobuf.Struct value) {
      *
      * repeated .google.protobuf.Struct indexes_used = 1;
      */
-    public Builder addIndexesUsed(com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder addIndexesUsed(
+        com.google.protobuf.Struct.Builder builderForValue) {
       if (indexesUsedBuilder_ == null) {
         ensureIndexesUsedIsMutable();
         indexesUsed_.add(builderForValue.build());
@@ -739,8 +688,6 @@ public Builder addIndexesUsed(com.google.protobuf.Struct.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -751,7 +698,8 @@ public Builder addIndexesUsed(com.google.protobuf.Struct.Builder builderForValue
      *
      * repeated .google.protobuf.Struct indexes_used = 1;
      */
-    public Builder addIndexesUsed(int index, com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder addIndexesUsed(
+        int index, com.google.protobuf.Struct.Builder builderForValue) {
       if (indexesUsedBuilder_ == null) {
         ensureIndexesUsedIsMutable();
         indexesUsed_.add(index, builderForValue.build());
@@ -762,8 +710,6 @@ public Builder addIndexesUsed(int index, com.google.protobuf.Struct.Builder buil
       return this;
     }
     /**
-     *
-     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -778,7 +724,8 @@ public Builder addAllIndexesUsed(
         java.lang.Iterable values) {
       if (indexesUsedBuilder_ == null) {
         ensureIndexesUsedIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, indexesUsed_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, indexesUsed_);
         onChanged();
       } else {
         indexesUsedBuilder_.addAllMessages(values);
@@ -786,8 +733,6 @@ public Builder addAllIndexesUsed(
       return this;
     }
     /**
-     *
-     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -809,8 +754,6 @@ public Builder clearIndexesUsed() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -832,8 +775,6 @@ public Builder removeIndexesUsed(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -844,12 +785,11 @@ public Builder removeIndexesUsed(int index) {
      *
      * repeated .google.protobuf.Struct indexes_used = 1;
      */
-    public com.google.protobuf.Struct.Builder getIndexesUsedBuilder(int index) {
+    public com.google.protobuf.Struct.Builder getIndexesUsedBuilder(
+        int index) {
       return getIndexesUsedFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -860,16 +800,14 @@ public com.google.protobuf.Struct.Builder getIndexesUsedBuilder(int index) {
      *
      * repeated .google.protobuf.Struct indexes_used = 1;
      */
-    public com.google.protobuf.StructOrBuilder getIndexesUsedOrBuilder(int index) {
+    public com.google.protobuf.StructOrBuilder getIndexesUsedOrBuilder(
+        int index) {
       if (indexesUsedBuilder_ == null) {
-        return indexesUsed_.get(index);
-      } else {
+        return indexesUsed_.get(index);  } else {
         return indexesUsedBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -880,8 +818,8 @@ public com.google.protobuf.StructOrBuilder getIndexesUsedOrBuilder(int index) {
      *
      * repeated .google.protobuf.Struct indexes_used = 1;
      */
-    public java.util.List
-        getIndexesUsedOrBuilderList() {
+    public java.util.List 
+         getIndexesUsedOrBuilderList() {
       if (indexesUsedBuilder_ != null) {
         return indexesUsedBuilder_.getMessageOrBuilderList();
       } else {
@@ -889,8 +827,6 @@ public com.google.protobuf.StructOrBuilder getIndexesUsedOrBuilder(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -902,12 +838,10 @@ public com.google.protobuf.StructOrBuilder getIndexesUsedOrBuilder(int index) {
      * repeated .google.protobuf.Struct indexes_used = 1;
      */
     public com.google.protobuf.Struct.Builder addIndexesUsedBuilder() {
-      return getIndexesUsedFieldBuilder()
-          .addBuilder(com.google.protobuf.Struct.getDefaultInstance());
+      return getIndexesUsedFieldBuilder().addBuilder(
+          com.google.protobuf.Struct.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -918,13 +852,12 @@ public com.google.protobuf.Struct.Builder addIndexesUsedBuilder() {
      *
      * repeated .google.protobuf.Struct indexes_used = 1;
      */
-    public com.google.protobuf.Struct.Builder addIndexesUsedBuilder(int index) {
-      return getIndexesUsedFieldBuilder()
-          .addBuilder(index, com.google.protobuf.Struct.getDefaultInstance());
+    public com.google.protobuf.Struct.Builder addIndexesUsedBuilder(
+        int index) {
+      return getIndexesUsedFieldBuilder().addBuilder(
+          index, com.google.protobuf.Struct.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -935,29 +868,27 @@ public com.google.protobuf.Struct.Builder addIndexesUsedBuilder(int index) {
      *
      * repeated .google.protobuf.Struct indexes_used = 1;
      */
-    public java.util.List getIndexesUsedBuilderList() {
+    public java.util.List 
+         getIndexesUsedBuilderList() {
       return getIndexesUsedFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.protobuf.Struct,
-            com.google.protobuf.Struct.Builder,
-            com.google.protobuf.StructOrBuilder>
+        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
         getIndexesUsedFieldBuilder() {
       if (indexesUsedBuilder_ == null) {
-        indexesUsedBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.protobuf.Struct,
-                com.google.protobuf.Struct.Builder,
-                com.google.protobuf.StructOrBuilder>(
-                indexesUsed_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
+        indexesUsedBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
+                indexesUsed_,
+                ((bitField0_ & 0x00000001) != 0),
+                getParentForChildren(),
+                isClean());
         indexesUsed_ = null;
       }
       return indexesUsedBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -967,12 +898,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.PlanSummary)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.PlanSummary)
   private static final com.google.datastore.v1.PlanSummary DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.PlanSummary();
   }
@@ -981,27 +912,27 @@ public static com.google.datastore.v1.PlanSummary getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public PlanSummary parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public PlanSummary parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1016,4 +947,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.PlanSummary getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PlanSummaryOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PlanSummaryOrBuilder.java
similarity index 71%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PlanSummaryOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PlanSummaryOrBuilder.java
index 634faded7..1c3d3ac7b 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PlanSummaryOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PlanSummaryOrBuilder.java
@@ -1,32 +1,14 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/query_profile.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface PlanSummaryOrBuilder
-    extends
+public interface PlanSummaryOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.PlanSummary)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The indexes selected for the query. For example:
    *  [
@@ -37,10 +19,9 @@ public interface PlanSummaryOrBuilder
    *
    * repeated .google.protobuf.Struct indexes_used = 1;
    */
-  java.util.List getIndexesUsedList();
+  java.util.List 
+      getIndexesUsedList();
   /**
-   *
-   *
    * 
    * The indexes selected for the query. For example:
    *  [
@@ -53,8 +34,6 @@ public interface PlanSummaryOrBuilder
    */
   com.google.protobuf.Struct getIndexesUsed(int index);
   /**
-   *
-   *
    * 
    * The indexes selected for the query. For example:
    *  [
@@ -67,8 +46,6 @@ public interface PlanSummaryOrBuilder
    */
   int getIndexesUsedCount();
   /**
-   *
-   *
    * 
    * The indexes selected for the query. For example:
    *  [
@@ -79,10 +56,9 @@ public interface PlanSummaryOrBuilder
    *
    * repeated .google.protobuf.Struct indexes_used = 1;
    */
-  java.util.List getIndexesUsedOrBuilderList();
+  java.util.List 
+      getIndexesUsedOrBuilderList();
   /**
-   *
-   *
    * 
    * The indexes selected for the query. For example:
    *  [
@@ -93,5 +69,6 @@ public interface PlanSummaryOrBuilder
    *
    * repeated .google.protobuf.Struct indexes_used = 1;
    */
-  com.google.protobuf.StructOrBuilder getIndexesUsedOrBuilder(int index);
+  com.google.protobuf.StructOrBuilder getIndexesUsedOrBuilder(
+      int index);
 }
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Projection.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Projection.java
similarity index 65%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Projection.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Projection.java
index 412dc13dd..994abb436 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Projection.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Projection.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/query.proto
 
@@ -20,59 +5,53 @@
 package com.google.datastore.v1;
 
 /**
- *
- *
  * 
  * A representation of a property in a projection.
  * 
* * Protobuf type {@code google.datastore.v1.Projection} */ -public final class Projection extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Projection extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.datastore.v1.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() {} + private Projection() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Projection(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_Projection_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_Projection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_Projection_fieldAccessorTable + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_Projection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.Projection.class, - com.google.datastore.v1.Projection.Builder.class); + com.google.datastore.v1.Projection.class, com.google.datastore.v1.Projection.Builder.class); } private int bitField0_; public static final int PROPERTY_FIELD_NUMBER = 1; private com.google.datastore.v1.PropertyReference property_; /** - * - * *
    * The property to project.
    * 
* * .google.datastore.v1.PropertyReference property = 1; - * * @return Whether the property field is set. */ @java.lang.Override @@ -80,25 +59,18 @@ public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The property to project.
    * 
* * .google.datastore.v1.PropertyReference property = 1; - * * @return The property. */ @java.lang.Override public com.google.datastore.v1.PropertyReference getProperty() { - return property_ == null - ? com.google.datastore.v1.PropertyReference.getDefaultInstance() - : property_; + return property_ == null ? com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; } /** - * - * *
    * The property to project.
    * 
@@ -107,13 +79,10 @@ public com.google.datastore.v1.PropertyReference getProperty() { */ @java.lang.Override public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() { - return property_ == null - ? com.google.datastore.v1.PropertyReference.getDefaultInstance() - : property_; + return property_ == null ? com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -125,7 +94,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getProperty()); } @@ -139,7 +109,8 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getProperty()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getProperty()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -149,7 +120,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.datastore.v1.Projection)) { return super.equals(obj); @@ -158,7 +129,8 @@ public boolean equals(final java.lang.Object obj) { if (hasProperty() != other.hasProperty()) return false; if (hasProperty()) { - if (!getProperty().equals(other.getProperty())) return false; + if (!getProperty() + .equals(other.getProperty())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -180,126 +152,120 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.Projection parseFrom(java.nio.ByteBuffer data) + public static com.google.datastore.v1.Projection parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.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.datastore.v1.Projection parseFrom(com.google.protobuf.ByteString data) + public static com.google.datastore.v1.Projection parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.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.datastore.v1.Projection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.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.datastore.v1.Projection parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.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.datastore.v1.Projection 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.datastore.v1.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.datastore.v1.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.datastore.v1.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.datastore.v1.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 - protected 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 representation of a property in a projection.
    * 
* * Protobuf type {@code google.datastore.v1.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.datastore.v1.Projection) com.google.datastore.v1.ProjectionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_Projection_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_Projection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_Projection_fieldAccessorTable + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_Projection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.Projection.class, - com.google.datastore.v1.Projection.Builder.class); + com.google.datastore.v1.Projection.class, com.google.datastore.v1.Projection.Builder.class); } // Construct using com.google.datastore.v1.Projection.newBuilder() @@ -307,17 +273,17 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPropertyFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -331,9 +297,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_Projection_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_Projection_descriptor; } @java.lang.Override @@ -353,9 +319,7 @@ public com.google.datastore.v1.Projection build() { @java.lang.Override public com.google.datastore.v1.Projection buildPartial() { com.google.datastore.v1.Projection result = new com.google.datastore.v1.Projection(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -364,7 +328,9 @@ private void buildPartial0(com.google.datastore.v1.Projection result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.property_ = propertyBuilder_ == null ? property_ : propertyBuilder_.build(); + result.property_ = propertyBuilder_ == null + ? property_ + : propertyBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -374,39 +340,38 @@ private void buildPartial0(com.google.datastore.v1.Projection result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.Projection) { - return mergeFrom((com.google.datastore.v1.Projection) other); + return mergeFrom((com.google.datastore.v1.Projection)other); } else { super.mergeFrom(other); return this; @@ -444,19 +409,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getPropertyFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getPropertyFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -466,52 +431,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.datastore.v1.PropertyReference property_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyReference, - com.google.datastore.v1.PropertyReference.Builder, - com.google.datastore.v1.PropertyReferenceOrBuilder> - propertyBuilder_; + com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder> propertyBuilder_; /** - * - * *
      * The property to project.
      * 
* * .google.datastore.v1.PropertyReference property = 1; - * * @return Whether the property field is set. */ public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The property to project.
      * 
* * .google.datastore.v1.PropertyReference property = 1; - * * @return The property. */ public com.google.datastore.v1.PropertyReference getProperty() { if (propertyBuilder_ == null) { - return property_ == null - ? com.google.datastore.v1.PropertyReference.getDefaultInstance() - : property_; + return property_ == null ? com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; } else { return propertyBuilder_.getMessage(); } } /** - * - * *
      * The property to project.
      * 
@@ -532,15 +483,14 @@ public Builder setProperty(com.google.datastore.v1.PropertyReference value) { return this; } /** - * - * *
      * The property to project.
      * 
* * .google.datastore.v1.PropertyReference property = 1; */ - public Builder setProperty(com.google.datastore.v1.PropertyReference.Builder builderForValue) { + public Builder setProperty( + com.google.datastore.v1.PropertyReference.Builder builderForValue) { if (propertyBuilder_ == null) { property_ = builderForValue.build(); } else { @@ -551,8 +501,6 @@ public Builder setProperty(com.google.datastore.v1.PropertyReference.Builder bui return this; } /** - * - * *
      * The property to project.
      * 
@@ -561,9 +509,9 @@ public Builder setProperty(com.google.datastore.v1.PropertyReference.Builder bui */ public Builder mergeProperty(com.google.datastore.v1.PropertyReference value) { if (propertyBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && property_ != null - && property_ != com.google.datastore.v1.PropertyReference.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + property_ != null && + property_ != com.google.datastore.v1.PropertyReference.getDefaultInstance()) { getPropertyBuilder().mergeFrom(value); } else { property_ = value; @@ -578,8 +526,6 @@ public Builder mergeProperty(com.google.datastore.v1.PropertyReference value) { return this; } /** - * - * *
      * The property to project.
      * 
@@ -597,8 +543,6 @@ public Builder clearProperty() { return this; } /** - * - * *
      * The property to project.
      * 
@@ -611,8 +555,6 @@ public com.google.datastore.v1.PropertyReference.Builder getPropertyBuilder() { return getPropertyFieldBuilder().getBuilder(); } /** - * - * *
      * The property to project.
      * 
@@ -623,14 +565,11 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() if (propertyBuilder_ != null) { return propertyBuilder_.getMessageOrBuilder(); } else { - return property_ == null - ? com.google.datastore.v1.PropertyReference.getDefaultInstance() - : property_; + return property_ == null ? + com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; } } /** - * - * *
      * The property to project.
      * 
@@ -638,24 +577,21 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() * .google.datastore.v1.PropertyReference property = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyReference, - com.google.datastore.v1.PropertyReference.Builder, - com.google.datastore.v1.PropertyReferenceOrBuilder> + com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder> getPropertyFieldBuilder() { if (propertyBuilder_ == null) { - propertyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyReference, - com.google.datastore.v1.PropertyReference.Builder, - com.google.datastore.v1.PropertyReferenceOrBuilder>( - getProperty(), getParentForChildren(), isClean()); + propertyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder>( + getProperty(), + getParentForChildren(), + isClean()); property_ = null; } return propertyBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -665,12 +601,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.v1.Projection) } // @@protoc_insertion_point(class_scope:google.datastore.v1.Projection) private static final com.google.datastore.v1.Projection DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.v1.Projection(); } @@ -679,27 +615,27 @@ public static com.google.datastore.v1.Projection getDefaultInstance() { 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; @@ -714,4 +650,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.Projection getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ProjectionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ProjectionOrBuilder.java similarity index 58% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ProjectionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ProjectionOrBuilder.java index c1a094d81..08ea78a3d 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ProjectionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ProjectionOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface ProjectionOrBuilder - extends +public interface ProjectionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.Projection) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The property to project.
    * 
* * .google.datastore.v1.PropertyReference property = 1; - * * @return Whether the property field is set. */ boolean hasProperty(); /** - * - * *
    * The property to project.
    * 
* * .google.datastore.v1.PropertyReference property = 1; - * * @return The property. */ com.google.datastore.v1.PropertyReference getProperty(); /** - * - * *
    * The property to project.
    * 
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyFilter.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyFilter.java similarity index 73% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyFilter.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyFilter.java index 3eb9c2c1d..f64f12d13 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyFilter.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyFilter.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto @@ -20,62 +5,55 @@ package com.google.datastore.v1; /** - * - * *
  * A filter on a specific property.
  * 
* * Protobuf type {@code google.datastore.v1.PropertyFilter} */ -public final class PropertyFilter extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PropertyFilter extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.datastore.v1.PropertyFilter) PropertyFilterOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PropertyFilter.newBuilder() to construct. private PropertyFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PropertyFilter() { op_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PropertyFilter(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_PropertyFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_PropertyFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_PropertyFilter_fieldAccessorTable + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_PropertyFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.PropertyFilter.class, - com.google.datastore.v1.PropertyFilter.Builder.class); + com.google.datastore.v1.PropertyFilter.class, com.google.datastore.v1.PropertyFilter.Builder.class); } /** - * - * *
    * A property filter operator.
    * 
* * Protobuf enum {@code google.datastore.v1.PropertyFilter.Operator} */ - public enum Operator implements com.google.protobuf.ProtocolMessageEnum { + public enum Operator + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified. This value must not be used.
      * 
@@ -84,8 +62,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ OPERATOR_UNSPECIFIED(0), /** - * - * *
      * The given `property` is less than the given `value`.
      *
@@ -98,8 +74,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
      */
     LESS_THAN(1),
     /**
-     *
-     *
      * 
      * The given `property` is less than or equal to the given `value`.
      *
@@ -112,8 +86,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
      */
     LESS_THAN_OR_EQUAL(2),
     /**
-     *
-     *
      * 
      * The given `property` is greater than the given `value`.
      *
@@ -126,8 +98,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
      */
     GREATER_THAN(3),
     /**
-     *
-     *
      * 
      * The given `property` is greater than or equal to the given `value`.
      *
@@ -140,8 +110,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
      */
     GREATER_THAN_OR_EQUAL(4),
     /**
-     *
-     *
      * 
      * The given `property` is equal to the given `value`.
      * 
@@ -150,8 +118,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ EQUAL(5), /** - * - * *
      * The given `property` is equal to at least one value in the given array.
      *
@@ -166,8 +132,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
      */
     IN(6),
     /**
-     *
-     *
      * 
      * The given `property` is not equal to the given `value`.
      *
@@ -181,8 +145,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
      */
     NOT_EQUAL(9),
     /**
-     *
-     *
      * 
      * Limit the result set to the given entity and its descendants.
      *
@@ -196,8 +158,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
      */
     HAS_ANCESTOR(11),
     /**
-     *
-     *
      * 
      * The value of the `property` is not in the given array.
      *
@@ -215,8 +175,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
     ;
 
     /**
-     *
-     *
      * 
      * Unspecified. This value must not be used.
      * 
@@ -225,8 +183,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ public static final int OPERATOR_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The given `property` is less than the given `value`.
      *
@@ -239,8 +195,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int LESS_THAN_VALUE = 1;
     /**
-     *
-     *
      * 
      * The given `property` is less than or equal to the given `value`.
      *
@@ -253,8 +207,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int LESS_THAN_OR_EQUAL_VALUE = 2;
     /**
-     *
-     *
      * 
      * The given `property` is greater than the given `value`.
      *
@@ -267,8 +219,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int GREATER_THAN_VALUE = 3;
     /**
-     *
-     *
      * 
      * The given `property` is greater than or equal to the given `value`.
      *
@@ -281,8 +231,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int GREATER_THAN_OR_EQUAL_VALUE = 4;
     /**
-     *
-     *
      * 
      * The given `property` is equal to the given `value`.
      * 
@@ -291,8 +239,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EQUAL_VALUE = 5; /** - * - * *
      * The given `property` is equal to at least one value in the given array.
      *
@@ -307,8 +253,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int IN_VALUE = 6;
     /**
-     *
-     *
      * 
      * The given `property` is not equal to the given `value`.
      *
@@ -322,8 +266,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NOT_EQUAL_VALUE = 9;
     /**
-     *
-     *
      * 
      * Limit the result set to the given entity and its descendants.
      *
@@ -337,8 +279,6 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int HAS_ANCESTOR_VALUE = 11;
     /**
-     *
-     *
      * 
      * The value of the `property` is not in the given array.
      *
@@ -353,6 +293,7 @@ public enum Operator implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int NOT_IN_VALUE = 13;
 
+
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -377,63 +318,56 @@ 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 IN;
-        case 9:
-          return NOT_EQUAL;
-        case 11:
-          return HAS_ANCESTOR;
-        case 13:
-          return NOT_IN;
-        default:
-          return null;
+        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 IN;
+        case 9: return NOT_EQUAL;
+        case 11: return HAS_ANCESTOR;
+        case 13: return NOT_IN;
+        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() {
+    public static final com.google.protobuf.Descriptors.EnumDescriptor
+        getDescriptor() {
       return com.google.datastore.v1.PropertyFilter.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;
@@ -454,14 +388,11 @@ private Operator(int value) {
   public static final int PROPERTY_FIELD_NUMBER = 1;
   private com.google.datastore.v1.PropertyReference property_;
   /**
-   *
-   *
    * 
    * The property to filter by.
    * 
* * .google.datastore.v1.PropertyReference property = 1; - * * @return Whether the property field is set. */ @java.lang.Override @@ -469,25 +400,18 @@ public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The property to filter by.
    * 
* * .google.datastore.v1.PropertyReference property = 1; - * * @return The property. */ @java.lang.Override public com.google.datastore.v1.PropertyReference getProperty() { - return property_ == null - ? com.google.datastore.v1.PropertyReference.getDefaultInstance() - : property_; + return property_ == null ? com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; } /** - * - * *
    * The property to filter by.
    * 
@@ -496,57 +420,43 @@ public com.google.datastore.v1.PropertyReference getProperty() { */ @java.lang.Override public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() { - return property_ == null - ? com.google.datastore.v1.PropertyReference.getDefaultInstance() - : property_; + return property_ == null ? com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; } public static final int OP_FIELD_NUMBER = 2; private int op_ = 0; /** - * - * *
    * The operator to filter by.
    * 
* * .google.datastore.v1.PropertyFilter.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.datastore.v1.PropertyFilter.Operator op = 2; - * * @return The op. */ - @java.lang.Override - public com.google.datastore.v1.PropertyFilter.Operator getOp() { - com.google.datastore.v1.PropertyFilter.Operator result = - com.google.datastore.v1.PropertyFilter.Operator.forNumber(op_); + @java.lang.Override public com.google.datastore.v1.PropertyFilter.Operator getOp() { + com.google.datastore.v1.PropertyFilter.Operator result = com.google.datastore.v1.PropertyFilter.Operator.forNumber(op_); return result == null ? com.google.datastore.v1.PropertyFilter.Operator.UNRECOGNIZED : result; } public static final int VALUE_FIELD_NUMBER = 3; private com.google.datastore.v1.Value value_; /** - * - * *
    * The value to compare the property to.
    * 
* * .google.datastore.v1.Value value = 3; - * * @return Whether the value field is set. */ @java.lang.Override @@ -554,14 +464,11 @@ public boolean hasValue() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The value to compare the property to.
    * 
* * .google.datastore.v1.Value value = 3; - * * @return The value. */ @java.lang.Override @@ -569,8 +476,6 @@ public com.google.datastore.v1.Value getValue() { return value_ == null ? com.google.datastore.v1.Value.getDefaultInstance() : value_; } /** - * - * *
    * The value to compare the property to.
    * 
@@ -583,7 +488,6 @@ public com.google.datastore.v1.ValueOrBuilder getValueOrBuilder() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -595,7 +499,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getProperty()); } @@ -615,13 +520,16 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getProperty()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getProperty()); } if (op_ != com.google.datastore.v1.PropertyFilter.Operator.OPERATOR_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, op_); + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, op_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getValue()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getValue()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -631,7 +539,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.datastore.v1.PropertyFilter)) { return super.equals(obj); @@ -640,12 +548,14 @@ public boolean equals(final java.lang.Object obj) { if (hasProperty() != other.hasProperty()) return false; if (hasProperty()) { - if (!getProperty().equals(other.getProperty())) return false; + if (!getProperty() + .equals(other.getProperty())) 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; @@ -673,127 +583,120 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.PropertyFilter parseFrom(java.nio.ByteBuffer data) + public static com.google.datastore.v1.PropertyFilter parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.PropertyFilter parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.PropertyFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.PropertyFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.PropertyFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.PropertyFilter parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.PropertyFilter parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.PropertyFilter parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.datastore.v1.PropertyFilter 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.datastore.v1.PropertyFilter parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.PropertyFilter parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.PropertyFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.datastore.v1.PropertyFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 filter on a specific property.
    * 
* * Protobuf type {@code google.datastore.v1.PropertyFilter} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.PropertyFilter) com.google.datastore.v1.PropertyFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_PropertyFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_PropertyFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_PropertyFilter_fieldAccessorTable + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_PropertyFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.PropertyFilter.class, - com.google.datastore.v1.PropertyFilter.Builder.class); + com.google.datastore.v1.PropertyFilter.class, com.google.datastore.v1.PropertyFilter.Builder.class); } // Construct using com.google.datastore.v1.PropertyFilter.newBuilder() @@ -801,18 +704,18 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPropertyFieldBuilder(); getValueFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -832,9 +735,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_PropertyFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_PropertyFilter_descriptor; } @java.lang.Override @@ -853,11 +756,8 @@ public com.google.datastore.v1.PropertyFilter build() { @java.lang.Override public com.google.datastore.v1.PropertyFilter buildPartial() { - com.google.datastore.v1.PropertyFilter result = - new com.google.datastore.v1.PropertyFilter(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.datastore.v1.PropertyFilter result = new com.google.datastore.v1.PropertyFilter(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -866,14 +766,18 @@ private void buildPartial0(com.google.datastore.v1.PropertyFilter result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.property_ = propertyBuilder_ == null ? property_ : propertyBuilder_.build(); + result.property_ = propertyBuilder_ == null + ? property_ + : propertyBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.op_ = op_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.value_ = valueBuilder_ == null ? value_ : valueBuilder_.build(); + result.value_ = valueBuilder_ == null + ? value_ + : valueBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -883,39 +787,38 @@ private void buildPartial0(com.google.datastore.v1.PropertyFilter result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.PropertyFilter) { - return mergeFrom((com.google.datastore.v1.PropertyFilter) other); + return mergeFrom((com.google.datastore.v1.PropertyFilter)other); } else { super.mergeFrom(other); return this; @@ -959,31 +862,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getPropertyFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - op_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - input.readMessage(getValueFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getPropertyFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + op_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + input.readMessage( + getValueFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -993,52 +896,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.datastore.v1.PropertyReference property_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyReference, - com.google.datastore.v1.PropertyReference.Builder, - com.google.datastore.v1.PropertyReferenceOrBuilder> - propertyBuilder_; + com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder> propertyBuilder_; /** - * - * *
      * The property to filter by.
      * 
* * .google.datastore.v1.PropertyReference property = 1; - * * @return Whether the property field is set. */ public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The property to filter by.
      * 
* * .google.datastore.v1.PropertyReference property = 1; - * * @return The property. */ public com.google.datastore.v1.PropertyReference getProperty() { if (propertyBuilder_ == null) { - return property_ == null - ? com.google.datastore.v1.PropertyReference.getDefaultInstance() - : property_; + return property_ == null ? com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; } else { return propertyBuilder_.getMessage(); } } /** - * - * *
      * The property to filter by.
      * 
@@ -1059,15 +948,14 @@ public Builder setProperty(com.google.datastore.v1.PropertyReference value) { return this; } /** - * - * *
      * The property to filter by.
      * 
* * .google.datastore.v1.PropertyReference property = 1; */ - public Builder setProperty(com.google.datastore.v1.PropertyReference.Builder builderForValue) { + public Builder setProperty( + com.google.datastore.v1.PropertyReference.Builder builderForValue) { if (propertyBuilder_ == null) { property_ = builderForValue.build(); } else { @@ -1078,8 +966,6 @@ public Builder setProperty(com.google.datastore.v1.PropertyReference.Builder bui return this; } /** - * - * *
      * The property to filter by.
      * 
@@ -1088,9 +974,9 @@ public Builder setProperty(com.google.datastore.v1.PropertyReference.Builder bui */ public Builder mergeProperty(com.google.datastore.v1.PropertyReference value) { if (propertyBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && property_ != null - && property_ != com.google.datastore.v1.PropertyReference.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + property_ != null && + property_ != com.google.datastore.v1.PropertyReference.getDefaultInstance()) { getPropertyBuilder().mergeFrom(value); } else { property_ = value; @@ -1105,8 +991,6 @@ public Builder mergeProperty(com.google.datastore.v1.PropertyReference value) { return this; } /** - * - * *
      * The property to filter by.
      * 
@@ -1124,8 +1008,6 @@ public Builder clearProperty() { return this; } /** - * - * *
      * The property to filter by.
      * 
@@ -1138,8 +1020,6 @@ public com.google.datastore.v1.PropertyReference.Builder getPropertyBuilder() { return getPropertyFieldBuilder().getBuilder(); } /** - * - * *
      * The property to filter by.
      * 
@@ -1150,14 +1030,11 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() if (propertyBuilder_ != null) { return propertyBuilder_.getMessageOrBuilder(); } else { - return property_ == null - ? com.google.datastore.v1.PropertyReference.getDefaultInstance() - : property_; + return property_ == null ? + com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; } } /** - * - * *
      * The property to filter by.
      * 
@@ -1165,17 +1042,14 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() * .google.datastore.v1.PropertyReference property = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyReference, - com.google.datastore.v1.PropertyReference.Builder, - com.google.datastore.v1.PropertyReferenceOrBuilder> + com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder> getPropertyFieldBuilder() { if (propertyBuilder_ == null) { - propertyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyReference, - com.google.datastore.v1.PropertyReference.Builder, - com.google.datastore.v1.PropertyReferenceOrBuilder>( - getProperty(), getParentForChildren(), isClean()); + propertyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder>( + getProperty(), + getParentForChildren(), + isClean()); property_ = null; } return propertyBuilder_; @@ -1183,29 +1057,22 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() private int op_ = 0; /** - * - * *
      * The operator to filter by.
      * 
* * .google.datastore.v1.PropertyFilter.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.datastore.v1.PropertyFilter.Operator op = 2; - * * @param value The enum numeric value on the wire for op to set. * @return This builder for chaining. */ @@ -1216,31 +1083,24 @@ public Builder setOpValue(int value) { return this; } /** - * - * *
      * The operator to filter by.
      * 
* * .google.datastore.v1.PropertyFilter.Operator op = 2; - * * @return The op. */ @java.lang.Override public com.google.datastore.v1.PropertyFilter.Operator getOp() { - com.google.datastore.v1.PropertyFilter.Operator result = - com.google.datastore.v1.PropertyFilter.Operator.forNumber(op_); + com.google.datastore.v1.PropertyFilter.Operator result = com.google.datastore.v1.PropertyFilter.Operator.forNumber(op_); return result == null ? com.google.datastore.v1.PropertyFilter.Operator.UNRECOGNIZED : result; } /** - * - * *
      * The operator to filter by.
      * 
* * .google.datastore.v1.PropertyFilter.Operator op = 2; - * * @param value The op to set. * @return This builder for chaining. */ @@ -1254,14 +1114,11 @@ public Builder setOp(com.google.datastore.v1.PropertyFilter.Operator value) { return this; } /** - * - * *
      * The operator to filter by.
      * 
* * .google.datastore.v1.PropertyFilter.Operator op = 2; - * * @return This builder for chaining. */ public Builder clearOp() { @@ -1273,33 +1130,24 @@ public Builder clearOp() { private com.google.datastore.v1.Value value_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Value, - com.google.datastore.v1.Value.Builder, - com.google.datastore.v1.ValueOrBuilder> - valueBuilder_; + com.google.datastore.v1.Value, com.google.datastore.v1.Value.Builder, com.google.datastore.v1.ValueOrBuilder> valueBuilder_; /** - * - * *
      * The value to compare the property to.
      * 
* * .google.datastore.v1.Value value = 3; - * * @return Whether the value field is set. */ public boolean hasValue() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The value to compare the property to.
      * 
* * .google.datastore.v1.Value value = 3; - * * @return The value. */ public com.google.datastore.v1.Value getValue() { @@ -1310,8 +1158,6 @@ public com.google.datastore.v1.Value getValue() { } } /** - * - * *
      * The value to compare the property to.
      * 
@@ -1332,15 +1178,14 @@ public Builder setValue(com.google.datastore.v1.Value value) { return this; } /** - * - * *
      * The value to compare the property to.
      * 
* * .google.datastore.v1.Value value = 3; */ - public Builder setValue(com.google.datastore.v1.Value.Builder builderForValue) { + public Builder setValue( + com.google.datastore.v1.Value.Builder builderForValue) { if (valueBuilder_ == null) { value_ = builderForValue.build(); } else { @@ -1351,8 +1196,6 @@ public Builder setValue(com.google.datastore.v1.Value.Builder builderForValue) { return this; } /** - * - * *
      * The value to compare the property to.
      * 
@@ -1361,9 +1204,9 @@ public Builder setValue(com.google.datastore.v1.Value.Builder builderForValue) { */ public Builder mergeValue(com.google.datastore.v1.Value value) { if (valueBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && value_ != null - && value_ != com.google.datastore.v1.Value.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + value_ != null && + value_ != com.google.datastore.v1.Value.getDefaultInstance()) { getValueBuilder().mergeFrom(value); } else { value_ = value; @@ -1378,8 +1221,6 @@ public Builder mergeValue(com.google.datastore.v1.Value value) { return this; } /** - * - * *
      * The value to compare the property to.
      * 
@@ -1397,8 +1238,6 @@ public Builder clearValue() { return this; } /** - * - * *
      * The value to compare the property to.
      * 
@@ -1411,8 +1250,6 @@ public com.google.datastore.v1.Value.Builder getValueBuilder() { return getValueFieldBuilder().getBuilder(); } /** - * - * *
      * The value to compare the property to.
      * 
@@ -1423,12 +1260,11 @@ public com.google.datastore.v1.ValueOrBuilder getValueOrBuilder() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { - return value_ == null ? com.google.datastore.v1.Value.getDefaultInstance() : value_; + return value_ == null ? + com.google.datastore.v1.Value.getDefaultInstance() : value_; } } /** - * - * *
      * The value to compare the property to.
      * 
@@ -1436,24 +1272,21 @@ public com.google.datastore.v1.ValueOrBuilder getValueOrBuilder() { * .google.datastore.v1.Value value = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Value, - com.google.datastore.v1.Value.Builder, - com.google.datastore.v1.ValueOrBuilder> + com.google.datastore.v1.Value, com.google.datastore.v1.Value.Builder, com.google.datastore.v1.ValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { - valueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Value, - com.google.datastore.v1.Value.Builder, - com.google.datastore.v1.ValueOrBuilder>( - getValue(), getParentForChildren(), isClean()); + valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.Value, com.google.datastore.v1.Value.Builder, com.google.datastore.v1.ValueOrBuilder>( + getValue(), + getParentForChildren(), + isClean()); value_ = null; } return valueBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1463,12 +1296,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.v1.PropertyFilter) } // @@protoc_insertion_point(class_scope:google.datastore.v1.PropertyFilter) private static final com.google.datastore.v1.PropertyFilter DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.v1.PropertyFilter(); } @@ -1477,27 +1310,27 @@ public static com.google.datastore.v1.PropertyFilter getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PropertyFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PropertyFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1512,4 +1345,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.PropertyFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyFilterOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyFilterOrBuilder.java similarity index 72% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyFilterOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyFilterOrBuilder.java index c7c9d0577..232aaab62 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyFilterOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyFilterOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface PropertyFilterOrBuilder - extends +public interface PropertyFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.PropertyFilter) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The property to filter by.
    * 
* * .google.datastore.v1.PropertyReference property = 1; - * * @return Whether the property field is set. */ boolean hasProperty(); /** - * - * *
    * The property to filter by.
    * 
* * .google.datastore.v1.PropertyReference property = 1; - * * @return The property. */ com.google.datastore.v1.PropertyReference getProperty(); /** - * - * *
    * The property to filter by.
    * 
@@ -60,57 +36,43 @@ public interface PropertyFilterOrBuilder com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder(); /** - * - * *
    * The operator to filter by.
    * 
* * .google.datastore.v1.PropertyFilter.Operator op = 2; - * * @return The enum numeric value on the wire for op. */ int getOpValue(); /** - * - * *
    * The operator to filter by.
    * 
* * .google.datastore.v1.PropertyFilter.Operator op = 2; - * * @return The op. */ com.google.datastore.v1.PropertyFilter.Operator getOp(); /** - * - * *
    * The value to compare the property to.
    * 
* * .google.datastore.v1.Value value = 3; - * * @return Whether the value field is set. */ boolean hasValue(); /** - * - * *
    * The value to compare the property to.
    * 
* * .google.datastore.v1.Value value = 3; - * * @return The value. */ com.google.datastore.v1.Value getValue(); /** - * - * *
    * The value to compare the property to.
    * 
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyOrder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyOrder.java similarity index 68% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyOrder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyOrder.java index b42405c97..5666d8d61 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyOrder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyOrder.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto @@ -20,62 +5,55 @@ package com.google.datastore.v1; /** - * - * *
  * The desired order for a specific property.
  * 
* * Protobuf type {@code google.datastore.v1.PropertyOrder} */ -public final class PropertyOrder extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PropertyOrder extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.datastore.v1.PropertyOrder) PropertyOrderOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PropertyOrder.newBuilder() to construct. private PropertyOrder(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PropertyOrder() { direction_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PropertyOrder(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_PropertyOrder_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_PropertyOrder_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_PropertyOrder_fieldAccessorTable + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_PropertyOrder_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.PropertyOrder.class, - com.google.datastore.v1.PropertyOrder.Builder.class); + com.google.datastore.v1.PropertyOrder.class, com.google.datastore.v1.PropertyOrder.Builder.class); } /** - * - * *
    * The sort direction.
    * 
* * Protobuf enum {@code google.datastore.v1.PropertyOrder.Direction} */ - public enum Direction implements com.google.protobuf.ProtocolMessageEnum { + public enum Direction + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified. This value must not be used.
      * 
@@ -84,8 +62,6 @@ public enum Direction implements com.google.protobuf.ProtocolMessageEnum { */ DIRECTION_UNSPECIFIED(0), /** - * - * *
      * Ascending.
      * 
@@ -94,8 +70,6 @@ public enum Direction implements com.google.protobuf.ProtocolMessageEnum { */ ASCENDING(1), /** - * - * *
      * Descending.
      * 
@@ -107,8 +81,6 @@ public enum Direction implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified. This value must not be used.
      * 
@@ -117,8 +89,6 @@ public enum Direction implements com.google.protobuf.ProtocolMessageEnum { */ public static final int DIRECTION_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Ascending.
      * 
@@ -127,8 +97,6 @@ public enum Direction implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ASCENDING_VALUE = 1; /** - * - * *
      * Descending.
      * 
@@ -137,6 +105,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( @@ -161,49 +130,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.datastore.v1.PropertyOrder.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; @@ -224,14 +193,11 @@ private Direction(int value) { public static final int PROPERTY_FIELD_NUMBER = 1; private com.google.datastore.v1.PropertyReference property_; /** - * - * *
    * The property to order by.
    * 
* * .google.datastore.v1.PropertyReference property = 1; - * * @return Whether the property field is set. */ @java.lang.Override @@ -239,25 +205,18 @@ public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The property to order by.
    * 
* * .google.datastore.v1.PropertyReference property = 1; - * * @return The property. */ @java.lang.Override public com.google.datastore.v1.PropertyReference getProperty() { - return property_ == null - ? com.google.datastore.v1.PropertyReference.getDefaultInstance() - : property_; + return property_ == null ? com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; } /** - * - * *
    * The property to order by.
    * 
@@ -266,48 +225,36 @@ public com.google.datastore.v1.PropertyReference getProperty() { */ @java.lang.Override public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() { - return property_ == null - ? com.google.datastore.v1.PropertyReference.getDefaultInstance() - : property_; + return property_ == null ? com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; } public static final int DIRECTION_FIELD_NUMBER = 2; private int direction_ = 0; /** - * - * *
    * The direction to order by. Defaults to `ASCENDING`.
    * 
* * .google.datastore.v1.PropertyOrder.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.datastore.v1.PropertyOrder.Direction direction = 2; - * * @return The direction. */ - @java.lang.Override - public com.google.datastore.v1.PropertyOrder.Direction getDirection() { - com.google.datastore.v1.PropertyOrder.Direction result = - com.google.datastore.v1.PropertyOrder.Direction.forNumber(direction_); + @java.lang.Override public com.google.datastore.v1.PropertyOrder.Direction getDirection() { + com.google.datastore.v1.PropertyOrder.Direction result = com.google.datastore.v1.PropertyOrder.Direction.forNumber(direction_); return result == null ? com.google.datastore.v1.PropertyOrder.Direction.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -319,12 +266,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getProperty()); } - if (direction_ - != com.google.datastore.v1.PropertyOrder.Direction.DIRECTION_UNSPECIFIED.getNumber()) { + if (direction_ != com.google.datastore.v1.PropertyOrder.Direction.DIRECTION_UNSPECIFIED.getNumber()) { output.writeEnum(2, direction_); } getUnknownFields().writeTo(output); @@ -337,11 +284,12 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getProperty()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getProperty()); } - if (direction_ - != com.google.datastore.v1.PropertyOrder.Direction.DIRECTION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, direction_); + if (direction_ != com.google.datastore.v1.PropertyOrder.Direction.DIRECTION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, direction_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -351,7 +299,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.datastore.v1.PropertyOrder)) { return super.equals(obj); @@ -360,7 +308,8 @@ public boolean equals(final java.lang.Object obj) { if (hasProperty() != other.hasProperty()) return false; if (hasProperty()) { - if (!getProperty().equals(other.getProperty())) return false; + if (!getProperty() + .equals(other.getProperty())) return false; } if (direction_ != other.direction_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -385,126 +334,120 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.PropertyOrder parseFrom(java.nio.ByteBuffer data) + public static com.google.datastore.v1.PropertyOrder parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.PropertyOrder parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.datastore.v1.PropertyOrder parseFrom(com.google.protobuf.ByteString data) + public static com.google.datastore.v1.PropertyOrder parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.PropertyOrder parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.PropertyOrder parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.PropertyOrder parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.PropertyOrder parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.PropertyOrder parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.datastore.v1.PropertyOrder 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.datastore.v1.PropertyOrder parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.PropertyOrder parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.PropertyOrder parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.datastore.v1.PropertyOrder prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 desired order for a specific property.
    * 
* * Protobuf type {@code google.datastore.v1.PropertyOrder} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.PropertyOrder) com.google.datastore.v1.PropertyOrderOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_PropertyOrder_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_PropertyOrder_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_PropertyOrder_fieldAccessorTable + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_PropertyOrder_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.PropertyOrder.class, - com.google.datastore.v1.PropertyOrder.Builder.class); + com.google.datastore.v1.PropertyOrder.class, com.google.datastore.v1.PropertyOrder.Builder.class); } // Construct using com.google.datastore.v1.PropertyOrder.newBuilder() @@ -512,17 +455,17 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPropertyFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -537,9 +480,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_PropertyOrder_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_PropertyOrder_descriptor; } @java.lang.Override @@ -558,11 +501,8 @@ public com.google.datastore.v1.PropertyOrder build() { @java.lang.Override public com.google.datastore.v1.PropertyOrder buildPartial() { - com.google.datastore.v1.PropertyOrder result = - new com.google.datastore.v1.PropertyOrder(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.datastore.v1.PropertyOrder result = new com.google.datastore.v1.PropertyOrder(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -571,7 +511,9 @@ private void buildPartial0(com.google.datastore.v1.PropertyOrder result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.property_ = propertyBuilder_ == null ? property_ : propertyBuilder_.build(); + result.property_ = propertyBuilder_ == null + ? property_ + : propertyBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { @@ -584,39 +526,38 @@ private void buildPartial0(com.google.datastore.v1.PropertyOrder result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.PropertyOrder) { - return mergeFrom((com.google.datastore.v1.PropertyOrder) other); + return mergeFrom((com.google.datastore.v1.PropertyOrder)other); } else { super.mergeFrom(other); return this; @@ -657,25 +598,24 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getPropertyFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - direction_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getPropertyFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + direction_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -685,52 +625,38 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private com.google.datastore.v1.PropertyReference property_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyReference, - com.google.datastore.v1.PropertyReference.Builder, - com.google.datastore.v1.PropertyReferenceOrBuilder> - propertyBuilder_; + com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder> propertyBuilder_; /** - * - * *
      * The property to order by.
      * 
* * .google.datastore.v1.PropertyReference property = 1; - * * @return Whether the property field is set. */ public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * The property to order by.
      * 
* * .google.datastore.v1.PropertyReference property = 1; - * * @return The property. */ public com.google.datastore.v1.PropertyReference getProperty() { if (propertyBuilder_ == null) { - return property_ == null - ? com.google.datastore.v1.PropertyReference.getDefaultInstance() - : property_; + return property_ == null ? com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; } else { return propertyBuilder_.getMessage(); } } /** - * - * *
      * The property to order by.
      * 
@@ -751,15 +677,14 @@ public Builder setProperty(com.google.datastore.v1.PropertyReference value) { return this; } /** - * - * *
      * The property to order by.
      * 
* * .google.datastore.v1.PropertyReference property = 1; */ - public Builder setProperty(com.google.datastore.v1.PropertyReference.Builder builderForValue) { + public Builder setProperty( + com.google.datastore.v1.PropertyReference.Builder builderForValue) { if (propertyBuilder_ == null) { property_ = builderForValue.build(); } else { @@ -770,8 +695,6 @@ public Builder setProperty(com.google.datastore.v1.PropertyReference.Builder bui return this; } /** - * - * *
      * The property to order by.
      * 
@@ -780,9 +703,9 @@ public Builder setProperty(com.google.datastore.v1.PropertyReference.Builder bui */ public Builder mergeProperty(com.google.datastore.v1.PropertyReference value) { if (propertyBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && property_ != null - && property_ != com.google.datastore.v1.PropertyReference.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + property_ != null && + property_ != com.google.datastore.v1.PropertyReference.getDefaultInstance()) { getPropertyBuilder().mergeFrom(value); } else { property_ = value; @@ -797,8 +720,6 @@ public Builder mergeProperty(com.google.datastore.v1.PropertyReference value) { return this; } /** - * - * *
      * The property to order by.
      * 
@@ -816,8 +737,6 @@ public Builder clearProperty() { return this; } /** - * - * *
      * The property to order by.
      * 
@@ -830,8 +749,6 @@ public com.google.datastore.v1.PropertyReference.Builder getPropertyBuilder() { return getPropertyFieldBuilder().getBuilder(); } /** - * - * *
      * The property to order by.
      * 
@@ -842,14 +759,11 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() if (propertyBuilder_ != null) { return propertyBuilder_.getMessageOrBuilder(); } else { - return property_ == null - ? com.google.datastore.v1.PropertyReference.getDefaultInstance() - : property_; + return property_ == null ? + com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; } } /** - * - * *
      * The property to order by.
      * 
@@ -857,17 +771,14 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() * .google.datastore.v1.PropertyReference property = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyReference, - com.google.datastore.v1.PropertyReference.Builder, - com.google.datastore.v1.PropertyReferenceOrBuilder> + com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder> getPropertyFieldBuilder() { if (propertyBuilder_ == null) { - propertyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyReference, - com.google.datastore.v1.PropertyReference.Builder, - com.google.datastore.v1.PropertyReferenceOrBuilder>( - getProperty(), getParentForChildren(), isClean()); + propertyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder>( + getProperty(), + getParentForChildren(), + isClean()); property_ = null; } return propertyBuilder_; @@ -875,29 +786,22 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() private int direction_ = 0; /** - * - * *
      * The direction to order by. Defaults to `ASCENDING`.
      * 
* * .google.datastore.v1.PropertyOrder.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.datastore.v1.PropertyOrder.Direction direction = 2; - * * @param value The enum numeric value on the wire for direction to set. * @return This builder for chaining. */ @@ -908,31 +812,24 @@ public Builder setDirectionValue(int value) { return this; } /** - * - * *
      * The direction to order by. Defaults to `ASCENDING`.
      * 
* * .google.datastore.v1.PropertyOrder.Direction direction = 2; - * * @return The direction. */ @java.lang.Override public com.google.datastore.v1.PropertyOrder.Direction getDirection() { - com.google.datastore.v1.PropertyOrder.Direction result = - com.google.datastore.v1.PropertyOrder.Direction.forNumber(direction_); + com.google.datastore.v1.PropertyOrder.Direction result = com.google.datastore.v1.PropertyOrder.Direction.forNumber(direction_); return result == null ? com.google.datastore.v1.PropertyOrder.Direction.UNRECOGNIZED : result; } /** - * - * *
      * The direction to order by. Defaults to `ASCENDING`.
      * 
* * .google.datastore.v1.PropertyOrder.Direction direction = 2; - * * @param value The direction to set. * @return This builder for chaining. */ @@ -946,14 +843,11 @@ public Builder setDirection(com.google.datastore.v1.PropertyOrder.Direction valu return this; } /** - * - * *
      * The direction to order by. Defaults to `ASCENDING`.
      * 
* * .google.datastore.v1.PropertyOrder.Direction direction = 2; - * * @return This builder for chaining. */ public Builder clearDirection() { @@ -962,9 +856,9 @@ public Builder clearDirection() { 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); } @@ -974,12 +868,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.v1.PropertyOrder) } // @@protoc_insertion_point(class_scope:google.datastore.v1.PropertyOrder) private static final com.google.datastore.v1.PropertyOrder DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.v1.PropertyOrder(); } @@ -988,27 +882,27 @@ public static com.google.datastore.v1.PropertyOrder getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PropertyOrder parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PropertyOrder parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1023,4 +917,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.PropertyOrder getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyOrderOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyOrderOrBuilder.java similarity index 67% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyOrderOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyOrderOrBuilder.java index 3522ab951..777dfbd04 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyOrderOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyOrderOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface PropertyOrderOrBuilder - extends +public interface PropertyOrderOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.PropertyOrder) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The property to order by.
    * 
* * .google.datastore.v1.PropertyReference property = 1; - * * @return Whether the property field is set. */ boolean hasProperty(); /** - * - * *
    * The property to order by.
    * 
* * .google.datastore.v1.PropertyReference property = 1; - * * @return The property. */ com.google.datastore.v1.PropertyReference getProperty(); /** - * - * *
    * The property to order by.
    * 
@@ -60,26 +36,20 @@ public interface PropertyOrderOrBuilder com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder(); /** - * - * *
    * The direction to order by. Defaults to `ASCENDING`.
    * 
* * .google.datastore.v1.PropertyOrder.Direction direction = 2; - * * @return The enum numeric value on the wire for direction. */ int getDirectionValue(); /** - * - * *
    * The direction to order by. Defaults to `ASCENDING`.
    * 
* * .google.datastore.v1.PropertyOrder.Direction direction = 2; - * * @return The direction. */ com.google.datastore.v1.PropertyOrder.Direction getDirection(); diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyReference.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyReference.java similarity index 67% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyReference.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyReference.java index a7a4c304e..87f40f6ab 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyReference.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyReference.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto @@ -20,56 +5,49 @@ package com.google.datastore.v1; /** - * - * *
  * A reference to a property relative to the kind expressions.
  * 
* * Protobuf type {@code google.datastore.v1.PropertyReference} */ -public final class PropertyReference extends com.google.protobuf.GeneratedMessageV3 - implements +public final class PropertyReference extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.datastore.v1.PropertyReference) PropertyReferenceOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use PropertyReference.newBuilder() to construct. private PropertyReference(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private PropertyReference() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new PropertyReference(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_PropertyReference_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_PropertyReference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_PropertyReference_fieldAccessorTable + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_PropertyReference_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.PropertyReference.class, - com.google.datastore.v1.PropertyReference.Builder.class); + com.google.datastore.v1.PropertyReference.class, com.google.datastore.v1.PropertyReference.Builder.class); } public static final int NAME_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * A reference to a property.
    *
@@ -81,7 +59,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    * 
* * string name = 2; - * * @return The name. */ @java.lang.Override @@ -90,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; } } /** - * - * *
    * A reference to a property.
    *
@@ -110,15 +86,16 @@ public java.lang.String getName() {
    * 
* * string name = 2; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -127,7 +104,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -139,7 +115,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, 2, name_); } @@ -163,15 +140,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.datastore.v1.PropertyReference)) { return super.equals(obj); } - com.google.datastore.v1.PropertyReference other = - (com.google.datastore.v1.PropertyReference) obj; + com.google.datastore.v1.PropertyReference other = (com.google.datastore.v1.PropertyReference) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -190,136 +167,132 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.PropertyReference parseFrom(java.nio.ByteBuffer data) + public static com.google.datastore.v1.PropertyReference parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.PropertyReference parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.PropertyReference parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.PropertyReference parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.PropertyReference parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.PropertyReference parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.PropertyReference parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.PropertyReference parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.PropertyReference parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.PropertyReference parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.v1.PropertyReference parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.PropertyReference parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.PropertyReference parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.datastore.v1.PropertyReference prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 reference to a property relative to the kind expressions.
    * 
* * Protobuf type {@code google.datastore.v1.PropertyReference} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.PropertyReference) com.google.datastore.v1.PropertyReferenceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_PropertyReference_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_PropertyReference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_PropertyReference_fieldAccessorTable + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_PropertyReference_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.PropertyReference.class, - com.google.datastore.v1.PropertyReference.Builder.class); + com.google.datastore.v1.PropertyReference.class, com.google.datastore.v1.PropertyReference.Builder.class); } // Construct using com.google.datastore.v1.PropertyReference.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -329,9 +302,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_PropertyReference_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_PropertyReference_descriptor; } @java.lang.Override @@ -350,11 +323,8 @@ public com.google.datastore.v1.PropertyReference build() { @java.lang.Override public com.google.datastore.v1.PropertyReference buildPartial() { - com.google.datastore.v1.PropertyReference result = - new com.google.datastore.v1.PropertyReference(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.datastore.v1.PropertyReference result = new com.google.datastore.v1.PropertyReference(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -370,39 +340,38 @@ private void buildPartial0(com.google.datastore.v1.PropertyReference result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.PropertyReference) { - return mergeFrom((com.google.datastore.v1.PropertyReference) other); + return mergeFrom((com.google.datastore.v1.PropertyReference)other); } else { super.mergeFrom(other); return this; @@ -442,19 +411,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -464,13 +431,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * A reference to a property.
      *
@@ -482,13 +446,13 @@ public Builder mergeFrom(
      * 
* * string name = 2; - * * @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; @@ -497,8 +461,6 @@ public java.lang.String getName() { } } /** - * - * *
      * A reference to a property.
      *
@@ -510,14 +472,15 @@ public java.lang.String getName() {
      * 
* * string name = 2; - * * @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 { @@ -525,8 +488,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * A reference to a property.
      *
@@ -538,22 +499,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 2; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * A reference to a property.
      *
@@ -565,7 +522,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 2; - * * @return This builder for chaining. */ public Builder clearName() { @@ -575,8 +531,6 @@ public Builder clearName() { return this; } /** - * - * *
      * A reference to a property.
      *
@@ -588,23 +542,21 @@ public Builder clearName() {
      * 
* * string name = 2; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -614,12 +566,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.v1.PropertyReference) } // @@protoc_insertion_point(class_scope:google.datastore.v1.PropertyReference) private static final com.google.datastore.v1.PropertyReference DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.v1.PropertyReference(); } @@ -628,27 +580,27 @@ public static com.google.datastore.v1.PropertyReference getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PropertyReference parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PropertyReference parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -663,4 +615,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.PropertyReference getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyReferenceOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyReferenceOrBuilder.java similarity index 57% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyReferenceOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyReferenceOrBuilder.java index 7761b1421..cd4ceee9e 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyReferenceOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyReferenceOrBuilder.java @@ -1,32 +1,14 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface PropertyReferenceOrBuilder - extends +public interface PropertyReferenceOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.PropertyReference) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * A reference to a property.
    *
@@ -38,13 +20,10 @@ public interface PropertyReferenceOrBuilder
    * 
* * string name = 2; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * A reference to a property.
    *
@@ -56,8 +35,8 @@ public interface PropertyReferenceOrBuilder
    * 
* * string name = 2; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); } diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Query.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Query.java similarity index 80% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Query.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Query.java index a91fd271e..b6039f1cd 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Query.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Query.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto @@ -20,24 +5,21 @@ package com.google.datastore.v1; /** - * - * *
  * A query for entities.
  * 
* * Protobuf type {@code google.datastore.v1.Query} */ -public final class Query extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Query extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.datastore.v1.Query) QueryOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Query.newBuilder() to construct. private Query(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Query() { projection_ = java.util.Collections.emptyList(); kind_ = java.util.Collections.emptyList(); @@ -49,31 +31,29 @@ private Query() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Query(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_Query_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_Query_fieldAccessorTable + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_Query_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.datastore.v1.Query.class, com.google.datastore.v1.Query.Builder.class); } private int bitField0_; public static final int PROJECTION_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List projection_; /** - * - * *
    * The projection to return. Defaults to returning all properties.
    * 
@@ -85,8 +65,6 @@ public java.util.List getProjectionList() { return projection_; } /** - * - * *
    * The projection to return. Defaults to returning all properties.
    * 
@@ -94,13 +72,11 @@ public java.util.List getProjectionList() { * repeated .google.datastore.v1.Projection projection = 2; */ @java.lang.Override - public java.util.List + public java.util.List getProjectionOrBuilderList() { return projection_; } /** - * - * *
    * The projection to return. Defaults to returning all properties.
    * 
@@ -112,8 +88,6 @@ public int getProjectionCount() { return projection_.size(); } /** - * - * *
    * The projection to return. Defaults to returning all properties.
    * 
@@ -125,8 +99,6 @@ public com.google.datastore.v1.Projection getProjection(int index) { return projection_.get(index); } /** - * - * *
    * The projection to return. Defaults to returning all properties.
    * 
@@ -134,17 +106,15 @@ public com.google.datastore.v1.Projection getProjection(int index) { * repeated .google.datastore.v1.Projection projection = 2; */ @java.lang.Override - public com.google.datastore.v1.ProjectionOrBuilder getProjectionOrBuilder(int index) { + public com.google.datastore.v1.ProjectionOrBuilder getProjectionOrBuilder( + int index) { return projection_.get(index); } public static final int KIND_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private java.util.List kind_; /** - * - * *
    * The kinds to query (if empty, returns entities of all kinds).
    * Currently at most 1 kind may be specified.
@@ -157,8 +127,6 @@ public java.util.List getKindList() {
     return kind_;
   }
   /**
-   *
-   *
    * 
    * The kinds to query (if empty, returns entities of all kinds).
    * Currently at most 1 kind may be specified.
@@ -167,13 +135,11 @@ public java.util.List getKindList() {
    * repeated .google.datastore.v1.KindExpression kind = 3;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getKindOrBuilderList() {
     return kind_;
   }
   /**
-   *
-   *
    * 
    * The kinds to query (if empty, returns entities of all kinds).
    * Currently at most 1 kind may be specified.
@@ -186,8 +152,6 @@ public int getKindCount() {
     return kind_.size();
   }
   /**
-   *
-   *
    * 
    * The kinds to query (if empty, returns entities of all kinds).
    * Currently at most 1 kind may be specified.
@@ -200,8 +164,6 @@ public com.google.datastore.v1.KindExpression getKind(int index) {
     return kind_.get(index);
   }
   /**
-   *
-   *
    * 
    * The kinds to query (if empty, returns entities of all kinds).
    * Currently at most 1 kind may be specified.
@@ -210,21 +172,19 @@ public com.google.datastore.v1.KindExpression getKind(int index) {
    * repeated .google.datastore.v1.KindExpression kind = 3;
    */
   @java.lang.Override
-  public com.google.datastore.v1.KindExpressionOrBuilder getKindOrBuilder(int index) {
+  public com.google.datastore.v1.KindExpressionOrBuilder getKindOrBuilder(
+      int index) {
     return kind_.get(index);
   }
 
   public static final int FILTER_FIELD_NUMBER = 4;
   private com.google.datastore.v1.Filter filter_;
   /**
-   *
-   *
    * 
    * The filter to apply.
    * 
* * .google.datastore.v1.Filter filter = 4; - * * @return Whether the filter field is set. */ @java.lang.Override @@ -232,14 +192,11 @@ public boolean hasFilter() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * The filter to apply.
    * 
* * .google.datastore.v1.Filter filter = 4; - * * @return The filter. */ @java.lang.Override @@ -247,8 +204,6 @@ public com.google.datastore.v1.Filter getFilter() { return filter_ == null ? com.google.datastore.v1.Filter.getDefaultInstance() : filter_; } /** - * - * *
    * The filter to apply.
    * 
@@ -261,12 +216,9 @@ public com.google.datastore.v1.FilterOrBuilder getFilterOrBuilder() { } public static final int ORDER_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private java.util.List order_; /** - * - * *
    * The order to apply to the query results (if empty, order is unspecified).
    * 
@@ -278,8 +230,6 @@ public java.util.List getOrderList() { return order_; } /** - * - * *
    * The order to apply to the query results (if empty, order is unspecified).
    * 
@@ -287,13 +237,11 @@ public java.util.List getOrderList() { * repeated .google.datastore.v1.PropertyOrder order = 5; */ @java.lang.Override - public java.util.List + public java.util.List getOrderOrBuilderList() { return order_; } /** - * - * *
    * The order to apply to the query results (if empty, order is unspecified).
    * 
@@ -305,8 +253,6 @@ public int getOrderCount() { return order_.size(); } /** - * - * *
    * The order to apply to the query results (if empty, order is unspecified).
    * 
@@ -318,8 +264,6 @@ public com.google.datastore.v1.PropertyOrder getOrder(int index) { return order_.get(index); } /** - * - * *
    * The order to apply to the query results (if empty, order is unspecified).
    * 
@@ -327,17 +271,15 @@ public com.google.datastore.v1.PropertyOrder getOrder(int index) { * repeated .google.datastore.v1.PropertyOrder order = 5; */ @java.lang.Override - public com.google.datastore.v1.PropertyOrderOrBuilder getOrderOrBuilder(int index) { + public com.google.datastore.v1.PropertyOrderOrBuilder getOrderOrBuilder( + int index) { return order_.get(index); } public static final int DISTINCT_ON_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private java.util.List distinctOn_; /** - * - * *
    * The properties to make distinct. The query results will contain the first
    * result for each distinct combination of values for the given properties
@@ -356,8 +298,6 @@ public java.util.List getDistinctOnLi
     return distinctOn_;
   }
   /**
-   *
-   *
    * 
    * The properties to make distinct. The query results will contain the first
    * result for each distinct combination of values for the given properties
@@ -372,13 +312,11 @@ public java.util.List getDistinctOnLi
    * repeated .google.datastore.v1.PropertyReference distinct_on = 6;
    */
   @java.lang.Override
-  public java.util.List
+  public java.util.List 
       getDistinctOnOrBuilderList() {
     return distinctOn_;
   }
   /**
-   *
-   *
    * 
    * The properties to make distinct. The query results will contain the first
    * result for each distinct combination of values for the given properties
@@ -397,8 +335,6 @@ public int getDistinctOnCount() {
     return distinctOn_.size();
   }
   /**
-   *
-   *
    * 
    * The properties to make distinct. The query results will contain the first
    * result for each distinct combination of values for the given properties
@@ -417,8 +353,6 @@ public com.google.datastore.v1.PropertyReference getDistinctOn(int index) {
     return distinctOn_.get(index);
   }
   /**
-   *
-   *
    * 
    * The properties to make distinct. The query results will contain the first
    * result for each distinct combination of values for the given properties
@@ -433,15 +367,14 @@ public com.google.datastore.v1.PropertyReference getDistinctOn(int index) {
    * repeated .google.datastore.v1.PropertyReference distinct_on = 6;
    */
   @java.lang.Override
-  public com.google.datastore.v1.PropertyReferenceOrBuilder getDistinctOnOrBuilder(int index) {
+  public com.google.datastore.v1.PropertyReferenceOrBuilder getDistinctOnOrBuilder(
+      int index) {
     return distinctOn_.get(index);
   }
 
   public static final int START_CURSOR_FIELD_NUMBER = 7;
   private com.google.protobuf.ByteString startCursor_ = com.google.protobuf.ByteString.EMPTY;
   /**
-   *
-   *
    * 
    * A starting point for the query results. Query cursors are
    * returned in query result batches and
@@ -450,7 +383,6 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getDistinctOnOrBuilder
    * 
* * bytes start_cursor = 7; - * * @return The startCursor. */ @java.lang.Override @@ -461,8 +393,6 @@ public com.google.protobuf.ByteString getStartCursor() { public static final int END_CURSOR_FIELD_NUMBER = 8; private com.google.protobuf.ByteString endCursor_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * An ending point for the query results. Query cursors are
    * returned in query result batches and
@@ -471,7 +401,6 @@ public com.google.protobuf.ByteString getStartCursor() {
    * 
* * bytes end_cursor = 8; - * * @return The endCursor. */ @java.lang.Override @@ -482,15 +411,12 @@ public com.google.protobuf.ByteString getEndCursor() { public static final int OFFSET_FIELD_NUMBER = 10; private int offset_ = 0; /** - * - * *
    * The number of results to skip. Applies before limit, but after all other
    * constraints. Optional. Must be >= 0 if specified.
    * 
* * int32 offset = 10; - * * @return The offset. */ @java.lang.Override @@ -501,8 +427,6 @@ public int getOffset() { public static final int LIMIT_FIELD_NUMBER = 12; private com.google.protobuf.Int32Value limit_; /** - * - * *
    * The maximum number of results to return. Applies after all other
    * constraints. Optional.
@@ -511,7 +435,6 @@ public int getOffset() {
    * 
* * .google.protobuf.Int32Value limit = 12; - * * @return Whether the limit field is set. */ @java.lang.Override @@ -519,8 +442,6 @@ public boolean hasLimit() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The maximum number of results to return. Applies after all other
    * constraints. Optional.
@@ -529,7 +450,6 @@ public boolean hasLimit() {
    * 
* * .google.protobuf.Int32Value limit = 12; - * * @return The limit. */ @java.lang.Override @@ -537,8 +457,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. Optional.
@@ -554,7 +472,6 @@ public com.google.protobuf.Int32ValueOrBuilder getLimitOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -566,7 +483,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 < projection_.size(); i++) {
       output.writeMessage(2, projection_.get(i));
     }
@@ -604,31 +522,40 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < projection_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, projection_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, projection_.get(i));
     }
     for (int i = 0; i < kind_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, kind_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, kind_.get(i));
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getFilter());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, getFilter());
     }
     for (int i = 0; i < order_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, order_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(5, order_.get(i));
     }
     for (int i = 0; i < distinctOn_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, distinctOn_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(6, distinctOn_.get(i));
     }
     if (!startCursor_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(7, startCursor_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(7, startCursor_);
     }
     if (!endCursor_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(8, endCursor_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(8, endCursor_);
     }
     if (offset_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(10, offset_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(10, offset_);
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getLimit());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(12, getLimit());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -638,27 +565,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.datastore.v1.Query)) {
       return super.equals(obj);
     }
     com.google.datastore.v1.Query other = (com.google.datastore.v1.Query) obj;
 
-    if (!getProjectionList().equals(other.getProjectionList())) return false;
-    if (!getKindList().equals(other.getKindList())) return false;
+    if (!getProjectionList()
+        .equals(other.getProjectionList())) return false;
+    if (!getKindList()
+        .equals(other.getKindList())) return false;
     if (hasFilter() != other.hasFilter()) return false;
     if (hasFilter()) {
-      if (!getFilter().equals(other.getFilter())) return false;
-    }
-    if (!getOrderList().equals(other.getOrderList())) return false;
-    if (!getDistinctOnList().equals(other.getDistinctOnList())) return false;
-    if (!getStartCursor().equals(other.getStartCursor())) return false;
-    if (!getEndCursor().equals(other.getEndCursor())) return false;
-    if (getOffset() != other.getOffset()) return false;
+      if (!getFilter()
+          .equals(other.getFilter())) return false;
+    }
+    if (!getOrderList()
+        .equals(other.getOrderList())) return false;
+    if (!getDistinctOnList()
+        .equals(other.getDistinctOnList())) return false;
+    if (!getStartCursor()
+        .equals(other.getStartCursor())) return false;
+    if (!getEndCursor()
+        .equals(other.getEndCursor())) 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;
@@ -706,123 +642,118 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.Query parseFrom(java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.Query parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.Query parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.datastore.v1.Query parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.datastore.v1.Query parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.Query parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.Query parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.Query parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.Query parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.datastore.v1.Query parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   public static com.google.datastore.v1.Query 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.datastore.v1.Query parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
-  public static com.google.datastore.v1.Query parseFrom(com.google.protobuf.CodedInputStream input)
+  public static com.google.datastore.v1.Query 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.datastore.v1.Query parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.datastore.v1.Query prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 for entities.
    * 
* * Protobuf type {@code google.datastore.v1.Query} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.Query) com.google.datastore.v1.QueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_Query_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_Query_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_Query_fieldAccessorTable + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_Query_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.datastore.v1.Query.class, com.google.datastore.v1.Query.Builder.class); } @@ -832,13 +763,14 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getProjectionFieldBuilder(); getKindFieldBuilder(); getFilterFieldBuilder(); @@ -847,7 +779,6 @@ private void maybeForceBuilderInitialization() { getLimitFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -897,9 +828,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_Query_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_Query_descriptor; } @java.lang.Override @@ -920,9 +851,7 @@ public com.google.datastore.v1.Query build() { public com.google.datastore.v1.Query buildPartial() { com.google.datastore.v1.Query result = new com.google.datastore.v1.Query(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -970,7 +899,9 @@ private void buildPartial0(com.google.datastore.v1.Query result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.filter_ = filterBuilder_ == null ? filter_ : filterBuilder_.build(); + result.filter_ = filterBuilder_ == null + ? filter_ + : filterBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000020) != 0)) { @@ -983,7 +914,9 @@ private void buildPartial0(com.google.datastore.v1.Query result) { result.offset_ = offset_; } if (((from_bitField0_ & 0x00000100) != 0)) { - result.limit_ = limitBuilder_ == null ? limit_ : limitBuilder_.build(); + result.limit_ = limitBuilder_ == null + ? limit_ + : limitBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -993,39 +926,38 @@ private void buildPartial0(com.google.datastore.v1.Query result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.Query) { - return mergeFrom((com.google.datastore.v1.Query) other); + return mergeFrom((com.google.datastore.v1.Query)other); } else { super.mergeFrom(other); return this; @@ -1052,10 +984,9 @@ public Builder mergeFrom(com.google.datastore.v1.Query other) { projectionBuilder_ = null; projection_ = other.projection_; bitField0_ = (bitField0_ & ~0x00000001); - projectionBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getProjectionFieldBuilder() - : null; + projectionBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getProjectionFieldBuilder() : null; } else { projectionBuilder_.addAllMessages(other.projection_); } @@ -1079,10 +1010,9 @@ public Builder mergeFrom(com.google.datastore.v1.Query other) { kindBuilder_ = null; kind_ = other.kind_; bitField0_ = (bitField0_ & ~0x00000002); - kindBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getKindFieldBuilder() - : null; + kindBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getKindFieldBuilder() : null; } else { kindBuilder_.addAllMessages(other.kind_); } @@ -1109,10 +1039,9 @@ public Builder mergeFrom(com.google.datastore.v1.Query other) { orderBuilder_ = null; order_ = other.order_; bitField0_ = (bitField0_ & ~0x00000008); - orderBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getOrderFieldBuilder() - : null; + orderBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getOrderFieldBuilder() : null; } else { orderBuilder_.addAllMessages(other.order_); } @@ -1136,10 +1065,9 @@ public Builder mergeFrom(com.google.datastore.v1.Query other) { distinctOnBuilder_ = null; distinctOn_ = other.distinctOn_; bitField0_ = (bitField0_ & ~0x00000010); - distinctOnBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getDistinctOnFieldBuilder() - : null; + distinctOnBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getDistinctOnFieldBuilder() : null; } else { distinctOnBuilder_.addAllMessages(other.distinctOn_); } @@ -1183,95 +1111,93 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: - { - com.google.datastore.v1.Projection m = - input.readMessage( - com.google.datastore.v1.Projection.parser(), extensionRegistry); - if (projectionBuilder_ == null) { - ensureProjectionIsMutable(); - projection_.add(m); - } else { - projectionBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - com.google.datastore.v1.KindExpression m = - input.readMessage( - com.google.datastore.v1.KindExpression.parser(), extensionRegistry); - if (kindBuilder_ == null) { - ensureKindIsMutable(); - kind_.add(m); - } else { - kindBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: - { - input.readMessage(getFilterFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 34 - case 42: - { - com.google.datastore.v1.PropertyOrder m = - input.readMessage( - com.google.datastore.v1.PropertyOrder.parser(), extensionRegistry); - if (orderBuilder_ == null) { - ensureOrderIsMutable(); - order_.add(m); - } else { - orderBuilder_.addMessage(m); - } - break; - } // case 42 - case 50: - { - com.google.datastore.v1.PropertyReference m = - input.readMessage( - com.google.datastore.v1.PropertyReference.parser(), extensionRegistry); - if (distinctOnBuilder_ == null) { - ensureDistinctOnIsMutable(); - distinctOn_.add(m); - } else { - distinctOnBuilder_.addMessage(m); - } - break; - } // case 50 - case 58: - { - startCursor_ = input.readBytes(); - bitField0_ |= 0x00000020; - break; - } // case 58 - case 66: - { - endCursor_ = input.readBytes(); - bitField0_ |= 0x00000040; - break; - } // case 66 - case 80: - { - offset_ = input.readInt32(); - bitField0_ |= 0x00000080; - break; - } // case 80 - case 98: - { - input.readMessage(getLimitFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 98 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: { + com.google.datastore.v1.Projection m = + input.readMessage( + com.google.datastore.v1.Projection.parser(), + extensionRegistry); + if (projectionBuilder_ == null) { + ensureProjectionIsMutable(); + projection_.add(m); + } else { + projectionBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + com.google.datastore.v1.KindExpression m = + input.readMessage( + com.google.datastore.v1.KindExpression.parser(), + extensionRegistry); + if (kindBuilder_ == null) { + ensureKindIsMutable(); + kind_.add(m); + } else { + kindBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: { + input.readMessage( + getFilterFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 34 + case 42: { + com.google.datastore.v1.PropertyOrder m = + input.readMessage( + com.google.datastore.v1.PropertyOrder.parser(), + extensionRegistry); + if (orderBuilder_ == null) { + ensureOrderIsMutable(); + order_.add(m); + } else { + orderBuilder_.addMessage(m); + } + break; + } // case 42 + case 50: { + com.google.datastore.v1.PropertyReference m = + input.readMessage( + com.google.datastore.v1.PropertyReference.parser(), + extensionRegistry); + if (distinctOnBuilder_ == null) { + ensureDistinctOnIsMutable(); + distinctOn_.add(m); + } else { + distinctOnBuilder_.addMessage(m); + } + break; + } // case 50 + case 58: { + startCursor_ = input.readBytes(); + bitField0_ |= 0x00000020; + break; + } // case 58 + case 66: { + endCursor_ = input.readBytes(); + bitField0_ |= 0x00000040; + break; + } // case 66 + case 80: { + offset_ = input.readInt32(); + bitField0_ |= 0x00000080; + break; + } // case 80 + case 98: { + input.readMessage( + getLimitFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 98 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1281,28 +1207,21 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.util.List projection_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureProjectionIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { projection_ = new java.util.ArrayList(projection_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.Projection, - com.google.datastore.v1.Projection.Builder, - com.google.datastore.v1.ProjectionOrBuilder> - projectionBuilder_; + com.google.datastore.v1.Projection, com.google.datastore.v1.Projection.Builder, com.google.datastore.v1.ProjectionOrBuilder> projectionBuilder_; /** - * - * *
      * The projection to return. Defaults to returning all properties.
      * 
@@ -1317,8 +1236,6 @@ public java.util.List getProjectionList() { } } /** - * - * *
      * The projection to return. Defaults to returning all properties.
      * 
@@ -1333,8 +1250,6 @@ public int getProjectionCount() { } } /** - * - * *
      * The projection to return. Defaults to returning all properties.
      * 
@@ -1349,15 +1264,14 @@ public com.google.datastore.v1.Projection getProjection(int index) { } } /** - * - * *
      * The projection to return. Defaults to returning all properties.
      * 
* * repeated .google.datastore.v1.Projection projection = 2; */ - public Builder setProjection(int index, com.google.datastore.v1.Projection value) { + public Builder setProjection( + int index, com.google.datastore.v1.Projection value) { if (projectionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1371,8 +1285,6 @@ public Builder setProjection(int index, com.google.datastore.v1.Projection value return this; } /** - * - * *
      * The projection to return. Defaults to returning all properties.
      * 
@@ -1391,8 +1303,6 @@ public Builder setProjection( return this; } /** - * - * *
      * The projection to return. Defaults to returning all properties.
      * 
@@ -1413,15 +1323,14 @@ public Builder addProjection(com.google.datastore.v1.Projection value) { return this; } /** - * - * *
      * The projection to return. Defaults to returning all properties.
      * 
* * repeated .google.datastore.v1.Projection projection = 2; */ - public Builder addProjection(int index, com.google.datastore.v1.Projection value) { + public Builder addProjection( + int index, com.google.datastore.v1.Projection value) { if (projectionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1435,15 +1344,14 @@ public Builder addProjection(int index, com.google.datastore.v1.Projection value return this; } /** - * - * *
      * The projection to return. Defaults to returning all properties.
      * 
* * repeated .google.datastore.v1.Projection projection = 2; */ - public Builder addProjection(com.google.datastore.v1.Projection.Builder builderForValue) { + public Builder addProjection( + com.google.datastore.v1.Projection.Builder builderForValue) { if (projectionBuilder_ == null) { ensureProjectionIsMutable(); projection_.add(builderForValue.build()); @@ -1454,8 +1362,6 @@ public Builder addProjection(com.google.datastore.v1.Projection.Builder builderF return this; } /** - * - * *
      * The projection to return. Defaults to returning all properties.
      * 
@@ -1474,8 +1380,6 @@ public Builder addProjection( return this; } /** - * - * *
      * The projection to return. Defaults to returning all properties.
      * 
@@ -1486,7 +1390,8 @@ public Builder addAllProjection( java.lang.Iterable values) { if (projectionBuilder_ == null) { ensureProjectionIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, projection_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, projection_); onChanged(); } else { projectionBuilder_.addAllMessages(values); @@ -1494,8 +1399,6 @@ public Builder addAllProjection( return this; } /** - * - * *
      * The projection to return. Defaults to returning all properties.
      * 
@@ -1513,8 +1416,6 @@ public Builder clearProjection() { return this; } /** - * - * *
      * The projection to return. Defaults to returning all properties.
      * 
@@ -1532,44 +1433,39 @@ public Builder removeProjection(int index) { return this; } /** - * - * *
      * The projection to return. Defaults to returning all properties.
      * 
* * repeated .google.datastore.v1.Projection projection = 2; */ - public com.google.datastore.v1.Projection.Builder getProjectionBuilder(int index) { + public com.google.datastore.v1.Projection.Builder getProjectionBuilder( + int index) { return getProjectionFieldBuilder().getBuilder(index); } /** - * - * *
      * The projection to return. Defaults to returning all properties.
      * 
* * repeated .google.datastore.v1.Projection projection = 2; */ - public com.google.datastore.v1.ProjectionOrBuilder getProjectionOrBuilder(int index) { + public com.google.datastore.v1.ProjectionOrBuilder getProjectionOrBuilder( + int index) { if (projectionBuilder_ == null) { - return projection_.get(index); - } else { + return projection_.get(index); } else { return projectionBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The projection to return. Defaults to returning all properties.
      * 
* * repeated .google.datastore.v1.Projection projection = 2; */ - public java.util.List - getProjectionOrBuilderList() { + public java.util.List + getProjectionOrBuilderList() { if (projectionBuilder_ != null) { return projectionBuilder_.getMessageOrBuilderList(); } else { @@ -1577,8 +1473,6 @@ public com.google.datastore.v1.ProjectionOrBuilder getProjectionOrBuilder(int in } } /** - * - * *
      * The projection to return. Defaults to returning all properties.
      * 
@@ -1586,71 +1480,60 @@ public com.google.datastore.v1.ProjectionOrBuilder getProjectionOrBuilder(int in * repeated .google.datastore.v1.Projection projection = 2; */ public com.google.datastore.v1.Projection.Builder addProjectionBuilder() { - return getProjectionFieldBuilder() - .addBuilder(com.google.datastore.v1.Projection.getDefaultInstance()); + return getProjectionFieldBuilder().addBuilder( + com.google.datastore.v1.Projection.getDefaultInstance()); } /** - * - * *
      * The projection to return. Defaults to returning all properties.
      * 
* * repeated .google.datastore.v1.Projection projection = 2; */ - public com.google.datastore.v1.Projection.Builder addProjectionBuilder(int index) { - return getProjectionFieldBuilder() - .addBuilder(index, com.google.datastore.v1.Projection.getDefaultInstance()); + public com.google.datastore.v1.Projection.Builder addProjectionBuilder( + int index) { + return getProjectionFieldBuilder().addBuilder( + index, com.google.datastore.v1.Projection.getDefaultInstance()); } /** - * - * *
      * The projection to return. Defaults to returning all properties.
      * 
* * repeated .google.datastore.v1.Projection projection = 2; */ - public java.util.List getProjectionBuilderList() { + public java.util.List + getProjectionBuilderList() { return getProjectionFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.Projection, - com.google.datastore.v1.Projection.Builder, - com.google.datastore.v1.ProjectionOrBuilder> + com.google.datastore.v1.Projection, com.google.datastore.v1.Projection.Builder, com.google.datastore.v1.ProjectionOrBuilder> getProjectionFieldBuilder() { if (projectionBuilder_ == null) { - projectionBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.Projection, - com.google.datastore.v1.Projection.Builder, - com.google.datastore.v1.ProjectionOrBuilder>( - projection_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + projectionBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.datastore.v1.Projection, com.google.datastore.v1.Projection.Builder, com.google.datastore.v1.ProjectionOrBuilder>( + projection_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); projection_ = null; } return projectionBuilder_; } private java.util.List kind_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureKindIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { kind_ = new java.util.ArrayList(kind_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.KindExpression, - com.google.datastore.v1.KindExpression.Builder, - com.google.datastore.v1.KindExpressionOrBuilder> - kindBuilder_; + com.google.datastore.v1.KindExpression, com.google.datastore.v1.KindExpression.Builder, com.google.datastore.v1.KindExpressionOrBuilder> kindBuilder_; /** - * - * *
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1666,8 +1549,6 @@ public java.util.List getKindList() {
       }
     }
     /**
-     *
-     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1683,8 +1564,6 @@ public int getKindCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1700,8 +1579,6 @@ public com.google.datastore.v1.KindExpression getKind(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1709,7 +1586,8 @@ public com.google.datastore.v1.KindExpression getKind(int index) {
      *
      * repeated .google.datastore.v1.KindExpression kind = 3;
      */
-    public Builder setKind(int index, com.google.datastore.v1.KindExpression value) {
+    public Builder setKind(
+        int index, com.google.datastore.v1.KindExpression value) {
       if (kindBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1723,8 +1601,6 @@ public Builder setKind(int index, com.google.datastore.v1.KindExpression value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1744,8 +1620,6 @@ public Builder setKind(
       return this;
     }
     /**
-     *
-     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1767,8 +1641,6 @@ public Builder addKind(com.google.datastore.v1.KindExpression value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1776,7 +1648,8 @@ public Builder addKind(com.google.datastore.v1.KindExpression value) {
      *
      * repeated .google.datastore.v1.KindExpression kind = 3;
      */
-    public Builder addKind(int index, com.google.datastore.v1.KindExpression value) {
+    public Builder addKind(
+        int index, com.google.datastore.v1.KindExpression value) {
       if (kindBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1790,8 +1663,6 @@ public Builder addKind(int index, com.google.datastore.v1.KindExpression value)
       return this;
     }
     /**
-     *
-     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1799,7 +1670,8 @@ public Builder addKind(int index, com.google.datastore.v1.KindExpression value)
      *
      * repeated .google.datastore.v1.KindExpression kind = 3;
      */
-    public Builder addKind(com.google.datastore.v1.KindExpression.Builder builderForValue) {
+    public Builder addKind(
+        com.google.datastore.v1.KindExpression.Builder builderForValue) {
       if (kindBuilder_ == null) {
         ensureKindIsMutable();
         kind_.add(builderForValue.build());
@@ -1810,8 +1682,6 @@ public Builder addKind(com.google.datastore.v1.KindExpression.Builder builderFor
       return this;
     }
     /**
-     *
-     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1831,8 +1701,6 @@ public Builder addKind(
       return this;
     }
     /**
-     *
-     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1844,7 +1712,8 @@ public Builder addAllKind(
         java.lang.Iterable values) {
       if (kindBuilder_ == null) {
         ensureKindIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, kind_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, kind_);
         onChanged();
       } else {
         kindBuilder_.addAllMessages(values);
@@ -1852,8 +1721,6 @@ public Builder addAllKind(
       return this;
     }
     /**
-     *
-     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1872,8 +1739,6 @@ public Builder clearKind() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1892,8 +1757,6 @@ public Builder removeKind(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1901,12 +1764,11 @@ public Builder removeKind(int index) {
      *
      * repeated .google.datastore.v1.KindExpression kind = 3;
      */
-    public com.google.datastore.v1.KindExpression.Builder getKindBuilder(int index) {
+    public com.google.datastore.v1.KindExpression.Builder getKindBuilder(
+        int index) {
       return getKindFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1914,16 +1776,14 @@ public com.google.datastore.v1.KindExpression.Builder getKindBuilder(int index)
      *
      * repeated .google.datastore.v1.KindExpression kind = 3;
      */
-    public com.google.datastore.v1.KindExpressionOrBuilder getKindOrBuilder(int index) {
+    public com.google.datastore.v1.KindExpressionOrBuilder getKindOrBuilder(
+        int index) {
       if (kindBuilder_ == null) {
-        return kind_.get(index);
-      } else {
+        return kind_.get(index);  } else {
         return kindBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1931,8 +1791,8 @@ public com.google.datastore.v1.KindExpressionOrBuilder getKindOrBuilder(int inde
      *
      * repeated .google.datastore.v1.KindExpression kind = 3;
      */
-    public java.util.List
-        getKindOrBuilderList() {
+    public java.util.List 
+         getKindOrBuilderList() {
       if (kindBuilder_ != null) {
         return kindBuilder_.getMessageOrBuilderList();
       } else {
@@ -1940,8 +1800,6 @@ public com.google.datastore.v1.KindExpressionOrBuilder getKindOrBuilder(int inde
       }
     }
     /**
-     *
-     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1950,12 +1808,10 @@ public com.google.datastore.v1.KindExpressionOrBuilder getKindOrBuilder(int inde
      * repeated .google.datastore.v1.KindExpression kind = 3;
      */
     public com.google.datastore.v1.KindExpression.Builder addKindBuilder() {
-      return getKindFieldBuilder()
-          .addBuilder(com.google.datastore.v1.KindExpression.getDefaultInstance());
+      return getKindFieldBuilder().addBuilder(
+          com.google.datastore.v1.KindExpression.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1963,13 +1819,12 @@ public com.google.datastore.v1.KindExpression.Builder addKindBuilder() {
      *
      * repeated .google.datastore.v1.KindExpression kind = 3;
      */
-    public com.google.datastore.v1.KindExpression.Builder addKindBuilder(int index) {
-      return getKindFieldBuilder()
-          .addBuilder(index, com.google.datastore.v1.KindExpression.getDefaultInstance());
+    public com.google.datastore.v1.KindExpression.Builder addKindBuilder(
+        int index) {
+      return getKindFieldBuilder().addBuilder(
+          index, com.google.datastore.v1.KindExpression.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1977,22 +1832,20 @@ public com.google.datastore.v1.KindExpression.Builder addKindBuilder(int index)
      *
      * repeated .google.datastore.v1.KindExpression kind = 3;
      */
-    public java.util.List getKindBuilderList() {
+    public java.util.List 
+         getKindBuilderList() {
       return getKindFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.datastore.v1.KindExpression,
-            com.google.datastore.v1.KindExpression.Builder,
-            com.google.datastore.v1.KindExpressionOrBuilder>
+        com.google.datastore.v1.KindExpression, com.google.datastore.v1.KindExpression.Builder, com.google.datastore.v1.KindExpressionOrBuilder> 
         getKindFieldBuilder() {
       if (kindBuilder_ == null) {
-        kindBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.datastore.v1.KindExpression,
-                com.google.datastore.v1.KindExpression.Builder,
-                com.google.datastore.v1.KindExpressionOrBuilder>(
-                kind_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
+        kindBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.datastore.v1.KindExpression, com.google.datastore.v1.KindExpression.Builder, com.google.datastore.v1.KindExpressionOrBuilder>(
+                kind_,
+                ((bitField0_ & 0x00000002) != 0),
+                getParentForChildren(),
+                isClean());
         kind_ = null;
       }
       return kindBuilder_;
@@ -2000,33 +1853,24 @@ public java.util.List getKindBui
 
     private com.google.datastore.v1.Filter filter_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.Filter,
-            com.google.datastore.v1.Filter.Builder,
-            com.google.datastore.v1.FilterOrBuilder>
-        filterBuilder_;
+        com.google.datastore.v1.Filter, com.google.datastore.v1.Filter.Builder, com.google.datastore.v1.FilterOrBuilder> filterBuilder_;
     /**
-     *
-     *
      * 
      * The filter to apply.
      * 
* * .google.datastore.v1.Filter filter = 4; - * * @return Whether the filter field is set. */ public boolean hasFilter() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * The filter to apply.
      * 
* * .google.datastore.v1.Filter filter = 4; - * * @return The filter. */ public com.google.datastore.v1.Filter getFilter() { @@ -2037,8 +1881,6 @@ public com.google.datastore.v1.Filter getFilter() { } } /** - * - * *
      * The filter to apply.
      * 
@@ -2059,15 +1901,14 @@ public Builder setFilter(com.google.datastore.v1.Filter value) { return this; } /** - * - * *
      * The filter to apply.
      * 
* * .google.datastore.v1.Filter filter = 4; */ - public Builder setFilter(com.google.datastore.v1.Filter.Builder builderForValue) { + public Builder setFilter( + com.google.datastore.v1.Filter.Builder builderForValue) { if (filterBuilder_ == null) { filter_ = builderForValue.build(); } else { @@ -2078,8 +1919,6 @@ public Builder setFilter(com.google.datastore.v1.Filter.Builder builderForValue) return this; } /** - * - * *
      * The filter to apply.
      * 
@@ -2088,9 +1927,9 @@ public Builder setFilter(com.google.datastore.v1.Filter.Builder builderForValue) */ public Builder mergeFilter(com.google.datastore.v1.Filter value) { if (filterBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && filter_ != null - && filter_ != com.google.datastore.v1.Filter.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + filter_ != null && + filter_ != com.google.datastore.v1.Filter.getDefaultInstance()) { getFilterBuilder().mergeFrom(value); } else { filter_ = value; @@ -2105,8 +1944,6 @@ public Builder mergeFilter(com.google.datastore.v1.Filter value) { return this; } /** - * - * *
      * The filter to apply.
      * 
@@ -2124,8 +1961,6 @@ public Builder clearFilter() { return this; } /** - * - * *
      * The filter to apply.
      * 
@@ -2138,8 +1973,6 @@ public com.google.datastore.v1.Filter.Builder getFilterBuilder() { return getFilterFieldBuilder().getBuilder(); } /** - * - * *
      * The filter to apply.
      * 
@@ -2150,12 +1983,11 @@ public com.google.datastore.v1.FilterOrBuilder getFilterOrBuilder() { if (filterBuilder_ != null) { return filterBuilder_.getMessageOrBuilder(); } else { - return filter_ == null ? com.google.datastore.v1.Filter.getDefaultInstance() : filter_; + return filter_ == null ? + com.google.datastore.v1.Filter.getDefaultInstance() : filter_; } } /** - * - * *
      * The filter to apply.
      * 
@@ -2163,41 +1995,32 @@ public com.google.datastore.v1.FilterOrBuilder getFilterOrBuilder() { * .google.datastore.v1.Filter filter = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Filter, - com.google.datastore.v1.Filter.Builder, - com.google.datastore.v1.FilterOrBuilder> + com.google.datastore.v1.Filter, com.google.datastore.v1.Filter.Builder, com.google.datastore.v1.FilterOrBuilder> getFilterFieldBuilder() { if (filterBuilder_ == null) { - filterBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Filter, - com.google.datastore.v1.Filter.Builder, - com.google.datastore.v1.FilterOrBuilder>( - getFilter(), getParentForChildren(), isClean()); + filterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.Filter, com.google.datastore.v1.Filter.Builder, com.google.datastore.v1.FilterOrBuilder>( + getFilter(), + getParentForChildren(), + isClean()); filter_ = null; } return filterBuilder_; } private java.util.List order_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureOrderIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { order_ = new java.util.ArrayList(order_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.PropertyOrder, - com.google.datastore.v1.PropertyOrder.Builder, - com.google.datastore.v1.PropertyOrderOrBuilder> - orderBuilder_; + com.google.datastore.v1.PropertyOrder, com.google.datastore.v1.PropertyOrder.Builder, com.google.datastore.v1.PropertyOrderOrBuilder> orderBuilder_; /** - * - * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
@@ -2212,8 +2035,6 @@ public java.util.List getOrderList() { } } /** - * - * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
@@ -2228,8 +2049,6 @@ public int getOrderCount() { } } /** - * - * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
@@ -2244,15 +2063,14 @@ public com.google.datastore.v1.PropertyOrder getOrder(int index) { } } /** - * - * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
* * repeated .google.datastore.v1.PropertyOrder order = 5; */ - public Builder setOrder(int index, com.google.datastore.v1.PropertyOrder value) { + public Builder setOrder( + int index, com.google.datastore.v1.PropertyOrder value) { if (orderBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2266,8 +2084,6 @@ public Builder setOrder(int index, com.google.datastore.v1.PropertyOrder value) return this; } /** - * - * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
@@ -2286,8 +2102,6 @@ public Builder setOrder( return this; } /** - * - * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
@@ -2308,15 +2122,14 @@ public Builder addOrder(com.google.datastore.v1.PropertyOrder value) { return this; } /** - * - * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
* * repeated .google.datastore.v1.PropertyOrder order = 5; */ - public Builder addOrder(int index, com.google.datastore.v1.PropertyOrder value) { + public Builder addOrder( + int index, com.google.datastore.v1.PropertyOrder value) { if (orderBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2330,15 +2143,14 @@ public Builder addOrder(int index, com.google.datastore.v1.PropertyOrder value) return this; } /** - * - * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
* * repeated .google.datastore.v1.PropertyOrder order = 5; */ - public Builder addOrder(com.google.datastore.v1.PropertyOrder.Builder builderForValue) { + public Builder addOrder( + com.google.datastore.v1.PropertyOrder.Builder builderForValue) { if (orderBuilder_ == null) { ensureOrderIsMutable(); order_.add(builderForValue.build()); @@ -2349,8 +2161,6 @@ public Builder addOrder(com.google.datastore.v1.PropertyOrder.Builder builderFor return this; } /** - * - * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
@@ -2369,8 +2179,6 @@ public Builder addOrder( return this; } /** - * - * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
@@ -2381,7 +2189,8 @@ public Builder addAllOrder( java.lang.Iterable values) { if (orderBuilder_ == null) { ensureOrderIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, order_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, order_); onChanged(); } else { orderBuilder_.addAllMessages(values); @@ -2389,8 +2198,6 @@ public Builder addAllOrder( return this; } /** - * - * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
@@ -2408,8 +2215,6 @@ public Builder clearOrder() { return this; } /** - * - * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
@@ -2427,44 +2232,39 @@ public Builder removeOrder(int index) { return this; } /** - * - * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
* * repeated .google.datastore.v1.PropertyOrder order = 5; */ - public com.google.datastore.v1.PropertyOrder.Builder getOrderBuilder(int index) { + public com.google.datastore.v1.PropertyOrder.Builder getOrderBuilder( + int index) { return getOrderFieldBuilder().getBuilder(index); } /** - * - * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
* * repeated .google.datastore.v1.PropertyOrder order = 5; */ - public com.google.datastore.v1.PropertyOrderOrBuilder getOrderOrBuilder(int index) { + public com.google.datastore.v1.PropertyOrderOrBuilder getOrderOrBuilder( + int index) { if (orderBuilder_ == null) { - return order_.get(index); - } else { + return order_.get(index); } else { return orderBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
* * repeated .google.datastore.v1.PropertyOrder order = 5; */ - public java.util.List - getOrderOrBuilderList() { + public java.util.List + getOrderOrBuilderList() { if (orderBuilder_ != null) { return orderBuilder_.getMessageOrBuilderList(); } else { @@ -2472,8 +2272,6 @@ public com.google.datastore.v1.PropertyOrderOrBuilder getOrderOrBuilder(int inde } } /** - * - * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
@@ -2481,72 +2279,60 @@ public com.google.datastore.v1.PropertyOrderOrBuilder getOrderOrBuilder(int inde * repeated .google.datastore.v1.PropertyOrder order = 5; */ public com.google.datastore.v1.PropertyOrder.Builder addOrderBuilder() { - return getOrderFieldBuilder() - .addBuilder(com.google.datastore.v1.PropertyOrder.getDefaultInstance()); + return getOrderFieldBuilder().addBuilder( + com.google.datastore.v1.PropertyOrder.getDefaultInstance()); } /** - * - * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
* * repeated .google.datastore.v1.PropertyOrder order = 5; */ - public com.google.datastore.v1.PropertyOrder.Builder addOrderBuilder(int index) { - return getOrderFieldBuilder() - .addBuilder(index, com.google.datastore.v1.PropertyOrder.getDefaultInstance()); + public com.google.datastore.v1.PropertyOrder.Builder addOrderBuilder( + int index) { + return getOrderFieldBuilder().addBuilder( + index, com.google.datastore.v1.PropertyOrder.getDefaultInstance()); } /** - * - * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
* * repeated .google.datastore.v1.PropertyOrder order = 5; */ - public java.util.List getOrderBuilderList() { + public java.util.List + getOrderBuilderList() { return getOrderFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.PropertyOrder, - com.google.datastore.v1.PropertyOrder.Builder, - com.google.datastore.v1.PropertyOrderOrBuilder> + com.google.datastore.v1.PropertyOrder, com.google.datastore.v1.PropertyOrder.Builder, com.google.datastore.v1.PropertyOrderOrBuilder> getOrderFieldBuilder() { if (orderBuilder_ == null) { - orderBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.PropertyOrder, - com.google.datastore.v1.PropertyOrder.Builder, - com.google.datastore.v1.PropertyOrderOrBuilder>( - order_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); + orderBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.datastore.v1.PropertyOrder, com.google.datastore.v1.PropertyOrder.Builder, com.google.datastore.v1.PropertyOrderOrBuilder>( + order_, + ((bitField0_ & 0x00000008) != 0), + getParentForChildren(), + isClean()); order_ = null; } return orderBuilder_; } private java.util.List distinctOn_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureDistinctOnIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - distinctOn_ = - new java.util.ArrayList(distinctOn_); + distinctOn_ = new java.util.ArrayList(distinctOn_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.PropertyReference, - com.google.datastore.v1.PropertyReference.Builder, - com.google.datastore.v1.PropertyReferenceOrBuilder> - distinctOnBuilder_; + com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder> distinctOnBuilder_; /** - * - * *
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2568,8 +2354,6 @@ public java.util.List getDistinctOnLi
       }
     }
     /**
-     *
-     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2591,8 +2375,6 @@ public int getDistinctOnCount() {
       }
     }
     /**
-     *
-     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2614,8 +2396,6 @@ public com.google.datastore.v1.PropertyReference getDistinctOn(int index) {
       }
     }
     /**
-     *
-     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2629,7 +2409,8 @@ public com.google.datastore.v1.PropertyReference getDistinctOn(int index) {
      *
      * repeated .google.datastore.v1.PropertyReference distinct_on = 6;
      */
-    public Builder setDistinctOn(int index, com.google.datastore.v1.PropertyReference value) {
+    public Builder setDistinctOn(
+        int index, com.google.datastore.v1.PropertyReference value) {
       if (distinctOnBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2643,8 +2424,6 @@ public Builder setDistinctOn(int index, com.google.datastore.v1.PropertyReferenc
       return this;
     }
     /**
-     *
-     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2670,8 +2449,6 @@ public Builder setDistinctOn(
       return this;
     }
     /**
-     *
-     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2699,8 +2476,6 @@ public Builder addDistinctOn(com.google.datastore.v1.PropertyReference value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2714,7 +2489,8 @@ public Builder addDistinctOn(com.google.datastore.v1.PropertyReference value) {
      *
      * repeated .google.datastore.v1.PropertyReference distinct_on = 6;
      */
-    public Builder addDistinctOn(int index, com.google.datastore.v1.PropertyReference value) {
+    public Builder addDistinctOn(
+        int index, com.google.datastore.v1.PropertyReference value) {
       if (distinctOnBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2728,8 +2504,6 @@ public Builder addDistinctOn(int index, com.google.datastore.v1.PropertyReferenc
       return this;
     }
     /**
-     *
-     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2755,8 +2529,6 @@ public Builder addDistinctOn(
       return this;
     }
     /**
-     *
-     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2782,8 +2554,6 @@ public Builder addDistinctOn(
       return this;
     }
     /**
-     *
-     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2801,7 +2571,8 @@ public Builder addAllDistinctOn(
         java.lang.Iterable values) {
       if (distinctOnBuilder_ == null) {
         ensureDistinctOnIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, distinctOn_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(
+            values, distinctOn_);
         onChanged();
       } else {
         distinctOnBuilder_.addAllMessages(values);
@@ -2809,8 +2580,6 @@ public Builder addAllDistinctOn(
       return this;
     }
     /**
-     *
-     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2835,8 +2604,6 @@ public Builder clearDistinctOn() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2861,8 +2628,6 @@ public Builder removeDistinctOn(int index) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2876,12 +2641,11 @@ public Builder removeDistinctOn(int index) {
      *
      * repeated .google.datastore.v1.PropertyReference distinct_on = 6;
      */
-    public com.google.datastore.v1.PropertyReference.Builder getDistinctOnBuilder(int index) {
+    public com.google.datastore.v1.PropertyReference.Builder getDistinctOnBuilder(
+        int index) {
       return getDistinctOnFieldBuilder().getBuilder(index);
     }
     /**
-     *
-     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2895,16 +2659,14 @@ public com.google.datastore.v1.PropertyReference.Builder getDistinctOnBuilder(in
      *
      * repeated .google.datastore.v1.PropertyReference distinct_on = 6;
      */
-    public com.google.datastore.v1.PropertyReferenceOrBuilder getDistinctOnOrBuilder(int index) {
+    public com.google.datastore.v1.PropertyReferenceOrBuilder getDistinctOnOrBuilder(
+        int index) {
       if (distinctOnBuilder_ == null) {
-        return distinctOn_.get(index);
-      } else {
+        return distinctOn_.get(index);  } else {
         return distinctOnBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
-     *
-     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2918,8 +2680,8 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getDistinctOnOrBuilder
      *
      * repeated .google.datastore.v1.PropertyReference distinct_on = 6;
      */
-    public java.util.List
-        getDistinctOnOrBuilderList() {
+    public java.util.List 
+         getDistinctOnOrBuilderList() {
       if (distinctOnBuilder_ != null) {
         return distinctOnBuilder_.getMessageOrBuilderList();
       } else {
@@ -2927,8 +2689,6 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getDistinctOnOrBuilder
       }
     }
     /**
-     *
-     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2943,12 +2703,10 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getDistinctOnOrBuilder
      * repeated .google.datastore.v1.PropertyReference distinct_on = 6;
      */
     public com.google.datastore.v1.PropertyReference.Builder addDistinctOnBuilder() {
-      return getDistinctOnFieldBuilder()
-          .addBuilder(com.google.datastore.v1.PropertyReference.getDefaultInstance());
+      return getDistinctOnFieldBuilder().addBuilder(
+          com.google.datastore.v1.PropertyReference.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2962,13 +2720,12 @@ public com.google.datastore.v1.PropertyReference.Builder addDistinctOnBuilder()
      *
      * repeated .google.datastore.v1.PropertyReference distinct_on = 6;
      */
-    public com.google.datastore.v1.PropertyReference.Builder addDistinctOnBuilder(int index) {
-      return getDistinctOnFieldBuilder()
-          .addBuilder(index, com.google.datastore.v1.PropertyReference.getDefaultInstance());
+    public com.google.datastore.v1.PropertyReference.Builder addDistinctOnBuilder(
+        int index) {
+      return getDistinctOnFieldBuilder().addBuilder(
+          index, com.google.datastore.v1.PropertyReference.getDefaultInstance());
     }
     /**
-     *
-     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2982,23 +2739,20 @@ public com.google.datastore.v1.PropertyReference.Builder addDistinctOnBuilder(in
      *
      * repeated .google.datastore.v1.PropertyReference distinct_on = 6;
      */
-    public java.util.List
-        getDistinctOnBuilderList() {
+    public java.util.List 
+         getDistinctOnBuilderList() {
       return getDistinctOnFieldBuilder().getBuilderList();
     }
-
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.datastore.v1.PropertyReference,
-            com.google.datastore.v1.PropertyReference.Builder,
-            com.google.datastore.v1.PropertyReferenceOrBuilder>
+        com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder> 
         getDistinctOnFieldBuilder() {
       if (distinctOnBuilder_ == null) {
-        distinctOnBuilder_ =
-            new com.google.protobuf.RepeatedFieldBuilderV3<
-                com.google.datastore.v1.PropertyReference,
-                com.google.datastore.v1.PropertyReference.Builder,
-                com.google.datastore.v1.PropertyReferenceOrBuilder>(
-                distinctOn_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean());
+        distinctOnBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
+            com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder>(
+                distinctOn_,
+                ((bitField0_ & 0x00000010) != 0),
+                getParentForChildren(),
+                isClean());
         distinctOn_ = null;
       }
       return distinctOnBuilder_;
@@ -3006,8 +2760,6 @@ public com.google.datastore.v1.PropertyReference.Builder addDistinctOnBuilder(in
 
     private com.google.protobuf.ByteString startCursor_ = com.google.protobuf.ByteString.EMPTY;
     /**
-     *
-     *
      * 
      * A starting point for the query results. Query cursors are
      * returned in query result batches and
@@ -3016,7 +2768,6 @@ public com.google.datastore.v1.PropertyReference.Builder addDistinctOnBuilder(in
      * 
* * bytes start_cursor = 7; - * * @return The startCursor. */ @java.lang.Override @@ -3024,8 +2775,6 @@ public com.google.protobuf.ByteString getStartCursor() { return startCursor_; } /** - * - * *
      * A starting point for the query results. Query cursors are
      * returned in query result batches and
@@ -3034,22 +2783,17 @@ public com.google.protobuf.ByteString getStartCursor() {
      * 
* * bytes start_cursor = 7; - * * @param value The startCursor to set. * @return This builder for chaining. */ public Builder setStartCursor(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } startCursor_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * A starting point for the query results. Query cursors are
      * returned in query result batches and
@@ -3058,7 +2802,6 @@ public Builder setStartCursor(com.google.protobuf.ByteString value) {
      * 
* * bytes start_cursor = 7; - * * @return This builder for chaining. */ public Builder clearStartCursor() { @@ -3070,8 +2813,6 @@ public Builder clearStartCursor() { private com.google.protobuf.ByteString endCursor_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * An ending point for the query results. Query cursors are
      * returned in query result batches and
@@ -3080,7 +2821,6 @@ public Builder clearStartCursor() {
      * 
* * bytes end_cursor = 8; - * * @return The endCursor. */ @java.lang.Override @@ -3088,8 +2828,6 @@ public com.google.protobuf.ByteString getEndCursor() { return endCursor_; } /** - * - * *
      * An ending point for the query results. Query cursors are
      * returned in query result batches and
@@ -3098,22 +2836,17 @@ public com.google.protobuf.ByteString getEndCursor() {
      * 
* * bytes end_cursor = 8; - * * @param value The endCursor to set. * @return This builder for chaining. */ public Builder setEndCursor(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } endCursor_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** - * - * *
      * An ending point for the query results. Query cursors are
      * returned in query result batches and
@@ -3122,7 +2855,6 @@ public Builder setEndCursor(com.google.protobuf.ByteString value) {
      * 
* * bytes end_cursor = 8; - * * @return This builder for chaining. */ public Builder clearEndCursor() { @@ -3132,17 +2864,14 @@ public Builder clearEndCursor() { return this; } - private int offset_; + private int offset_ ; /** - * - * *
      * The number of results to skip. Applies before limit, but after all other
      * constraints. Optional. Must be >= 0 if specified.
      * 
* * int32 offset = 10; - * * @return The offset. */ @java.lang.Override @@ -3150,15 +2879,12 @@ public int getOffset() { return offset_; } /** - * - * *
      * The number of results to skip. Applies before limit, but after all other
      * constraints. Optional. Must be >= 0 if specified.
      * 
* * int32 offset = 10; - * * @param value The offset to set. * @return This builder for chaining. */ @@ -3170,15 +2896,12 @@ public Builder setOffset(int value) { return this; } /** - * - * *
      * The number of results to skip. Applies before limit, but after all other
      * constraints. Optional. Must be >= 0 if specified.
      * 
* * int32 offset = 10; - * * @return This builder for chaining. */ public Builder clearOffset() { @@ -3190,13 +2913,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. Optional.
@@ -3205,15 +2923,12 @@ public Builder clearOffset() {
      * 
* * .google.protobuf.Int32Value limit = 12; - * * @return Whether the limit field is set. */ public boolean hasLimit() { return ((bitField0_ & 0x00000100) != 0); } /** - * - * *
      * The maximum number of results to return. Applies after all other
      * constraints. Optional.
@@ -3222,7 +2937,6 @@ public boolean hasLimit() {
      * 
* * .google.protobuf.Int32Value limit = 12; - * * @return The limit. */ public com.google.protobuf.Int32Value getLimit() { @@ -3233,8 +2947,6 @@ public com.google.protobuf.Int32Value getLimit() { } } /** - * - * *
      * The maximum number of results to return. Applies after all other
      * constraints. Optional.
@@ -3258,8 +2970,6 @@ public Builder setLimit(com.google.protobuf.Int32Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum number of results to return. Applies after all other
      * constraints. Optional.
@@ -3269,7 +2979,8 @@ public Builder setLimit(com.google.protobuf.Int32Value value) {
      *
      * .google.protobuf.Int32Value limit = 12;
      */
-    public Builder setLimit(com.google.protobuf.Int32Value.Builder builderForValue) {
+    public Builder setLimit(
+        com.google.protobuf.Int32Value.Builder builderForValue) {
       if (limitBuilder_ == null) {
         limit_ = builderForValue.build();
       } else {
@@ -3280,8 +2991,6 @@ public Builder setLimit(com.google.protobuf.Int32Value.Builder builderForValue)
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum number of results to return. Applies after all other
      * constraints. Optional.
@@ -3293,9 +3002,9 @@ public Builder setLimit(com.google.protobuf.Int32Value.Builder builderForValue)
      */
     public Builder mergeLimit(com.google.protobuf.Int32Value value) {
       if (limitBuilder_ == null) {
-        if (((bitField0_ & 0x00000100) != 0)
-            && limit_ != null
-            && limit_ != com.google.protobuf.Int32Value.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000100) != 0) &&
+          limit_ != null &&
+          limit_ != com.google.protobuf.Int32Value.getDefaultInstance()) {
           getLimitBuilder().mergeFrom(value);
         } else {
           limit_ = value;
@@ -3310,8 +3019,6 @@ public Builder mergeLimit(com.google.protobuf.Int32Value value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum number of results to return. Applies after all other
      * constraints. Optional.
@@ -3332,8 +3039,6 @@ public Builder clearLimit() {
       return this;
     }
     /**
-     *
-     *
      * 
      * The maximum number of results to return. Applies after all other
      * constraints. Optional.
@@ -3349,8 +3054,6 @@ public com.google.protobuf.Int32Value.Builder getLimitBuilder() {
       return getLimitFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * The maximum number of results to return. Applies after all other
      * constraints. Optional.
@@ -3364,12 +3067,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. Optional.
@@ -3380,24 +3082,21 @@ public com.google.protobuf.Int32ValueOrBuilder getLimitOrBuilder() {
      * .google.protobuf.Int32Value limit = 12;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Int32Value,
-            com.google.protobuf.Int32Value.Builder,
-            com.google.protobuf.Int32ValueOrBuilder>
+        com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> 
         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);
     }
 
@@ -3407,12 +3106,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.Query)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.Query)
   private static final com.google.datastore.v1.Query DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.Query();
   }
@@ -3421,27 +3120,27 @@ public static com.google.datastore.v1.Query getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public Query parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public Query parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3456,4 +3155,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.Query getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryOrBuilder.java
similarity index 86%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryOrBuilder.java
index 5783fb2ea..9ce837c4f 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryOrBuilder.java
@@ -1,42 +1,23 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/query.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface QueryOrBuilder
-    extends
+public interface QueryOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.Query)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The projection to return. Defaults to returning all properties.
    * 
* * repeated .google.datastore.v1.Projection projection = 2; */ - java.util.List getProjectionList(); + java.util.List + getProjectionList(); /** - * - * *
    * The projection to return. Defaults to returning all properties.
    * 
@@ -45,8 +26,6 @@ public interface QueryOrBuilder */ com.google.datastore.v1.Projection getProjection(int index); /** - * - * *
    * The projection to return. Defaults to returning all properties.
    * 
@@ -55,30 +34,25 @@ public interface QueryOrBuilder */ int getProjectionCount(); /** - * - * *
    * The projection to return. Defaults to returning all properties.
    * 
* * repeated .google.datastore.v1.Projection projection = 2; */ - java.util.List + java.util.List getProjectionOrBuilderList(); /** - * - * *
    * The projection to return. Defaults to returning all properties.
    * 
* * repeated .google.datastore.v1.Projection projection = 2; */ - com.google.datastore.v1.ProjectionOrBuilder getProjectionOrBuilder(int index); + com.google.datastore.v1.ProjectionOrBuilder getProjectionOrBuilder( + int index); /** - * - * *
    * The kinds to query (if empty, returns entities of all kinds).
    * Currently at most 1 kind may be specified.
@@ -86,10 +60,9 @@ public interface QueryOrBuilder
    *
    * repeated .google.datastore.v1.KindExpression kind = 3;
    */
-  java.util.List getKindList();
+  java.util.List 
+      getKindList();
   /**
-   *
-   *
    * 
    * The kinds to query (if empty, returns entities of all kinds).
    * Currently at most 1 kind may be specified.
@@ -99,8 +72,6 @@ public interface QueryOrBuilder
    */
   com.google.datastore.v1.KindExpression getKind(int index);
   /**
-   *
-   *
    * 
    * The kinds to query (if empty, returns entities of all kinds).
    * Currently at most 1 kind may be specified.
@@ -110,8 +81,6 @@ public interface QueryOrBuilder
    */
   int getKindCount();
   /**
-   *
-   *
    * 
    * The kinds to query (if empty, returns entities of all kinds).
    * Currently at most 1 kind may be specified.
@@ -119,10 +88,9 @@ public interface QueryOrBuilder
    *
    * repeated .google.datastore.v1.KindExpression kind = 3;
    */
-  java.util.List getKindOrBuilderList();
+  java.util.List 
+      getKindOrBuilderList();
   /**
-   *
-   *
    * 
    * The kinds to query (if empty, returns entities of all kinds).
    * Currently at most 1 kind may be specified.
@@ -130,35 +98,28 @@ public interface QueryOrBuilder
    *
    * repeated .google.datastore.v1.KindExpression kind = 3;
    */
-  com.google.datastore.v1.KindExpressionOrBuilder getKindOrBuilder(int index);
+  com.google.datastore.v1.KindExpressionOrBuilder getKindOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * The filter to apply.
    * 
* * .google.datastore.v1.Filter filter = 4; - * * @return Whether the filter field is set. */ boolean hasFilter(); /** - * - * *
    * The filter to apply.
    * 
* * .google.datastore.v1.Filter filter = 4; - * * @return The filter. */ com.google.datastore.v1.Filter getFilter(); /** - * - * *
    * The filter to apply.
    * 
@@ -168,18 +129,15 @@ public interface QueryOrBuilder com.google.datastore.v1.FilterOrBuilder getFilterOrBuilder(); /** - * - * *
    * The order to apply to the query results (if empty, order is unspecified).
    * 
* * repeated .google.datastore.v1.PropertyOrder order = 5; */ - java.util.List getOrderList(); + java.util.List + getOrderList(); /** - * - * *
    * The order to apply to the query results (if empty, order is unspecified).
    * 
@@ -188,8 +146,6 @@ public interface QueryOrBuilder */ com.google.datastore.v1.PropertyOrder getOrder(int index); /** - * - * *
    * The order to apply to the query results (if empty, order is unspecified).
    * 
@@ -198,29 +154,25 @@ public interface QueryOrBuilder */ int getOrderCount(); /** - * - * *
    * The order to apply to the query results (if empty, order is unspecified).
    * 
* * repeated .google.datastore.v1.PropertyOrder order = 5; */ - java.util.List getOrderOrBuilderList(); + java.util.List + getOrderOrBuilderList(); /** - * - * *
    * The order to apply to the query results (if empty, order is unspecified).
    * 
* * repeated .google.datastore.v1.PropertyOrder order = 5; */ - com.google.datastore.v1.PropertyOrderOrBuilder getOrderOrBuilder(int index); + com.google.datastore.v1.PropertyOrderOrBuilder getOrderOrBuilder( + int index); /** - * - * *
    * The properties to make distinct. The query results will contain the first
    * result for each distinct combination of values for the given properties
@@ -234,10 +186,9 @@ public interface QueryOrBuilder
    *
    * repeated .google.datastore.v1.PropertyReference distinct_on = 6;
    */
-  java.util.List getDistinctOnList();
+  java.util.List 
+      getDistinctOnList();
   /**
-   *
-   *
    * 
    * The properties to make distinct. The query results will contain the first
    * result for each distinct combination of values for the given properties
@@ -253,8 +204,6 @@ public interface QueryOrBuilder
    */
   com.google.datastore.v1.PropertyReference getDistinctOn(int index);
   /**
-   *
-   *
    * 
    * The properties to make distinct. The query results will contain the first
    * result for each distinct combination of values for the given properties
@@ -270,8 +219,6 @@ public interface QueryOrBuilder
    */
   int getDistinctOnCount();
   /**
-   *
-   *
    * 
    * The properties to make distinct. The query results will contain the first
    * result for each distinct combination of values for the given properties
@@ -285,11 +232,9 @@ public interface QueryOrBuilder
    *
    * repeated .google.datastore.v1.PropertyReference distinct_on = 6;
    */
-  java.util.List
+  java.util.List 
       getDistinctOnOrBuilderList();
   /**
-   *
-   *
    * 
    * The properties to make distinct. The query results will contain the first
    * result for each distinct combination of values for the given properties
@@ -303,11 +248,10 @@ public interface QueryOrBuilder
    *
    * repeated .google.datastore.v1.PropertyReference distinct_on = 6;
    */
-  com.google.datastore.v1.PropertyReferenceOrBuilder getDistinctOnOrBuilder(int index);
+  com.google.datastore.v1.PropertyReferenceOrBuilder getDistinctOnOrBuilder(
+      int index);
 
   /**
-   *
-   *
    * 
    * A starting point for the query results. Query cursors are
    * returned in query result batches and
@@ -316,14 +260,11 @@ public interface QueryOrBuilder
    * 
* * bytes start_cursor = 7; - * * @return The startCursor. */ com.google.protobuf.ByteString getStartCursor(); /** - * - * *
    * An ending point for the query results. Query cursors are
    * returned in query result batches and
@@ -332,28 +273,22 @@ public interface QueryOrBuilder
    * 
* * bytes end_cursor = 8; - * * @return The endCursor. */ com.google.protobuf.ByteString getEndCursor(); /** - * - * *
    * The number of results to skip. Applies before limit, but after all other
    * constraints. Optional. Must be >= 0 if specified.
    * 
* * int32 offset = 10; - * * @return The offset. */ int getOffset(); /** - * - * *
    * The maximum number of results to return. Applies after all other
    * constraints. Optional.
@@ -362,13 +297,10 @@ public interface QueryOrBuilder
    * 
* * .google.protobuf.Int32Value limit = 12; - * * @return Whether the limit field is set. */ boolean hasLimit(); /** - * - * *
    * The maximum number of results to return. Applies after all other
    * constraints. Optional.
@@ -377,13 +309,10 @@ public interface QueryOrBuilder
    * 
* * .google.protobuf.Int32Value limit = 12; - * * @return The limit. */ com.google.protobuf.Int32Value getLimit(); /** - * - * *
    * The maximum number of results to return. Applies after all other
    * constraints. Optional.
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryProfileProto.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryProfileProto.java
new file mode 100644
index 000000000..c5b502ef6
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryProfileProto.java
@@ -0,0 +1,110 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/datastore/v1/query_profile.proto
+
+// Protobuf Java Version: 3.25.3
+package com.google.datastore.v1;
+
+public final class QueryProfileProto {
+  private QueryProfileProto() {}
+  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_datastore_v1_ExplainOptions_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_ExplainOptions_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_ExplainMetrics_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_ExplainMetrics_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_PlanSummary_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_PlanSummary_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+    internal_static_google_datastore_v1_ExecutionStats_descriptor;
+  static final 
+    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_ExecutionStats_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/datastore/v1/query_profile.prot" +
+      "o\022\023google.datastore.v1\032\037google/api/field" +
+      "_behavior.proto\032\036google/protobuf/duratio" +
+      "n.proto\032\034google/protobuf/struct.proto\"&\n" +
+      "\016ExplainOptions\022\024\n\007analyze\030\001 \001(\010B\003\340A\001\"\206\001" +
+      "\n\016ExplainMetrics\0226\n\014plan_summary\030\001 \001(\0132 " +
+      ".google.datastore.v1.PlanSummary\022<\n\017exec" +
+      "ution_stats\030\002 \001(\0132#.google.datastore.v1." +
+      "ExecutionStats\"<\n\013PlanSummary\022-\n\014indexes" +
+      "_used\030\001 \003(\0132\027.google.protobuf.Struct\"\250\001\n" +
+      "\016ExecutionStats\022\030\n\020results_returned\030\001 \001(" +
+      "\003\0225\n\022execution_duration\030\003 \001(\0132\031.google.p" +
+      "rotobuf.Duration\022\027\n\017read_operations\030\004 \001(" +
+      "\003\022,\n\013debug_stats\030\005 \001(\0132\027.google.protobuf" +
+      ".StructB\303\001\n\027com.google.datastore.v1B\021Que" +
+      "ryProfileProtoP\001Z" +
+      "\n\017property_filter\030\002 \001(\0132#.google.datasto" +
+      "re.v1.PropertyFilterH\000B\r\n\013filter_type\"\261\001" +
+      "\n\017CompositeFilter\0229\n\002op\030\001 \001(\0162-.google.d" +
+      "atastore.v1.CompositeFilter.Operator\022,\n\007" +
+      "filters\030\002 \003(\0132\033.google.datastore.v1.Filt" +
+      "er\"5\n\010Operator\022\030\n\024OPERATOR_UNSPECIFIED\020\000" +
+      "\022\007\n\003AND\020\001\022\006\n\002OR\020\002\"\352\002\n\016PropertyFilter\0228\n\010" +
+      "property\030\001 \001(\0132&.google.datastore.v1.Pro" +
+      "pertyReference\0228\n\002op\030\002 \001(\0162,.google.data" +
+      "store.v1.PropertyFilter.Operator\022)\n\005valu" +
+      "e\030\003 \001(\0132\032.google.datastore.v1.Value\"\270\001\n\010" +
+      "Operator\022\030\n\024OPERATOR_UNSPECIFIED\020\000\022\r\n\tLE" +
+      "SS_THAN\020\001\022\026\n\022LESS_THAN_OR_EQUAL\020\002\022\020\n\014GRE" +
+      "ATER_THAN\020\003\022\031\n\025GREATER_THAN_OR_EQUAL\020\004\022\t" +
+      "\n\005EQUAL\020\005\022\006\n\002IN\020\006\022\r\n\tNOT_EQUAL\020\t\022\020\n\014HAS_" +
+      "ANCESTOR\020\013\022\n\n\006NOT_IN\020\r\"\245\002\n\010GqlQuery\022\024\n\014q" +
+      "uery_string\030\001 \001(\t\022\026\n\016allow_literals\030\002 \001(" +
+      "\010\022H\n\016named_bindings\030\005 \003(\01320.google.datas" +
+      "tore.v1.GqlQuery.NamedBindingsEntry\022C\n\023p" +
+      "ositional_bindings\030\004 \003(\0132&.google.datast" +
+      "ore.v1.GqlQueryParameter\032\\\n\022NamedBinding" +
+      "sEntry\022\013\n\003key\030\001 \001(\t\0225\n\005value\030\002 \001(\0132&.goo" +
+      "gle.datastore.v1.GqlQueryParameter:\0028\001\"d" +
+      "\n\021GqlQueryParameter\022+\n\005value\030\002 \001(\0132\032.goo" +
+      "gle.datastore.v1.ValueH\000\022\020\n\006cursor\030\003 \001(\014" +
+      "H\000B\020\n\016parameter_type\"\215\004\n\020QueryResultBatc" +
+      "h\022\027\n\017skipped_results\030\006 \001(\005\022\026\n\016skipped_cu" +
+      "rsor\030\003 \001(\014\022H\n\022entity_result_type\030\001 \001(\0162," +
+      ".google.datastore.v1.EntityResult.Result" +
+      "Type\0229\n\016entity_results\030\002 \003(\0132!.google.da" +
+      "tastore.v1.EntityResult\022\022\n\nend_cursor\030\004 " +
+      "\001(\014\022K\n\014more_results\030\005 \001(\01625.google.datas" +
+      "tore.v1.QueryResultBatch.MoreResultsType" +
+      "\022\030\n\020snapshot_version\030\007 \001(\003\022-\n\tread_time\030" +
+      "\010 \001(\0132\032.google.protobuf.Timestamp\"\230\001\n\017Mo" +
+      "reResultsType\022!\n\035MORE_RESULTS_TYPE_UNSPE" +
+      "CIFIED\020\000\022\020\n\014NOT_FINISHED\020\001\022\034\n\030MORE_RESUL" +
+      "TS_AFTER_LIMIT\020\002\022\035\n\031MORE_RESULTS_AFTER_C" +
+      "URSOR\020\004\022\023\n\017NO_MORE_RESULTS\020\003B\274\001\n\027com.goo" +
+      "gle.datastore.v1B\nQueryProtoP\001Z
  * A batch of results produced by a query.
  * 
* * Protobuf type {@code google.datastore.v1.QueryResultBatch} */ -public final class QueryResultBatch extends com.google.protobuf.GeneratedMessageV3 - implements +public final class QueryResultBatch extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.datastore.v1.QueryResultBatch) QueryResultBatchOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use QueryResultBatch.newBuilder() to construct. private QueryResultBatch(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private QueryResultBatch() { skippedCursor_ = com.google.protobuf.ByteString.EMPTY; entityResultType_ = 0; @@ -48,38 +30,34 @@ private QueryResultBatch() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new QueryResultBatch(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_QueryResultBatch_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_QueryResultBatch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_QueryResultBatch_fieldAccessorTable + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_QueryResultBatch_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.QueryResultBatch.class, - com.google.datastore.v1.QueryResultBatch.Builder.class); + com.google.datastore.v1.QueryResultBatch.class, com.google.datastore.v1.QueryResultBatch.Builder.class); } /** - * - * *
    * The possible values for the `more_results` field.
    * 
* * Protobuf enum {@code google.datastore.v1.QueryResultBatch.MoreResultsType} */ - public enum MoreResultsType implements com.google.protobuf.ProtocolMessageEnum { + public enum MoreResultsType + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified. This value is never used.
      * 
@@ -88,8 +66,6 @@ public enum MoreResultsType implements com.google.protobuf.ProtocolMessageEnum { */ MORE_RESULTS_TYPE_UNSPECIFIED(0), /** - * - * *
      * There may be additional batches to fetch from this query.
      * 
@@ -98,8 +74,6 @@ public enum MoreResultsType implements com.google.protobuf.ProtocolMessageEnum { */ NOT_FINISHED(1), /** - * - * *
      * The query is finished, but there may be more results after the limit.
      * 
@@ -108,8 +82,6 @@ public enum MoreResultsType implements com.google.protobuf.ProtocolMessageEnum { */ MORE_RESULTS_AFTER_LIMIT(2), /** - * - * *
      * The query is finished, but there may be more results after the end
      * cursor.
@@ -119,8 +91,6 @@ public enum MoreResultsType implements com.google.protobuf.ProtocolMessageEnum {
      */
     MORE_RESULTS_AFTER_CURSOR(4),
     /**
-     *
-     *
      * 
      * The query is finished, and there are no more results.
      * 
@@ -132,8 +102,6 @@ public enum MoreResultsType implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified. This value is never used.
      * 
@@ -142,8 +110,6 @@ public enum MoreResultsType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MORE_RESULTS_TYPE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * There may be additional batches to fetch from this query.
      * 
@@ -152,8 +118,6 @@ public enum MoreResultsType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NOT_FINISHED_VALUE = 1; /** - * - * *
      * The query is finished, but there may be more results after the limit.
      * 
@@ -162,8 +126,6 @@ public enum MoreResultsType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int MORE_RESULTS_AFTER_LIMIT_VALUE = 2; /** - * - * *
      * The query is finished, but there may be more results after the end
      * cursor.
@@ -173,8 +135,6 @@ public enum MoreResultsType implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int MORE_RESULTS_AFTER_CURSOR_VALUE = 4;
     /**
-     *
-     *
      * 
      * The query is finished, and there are no more results.
      * 
@@ -183,6 +143,7 @@ public enum MoreResultsType implements com.google.protobuf.ProtocolMessageEnum { */ public static final int NO_MORE_RESULTS_VALUE = 3; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -207,46 +168,41 @@ public static MoreResultsType valueOf(int value) { */ public static MoreResultsType forNumber(int value) { switch (value) { - case 0: - return MORE_RESULTS_TYPE_UNSPECIFIED; - case 1: - return NOT_FINISHED; - case 2: - return MORE_RESULTS_AFTER_LIMIT; - case 4: - return MORE_RESULTS_AFTER_CURSOR; - case 3: - return NO_MORE_RESULTS; - default: - return null; + case 0: return MORE_RESULTS_TYPE_UNSPECIFIED; + case 1: return NOT_FINISHED; + case 2: return MORE_RESULTS_AFTER_LIMIT; + case 4: return MORE_RESULTS_AFTER_CURSOR; + case 3: return NO_MORE_RESULTS; + 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< + MoreResultsType> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public MoreResultsType findValueByNumber(int number) { + return MoreResultsType.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MoreResultsType findValueByNumber(int number) { - return MoreResultsType.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.datastore.v1.QueryResultBatch.getDescriptor().getEnumTypes().get(0); } @@ -255,7 +211,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static MoreResultsType 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; @@ -276,14 +233,11 @@ private MoreResultsType(int value) { public static final int SKIPPED_RESULTS_FIELD_NUMBER = 6; private int skippedResults_ = 0; /** - * - * *
    * The number of results skipped, typically because of an offset.
    * 
* * int32 skipped_results = 6; - * * @return The skippedResults. */ @java.lang.Override @@ -294,15 +248,12 @@ public int getSkippedResults() { public static final int SKIPPED_CURSOR_FIELD_NUMBER = 3; private com.google.protobuf.ByteString skippedCursor_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * A cursor that points to the position after the last skipped result.
    * Will be set when `skipped_results` != 0.
    * 
* * bytes skipped_cursor = 3; - * * @return The skippedCursor. */ @java.lang.Override @@ -313,45 +264,33 @@ public com.google.protobuf.ByteString getSkippedCursor() { public static final int ENTITY_RESULT_TYPE_FIELD_NUMBER = 1; private int entityResultType_ = 0; /** - * - * *
    * The result type for every entity in `entity_results`.
    * 
* * .google.datastore.v1.EntityResult.ResultType entity_result_type = 1; - * * @return The enum numeric value on the wire for entityResultType. */ - @java.lang.Override - public int getEntityResultTypeValue() { + @java.lang.Override public int getEntityResultTypeValue() { return entityResultType_; } /** - * - * *
    * The result type for every entity in `entity_results`.
    * 
* * .google.datastore.v1.EntityResult.ResultType entity_result_type = 1; - * * @return The entityResultType. */ - @java.lang.Override - public com.google.datastore.v1.EntityResult.ResultType getEntityResultType() { - com.google.datastore.v1.EntityResult.ResultType result = - com.google.datastore.v1.EntityResult.ResultType.forNumber(entityResultType_); + @java.lang.Override public com.google.datastore.v1.EntityResult.ResultType getEntityResultType() { + com.google.datastore.v1.EntityResult.ResultType result = com.google.datastore.v1.EntityResult.ResultType.forNumber(entityResultType_); return result == null ? com.google.datastore.v1.EntityResult.ResultType.UNRECOGNIZED : result; } public static final int ENTITY_RESULTS_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private java.util.List entityResults_; /** - * - * *
    * The results for this batch.
    * 
@@ -363,8 +302,6 @@ public java.util.List getEntityResultsList return entityResults_; } /** - * - * *
    * The results for this batch.
    * 
@@ -372,13 +309,11 @@ public java.util.List getEntityResultsList * repeated .google.datastore.v1.EntityResult entity_results = 2; */ @java.lang.Override - public java.util.List + public java.util.List getEntityResultsOrBuilderList() { return entityResults_; } /** - * - * *
    * The results for this batch.
    * 
@@ -390,8 +325,6 @@ public int getEntityResultsCount() { return entityResults_.size(); } /** - * - * *
    * The results for this batch.
    * 
@@ -403,8 +336,6 @@ public com.google.datastore.v1.EntityResult getEntityResults(int index) { return entityResults_.get(index); } /** - * - * *
    * The results for this batch.
    * 
@@ -412,21 +343,19 @@ public com.google.datastore.v1.EntityResult getEntityResults(int index) { * repeated .google.datastore.v1.EntityResult entity_results = 2; */ @java.lang.Override - public com.google.datastore.v1.EntityResultOrBuilder getEntityResultsOrBuilder(int index) { + public com.google.datastore.v1.EntityResultOrBuilder getEntityResultsOrBuilder( + int index) { return entityResults_.get(index); } public static final int END_CURSOR_FIELD_NUMBER = 4; private com.google.protobuf.ByteString endCursor_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * A cursor that points to the position after the last result in the batch.
    * 
* * bytes end_cursor = 4; - * * @return The endCursor. */ @java.lang.Override @@ -437,45 +366,32 @@ public com.google.protobuf.ByteString getEndCursor() { public static final int MORE_RESULTS_FIELD_NUMBER = 5; private int moreResults_ = 0; /** - * - * *
    * The state of the query after the current batch.
    * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 5; - * * @return The enum numeric value on the wire for moreResults. */ - @java.lang.Override - public int getMoreResultsValue() { + @java.lang.Override public int getMoreResultsValue() { return moreResults_; } /** - * - * *
    * The state of the query after the current batch.
    * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 5; - * * @return The moreResults. */ - @java.lang.Override - public com.google.datastore.v1.QueryResultBatch.MoreResultsType getMoreResults() { - com.google.datastore.v1.QueryResultBatch.MoreResultsType result = - com.google.datastore.v1.QueryResultBatch.MoreResultsType.forNumber(moreResults_); - return result == null - ? com.google.datastore.v1.QueryResultBatch.MoreResultsType.UNRECOGNIZED - : result; + @java.lang.Override public com.google.datastore.v1.QueryResultBatch.MoreResultsType getMoreResults() { + com.google.datastore.v1.QueryResultBatch.MoreResultsType result = com.google.datastore.v1.QueryResultBatch.MoreResultsType.forNumber(moreResults_); + return result == null ? com.google.datastore.v1.QueryResultBatch.MoreResultsType.UNRECOGNIZED : result; } public static final int SNAPSHOT_VERSION_FIELD_NUMBER = 7; private long snapshotVersion_ = 0L; /** - * - * *
    * The version number of the snapshot this batch was returned from.
    * This applies to the range of results from the query's `start_cursor` (or
@@ -489,7 +405,6 @@ public com.google.datastore.v1.QueryResultBatch.MoreResultsType getMoreResults()
    * 
* * int64 snapshot_version = 7; - * * @return The snapshotVersion. */ @java.lang.Override @@ -500,8 +415,6 @@ public long getSnapshotVersion() { public static final int READ_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp readTime_; /** - * - * *
    * Read timestamp this batch was returned from.
    * This applies to the range of results from the query's `start_cursor` (or
@@ -516,7 +429,6 @@ public long getSnapshotVersion() {
    * 
* * .google.protobuf.Timestamp read_time = 8; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -524,8 +436,6 @@ public boolean hasReadTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Read timestamp this batch was returned from.
    * This applies to the range of results from the query's `start_cursor` (or
@@ -540,7 +450,6 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 8; - * * @return The readTime. */ @java.lang.Override @@ -548,8 +457,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
    * Read timestamp this batch was returned from.
    * This applies to the range of results from the query's `start_cursor` (or
@@ -571,7 +478,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -583,9 +489,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
-    if (entityResultType_
-        != com.google.datastore.v1.EntityResult.ResultType.RESULT_TYPE_UNSPECIFIED.getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
+    if (entityResultType_ != com.google.datastore.v1.EntityResult.ResultType.RESULT_TYPE_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, entityResultType_);
     }
     for (int i = 0; i < entityResults_.size(); i++) {
@@ -597,9 +503,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
     if (!endCursor_.isEmpty()) {
       output.writeBytes(4, endCursor_);
     }
-    if (moreResults_
-        != com.google.datastore.v1.QueryResultBatch.MoreResultsType.MORE_RESULTS_TYPE_UNSPECIFIED
-            .getNumber()) {
+    if (moreResults_ != com.google.datastore.v1.QueryResultBatch.MoreResultsType.MORE_RESULTS_TYPE_UNSPECIFIED.getNumber()) {
       output.writeEnum(5, moreResults_);
     }
     if (skippedResults_ != 0) {
@@ -620,32 +524,37 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (entityResultType_
-        != com.google.datastore.v1.EntityResult.ResultType.RESULT_TYPE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, entityResultType_);
+    if (entityResultType_ != com.google.datastore.v1.EntityResult.ResultType.RESULT_TYPE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(1, entityResultType_);
     }
     for (int i = 0; i < entityResults_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, entityResults_.get(i));
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, entityResults_.get(i));
     }
     if (!skippedCursor_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(3, skippedCursor_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(3, skippedCursor_);
     }
     if (!endCursor_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, endCursor_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(4, endCursor_);
     }
-    if (moreResults_
-        != com.google.datastore.v1.QueryResultBatch.MoreResultsType.MORE_RESULTS_TYPE_UNSPECIFIED
-            .getNumber()) {
-      size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, moreResults_);
+    if (moreResults_ != com.google.datastore.v1.QueryResultBatch.MoreResultsType.MORE_RESULTS_TYPE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(5, moreResults_);
     }
     if (skippedResults_ != 0) {
-      size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, skippedResults_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt32Size(6, skippedResults_);
     }
     if (snapshotVersion_ != 0L) {
-      size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, snapshotVersion_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeInt64Size(7, snapshotVersion_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getReadTime());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(8, getReadTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -655,23 +564,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.datastore.v1.QueryResultBatch)) {
       return super.equals(obj);
     }
     com.google.datastore.v1.QueryResultBatch other = (com.google.datastore.v1.QueryResultBatch) obj;
 
-    if (getSkippedResults() != other.getSkippedResults()) return false;
-    if (!getSkippedCursor().equals(other.getSkippedCursor())) return false;
+    if (getSkippedResults()
+        != other.getSkippedResults()) return false;
+    if (!getSkippedCursor()
+        .equals(other.getSkippedCursor())) return false;
     if (entityResultType_ != other.entityResultType_) return false;
-    if (!getEntityResultsList().equals(other.getEntityResultsList())) return false;
-    if (!getEndCursor().equals(other.getEndCursor())) return false;
+    if (!getEntityResultsList()
+        .equals(other.getEntityResultsList())) return false;
+    if (!getEndCursor()
+        .equals(other.getEndCursor())) return false;
     if (moreResults_ != other.moreResults_) return false;
-    if (getSnapshotVersion() != other.getSnapshotVersion()) return false;
+    if (getSnapshotVersion()
+        != other.getSnapshotVersion()) 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;
@@ -699,7 +614,8 @@ public int hashCode() {
     hash = (37 * hash) + MORE_RESULTS_FIELD_NUMBER;
     hash = (53 * hash) + moreResults_;
     hash = (37 * hash) + SNAPSHOT_VERSION_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSnapshotVersion());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
+        getSnapshotVersion());
     if (hasReadTime()) {
       hash = (37 * hash) + READ_TIME_FIELD_NUMBER;
       hash = (53 * hash) + getReadTime().hashCode();
@@ -709,127 +625,120 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.QueryResultBatch parseFrom(java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.QueryResultBatch parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.QueryResultBatch parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.QueryResultBatch parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.QueryResultBatch parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.QueryResultBatch parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.QueryResultBatch parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.QueryResultBatch parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.datastore.v1.QueryResultBatch parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.datastore.v1.QueryResultBatch parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.datastore.v1.QueryResultBatch parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.datastore.v1.QueryResultBatch parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.datastore.v1.QueryResultBatch parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.datastore.v1.QueryResultBatch parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.datastore.v1.QueryResultBatch prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 batch of results produced by a query.
    * 
* * Protobuf type {@code google.datastore.v1.QueryResultBatch} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.QueryResultBatch) com.google.datastore.v1.QueryResultBatchOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_QueryResultBatch_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_QueryResultBatch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_QueryResultBatch_fieldAccessorTable + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_QueryResultBatch_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.QueryResultBatch.class, - com.google.datastore.v1.QueryResultBatch.Builder.class); + com.google.datastore.v1.QueryResultBatch.class, com.google.datastore.v1.QueryResultBatch.Builder.class); } // Construct using com.google.datastore.v1.QueryResultBatch.newBuilder() @@ -837,18 +746,18 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getEntityResultsFieldBuilder(); getReadTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -875,9 +784,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.v1.QueryProto - .internal_static_google_datastore_v1_QueryResultBatch_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_QueryResultBatch_descriptor; } @java.lang.Override @@ -896,12 +805,9 @@ public com.google.datastore.v1.QueryResultBatch build() { @java.lang.Override public com.google.datastore.v1.QueryResultBatch buildPartial() { - com.google.datastore.v1.QueryResultBatch result = - new com.google.datastore.v1.QueryResultBatch(this); + com.google.datastore.v1.QueryResultBatch result = new com.google.datastore.v1.QueryResultBatch(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -940,7 +846,9 @@ private void buildPartial0(com.google.datastore.v1.QueryResultBatch result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000080) != 0)) { - result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build(); + result.readTime_ = readTimeBuilder_ == null + ? readTime_ + : readTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -950,39 +858,38 @@ private void buildPartial0(com.google.datastore.v1.QueryResultBatch result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.QueryResultBatch) { - return mergeFrom((com.google.datastore.v1.QueryResultBatch) other); + return mergeFrom((com.google.datastore.v1.QueryResultBatch)other); } else { super.mergeFrom(other); return this; @@ -1018,10 +925,9 @@ public Builder mergeFrom(com.google.datastore.v1.QueryResultBatch other) { entityResultsBuilder_ = null; entityResults_ = other.entityResults_; bitField0_ = (bitField0_ & ~0x00000008); - entityResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getEntityResultsFieldBuilder() - : null; + entityResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getEntityResultsFieldBuilder() : null; } else { entityResultsBuilder_.addAllMessages(other.entityResults_); } @@ -1065,68 +971,62 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - entityResultType_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 8 - case 18: - { - com.google.datastore.v1.EntityResult m = - input.readMessage( - com.google.datastore.v1.EntityResult.parser(), extensionRegistry); - if (entityResultsBuilder_ == null) { - ensureEntityResultsIsMutable(); - entityResults_.add(m); - } else { - entityResultsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: - { - skippedCursor_ = input.readBytes(); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 34: - { - endCursor_ = input.readBytes(); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 40: - { - moreResults_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 40 - case 48: - { - skippedResults_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 48 - case 56: - { - snapshotVersion_ = input.readInt64(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 66: - { - input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + entityResultType_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 8 + case 18: { + com.google.datastore.v1.EntityResult m = + input.readMessage( + com.google.datastore.v1.EntityResult.parser(), + extensionRegistry); + if (entityResultsBuilder_ == null) { + ensureEntityResultsIsMutable(); + entityResults_.add(m); + } else { + entityResultsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: { + skippedCursor_ = input.readBytes(); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 34: { + endCursor_ = input.readBytes(); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 40: { + moreResults_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 40 + case 48: { + skippedResults_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 48 + case 56: { + snapshotVersion_ = input.readInt64(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 66: { + input.readMessage( + getReadTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 66 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1136,19 +1036,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private int skippedResults_; + private int skippedResults_ ; /** - * - * *
      * The number of results skipped, typically because of an offset.
      * 
* * int32 skipped_results = 6; - * * @return The skippedResults. */ @java.lang.Override @@ -1156,14 +1052,11 @@ public int getSkippedResults() { return skippedResults_; } /** - * - * *
      * The number of results skipped, typically because of an offset.
      * 
* * int32 skipped_results = 6; - * * @param value The skippedResults to set. * @return This builder for chaining. */ @@ -1175,14 +1068,11 @@ public Builder setSkippedResults(int value) { return this; } /** - * - * *
      * The number of results skipped, typically because of an offset.
      * 
* * int32 skipped_results = 6; - * * @return This builder for chaining. */ public Builder clearSkippedResults() { @@ -1194,15 +1084,12 @@ public Builder clearSkippedResults() { private com.google.protobuf.ByteString skippedCursor_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * A cursor that points to the position after the last skipped result.
      * Will be set when `skipped_results` != 0.
      * 
* * bytes skipped_cursor = 3; - * * @return The skippedCursor. */ @java.lang.Override @@ -1210,37 +1097,29 @@ public com.google.protobuf.ByteString getSkippedCursor() { return skippedCursor_; } /** - * - * *
      * A cursor that points to the position after the last skipped result.
      * Will be set when `skipped_results` != 0.
      * 
* * bytes skipped_cursor = 3; - * * @param value The skippedCursor to set. * @return This builder for chaining. */ public Builder setSkippedCursor(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } skippedCursor_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A cursor that points to the position after the last skipped result.
      * Will be set when `skipped_results` != 0.
      * 
* * bytes skipped_cursor = 3; - * * @return This builder for chaining. */ public Builder clearSkippedCursor() { @@ -1252,29 +1131,22 @@ public Builder clearSkippedCursor() { private int entityResultType_ = 0; /** - * - * *
      * The result type for every entity in `entity_results`.
      * 
* * .google.datastore.v1.EntityResult.ResultType entity_result_type = 1; - * * @return The enum numeric value on the wire for entityResultType. */ - @java.lang.Override - public int getEntityResultTypeValue() { + @java.lang.Override public int getEntityResultTypeValue() { return entityResultType_; } /** - * - * *
      * The result type for every entity in `entity_results`.
      * 
* * .google.datastore.v1.EntityResult.ResultType entity_result_type = 1; - * * @param value The enum numeric value on the wire for entityResultType to set. * @return This builder for chaining. */ @@ -1285,31 +1157,24 @@ public Builder setEntityResultTypeValue(int value) { return this; } /** - * - * *
      * The result type for every entity in `entity_results`.
      * 
* * .google.datastore.v1.EntityResult.ResultType entity_result_type = 1; - * * @return The entityResultType. */ @java.lang.Override public com.google.datastore.v1.EntityResult.ResultType getEntityResultType() { - com.google.datastore.v1.EntityResult.ResultType result = - com.google.datastore.v1.EntityResult.ResultType.forNumber(entityResultType_); + com.google.datastore.v1.EntityResult.ResultType result = com.google.datastore.v1.EntityResult.ResultType.forNumber(entityResultType_); return result == null ? com.google.datastore.v1.EntityResult.ResultType.UNRECOGNIZED : result; } /** - * - * *
      * The result type for every entity in `entity_results`.
      * 
* * .google.datastore.v1.EntityResult.ResultType entity_result_type = 1; - * * @param value The entityResultType to set. * @return This builder for chaining. */ @@ -1323,14 +1188,11 @@ public Builder setEntityResultType(com.google.datastore.v1.EntityResult.ResultTy return this; } /** - * - * *
      * The result type for every entity in `entity_results`.
      * 
* * .google.datastore.v1.EntityResult.ResultType entity_result_type = 1; - * * @return This builder for chaining. */ public Builder clearEntityResultType() { @@ -1341,25 +1203,18 @@ public Builder clearEntityResultType() { } private java.util.List entityResults_ = - java.util.Collections.emptyList(); - + java.util.Collections.emptyList(); private void ensureEntityResultsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - entityResults_ = - new java.util.ArrayList(entityResults_); + entityResults_ = new java.util.ArrayList(entityResults_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.EntityResult, - com.google.datastore.v1.EntityResult.Builder, - com.google.datastore.v1.EntityResultOrBuilder> - entityResultsBuilder_; + com.google.datastore.v1.EntityResult, com.google.datastore.v1.EntityResult.Builder, com.google.datastore.v1.EntityResultOrBuilder> entityResultsBuilder_; /** - * - * *
      * The results for this batch.
      * 
@@ -1374,8 +1229,6 @@ public java.util.List getEntityResultsList } } /** - * - * *
      * The results for this batch.
      * 
@@ -1390,8 +1243,6 @@ public int getEntityResultsCount() { } } /** - * - * *
      * The results for this batch.
      * 
@@ -1406,15 +1257,14 @@ public com.google.datastore.v1.EntityResult getEntityResults(int index) { } } /** - * - * *
      * The results for this batch.
      * 
* * repeated .google.datastore.v1.EntityResult entity_results = 2; */ - public Builder setEntityResults(int index, com.google.datastore.v1.EntityResult value) { + public Builder setEntityResults( + int index, com.google.datastore.v1.EntityResult value) { if (entityResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1428,8 +1278,6 @@ public Builder setEntityResults(int index, com.google.datastore.v1.EntityResult return this; } /** - * - * *
      * The results for this batch.
      * 
@@ -1448,8 +1296,6 @@ public Builder setEntityResults( return this; } /** - * - * *
      * The results for this batch.
      * 
@@ -1470,15 +1316,14 @@ public Builder addEntityResults(com.google.datastore.v1.EntityResult value) { return this; } /** - * - * *
      * The results for this batch.
      * 
* * repeated .google.datastore.v1.EntityResult entity_results = 2; */ - public Builder addEntityResults(int index, com.google.datastore.v1.EntityResult value) { + public Builder addEntityResults( + int index, com.google.datastore.v1.EntityResult value) { if (entityResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1492,15 +1337,14 @@ public Builder addEntityResults(int index, com.google.datastore.v1.EntityResult return this; } /** - * - * *
      * The results for this batch.
      * 
* * repeated .google.datastore.v1.EntityResult entity_results = 2; */ - public Builder addEntityResults(com.google.datastore.v1.EntityResult.Builder builderForValue) { + public Builder addEntityResults( + com.google.datastore.v1.EntityResult.Builder builderForValue) { if (entityResultsBuilder_ == null) { ensureEntityResultsIsMutable(); entityResults_.add(builderForValue.build()); @@ -1511,8 +1355,6 @@ public Builder addEntityResults(com.google.datastore.v1.EntityResult.Builder bui return this; } /** - * - * *
      * The results for this batch.
      * 
@@ -1531,8 +1373,6 @@ public Builder addEntityResults( return this; } /** - * - * *
      * The results for this batch.
      * 
@@ -1543,7 +1383,8 @@ public Builder addAllEntityResults( java.lang.Iterable values) { if (entityResultsBuilder_ == null) { ensureEntityResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entityResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, entityResults_); onChanged(); } else { entityResultsBuilder_.addAllMessages(values); @@ -1551,8 +1392,6 @@ public Builder addAllEntityResults( return this; } /** - * - * *
      * The results for this batch.
      * 
@@ -1570,8 +1409,6 @@ public Builder clearEntityResults() { return this; } /** - * - * *
      * The results for this batch.
      * 
@@ -1589,44 +1426,39 @@ public Builder removeEntityResults(int index) { return this; } /** - * - * *
      * The results for this batch.
      * 
* * repeated .google.datastore.v1.EntityResult entity_results = 2; */ - public com.google.datastore.v1.EntityResult.Builder getEntityResultsBuilder(int index) { + public com.google.datastore.v1.EntityResult.Builder getEntityResultsBuilder( + int index) { return getEntityResultsFieldBuilder().getBuilder(index); } /** - * - * *
      * The results for this batch.
      * 
* * repeated .google.datastore.v1.EntityResult entity_results = 2; */ - public com.google.datastore.v1.EntityResultOrBuilder getEntityResultsOrBuilder(int index) { + public com.google.datastore.v1.EntityResultOrBuilder getEntityResultsOrBuilder( + int index) { if (entityResultsBuilder_ == null) { - return entityResults_.get(index); - } else { + return entityResults_.get(index); } else { return entityResultsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The results for this batch.
      * 
* * repeated .google.datastore.v1.EntityResult entity_results = 2; */ - public java.util.List - getEntityResultsOrBuilderList() { + public java.util.List + getEntityResultsOrBuilderList() { if (entityResultsBuilder_ != null) { return entityResultsBuilder_.getMessageOrBuilderList(); } else { @@ -1634,8 +1466,6 @@ public com.google.datastore.v1.EntityResultOrBuilder getEntityResultsOrBuilder(i } } /** - * - * *
      * The results for this batch.
      * 
@@ -1643,47 +1473,38 @@ public com.google.datastore.v1.EntityResultOrBuilder getEntityResultsOrBuilder(i * repeated .google.datastore.v1.EntityResult entity_results = 2; */ public com.google.datastore.v1.EntityResult.Builder addEntityResultsBuilder() { - return getEntityResultsFieldBuilder() - .addBuilder(com.google.datastore.v1.EntityResult.getDefaultInstance()); + return getEntityResultsFieldBuilder().addBuilder( + com.google.datastore.v1.EntityResult.getDefaultInstance()); } /** - * - * *
      * The results for this batch.
      * 
* * repeated .google.datastore.v1.EntityResult entity_results = 2; */ - public com.google.datastore.v1.EntityResult.Builder addEntityResultsBuilder(int index) { - return getEntityResultsFieldBuilder() - .addBuilder(index, com.google.datastore.v1.EntityResult.getDefaultInstance()); + public com.google.datastore.v1.EntityResult.Builder addEntityResultsBuilder( + int index) { + return getEntityResultsFieldBuilder().addBuilder( + index, com.google.datastore.v1.EntityResult.getDefaultInstance()); } /** - * - * *
      * The results for this batch.
      * 
* * repeated .google.datastore.v1.EntityResult entity_results = 2; */ - public java.util.List - getEntityResultsBuilderList() { + public java.util.List + getEntityResultsBuilderList() { return getEntityResultsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.EntityResult, - com.google.datastore.v1.EntityResult.Builder, - com.google.datastore.v1.EntityResultOrBuilder> + com.google.datastore.v1.EntityResult, com.google.datastore.v1.EntityResult.Builder, com.google.datastore.v1.EntityResultOrBuilder> getEntityResultsFieldBuilder() { if (entityResultsBuilder_ == null) { - entityResultsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.EntityResult, - com.google.datastore.v1.EntityResult.Builder, - com.google.datastore.v1.EntityResultOrBuilder>( + entityResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.datastore.v1.EntityResult, com.google.datastore.v1.EntityResult.Builder, com.google.datastore.v1.EntityResultOrBuilder>( entityResults_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), @@ -1695,14 +1516,11 @@ public com.google.datastore.v1.EntityResult.Builder addEntityResultsBuilder(int private com.google.protobuf.ByteString endCursor_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * A cursor that points to the position after the last result in the batch.
      * 
* * bytes end_cursor = 4; - * * @return The endCursor. */ @java.lang.Override @@ -1710,35 +1528,27 @@ public com.google.protobuf.ByteString getEndCursor() { return endCursor_; } /** - * - * *
      * A cursor that points to the position after the last result in the batch.
      * 
* * bytes end_cursor = 4; - * * @param value The endCursor to set. * @return This builder for chaining. */ public Builder setEndCursor(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } endCursor_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * A cursor that points to the position after the last result in the batch.
      * 
* * bytes end_cursor = 4; - * * @return This builder for chaining. */ public Builder clearEndCursor() { @@ -1750,29 +1560,22 @@ public Builder clearEndCursor() { private int moreResults_ = 0; /** - * - * *
      * The state of the query after the current batch.
      * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 5; - * * @return The enum numeric value on the wire for moreResults. */ - @java.lang.Override - public int getMoreResultsValue() { + @java.lang.Override public int getMoreResultsValue() { return moreResults_; } /** - * - * *
      * The state of the query after the current batch.
      * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 5; - * * @param value The enum numeric value on the wire for moreResults to set. * @return This builder for chaining. */ @@ -1783,33 +1586,24 @@ public Builder setMoreResultsValue(int value) { return this; } /** - * - * *
      * The state of the query after the current batch.
      * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 5; - * * @return The moreResults. */ @java.lang.Override public com.google.datastore.v1.QueryResultBatch.MoreResultsType getMoreResults() { - com.google.datastore.v1.QueryResultBatch.MoreResultsType result = - com.google.datastore.v1.QueryResultBatch.MoreResultsType.forNumber(moreResults_); - return result == null - ? com.google.datastore.v1.QueryResultBatch.MoreResultsType.UNRECOGNIZED - : result; + com.google.datastore.v1.QueryResultBatch.MoreResultsType result = com.google.datastore.v1.QueryResultBatch.MoreResultsType.forNumber(moreResults_); + return result == null ? com.google.datastore.v1.QueryResultBatch.MoreResultsType.UNRECOGNIZED : result; } /** - * - * *
      * The state of the query after the current batch.
      * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 5; - * * @param value The moreResults to set. * @return This builder for chaining. */ @@ -1823,14 +1617,11 @@ public Builder setMoreResults(com.google.datastore.v1.QueryResultBatch.MoreResul return this; } /** - * - * *
      * The state of the query after the current batch.
      * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 5; - * * @return This builder for chaining. */ public Builder clearMoreResults() { @@ -1840,10 +1631,8 @@ public Builder clearMoreResults() { return this; } - private long snapshotVersion_; + private long snapshotVersion_ ; /** - * - * *
      * The version number of the snapshot this batch was returned from.
      * This applies to the range of results from the query's `start_cursor` (or
@@ -1857,7 +1646,6 @@ public Builder clearMoreResults() {
      * 
* * int64 snapshot_version = 7; - * * @return The snapshotVersion. */ @java.lang.Override @@ -1865,8 +1653,6 @@ public long getSnapshotVersion() { return snapshotVersion_; } /** - * - * *
      * The version number of the snapshot this batch was returned from.
      * This applies to the range of results from the query's `start_cursor` (or
@@ -1880,7 +1666,6 @@ public long getSnapshotVersion() {
      * 
* * int64 snapshot_version = 7; - * * @param value The snapshotVersion to set. * @return This builder for chaining. */ @@ -1892,8 +1677,6 @@ public Builder setSnapshotVersion(long value) { return this; } /** - * - * *
      * The version number of the snapshot this batch was returned from.
      * This applies to the range of results from the query's `start_cursor` (or
@@ -1907,7 +1690,6 @@ public Builder setSnapshotVersion(long value) {
      * 
* * int64 snapshot_version = 7; - * * @return This builder for chaining. */ public Builder clearSnapshotVersion() { @@ -1919,13 +1701,8 @@ public Builder clearSnapshotVersion() { 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_; /** - * - * *
      * Read timestamp this batch was returned from.
      * This applies to the range of results from the query's `start_cursor` (or
@@ -1940,15 +1717,12 @@ public Builder clearSnapshotVersion() {
      * 
* * .google.protobuf.Timestamp read_time = 8; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return ((bitField0_ & 0x00000080) != 0); } /** - * - * *
      * Read timestamp this batch was returned from.
      * This applies to the range of results from the query's `start_cursor` (or
@@ -1963,7 +1737,6 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 8; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1974,8 +1747,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Read timestamp this batch was returned from.
      * This applies to the range of results from the query's `start_cursor` (or
@@ -2005,8 +1776,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Read timestamp this batch was returned from.
      * This applies to the range of results from the query's `start_cursor` (or
@@ -2022,7 +1791,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 8;
      */
-    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(
+        com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         readTime_ = builderForValue.build();
       } else {
@@ -2033,8 +1803,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * Read timestamp this batch was returned from.
      * This applies to the range of results from the query's `start_cursor` (or
@@ -2052,9 +1820,9 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000080) != 0)
-            && readTime_ != null
-            && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000080) != 0) &&
+          readTime_ != null &&
+          readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getReadTimeBuilder().mergeFrom(value);
         } else {
           readTime_ = value;
@@ -2069,8 +1837,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Read timestamp this batch was returned from.
      * This applies to the range of results from the query's `start_cursor` (or
@@ -2097,8 +1863,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Read timestamp this batch was returned from.
      * This applies to the range of results from the query's `start_cursor` (or
@@ -2120,8 +1884,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Read timestamp this batch was returned from.
      * This applies to the range of results from the query's `start_cursor` (or
@@ -2141,12 +1903,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_;
       }
     }
     /**
-     *
-     *
      * 
      * Read timestamp this batch was returned from.
      * This applies to the range of results from the query's `start_cursor` (or
@@ -2163,24 +1924,21 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 8;
      */
     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);
     }
 
@@ -2190,12 +1948,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.QueryResultBatch)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.QueryResultBatch)
   private static final com.google.datastore.v1.QueryResultBatch DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.QueryResultBatch();
   }
@@ -2204,27 +1962,27 @@ public static com.google.datastore.v1.QueryResultBatch getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public QueryResultBatch parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public QueryResultBatch parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2239,4 +1997,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.QueryResultBatch getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryResultBatchOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryResultBatchOrBuilder.java
similarity index 86%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryResultBatchOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryResultBatchOrBuilder.java
index b17dc17ae..2b76b8405 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryResultBatchOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryResultBatchOrBuilder.java
@@ -1,94 +1,63 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/query.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface QueryResultBatchOrBuilder
-    extends
+public interface QueryResultBatchOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.QueryResultBatch)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The number of results skipped, typically because of an offset.
    * 
* * int32 skipped_results = 6; - * * @return The skippedResults. */ int getSkippedResults(); /** - * - * *
    * A cursor that points to the position after the last skipped result.
    * Will be set when `skipped_results` != 0.
    * 
* * bytes skipped_cursor = 3; - * * @return The skippedCursor. */ com.google.protobuf.ByteString getSkippedCursor(); /** - * - * *
    * The result type for every entity in `entity_results`.
    * 
* * .google.datastore.v1.EntityResult.ResultType entity_result_type = 1; - * * @return The enum numeric value on the wire for entityResultType. */ int getEntityResultTypeValue(); /** - * - * *
    * The result type for every entity in `entity_results`.
    * 
* * .google.datastore.v1.EntityResult.ResultType entity_result_type = 1; - * * @return The entityResultType. */ com.google.datastore.v1.EntityResult.ResultType getEntityResultType(); /** - * - * *
    * The results for this batch.
    * 
* * repeated .google.datastore.v1.EntityResult entity_results = 2; */ - java.util.List getEntityResultsList(); + java.util.List + getEntityResultsList(); /** - * - * *
    * The results for this batch.
    * 
@@ -97,8 +66,6 @@ public interface QueryResultBatchOrBuilder */ com.google.datastore.v1.EntityResult getEntityResults(int index); /** - * - * *
    * The results for this batch.
    * 
@@ -107,68 +74,54 @@ public interface QueryResultBatchOrBuilder */ int getEntityResultsCount(); /** - * - * *
    * The results for this batch.
    * 
* * repeated .google.datastore.v1.EntityResult entity_results = 2; */ - java.util.List + java.util.List getEntityResultsOrBuilderList(); /** - * - * *
    * The results for this batch.
    * 
* * repeated .google.datastore.v1.EntityResult entity_results = 2; */ - com.google.datastore.v1.EntityResultOrBuilder getEntityResultsOrBuilder(int index); + com.google.datastore.v1.EntityResultOrBuilder getEntityResultsOrBuilder( + int index); /** - * - * *
    * A cursor that points to the position after the last result in the batch.
    * 
* * bytes end_cursor = 4; - * * @return The endCursor. */ com.google.protobuf.ByteString getEndCursor(); /** - * - * *
    * The state of the query after the current batch.
    * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 5; - * * @return The enum numeric value on the wire for moreResults. */ int getMoreResultsValue(); /** - * - * *
    * The state of the query after the current batch.
    * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 5; - * * @return The moreResults. */ com.google.datastore.v1.QueryResultBatch.MoreResultsType getMoreResults(); /** - * - * *
    * The version number of the snapshot this batch was returned from.
    * This applies to the range of results from the query's `start_cursor` (or
@@ -182,14 +135,11 @@ public interface QueryResultBatchOrBuilder
    * 
* * int64 snapshot_version = 7; - * * @return The snapshotVersion. */ long getSnapshotVersion(); /** - * - * *
    * Read timestamp this batch was returned from.
    * This applies to the range of results from the query's `start_cursor` (or
@@ -204,13 +154,10 @@ public interface QueryResultBatchOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 8; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * Read timestamp this batch was returned from.
    * This applies to the range of results from the query's `start_cursor` (or
@@ -225,13 +172,10 @@ public interface QueryResultBatchOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 8; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * Read timestamp this batch was returned from.
    * This applies to the range of results from the query's `start_cursor` (or
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptions.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptions.java
similarity index 76%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptions.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptions.java
index a64c56d36..e16a87c80 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptions.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptions.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/datastore.proto
 
@@ -20,60 +5,54 @@
 package com.google.datastore.v1;
 
 /**
- *
- *
  * 
  * The options shared by read requests.
  * 
* * Protobuf type {@code google.datastore.v1.ReadOptions} */ -public final class ReadOptions extends com.google.protobuf.GeneratedMessageV3 - implements +public final class ReadOptions extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.datastore.v1.ReadOptions) ReadOptionsOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use ReadOptions.newBuilder() to construct. private ReadOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ReadOptions() {} + private ReadOptions() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_ReadOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_ReadOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_ReadOptions_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_ReadOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.ReadOptions.class, - com.google.datastore.v1.ReadOptions.Builder.class); + com.google.datastore.v1.ReadOptions.class, com.google.datastore.v1.ReadOptions.Builder.class); } /** - * - * *
    * The possible values for read consistencies.
    * 
* * Protobuf enum {@code google.datastore.v1.ReadOptions.ReadConsistency} */ - public enum ReadConsistency implements com.google.protobuf.ProtocolMessageEnum { + public enum ReadConsistency + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
      * Unspecified. This value must not be used.
      * 
@@ -82,8 +61,6 @@ public enum ReadConsistency implements com.google.protobuf.ProtocolMessageEnum { */ READ_CONSISTENCY_UNSPECIFIED(0), /** - * - * *
      * Strong consistency.
      * 
@@ -92,8 +69,6 @@ public enum ReadConsistency implements com.google.protobuf.ProtocolMessageEnum { */ STRONG(1), /** - * - * *
      * Eventual consistency.
      * 
@@ -105,8 +80,6 @@ public enum ReadConsistency implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Unspecified. This value must not be used.
      * 
@@ -115,8 +88,6 @@ public enum ReadConsistency implements com.google.protobuf.ProtocolMessageEnum { */ public static final int READ_CONSISTENCY_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Strong consistency.
      * 
@@ -125,8 +96,6 @@ public enum ReadConsistency implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STRONG_VALUE = 1; /** - * - * *
      * Eventual consistency.
      * 
@@ -135,6 +104,7 @@ public enum ReadConsistency implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EVENTUAL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -159,42 +129,39 @@ public static ReadConsistency valueOf(int value) { */ public static ReadConsistency forNumber(int value) { switch (value) { - case 0: - return READ_CONSISTENCY_UNSPECIFIED; - case 1: - return STRONG; - case 2: - return EVENTUAL; - default: - return null; + case 0: return READ_CONSISTENCY_UNSPECIFIED; + case 1: return STRONG; + case 2: return EVENTUAL; + 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< + ReadConsistency> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ReadConsistency findValueByNumber(int number) { + return ReadConsistency.forNumber(number); + } + }; - private static final com.google.protobuf.Internal.EnumLiteMap - internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ReadConsistency findValueByNumber(int number) { - return ReadConsistency.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.datastore.v1.ReadOptions.getDescriptor().getEnumTypes().get(0); } @@ -203,7 +170,8 @@ public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor public static ReadConsistency 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; @@ -221,13 +189,10 @@ private ReadConsistency(int value) { } private int consistencyTypeCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object consistencyType_; - public enum ConsistencyTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { READ_CONSISTENCY(1), TRANSACTION(2), @@ -235,7 +200,6 @@ public enum ConsistencyTypeCase READ_TIME(4), CONSISTENCYTYPE_NOT_SET(0); private final int value; - private ConsistencyTypeCase(int value) { this.value = value; } @@ -251,54 +215,43 @@ public static ConsistencyTypeCase valueOf(int value) { public static ConsistencyTypeCase forNumber(int value) { switch (value) { - case 1: - return READ_CONSISTENCY; - case 2: - return TRANSACTION; - case 3: - return NEW_TRANSACTION; - case 4: - return READ_TIME; - case 0: - return CONSISTENCYTYPE_NOT_SET; - default: - return null; + case 1: return READ_CONSISTENCY; + case 2: return TRANSACTION; + case 3: return NEW_TRANSACTION; + case 4: return READ_TIME; + case 0: return CONSISTENCYTYPE_NOT_SET; + default: return null; } } - public int getNumber() { return this.value; } }; - public ConsistencyTypeCase getConsistencyTypeCase() { - return ConsistencyTypeCase.forNumber(consistencyTypeCase_); + public ConsistencyTypeCase + getConsistencyTypeCase() { + return ConsistencyTypeCase.forNumber( + consistencyTypeCase_); } public static final int READ_CONSISTENCY_FIELD_NUMBER = 1; /** - * - * *
    * The non-transactional read consistency to use.
    * 
* * .google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1; - * * @return Whether the readConsistency field is set. */ public boolean hasReadConsistency() { return consistencyTypeCase_ == 1; } /** - * - * *
    * The non-transactional read consistency to use.
    * 
* * .google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1; - * * @return The enum numeric value on the wire for readConsistency. */ public int getReadConsistencyValue() { @@ -308,32 +261,24 @@ public int getReadConsistencyValue() { return 0; } /** - * - * *
    * The non-transactional read consistency to use.
    * 
* * .google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1; - * * @return The readConsistency. */ public com.google.datastore.v1.ReadOptions.ReadConsistency getReadConsistency() { if (consistencyTypeCase_ == 1) { - com.google.datastore.v1.ReadOptions.ReadConsistency result = - com.google.datastore.v1.ReadOptions.ReadConsistency.forNumber( - (java.lang.Integer) consistencyType_); - return result == null - ? com.google.datastore.v1.ReadOptions.ReadConsistency.UNRECOGNIZED - : result; + com.google.datastore.v1.ReadOptions.ReadConsistency result = com.google.datastore.v1.ReadOptions.ReadConsistency.forNumber( + (java.lang.Integer) consistencyType_); + return result == null ? com.google.datastore.v1.ReadOptions.ReadConsistency.UNRECOGNIZED : result; } return com.google.datastore.v1.ReadOptions.ReadConsistency.READ_CONSISTENCY_UNSPECIFIED; } public static final int TRANSACTION_FIELD_NUMBER = 2; /** - * - * *
    * The identifier of the transaction in which to read. A
    * transaction identifier is returned by a call to
@@ -341,7 +286,6 @@ public com.google.datastore.v1.ReadOptions.ReadConsistency getReadConsistency()
    * 
* * bytes transaction = 2; - * * @return Whether the transaction field is set. */ @java.lang.Override @@ -349,8 +293,6 @@ public boolean hasTransaction() { return consistencyTypeCase_ == 2; } /** - * - * *
    * The identifier of the transaction in which to read. A
    * transaction identifier is returned by a call to
@@ -358,7 +300,6 @@ public boolean hasTransaction() {
    * 
* * bytes transaction = 2; - * * @return The transaction. */ @java.lang.Override @@ -371,8 +312,6 @@ public com.google.protobuf.ByteString getTransaction() { public static final int NEW_TRANSACTION_FIELD_NUMBER = 3; /** - * - * *
    * Options for beginning a new transaction for this request.
    *
@@ -384,7 +323,6 @@ public com.google.protobuf.ByteString getTransaction() {
    * 
* * .google.datastore.v1.TransactionOptions new_transaction = 3; - * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -392,8 +330,6 @@ public boolean hasNewTransaction() { return consistencyTypeCase_ == 3; } /** - * - * *
    * Options for beginning a new transaction for this request.
    *
@@ -405,19 +341,16 @@ public boolean hasNewTransaction() {
    * 
* * .google.datastore.v1.TransactionOptions new_transaction = 3; - * * @return The newTransaction. */ @java.lang.Override public com.google.datastore.v1.TransactionOptions getNewTransaction() { if (consistencyTypeCase_ == 3) { - return (com.google.datastore.v1.TransactionOptions) consistencyType_; + return (com.google.datastore.v1.TransactionOptions) consistencyType_; } return com.google.datastore.v1.TransactionOptions.getDefaultInstance(); } /** - * - * *
    * Options for beginning a new transaction for this request.
    *
@@ -433,15 +366,13 @@ public com.google.datastore.v1.TransactionOptions getNewTransaction() {
   @java.lang.Override
   public com.google.datastore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder() {
     if (consistencyTypeCase_ == 3) {
-      return (com.google.datastore.v1.TransactionOptions) consistencyType_;
+       return (com.google.datastore.v1.TransactionOptions) consistencyType_;
     }
     return com.google.datastore.v1.TransactionOptions.getDefaultInstance();
   }
 
   public static final int READ_TIME_FIELD_NUMBER = 4;
   /**
-   *
-   *
    * 
    * Reads entities as they were at the given time. This value is only
    * supported for Cloud Firestore in Datastore mode.
@@ -452,7 +383,6 @@ public com.google.datastore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -460,8 +390,6 @@ public boolean hasReadTime() { return consistencyTypeCase_ == 4; } /** - * - * *
    * Reads entities as they were at the given time. This value is only
    * supported for Cloud Firestore in Datastore mode.
@@ -472,19 +400,16 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (consistencyTypeCase_ == 4) { - return (com.google.protobuf.Timestamp) consistencyType_; + return (com.google.protobuf.Timestamp) consistencyType_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** - * - * *
    * Reads entities as they were at the given time. This value is only
    * supported for Cloud Firestore in Datastore mode.
@@ -499,13 +424,12 @@ public com.google.protobuf.Timestamp getReadTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
     if (consistencyTypeCase_ == 4) {
-      return (com.google.protobuf.Timestamp) consistencyType_;
+       return (com.google.protobuf.Timestamp) consistencyType_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -517,12 +441,14 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (consistencyTypeCase_ == 1) {
       output.writeEnum(1, ((java.lang.Integer) consistencyType_));
     }
     if (consistencyTypeCase_ == 2) {
-      output.writeBytes(2, (com.google.protobuf.ByteString) consistencyType_);
+      output.writeBytes(
+          2, (com.google.protobuf.ByteString) consistencyType_);
     }
     if (consistencyTypeCase_ == 3) {
       output.writeMessage(3, (com.google.datastore.v1.TransactionOptions) consistencyType_);
@@ -540,24 +466,21 @@ public int getSerializedSize() {
 
     size = 0;
     if (consistencyTypeCase_ == 1) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeEnumSize(
-              1, ((java.lang.Integer) consistencyType_));
+      size += com.google.protobuf.CodedOutputStream
+        .computeEnumSize(1, ((java.lang.Integer) consistencyType_));
     }
     if (consistencyTypeCase_ == 2) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeBytesSize(
-              2, (com.google.protobuf.ByteString) consistencyType_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(
+            2, (com.google.protobuf.ByteString) consistencyType_);
     }
     if (consistencyTypeCase_ == 3) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              3, (com.google.datastore.v1.TransactionOptions) consistencyType_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(3, (com.google.datastore.v1.TransactionOptions) consistencyType_);
     }
     if (consistencyTypeCase_ == 4) {
-      size +=
-          com.google.protobuf.CodedOutputStream.computeMessageSize(
-              4, (com.google.protobuf.Timestamp) consistencyType_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(4, (com.google.protobuf.Timestamp) consistencyType_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -567,7 +490,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.datastore.v1.ReadOptions)) {
       return super.equals(obj);
@@ -577,16 +500,20 @@ public boolean equals(final java.lang.Object obj) {
     if (!getConsistencyTypeCase().equals(other.getConsistencyTypeCase())) return false;
     switch (consistencyTypeCase_) {
       case 1:
-        if (getReadConsistencyValue() != other.getReadConsistencyValue()) return false;
+        if (getReadConsistencyValue()
+            != other.getReadConsistencyValue()) return false;
         break;
       case 2:
-        if (!getTransaction().equals(other.getTransaction())) return false;
+        if (!getTransaction()
+            .equals(other.getTransaction())) return false;
         break;
       case 3:
-        if (!getNewTransaction().equals(other.getNewTransaction())) return false;
+        if (!getNewTransaction()
+            .equals(other.getNewTransaction())) return false;
         break;
       case 4:
-        if (!getReadTime().equals(other.getReadTime())) return false;
+        if (!getReadTime()
+            .equals(other.getReadTime())) return false;
         break;
       case 0:
       default:
@@ -627,135 +554,132 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.ReadOptions parseFrom(java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.ReadOptions parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.ReadOptions parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
-  public static com.google.datastore.v1.ReadOptions parseFrom(com.google.protobuf.ByteString data)
+  public static com.google.datastore.v1.ReadOptions parseFrom(
+      com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.ReadOptions parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.ReadOptions parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.ReadOptions parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.ReadOptions parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.datastore.v1.ReadOptions parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   public static com.google.datastore.v1.ReadOptions 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.datastore.v1.ReadOptions parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.datastore.v1.ReadOptions parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.datastore.v1.ReadOptions parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.datastore.v1.ReadOptions prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 options shared by read requests.
    * 
* * Protobuf type {@code google.datastore.v1.ReadOptions} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.ReadOptions) com.google.datastore.v1.ReadOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_ReadOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_ReadOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_ReadOptions_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_ReadOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.ReadOptions.class, - com.google.datastore.v1.ReadOptions.Builder.class); + com.google.datastore.v1.ReadOptions.class, com.google.datastore.v1.ReadOptions.Builder.class); } // Construct using com.google.datastore.v1.ReadOptions.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -772,9 +696,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_ReadOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_ReadOptions_descriptor; } @java.lang.Override @@ -794,9 +718,7 @@ public com.google.datastore.v1.ReadOptions build() { @java.lang.Override public com.google.datastore.v1.ReadOptions buildPartial() { com.google.datastore.v1.ReadOptions result = new com.google.datastore.v1.ReadOptions(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -809,10 +731,12 @@ private void buildPartial0(com.google.datastore.v1.ReadOptions result) { private void buildPartialOneofs(com.google.datastore.v1.ReadOptions result) { result.consistencyTypeCase_ = consistencyTypeCase_; result.consistencyType_ = this.consistencyType_; - if (consistencyTypeCase_ == 3 && newTransactionBuilder_ != null) { + if (consistencyTypeCase_ == 3 && + newTransactionBuilder_ != null) { result.consistencyType_ = newTransactionBuilder_.build(); } - if (consistencyTypeCase_ == 4 && readTimeBuilder_ != null) { + if (consistencyTypeCase_ == 4 && + readTimeBuilder_ != null) { result.consistencyType_ = readTimeBuilder_.build(); } } @@ -821,39 +745,38 @@ private void buildPartialOneofs(com.google.datastore.v1.ReadOptions result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.ReadOptions) { - return mergeFrom((com.google.datastore.v1.ReadOptions) other); + return mergeFrom((com.google.datastore.v1.ReadOptions)other); } else { super.mergeFrom(other); return this; @@ -863,30 +786,25 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.datastore.v1.ReadOptions other) { if (other == com.google.datastore.v1.ReadOptions.getDefaultInstance()) return this; switch (other.getConsistencyTypeCase()) { - case READ_CONSISTENCY: - { - setReadConsistencyValue(other.getReadConsistencyValue()); - break; - } - case TRANSACTION: - { - setTransaction(other.getTransaction()); - break; - } - case NEW_TRANSACTION: - { - mergeNewTransaction(other.getNewTransaction()); - break; - } - case READ_TIME: - { - mergeReadTime(other.getReadTime()); - break; - } - case CONSISTENCYTYPE_NOT_SET: - { - break; - } + case READ_CONSISTENCY: { + setReadConsistencyValue(other.getReadConsistencyValue()); + break; + } + case TRANSACTION: { + setTransaction(other.getTransaction()); + break; + } + case NEW_TRANSACTION: { + mergeNewTransaction(other.getNewTransaction()); + break; + } + case READ_TIME: { + mergeReadTime(other.getReadTime()); + break; + } + case CONSISTENCYTYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -914,38 +832,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); - consistencyTypeCase_ = 1; - consistencyType_ = rawValue; - break; - } // case 8 - case 18: - { - consistencyType_ = input.readBytes(); - consistencyTypeCase_ = 2; - break; - } // case 18 - case 26: - { - input.readMessage(getNewTransactionFieldBuilder().getBuilder(), extensionRegistry); - consistencyTypeCase_ = 3; - break; - } // case 26 - case 34: - { - input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); - consistencyTypeCase_ = 4; - break; - } // case 34 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: { + int rawValue = input.readEnum(); + consistencyTypeCase_ = 1; + consistencyType_ = rawValue; + break; + } // case 8 + case 18: { + consistencyType_ = input.readBytes(); + consistencyTypeCase_ = 2; + break; + } // case 18 + case 26: { + input.readMessage( + getNewTransactionFieldBuilder().getBuilder(), + extensionRegistry); + consistencyTypeCase_ = 3; + break; + } // case 26 + case 34: { + input.readMessage( + getReadTimeFieldBuilder().getBuilder(), + extensionRegistry); + consistencyTypeCase_ = 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) { @@ -955,12 +872,12 @@ public Builder mergeFrom( } // finally return this; } - private int consistencyTypeCase_ = 0; private java.lang.Object consistencyType_; - - public ConsistencyTypeCase getConsistencyTypeCase() { - return ConsistencyTypeCase.forNumber(consistencyTypeCase_); + public ConsistencyTypeCase + getConsistencyTypeCase() { + return ConsistencyTypeCase.forNumber( + consistencyTypeCase_); } public Builder clearConsistencyType() { @@ -973,14 +890,11 @@ public Builder clearConsistencyType() { private int bitField0_; /** - * - * *
      * The non-transactional read consistency to use.
      * 
* * .google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1; - * * @return Whether the readConsistency field is set. */ @java.lang.Override @@ -988,14 +902,11 @@ public boolean hasReadConsistency() { return consistencyTypeCase_ == 1; } /** - * - * *
      * The non-transactional read consistency to use.
      * 
* * .google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1; - * * @return The enum numeric value on the wire for readConsistency. */ @java.lang.Override @@ -1006,14 +917,11 @@ public int getReadConsistencyValue() { return 0; } /** - * - * *
      * The non-transactional read consistency to use.
      * 
* * .google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1; - * * @param value The enum numeric value on the wire for readConsistency to set. * @return This builder for chaining. */ @@ -1024,37 +932,28 @@ public Builder setReadConsistencyValue(int value) { return this; } /** - * - * *
      * The non-transactional read consistency to use.
      * 
* * .google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1; - * * @return The readConsistency. */ @java.lang.Override public com.google.datastore.v1.ReadOptions.ReadConsistency getReadConsistency() { if (consistencyTypeCase_ == 1) { - com.google.datastore.v1.ReadOptions.ReadConsistency result = - com.google.datastore.v1.ReadOptions.ReadConsistency.forNumber( - (java.lang.Integer) consistencyType_); - return result == null - ? com.google.datastore.v1.ReadOptions.ReadConsistency.UNRECOGNIZED - : result; + com.google.datastore.v1.ReadOptions.ReadConsistency result = com.google.datastore.v1.ReadOptions.ReadConsistency.forNumber( + (java.lang.Integer) consistencyType_); + return result == null ? com.google.datastore.v1.ReadOptions.ReadConsistency.UNRECOGNIZED : result; } return com.google.datastore.v1.ReadOptions.ReadConsistency.READ_CONSISTENCY_UNSPECIFIED; } /** - * - * *
      * The non-transactional read consistency to use.
      * 
* * .google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1; - * * @param value The readConsistency to set. * @return This builder for chaining. */ @@ -1068,14 +967,11 @@ public Builder setReadConsistency(com.google.datastore.v1.ReadOptions.ReadConsis return this; } /** - * - * *
      * The non-transactional read consistency to use.
      * 
* * .google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1; - * * @return This builder for chaining. */ public Builder clearReadConsistency() { @@ -1088,8 +984,6 @@ public Builder clearReadConsistency() { } /** - * - * *
      * The identifier of the transaction in which to read. A
      * transaction identifier is returned by a call to
@@ -1097,15 +991,12 @@ public Builder clearReadConsistency() {
      * 
* * bytes transaction = 2; - * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return consistencyTypeCase_ == 2; } /** - * - * *
      * The identifier of the transaction in which to read. A
      * transaction identifier is returned by a call to
@@ -1113,7 +1004,6 @@ public boolean hasTransaction() {
      * 
* * bytes transaction = 2; - * * @return The transaction. */ public com.google.protobuf.ByteString getTransaction() { @@ -1123,8 +1013,6 @@ public com.google.protobuf.ByteString getTransaction() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * The identifier of the transaction in which to read. A
      * transaction identifier is returned by a call to
@@ -1132,22 +1020,17 @@ public com.google.protobuf.ByteString getTransaction() {
      * 
* * bytes transaction = 2; - * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } consistencyTypeCase_ = 2; consistencyType_ = value; onChanged(); return this; } /** - * - * *
      * The identifier of the transaction in which to read. A
      * transaction identifier is returned by a call to
@@ -1155,7 +1038,6 @@ public Builder setTransaction(com.google.protobuf.ByteString value) {
      * 
* * bytes transaction = 2; - * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -1168,13 +1050,8 @@ public Builder clearTransaction() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.TransactionOptions, - com.google.datastore.v1.TransactionOptions.Builder, - com.google.datastore.v1.TransactionOptionsOrBuilder> - newTransactionBuilder_; + com.google.datastore.v1.TransactionOptions, com.google.datastore.v1.TransactionOptions.Builder, com.google.datastore.v1.TransactionOptionsOrBuilder> newTransactionBuilder_; /** - * - * *
      * Options for beginning a new transaction for this request.
      *
@@ -1186,7 +1063,6 @@ public Builder clearTransaction() {
      * 
* * .google.datastore.v1.TransactionOptions new_transaction = 3; - * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -1194,8 +1070,6 @@ public boolean hasNewTransaction() { return consistencyTypeCase_ == 3; } /** - * - * *
      * Options for beginning a new transaction for this request.
      *
@@ -1207,7 +1081,6 @@ public boolean hasNewTransaction() {
      * 
* * .google.datastore.v1.TransactionOptions new_transaction = 3; - * * @return The newTransaction. */ @java.lang.Override @@ -1225,8 +1098,6 @@ public com.google.datastore.v1.TransactionOptions getNewTransaction() { } } /** - * - * *
      * Options for beginning a new transaction for this request.
      *
@@ -1253,8 +1124,6 @@ public Builder setNewTransaction(com.google.datastore.v1.TransactionOptions valu
       return this;
     }
     /**
-     *
-     *
      * 
      * Options for beginning a new transaction for this request.
      *
@@ -1279,8 +1148,6 @@ public Builder setNewTransaction(
       return this;
     }
     /**
-     *
-     *
      * 
      * Options for beginning a new transaction for this request.
      *
@@ -1295,14 +1162,10 @@ public Builder setNewTransaction(
      */
     public Builder mergeNewTransaction(com.google.datastore.v1.TransactionOptions value) {
       if (newTransactionBuilder_ == null) {
-        if (consistencyTypeCase_ == 3
-            && consistencyType_
-                != com.google.datastore.v1.TransactionOptions.getDefaultInstance()) {
-          consistencyType_ =
-              com.google.datastore.v1.TransactionOptions.newBuilder(
-                      (com.google.datastore.v1.TransactionOptions) consistencyType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (consistencyTypeCase_ == 3 &&
+            consistencyType_ != com.google.datastore.v1.TransactionOptions.getDefaultInstance()) {
+          consistencyType_ = com.google.datastore.v1.TransactionOptions.newBuilder((com.google.datastore.v1.TransactionOptions) consistencyType_)
+              .mergeFrom(value).buildPartial();
         } else {
           consistencyType_ = value;
         }
@@ -1318,8 +1181,6 @@ public Builder mergeNewTransaction(com.google.datastore.v1.TransactionOptions va
       return this;
     }
     /**
-     *
-     *
      * 
      * Options for beginning a new transaction for this request.
      *
@@ -1349,8 +1210,6 @@ public Builder clearNewTransaction() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Options for beginning a new transaction for this request.
      *
@@ -1367,8 +1226,6 @@ public com.google.datastore.v1.TransactionOptions.Builder getNewTransactionBuild
       return getNewTransactionFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Options for beginning a new transaction for this request.
      *
@@ -1393,8 +1250,6 @@ public com.google.datastore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
       }
     }
     /**
-     *
-     *
      * 
      * Options for beginning a new transaction for this request.
      *
@@ -1408,19 +1263,14 @@ public com.google.datastore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
      * .google.datastore.v1.TransactionOptions new_transaction = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.TransactionOptions,
-            com.google.datastore.v1.TransactionOptions.Builder,
-            com.google.datastore.v1.TransactionOptionsOrBuilder>
+        com.google.datastore.v1.TransactionOptions, com.google.datastore.v1.TransactionOptions.Builder, com.google.datastore.v1.TransactionOptionsOrBuilder> 
         getNewTransactionFieldBuilder() {
       if (newTransactionBuilder_ == null) {
         if (!(consistencyTypeCase_ == 3)) {
           consistencyType_ = com.google.datastore.v1.TransactionOptions.getDefaultInstance();
         }
-        newTransactionBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.datastore.v1.TransactionOptions,
-                com.google.datastore.v1.TransactionOptions.Builder,
-                com.google.datastore.v1.TransactionOptionsOrBuilder>(
+        newTransactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.datastore.v1.TransactionOptions, com.google.datastore.v1.TransactionOptions.Builder, com.google.datastore.v1.TransactionOptionsOrBuilder>(
                 (com.google.datastore.v1.TransactionOptions) consistencyType_,
                 getParentForChildren(),
                 isClean());
@@ -1432,13 +1282,8 @@ public com.google.datastore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
-        readTimeBuilder_;
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_;
     /**
-     *
-     *
      * 
      * Reads entities as they were at the given time. This value is only
      * supported for Cloud Firestore in Datastore mode.
@@ -1449,7 +1294,6 @@ public com.google.datastore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
      * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -1457,8 +1301,6 @@ public boolean hasReadTime() { return consistencyTypeCase_ == 4; } /** - * - * *
      * Reads entities as they were at the given time. This value is only
      * supported for Cloud Firestore in Datastore mode.
@@ -1469,7 +1311,6 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ @java.lang.Override @@ -1487,8 +1328,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
      * Reads entities as they were at the given time. This value is only
      * supported for Cloud Firestore in Datastore mode.
@@ -1514,8 +1353,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads entities as they were at the given time. This value is only
      * supported for Cloud Firestore in Datastore mode.
@@ -1527,7 +1364,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) {
         consistencyType_ = builderForValue.build();
         onChanged();
@@ -1538,8 +1376,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads entities as they were at the given time. This value is only
      * supported for Cloud Firestore in Datastore mode.
@@ -1553,13 +1389,10 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (consistencyTypeCase_ == 4
-            && consistencyType_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          consistencyType_ =
-              com.google.protobuf.Timestamp.newBuilder(
-                      (com.google.protobuf.Timestamp) consistencyType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (consistencyTypeCase_ == 4 &&
+            consistencyType_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          consistencyType_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) consistencyType_)
+              .mergeFrom(value).buildPartial();
         } else {
           consistencyType_ = value;
         }
@@ -1575,8 +1408,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads entities as they were at the given time. This value is only
      * supported for Cloud Firestore in Datastore mode.
@@ -1605,8 +1436,6 @@ public Builder clearReadTime() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Reads entities as they were at the given time. This value is only
      * supported for Cloud Firestore in Datastore mode.
@@ -1622,8 +1451,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Reads entities as they were at the given time. This value is only
      * supported for Cloud Firestore in Datastore mode.
@@ -1647,8 +1474,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * Reads entities as they were at the given time. This value is only
      * supported for Cloud Firestore in Datastore mode.
@@ -1661,19 +1486,14 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
         if (!(consistencyTypeCase_ == 4)) {
           consistencyType_ = 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) consistencyType_,
                 getParentForChildren(),
                 isClean());
@@ -1683,9 +1503,9 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       onChanged();
       return readTimeBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1695,12 +1515,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.ReadOptions)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.ReadOptions)
   private static final com.google.datastore.v1.ReadOptions DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.ReadOptions();
   }
@@ -1709,27 +1529,27 @@ public static com.google.datastore.v1.ReadOptions getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ReadOptions parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ReadOptions parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1744,4 +1564,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.ReadOptions getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptionsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptionsOrBuilder.java
similarity index 86%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptionsOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptionsOrBuilder.java
index dd02b663f..9424fdca2 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptionsOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptionsOrBuilder.java
@@ -1,69 +1,42 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/datastore.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface ReadOptionsOrBuilder
-    extends
+public interface ReadOptionsOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.ReadOptions)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * The non-transactional read consistency to use.
    * 
* * .google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1; - * * @return Whether the readConsistency field is set. */ boolean hasReadConsistency(); /** - * - * *
    * The non-transactional read consistency to use.
    * 
* * .google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1; - * * @return The enum numeric value on the wire for readConsistency. */ int getReadConsistencyValue(); /** - * - * *
    * The non-transactional read consistency to use.
    * 
* * .google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1; - * * @return The readConsistency. */ com.google.datastore.v1.ReadOptions.ReadConsistency getReadConsistency(); /** - * - * *
    * The identifier of the transaction in which to read. A
    * transaction identifier is returned by a call to
@@ -71,13 +44,10 @@ public interface ReadOptionsOrBuilder
    * 
* * bytes transaction = 2; - * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** - * - * *
    * The identifier of the transaction in which to read. A
    * transaction identifier is returned by a call to
@@ -85,14 +55,11 @@ public interface ReadOptionsOrBuilder
    * 
* * bytes transaction = 2; - * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** - * - * *
    * Options for beginning a new transaction for this request.
    *
@@ -104,13 +71,10 @@ public interface ReadOptionsOrBuilder
    * 
* * .google.datastore.v1.TransactionOptions new_transaction = 3; - * * @return Whether the newTransaction field is set. */ boolean hasNewTransaction(); /** - * - * *
    * Options for beginning a new transaction for this request.
    *
@@ -122,13 +86,10 @@ public interface ReadOptionsOrBuilder
    * 
* * .google.datastore.v1.TransactionOptions new_transaction = 3; - * * @return The newTransaction. */ com.google.datastore.v1.TransactionOptions getNewTransaction(); /** - * - * *
    * Options for beginning a new transaction for this request.
    *
@@ -144,8 +105,6 @@ public interface ReadOptionsOrBuilder
   com.google.datastore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder();
 
   /**
-   *
-   *
    * 
    * Reads entities as they were at the given time. This value is only
    * supported for Cloud Firestore in Datastore mode.
@@ -156,13 +115,10 @@ public interface ReadOptionsOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
    * Reads entities as they were at the given time. This value is only
    * supported for Cloud Firestore in Datastore mode.
@@ -173,13 +129,10 @@ public interface ReadOptionsOrBuilder
    * 
* * .google.protobuf.Timestamp read_time = 4; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
    * Reads entities as they were at the given time. This value is only
    * supported for Cloud Firestore in Datastore mode.
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequest.java
similarity index 70%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequest.java
index f33ed677e..ed819fea4 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequest.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/datastore.proto
 
@@ -20,8 +5,6 @@
 package com.google.datastore.v1;
 
 /**
- *
- *
  * 
  * The request for
  * [Datastore.ReserveIds][google.datastore.v1.Datastore.ReserveIds].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.datastore.v1.ReserveIdsRequest}
  */
-public final class ReserveIdsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ReserveIdsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.datastore.v1.ReserveIdsRequest)
     ReserveIdsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReserveIdsRequest.newBuilder() to construct.
   private ReserveIdsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ReserveIdsRequest() {
     projectId_ = "";
     databaseId_ = "";
@@ -47,38 +29,33 @@ private ReserveIdsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReserveIdsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.datastore.v1.DatastoreProto
-        .internal_static_google_datastore_v1_ReserveIdsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_ReserveIdsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.v1.DatastoreProto
-        .internal_static_google_datastore_v1_ReserveIdsRequest_fieldAccessorTable
+    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_ReserveIdsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.v1.ReserveIdsRequest.class,
-            com.google.datastore.v1.ReserveIdsRequest.Builder.class);
+            com.google.datastore.v1.ReserveIdsRequest.class, com.google.datastore.v1.ReserveIdsRequest.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 8;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object projectId_ = "";
   /**
-   *
-   *
    * 
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ @java.lang.Override @@ -87,29 +64,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -118,12 +95,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int DATABASE_ID_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object databaseId_ = ""; /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -132,7 +106,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
    * 
* * string database_id = 9; - * * @return The databaseId. */ @java.lang.Override @@ -141,15 +114,14 @@ public java.lang.String getDatabaseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; } } /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -158,15 +130,16 @@ public java.lang.String getDatabaseId() {
    * 
* * string database_id = 9; - * * @return The bytes for databaseId. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -175,87 +148,72 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { } public static final int KEYS_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private java.util.List keys_; /** - * - * *
    * Required. A list of keys with complete key paths whose numeric IDs should
    * not be auto-allocated.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public java.util.List getKeysList() { return keys_; } /** - * - * *
    * Required. A list of keys with complete key paths whose numeric IDs should
    * not be auto-allocated.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public java.util.List getKeysOrBuilderList() { + public java.util.List + getKeysOrBuilderList() { return keys_; } /** - * - * *
    * Required. A list of keys with complete key paths whose numeric IDs should
    * not be auto-allocated.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public int getKeysCount() { return keys_.size(); } /** - * - * *
    * Required. A list of keys with complete key paths whose numeric IDs should
    * not be auto-allocated.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.datastore.v1.Key getKeys(int index) { return keys_.get(index); } /** - * - * *
    * Required. A list of keys with complete key paths whose numeric IDs should
    * not be auto-allocated.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override - public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(int index) { + public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder( + int index) { return keys_.get(index); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,7 +225,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < keys_.size(); i++) { output.writeMessage(1, keys_.get(i)); } @@ -287,7 +246,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < keys_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, keys_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, keys_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, projectId_); @@ -303,17 +263,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.datastore.v1.ReserveIdsRequest)) { return super.equals(obj); } - com.google.datastore.v1.ReserveIdsRequest other = - (com.google.datastore.v1.ReserveIdsRequest) obj; + com.google.datastore.v1.ReserveIdsRequest other = (com.google.datastore.v1.ReserveIdsRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getDatabaseId().equals(other.getDatabaseId())) return false; - if (!getKeysList().equals(other.getKeysList())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getDatabaseId() + .equals(other.getDatabaseId())) return false; + if (!getKeysList() + .equals(other.getKeysList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -338,104 +300,99 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.ReserveIdsRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.datastore.v1.ReserveIdsRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.ReserveIdsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.ReserveIdsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.ReserveIdsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.ReserveIdsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.v1.ReserveIdsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.ReserveIdsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.ReserveIdsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.ReserveIdsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.ReserveIdsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.v1.ReserveIdsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.ReserveIdsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.v1.ReserveIdsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.datastore.v1.ReserveIdsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [Datastore.ReserveIds][google.datastore.v1.Datastore.ReserveIds].
@@ -443,32 +400,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.datastore.v1.ReserveIdsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.datastore.v1.ReserveIdsRequest)
       com.google.datastore.v1.ReserveIdsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_ReserveIdsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_ReserveIdsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_ReserveIdsRequest_fieldAccessorTable
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_ReserveIdsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.ReserveIdsRequest.class,
-              com.google.datastore.v1.ReserveIdsRequest.Builder.class);
+              com.google.datastore.v1.ReserveIdsRequest.class, com.google.datastore.v1.ReserveIdsRequest.Builder.class);
     }
 
     // Construct using com.google.datastore.v1.ReserveIdsRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -486,9 +444,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_ReserveIdsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_ReserveIdsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -507,12 +465,9 @@ public com.google.datastore.v1.ReserveIdsRequest build() {
 
     @java.lang.Override
     public com.google.datastore.v1.ReserveIdsRequest buildPartial() {
-      com.google.datastore.v1.ReserveIdsRequest result =
-          new com.google.datastore.v1.ReserveIdsRequest(this);
+      com.google.datastore.v1.ReserveIdsRequest result = new com.google.datastore.v1.ReserveIdsRequest(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -543,39 +498,38 @@ private void buildPartial0(com.google.datastore.v1.ReserveIdsRequest result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.ReserveIdsRequest) {
-        return mergeFrom((com.google.datastore.v1.ReserveIdsRequest) other);
+        return mergeFrom((com.google.datastore.v1.ReserveIdsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -612,10 +566,9 @@ public Builder mergeFrom(com.google.datastore.v1.ReserveIdsRequest other) {
             keysBuilder_ = null;
             keys_ = other.keys_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            keysBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getKeysFieldBuilder()
-                    : null;
+            keysBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getKeysFieldBuilder() : null;
           } else {
             keysBuilder_.addAllMessages(other.keys_);
           }
@@ -647,37 +600,35 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.datastore.v1.Key m =
-                    input.readMessage(com.google.datastore.v1.Key.parser(), extensionRegistry);
-                if (keysBuilder_ == null) {
-                  ensureKeysIsMutable();
-                  keys_.add(m);
-                } else {
-                  keysBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 66:
-              {
-                projectId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 66
-            case 74:
-              {
-                databaseId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 74
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.datastore.v1.Key m =
+                  input.readMessage(
+                      com.google.datastore.v1.Key.parser(),
+                      extensionRegistry);
+              if (keysBuilder_ == null) {
+                ensureKeysIsMutable();
+                keys_.add(m);
+              } else {
+                keysBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 66: {
+              projectId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 66
+            case 74: {
+              databaseId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 74
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -687,25 +638,22 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object projectId_ = "";
     /**
-     *
-     *
      * 
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -714,21 +662,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -736,35 +683,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -774,21 +714,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -798,8 +734,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object databaseId_ = ""; /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -808,13 +742,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string database_id = 9; - * * @return The databaseId. */ public java.lang.String getDatabaseId() { java.lang.Object ref = databaseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; @@ -823,8 +757,6 @@ public java.lang.String getDatabaseId() { } } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -833,14 +765,15 @@ public java.lang.String getDatabaseId() {
      * 
* * string database_id = 9; - * * @return The bytes for databaseId. */ - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -848,8 +781,6 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { } } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -858,22 +789,18 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() {
      * 
* * string database_id = 9; - * * @param value The databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } databaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -882,7 +809,6 @@ public Builder setDatabaseId(java.lang.String value) {
      * 
* * string database_id = 9; - * * @return This builder for chaining. */ public Builder clearDatabaseId() { @@ -892,8 +818,6 @@ public Builder clearDatabaseId() { return this; } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -902,14 +826,12 @@ public Builder clearDatabaseId() {
      * 
* * string database_id = 9; - * * @param value The bytes for databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); databaseId_ = value; bitField0_ |= 0x00000002; @@ -917,31 +839,25 @@ public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { return this; } - private java.util.List keys_ = java.util.Collections.emptyList(); - + private java.util.List keys_ = + java.util.Collections.emptyList(); private void ensureKeysIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { keys_ = new java.util.ArrayList(keys_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.Key, - com.google.datastore.v1.Key.Builder, - com.google.datastore.v1.KeyOrBuilder> - keysBuilder_; + com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> keysBuilder_; /** - * - * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ public java.util.List getKeysList() { if (keysBuilder_ == null) { @@ -951,15 +867,12 @@ public java.util.List getKeysList() { } } /** - * - * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ public int getKeysCount() { if (keysBuilder_ == null) { @@ -969,15 +882,12 @@ public int getKeysCount() { } } /** - * - * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.datastore.v1.Key getKeys(int index) { if (keysBuilder_ == null) { @@ -987,17 +897,15 @@ public com.google.datastore.v1.Key getKeys(int index) { } } /** - * - * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setKeys(int index, com.google.datastore.v1.Key value) { + public Builder setKeys( + int index, com.google.datastore.v1.Key value) { if (keysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1011,17 +919,15 @@ public Builder setKeys(int index, com.google.datastore.v1.Key value) { return this; } /** - * - * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder setKeys(int index, com.google.datastore.v1.Key.Builder builderForValue) { + public Builder setKeys( + int index, com.google.datastore.v1.Key.Builder builderForValue) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.set(index, builderForValue.build()); @@ -1032,15 +938,12 @@ public Builder setKeys(int index, com.google.datastore.v1.Key.Builder builderFor return this; } /** - * - * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder addKeys(com.google.datastore.v1.Key value) { if (keysBuilder_ == null) { @@ -1056,17 +959,15 @@ public Builder addKeys(com.google.datastore.v1.Key value) { return this; } /** - * - * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addKeys(int index, com.google.datastore.v1.Key value) { + public Builder addKeys( + int index, com.google.datastore.v1.Key value) { if (keysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1080,17 +981,15 @@ public Builder addKeys(int index, com.google.datastore.v1.Key value) { return this; } /** - * - * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addKeys(com.google.datastore.v1.Key.Builder builderForValue) { + public Builder addKeys( + com.google.datastore.v1.Key.Builder builderForValue) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.add(builderForValue.build()); @@ -1101,17 +1000,15 @@ public Builder addKeys(com.google.datastore.v1.Key.Builder builderForValue) { return this; } /** - * - * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addKeys(int index, com.google.datastore.v1.Key.Builder builderForValue) { + public Builder addKeys( + int index, com.google.datastore.v1.Key.Builder builderForValue) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.add(index, builderForValue.build()); @@ -1122,20 +1019,19 @@ public Builder addKeys(int index, com.google.datastore.v1.Key.Builder builderFor return this; } /** - * - * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public Builder addAllKeys(java.lang.Iterable values) { + public Builder addAllKeys( + java.lang.Iterable values) { if (keysBuilder_ == null) { ensureKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, keys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, keys_); onChanged(); } else { keysBuilder_.addAllMessages(values); @@ -1143,15 +1039,12 @@ public Builder addAllKeys(java.lang.Iterable * Required. A list of keys with complete key paths whose numeric IDs should * not be auto-allocated. *
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearKeys() { if (keysBuilder_ == null) { @@ -1164,15 +1057,12 @@ public Builder clearKeys() { return this; } /** - * - * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ public Builder removeKeys(int index) { if (keysBuilder_ == null) { @@ -1185,49 +1075,42 @@ public Builder removeKeys(int index) { return this; } /** - * - * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.datastore.v1.Key.Builder getKeysBuilder(int index) { + public com.google.datastore.v1.Key.Builder getKeysBuilder( + int index) { return getKeysFieldBuilder().getBuilder(index); } /** - * - * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(int index) { + public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder( + int index) { if (keysBuilder_ == null) { - return keys_.get(index); - } else { + return keys_.get(index); } else { return keysBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List getKeysOrBuilderList() { + public java.util.List + getKeysOrBuilderList() { if (keysBuilder_ != null) { return keysBuilder_.getMessageOrBuilderList(); } else { @@ -1235,68 +1118,59 @@ public java.util.List getKeysOrB } } /** - * - * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.datastore.v1.Key.Builder addKeysBuilder() { - return getKeysFieldBuilder().addBuilder(com.google.datastore.v1.Key.getDefaultInstance()); + return getKeysFieldBuilder().addBuilder( + com.google.datastore.v1.Key.getDefaultInstance()); } /** - * - * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public com.google.datastore.v1.Key.Builder addKeysBuilder(int index) { - return getKeysFieldBuilder() - .addBuilder(index, com.google.datastore.v1.Key.getDefaultInstance()); + public com.google.datastore.v1.Key.Builder addKeysBuilder( + int index) { + return getKeysFieldBuilder().addBuilder( + index, com.google.datastore.v1.Key.getDefaultInstance()); } /** - * - * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ - public java.util.List getKeysBuilderList() { + public java.util.List + getKeysBuilderList() { return getKeysFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.Key, - com.google.datastore.v1.Key.Builder, - com.google.datastore.v1.KeyOrBuilder> + com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> getKeysFieldBuilder() { if (keysBuilder_ == null) { - keysBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.Key, - com.google.datastore.v1.Key.Builder, - com.google.datastore.v1.KeyOrBuilder>( - keys_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); + keysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder>( + keys_, + ((bitField0_ & 0x00000004) != 0), + getParentForChildren(), + isClean()); keys_ = null; } return keysBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1306,12 +1180,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.v1.ReserveIdsRequest) } // @@protoc_insertion_point(class_scope:google.datastore.v1.ReserveIdsRequest) private static final com.google.datastore.v1.ReserveIdsRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.v1.ReserveIdsRequest(); } @@ -1320,27 +1194,27 @@ public static com.google.datastore.v1.ReserveIdsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReserveIdsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReserveIdsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1355,4 +1229,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.ReserveIdsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequestOrBuilder.java similarity index 67% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequestOrBuilder.java index f430680f6..5e082b1da 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequestOrBuilder.java @@ -1,57 +1,34 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface ReserveIdsRequestOrBuilder - extends +public interface ReserveIdsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.ReserveIdsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -60,13 +37,10 @@ public interface ReserveIdsRequestOrBuilder
    * 
* * string database_id = 9; - * * @return The databaseId. */ java.lang.String getDatabaseId(); /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -75,69 +49,57 @@ public interface ReserveIdsRequestOrBuilder
    * 
* * string database_id = 9; - * * @return The bytes for databaseId. */ - com.google.protobuf.ByteString getDatabaseIdBytes(); + com.google.protobuf.ByteString + getDatabaseIdBytes(); /** - * - * *
    * Required. A list of keys with complete key paths whose numeric IDs should
    * not be auto-allocated.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getKeysList(); + java.util.List + getKeysList(); /** - * - * *
    * Required. A list of keys with complete key paths whose numeric IDs should
    * not be auto-allocated.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ com.google.datastore.v1.Key getKeys(int index); /** - * - * *
    * Required. A list of keys with complete key paths whose numeric IDs should
    * not be auto-allocated.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ int getKeysCount(); /** - * - * *
    * Required. A list of keys with complete key paths whose numeric IDs should
    * not be auto-allocated.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ - java.util.List getKeysOrBuilderList(); + java.util.List + getKeysOrBuilderList(); /** - * - * *
    * Required. A list of keys with complete key paths whose numeric IDs should
    * not be auto-allocated.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; - * + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; */ - com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(int index); + com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder( + int index); } diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsResponse.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsResponse.java similarity index 62% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsResponse.java index 6fd381126..a6ac56bd4 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto @@ -20,8 +5,6 @@ package com.google.datastore.v1; /** - * - * *
  * The response for
  * [Datastore.ReserveIds][google.datastore.v1.Datastore.ReserveIds].
@@ -29,41 +12,39 @@
  *
  * Protobuf type {@code google.datastore.v1.ReserveIdsResponse}
  */
-public final class ReserveIdsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ReserveIdsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.datastore.v1.ReserveIdsResponse)
     ReserveIdsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ReserveIdsResponse.newBuilder() to construct.
   private ReserveIdsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private ReserveIdsResponse() {}
+  private ReserveIdsResponse() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ReserveIdsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.datastore.v1.DatastoreProto
-        .internal_static_google_datastore_v1_ReserveIdsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_ReserveIdsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.v1.DatastoreProto
-        .internal_static_google_datastore_v1_ReserveIdsResponse_fieldAccessorTable
+    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_ReserveIdsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.v1.ReserveIdsResponse.class,
-            com.google.datastore.v1.ReserveIdsResponse.Builder.class);
+            com.google.datastore.v1.ReserveIdsResponse.class, com.google.datastore.v1.ReserveIdsResponse.Builder.class);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -75,7 +56,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     getUnknownFields().writeTo(output);
   }
 
@@ -93,13 +75,12 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.datastore.v1.ReserveIdsResponse)) {
       return super.equals(obj);
     }
-    com.google.datastore.v1.ReserveIdsResponse other =
-        (com.google.datastore.v1.ReserveIdsResponse) obj;
+    com.google.datastore.v1.ReserveIdsResponse other = (com.google.datastore.v1.ReserveIdsResponse) obj;
 
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -117,104 +98,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.ReserveIdsResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.ReserveIdsResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.ReserveIdsResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.ReserveIdsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.ReserveIdsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.ReserveIdsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.ReserveIdsResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.ReserveIdsResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.datastore.v1.ReserveIdsResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.datastore.v1.ReserveIdsResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.datastore.v1.ReserveIdsResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.datastore.v1.ReserveIdsResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.datastore.v1.ReserveIdsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.datastore.v1.ReserveIdsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.datastore.v1.ReserveIdsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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
    * [Datastore.ReserveIds][google.datastore.v1.Datastore.ReserveIds].
@@ -222,32 +198,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.datastore.v1.ReserveIdsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.datastore.v1.ReserveIdsResponse)
       com.google.datastore.v1.ReserveIdsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_ReserveIdsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_ReserveIdsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_ReserveIdsResponse_fieldAccessorTable
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_ReserveIdsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.ReserveIdsResponse.class,
-              com.google.datastore.v1.ReserveIdsResponse.Builder.class);
+              com.google.datastore.v1.ReserveIdsResponse.class, com.google.datastore.v1.ReserveIdsResponse.Builder.class);
     }
 
     // Construct using com.google.datastore.v1.ReserveIdsResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -255,9 +232,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_ReserveIdsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_ReserveIdsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -276,8 +253,7 @@ public com.google.datastore.v1.ReserveIdsResponse build() {
 
     @java.lang.Override
     public com.google.datastore.v1.ReserveIdsResponse buildPartial() {
-      com.google.datastore.v1.ReserveIdsResponse result =
-          new com.google.datastore.v1.ReserveIdsResponse(this);
+      com.google.datastore.v1.ReserveIdsResponse result = new com.google.datastore.v1.ReserveIdsResponse(this);
       onBuilt();
       return result;
     }
@@ -286,39 +262,38 @@ public com.google.datastore.v1.ReserveIdsResponse 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.datastore.v1.ReserveIdsResponse) {
-        return mergeFrom((com.google.datastore.v1.ReserveIdsResponse) other);
+        return mergeFrom((com.google.datastore.v1.ReserveIdsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -353,13 +328,12 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -369,9 +343,9 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -381,12 +355,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.ReserveIdsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.ReserveIdsResponse)
   private static final com.google.datastore.v1.ReserveIdsResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.ReserveIdsResponse();
   }
@@ -395,27 +369,27 @@ public static com.google.datastore.v1.ReserveIdsResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public ReserveIdsResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public ReserveIdsResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -430,4 +404,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.ReserveIdsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsResponseOrBuilder.java
new file mode 100644
index 000000000..e4753bb89
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsResponseOrBuilder.java
@@ -0,0 +1,10 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/datastore/v1/datastore.proto
+
+// Protobuf Java Version: 3.25.3
+package com.google.datastore.v1;
+
+public interface ReserveIdsResponseOrBuilder extends
+    // @@protoc_insertion_point(interface_extends:google.datastore.v1.ReserveIdsResponse)
+    com.google.protobuf.MessageOrBuilder {
+}
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackRequest.java
similarity index 71%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackRequest.java
index ddc3bbdd6..283a25661 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackRequest.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/datastore.proto
 
@@ -20,24 +5,21 @@
 package com.google.datastore.v1;
 
 /**
- *
- *
  * 
  * The request for [Datastore.Rollback][google.datastore.v1.Datastore.Rollback].
  * 
* * Protobuf type {@code google.datastore.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.datastore.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() { projectId_ = ""; databaseId_ = ""; @@ -46,38 +28,33 @@ private RollbackRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RollbackRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_RollbackRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RollbackRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_RollbackRequest_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RollbackRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.RollbackRequest.class, - com.google.datastore.v1.RollbackRequest.Builder.class); + com.google.datastore.v1.RollbackRequest.class, com.google.datastore.v1.RollbackRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ @java.lang.Override @@ -86,29 +63,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -117,12 +94,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int DATABASE_ID_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object databaseId_ = ""; /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -131,7 +105,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
    * 
* * string database_id = 9; - * * @return The databaseId. */ @java.lang.Override @@ -140,15 +113,14 @@ public java.lang.String getDatabaseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; } } /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -157,15 +129,16 @@ public java.lang.String getDatabaseId() {
    * 
* * string database_id = 9; - * * @return The bytes for databaseId. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -176,15 +149,12 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { public static final int TRANSACTION_FIELD_NUMBER = 1; private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * Required. The transaction identifier, returned by a call to
    * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
    * 
* * bytes transaction = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The transaction. */ @java.lang.Override @@ -193,7 +163,6 @@ public com.google.protobuf.ByteString getTransaction() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -205,7 +174,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!transaction_.isEmpty()) { output.writeBytes(1, transaction_); } @@ -225,7 +195,8 @@ public int getSerializedSize() { size = 0; if (!transaction_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, transaction_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, transaction_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, projectId_); @@ -241,16 +212,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.datastore.v1.RollbackRequest)) { return super.equals(obj); } com.google.datastore.v1.RollbackRequest other = (com.google.datastore.v1.RollbackRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getDatabaseId().equals(other.getDatabaseId())) return false; - if (!getTransaction().equals(other.getTransaction())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getDatabaseId() + .equals(other.getDatabaseId())) return false; + if (!getTransaction() + .equals(other.getTransaction())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -273,136 +247,132 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.RollbackRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.datastore.v1.RollbackRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.v1.RollbackRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.v1.RollbackRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.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.datastore.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.datastore.v1.RollbackRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.RollbackRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.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.datastore.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.datastore.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.datastore.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 [Datastore.Rollback][google.datastore.v1.Datastore.Rollback].
    * 
* * Protobuf type {@code google.datastore.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.datastore.v1.RollbackRequest) com.google.datastore.v1.RollbackRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_RollbackRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RollbackRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_RollbackRequest_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RollbackRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.RollbackRequest.class, - com.google.datastore.v1.RollbackRequest.Builder.class); + com.google.datastore.v1.RollbackRequest.class, com.google.datastore.v1.RollbackRequest.Builder.class); } // Construct using com.google.datastore.v1.RollbackRequest.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -414,9 +384,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_RollbackRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RollbackRequest_descriptor; } @java.lang.Override @@ -435,11 +405,8 @@ public com.google.datastore.v1.RollbackRequest build() { @java.lang.Override public com.google.datastore.v1.RollbackRequest buildPartial() { - com.google.datastore.v1.RollbackRequest result = - new com.google.datastore.v1.RollbackRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.datastore.v1.RollbackRequest result = new com.google.datastore.v1.RollbackRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -461,39 +428,38 @@ private void buildPartial0(com.google.datastore.v1.RollbackRequest result) { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.RollbackRequest) { - return mergeFrom((com.google.datastore.v1.RollbackRequest) other); + return mergeFrom((com.google.datastore.v1.RollbackRequest)other); } else { super.mergeFrom(other); return this; @@ -541,31 +507,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - transaction_ = input.readBytes(); - bitField0_ |= 0x00000004; - break; - } // case 10 - case 66: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 66 - case 74: - { - databaseId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 74 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + transaction_ = input.readBytes(); + bitField0_ |= 0x00000004; + break; + } // case 10 + case 66: { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 66 + case 74: { + databaseId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 74 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -575,25 +537,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object projectId_ = ""; /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -602,21 +561,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -624,35 +582,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -662,21 +613,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -686,8 +633,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object databaseId_ = ""; /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -696,13 +641,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string database_id = 9; - * * @return The databaseId. */ public java.lang.String getDatabaseId() { java.lang.Object ref = databaseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; @@ -711,8 +656,6 @@ public java.lang.String getDatabaseId() { } } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -721,14 +664,15 @@ public java.lang.String getDatabaseId() {
      * 
* * string database_id = 9; - * * @return The bytes for databaseId. */ - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -736,8 +680,6 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { } } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -746,22 +688,18 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() {
      * 
* * string database_id = 9; - * * @param value The databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } databaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -770,7 +708,6 @@ public Builder setDatabaseId(java.lang.String value) {
      * 
* * string database_id = 9; - * * @return This builder for chaining. */ public Builder clearDatabaseId() { @@ -780,8 +717,6 @@ public Builder clearDatabaseId() { return this; } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -790,14 +725,12 @@ public Builder clearDatabaseId() {
      * 
* * string database_id = 9; - * * @param value The bytes for databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); databaseId_ = value; bitField0_ |= 0x00000002; @@ -807,15 +740,12 @@ public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * Required. The transaction identifier, returned by a call to
      * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
      * 
* * bytes transaction = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The transaction. */ @java.lang.Override @@ -823,37 +753,29 @@ public com.google.protobuf.ByteString getTransaction() { return transaction_; } /** - * - * *
      * Required. The transaction identifier, returned by a call to
      * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
      * 
* * bytes transaction = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } transaction_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * Required. The transaction identifier, returned by a call to
      * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
      * 
* * bytes transaction = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -862,9 +784,9 @@ public Builder clearTransaction() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -874,12 +796,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.v1.RollbackRequest) } // @@protoc_insertion_point(class_scope:google.datastore.v1.RollbackRequest) private static final com.google.datastore.v1.RollbackRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.v1.RollbackRequest(); } @@ -888,27 +810,27 @@ public static com.google.datastore.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; @@ -923,4 +845,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.RollbackRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackRequestOrBuilder.java similarity index 67% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackRequestOrBuilder.java index 1396a426c..0f5f63b00 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackRequestOrBuilder.java @@ -1,57 +1,34 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface RollbackRequestOrBuilder - extends +public interface RollbackRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.RollbackRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -60,13 +37,10 @@ public interface RollbackRequestOrBuilder
    * 
* * string database_id = 9; - * * @return The databaseId. */ java.lang.String getDatabaseId(); /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -75,21 +49,18 @@ public interface RollbackRequestOrBuilder
    * 
* * string database_id = 9; - * * @return The bytes for databaseId. */ - com.google.protobuf.ByteString getDatabaseIdBytes(); + com.google.protobuf.ByteString + getDatabaseIdBytes(); /** - * - * *
    * Required. The transaction identifier, returned by a call to
    * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
    * 
* * bytes transaction = 1 [(.google.api.field_behavior) = REQUIRED]; - * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackResponse.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackResponse.java similarity index 62% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackResponse.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackResponse.java index 8aed6de56..f79311eb5 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto @@ -20,8 +5,6 @@ package com.google.datastore.v1; /** - * - * *
  * The response for
  * [Datastore.Rollback][google.datastore.v1.Datastore.Rollback]. (an empty
@@ -30,41 +13,39 @@
  *
  * Protobuf type {@code google.datastore.v1.RollbackResponse}
  */
-public final class RollbackResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class RollbackResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.datastore.v1.RollbackResponse)
     RollbackResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RollbackResponse.newBuilder() to construct.
   private RollbackResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private RollbackResponse() {}
+  private RollbackResponse() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RollbackResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.datastore.v1.DatastoreProto
-        .internal_static_google_datastore_v1_RollbackResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RollbackResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.v1.DatastoreProto
-        .internal_static_google_datastore_v1_RollbackResponse_fieldAccessorTable
+    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RollbackResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.v1.RollbackResponse.class,
-            com.google.datastore.v1.RollbackResponse.Builder.class);
+            com.google.datastore.v1.RollbackResponse.class, com.google.datastore.v1.RollbackResponse.Builder.class);
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -76,7 +57,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     getUnknownFields().writeTo(output);
   }
 
@@ -94,7 +76,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.datastore.v1.RollbackResponse)) {
       return super.equals(obj);
@@ -117,104 +99,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.RollbackResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.RollbackResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.RollbackResponse parseFrom(
-      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.RollbackResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.RollbackResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.RollbackResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.v1.RollbackResponse parseFrom(
-      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-
   public static com.google.datastore.v1.RollbackResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.datastore.v1.RollbackResponse parseFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
-  public static com.google.datastore.v1.RollbackResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.datastore.v1.RollbackResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.datastore.v1.RollbackResponse parseDelimitedFrom(
-      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input,
+      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
   }
-
   public static com.google.datastore.v1.RollbackResponse parseFrom(
-      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.datastore.v1.RollbackResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
-        PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() {
-    return newBuilder();
-  }
-
+  public Builder newBuilderForType() { return newBuilder(); }
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
-
   public static Builder newBuilder(com.google.datastore.v1.RollbackResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
-
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE
+        ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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
    * [Datastore.Rollback][google.datastore.v1.Datastore.Rollback]. (an empty
@@ -223,32 +200,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.datastore.v1.RollbackResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.datastore.v1.RollbackResponse)
       com.google.datastore.v1.RollbackResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_RollbackResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RollbackResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_RollbackResponse_fieldAccessorTable
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RollbackResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.RollbackResponse.class,
-              com.google.datastore.v1.RollbackResponse.Builder.class);
+              com.google.datastore.v1.RollbackResponse.class, com.google.datastore.v1.RollbackResponse.Builder.class);
     }
 
     // Construct using com.google.datastore.v1.RollbackResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -256,9 +234,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_RollbackResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RollbackResponse_descriptor;
     }
 
     @java.lang.Override
@@ -277,8 +255,7 @@ public com.google.datastore.v1.RollbackResponse build() {
 
     @java.lang.Override
     public com.google.datastore.v1.RollbackResponse buildPartial() {
-      com.google.datastore.v1.RollbackResponse result =
-          new com.google.datastore.v1.RollbackResponse(this);
+      com.google.datastore.v1.RollbackResponse result = new com.google.datastore.v1.RollbackResponse(this);
       onBuilt();
       return result;
     }
@@ -287,39 +264,38 @@ public com.google.datastore.v1.RollbackResponse 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.datastore.v1.RollbackResponse) {
-        return mergeFrom((com.google.datastore.v1.RollbackResponse) other);
+        return mergeFrom((com.google.datastore.v1.RollbackResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -354,13 +330,12 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -370,9 +345,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);
     }
 
@@ -382,12 +357,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.RollbackResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.RollbackResponse)
   private static final com.google.datastore.v1.RollbackResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.RollbackResponse();
   }
@@ -396,27 +371,27 @@ public static com.google.datastore.v1.RollbackResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser PARSER =
-      new com.google.protobuf.AbstractParser() {
-        @java.lang.Override
-        public RollbackResponse parsePartialFrom(
-            com.google.protobuf.CodedInputStream input,
-            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-            throws com.google.protobuf.InvalidProtocolBufferException {
-          Builder builder = newBuilder();
-          try {
-            builder.mergeFrom(input, extensionRegistry);
-          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-            throw e.setUnfinishedMessage(builder.buildPartial());
-          } catch (com.google.protobuf.UninitializedMessageException e) {
-            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-          } catch (java.io.IOException e) {
-            throw new com.google.protobuf.InvalidProtocolBufferException(e)
-                .setUnfinishedMessage(builder.buildPartial());
-          }
-          return builder.buildPartial();
-        }
-      };
+  private static final com.google.protobuf.Parser
+      PARSER = new com.google.protobuf.AbstractParser() {
+    @java.lang.Override
+    public RollbackResponse parsePartialFrom(
+        com.google.protobuf.CodedInputStream input,
+        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+        throws com.google.protobuf.InvalidProtocolBufferException {
+      Builder builder = newBuilder();
+      try {
+        builder.mergeFrom(input, extensionRegistry);
+      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+        throw e.setUnfinishedMessage(builder.buildPartial());
+      } catch (com.google.protobuf.UninitializedMessageException e) {
+        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+      } catch (java.io.IOException e) {
+        throw new com.google.protobuf.InvalidProtocolBufferException(e)
+            .setUnfinishedMessage(builder.buildPartial());
+      }
+      return builder.buildPartial();
+    }
+  };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -431,4 +406,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.RollbackResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackResponseOrBuilder.java
new file mode 100644
index 000000000..40a8cde77
--- /dev/null
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackResponseOrBuilder.java
@@ -0,0 +1,10 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/datastore/v1/datastore.proto
+
+// Protobuf Java Version: 3.25.3
+package com.google.datastore.v1;
+
+public interface RollbackResponseOrBuilder extends
+    // @@protoc_insertion_point(interface_extends:google.datastore.v1.RollbackResponse)
+    com.google.protobuf.MessageOrBuilder {
+}
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryRequest.java
similarity index 71%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryRequest.java
index aff95e007..c197eb1c6 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryRequest.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/datastore.proto
 
@@ -20,8 +5,6 @@
 package com.google.datastore.v1;
 
 /**
- *
- *
  * 
  * The request for
  * [Datastore.RunAggregationQuery][google.datastore.v1.Datastore.RunAggregationQuery].
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.datastore.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.datastore.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() {
     projectId_ = "";
     databaseId_ = "";
@@ -46,40 +28,35 @@ private RunAggregationQueryRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RunAggregationQueryRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.datastore.v1.DatastoreProto
-        .internal_static_google_datastore_v1_RunAggregationQueryRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunAggregationQueryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.v1.DatastoreProto
-        .internal_static_google_datastore_v1_RunAggregationQueryRequest_fieldAccessorTable
+    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunAggregationQueryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.v1.RunAggregationQueryRequest.class,
-            com.google.datastore.v1.RunAggregationQueryRequest.Builder.class);
+            com.google.datastore.v1.RunAggregationQueryRequest.class, com.google.datastore.v1.RunAggregationQueryRequest.Builder.class);
   }
 
   private int bitField0_;
   private int queryTypeCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object queryType_;
-
   public enum QueryTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     AGGREGATION_QUERY(3),
     GQL_QUERY(7),
     QUERYTYPE_NOT_SET(0);
     private final int value;
-
     private QueryTypeCase(int value) {
       this.value = value;
     }
@@ -95,39 +72,32 @@ public static QueryTypeCase valueOf(int value) {
 
     public static QueryTypeCase forNumber(int value) {
       switch (value) {
-        case 3:
-          return AGGREGATION_QUERY;
-        case 7:
-          return GQL_QUERY;
-        case 0:
-          return QUERYTYPE_NOT_SET;
-        default:
-          return null;
+        case 3: return AGGREGATION_QUERY;
+        case 7: return GQL_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 PROJECT_ID_FIELD_NUMBER = 8;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object projectId_ = "";
   /**
-   *
-   *
    * 
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ @java.lang.Override @@ -136,29 +106,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -167,12 +137,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int DATABASE_ID_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object databaseId_ = ""; /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -181,7 +148,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
    * 
* * string database_id = 9; - * * @return The databaseId. */ @java.lang.Override @@ -190,15 +156,14 @@ public java.lang.String getDatabaseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; } } /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -207,15 +172,16 @@ public java.lang.String getDatabaseId() {
    * 
* * string database_id = 9; - * * @return The bytes for databaseId. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -226,8 +192,6 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { public static final int PARTITION_ID_FIELD_NUMBER = 2; private com.google.datastore.v1.PartitionId partitionId_; /** - * - * *
    * Entities are partitioned into subsets, identified by a partition ID.
    * Queries are scoped to a single partition.
@@ -236,7 +200,6 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() {
    * 
* * .google.datastore.v1.PartitionId partition_id = 2; - * * @return Whether the partitionId field is set. */ @java.lang.Override @@ -244,8 +207,6 @@ public boolean hasPartitionId() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Entities are partitioned into subsets, identified by a partition ID.
    * Queries are scoped to a single partition.
@@ -254,18 +215,13 @@ public boolean hasPartitionId() {
    * 
* * .google.datastore.v1.PartitionId partition_id = 2; - * * @return The partitionId. */ @java.lang.Override public com.google.datastore.v1.PartitionId getPartitionId() { - return partitionId_ == null - ? com.google.datastore.v1.PartitionId.getDefaultInstance() - : partitionId_; + return partitionId_ == null ? com.google.datastore.v1.PartitionId.getDefaultInstance() : partitionId_; } /** - * - * *
    * Entities are partitioned into subsets, identified by a partition ID.
    * Queries are scoped to a single partition.
@@ -277,22 +233,17 @@ public com.google.datastore.v1.PartitionId getPartitionId() {
    */
   @java.lang.Override
   public com.google.datastore.v1.PartitionIdOrBuilder getPartitionIdOrBuilder() {
-    return partitionId_ == null
-        ? com.google.datastore.v1.PartitionId.getDefaultInstance()
-        : partitionId_;
+    return partitionId_ == null ? com.google.datastore.v1.PartitionId.getDefaultInstance() : partitionId_;
   }
 
   public static final int READ_OPTIONS_FIELD_NUMBER = 1;
   private com.google.datastore.v1.ReadOptions readOptions_;
   /**
-   *
-   *
    * 
    * The options for this query.
    * 
* * .google.datastore.v1.ReadOptions read_options = 1; - * * @return Whether the readOptions field is set. */ @java.lang.Override @@ -300,25 +251,18 @@ public boolean hasReadOptions() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The options for this query.
    * 
* * .google.datastore.v1.ReadOptions read_options = 1; - * * @return The readOptions. */ @java.lang.Override public com.google.datastore.v1.ReadOptions getReadOptions() { - return readOptions_ == null - ? com.google.datastore.v1.ReadOptions.getDefaultInstance() - : readOptions_; + return readOptions_ == null ? com.google.datastore.v1.ReadOptions.getDefaultInstance() : readOptions_; } /** - * - * *
    * The options for this query.
    * 
@@ -327,21 +271,16 @@ public com.google.datastore.v1.ReadOptions getReadOptions() { */ @java.lang.Override public com.google.datastore.v1.ReadOptionsOrBuilder getReadOptionsOrBuilder() { - return readOptions_ == null - ? com.google.datastore.v1.ReadOptions.getDefaultInstance() - : readOptions_; + return readOptions_ == null ? com.google.datastore.v1.ReadOptions.getDefaultInstance() : readOptions_; } public static final int AGGREGATION_QUERY_FIELD_NUMBER = 3; /** - * - * *
    * The query to run.
    * 
* * .google.datastore.v1.AggregationQuery aggregation_query = 3; - * * @return Whether the aggregationQuery field is set. */ @java.lang.Override @@ -349,26 +288,21 @@ public boolean hasAggregationQuery() { return queryTypeCase_ == 3; } /** - * - * *
    * The query to run.
    * 
* * .google.datastore.v1.AggregationQuery aggregation_query = 3; - * * @return The aggregationQuery. */ @java.lang.Override public com.google.datastore.v1.AggregationQuery getAggregationQuery() { if (queryTypeCase_ == 3) { - return (com.google.datastore.v1.AggregationQuery) queryType_; + return (com.google.datastore.v1.AggregationQuery) queryType_; } return com.google.datastore.v1.AggregationQuery.getDefaultInstance(); } /** - * - * *
    * The query to run.
    * 
@@ -378,21 +312,18 @@ public com.google.datastore.v1.AggregationQuery getAggregationQuery() { @java.lang.Override public com.google.datastore.v1.AggregationQueryOrBuilder getAggregationQueryOrBuilder() { if (queryTypeCase_ == 3) { - return (com.google.datastore.v1.AggregationQuery) queryType_; + return (com.google.datastore.v1.AggregationQuery) queryType_; } return com.google.datastore.v1.AggregationQuery.getDefaultInstance(); } public static final int GQL_QUERY_FIELD_NUMBER = 7; /** - * - * *
    * The GQL query to run. This query must be an aggregation query.
    * 
* * .google.datastore.v1.GqlQuery gql_query = 7; - * * @return Whether the gqlQuery field is set. */ @java.lang.Override @@ -400,26 +331,21 @@ public boolean hasGqlQuery() { return queryTypeCase_ == 7; } /** - * - * *
    * The GQL query to run. This query must be an aggregation query.
    * 
* * .google.datastore.v1.GqlQuery gql_query = 7; - * * @return The gqlQuery. */ @java.lang.Override public com.google.datastore.v1.GqlQuery getGqlQuery() { if (queryTypeCase_ == 7) { - return (com.google.datastore.v1.GqlQuery) queryType_; + return (com.google.datastore.v1.GqlQuery) queryType_; } return com.google.datastore.v1.GqlQuery.getDefaultInstance(); } /** - * - * *
    * The GQL query to run. This query must be an aggregation query.
    * 
@@ -429,7 +355,7 @@ public com.google.datastore.v1.GqlQuery getGqlQuery() { @java.lang.Override public com.google.datastore.v1.GqlQueryOrBuilder getGqlQueryOrBuilder() { if (queryTypeCase_ == 7) { - return (com.google.datastore.v1.GqlQuery) queryType_; + return (com.google.datastore.v1.GqlQuery) queryType_; } return com.google.datastore.v1.GqlQuery.getDefaultInstance(); } @@ -437,17 +363,12 @@ public com.google.datastore.v1.GqlQueryOrBuilder getGqlQueryOrBuilder() { public static final int EXPLAIN_OPTIONS_FIELD_NUMBER = 11; private com.google.datastore.v1.ExplainOptions explainOptions_; /** - * - * *
    * Optional. Explain options for the query. If set, additional query
    * statistics will be returned. If not, only query results will be returned.
    * 
* - * - * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the explainOptions field is set. */ @java.lang.Override @@ -455,46 +376,32 @@ public boolean hasExplainOptions() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * Optional. Explain options for the query. If set, additional query
    * statistics will be returned. If not, only query results will be returned.
    * 
* - * - * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return The explainOptions. */ @java.lang.Override public com.google.datastore.v1.ExplainOptions getExplainOptions() { - return explainOptions_ == null - ? com.google.datastore.v1.ExplainOptions.getDefaultInstance() - : explainOptions_; + return explainOptions_ == null ? com.google.datastore.v1.ExplainOptions.getDefaultInstance() : explainOptions_; } /** - * - * *
    * Optional. Explain options for the query. If set, additional query
    * statistics will be returned. If not, only query results will be returned.
    * 
* - * - * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.datastore.v1.ExplainOptionsOrBuilder getExplainOptionsOrBuilder() { - return explainOptions_ == null - ? com.google.datastore.v1.ExplainOptions.getDefaultInstance() - : explainOptions_; + return explainOptions_ == null ? com.google.datastore.v1.ExplainOptions.getDefaultInstance() : explainOptions_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -506,7 +413,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 (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(1, getReadOptions()); } @@ -538,20 +446,20 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReadOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getReadOptions()); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPartitionId()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getPartitionId()); } if (queryTypeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.datastore.v1.AggregationQuery) queryType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.datastore.v1.AggregationQuery) queryType_); } if (queryTypeCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.datastore.v1.GqlQuery) queryType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.datastore.v1.GqlQuery) queryType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, projectId_); @@ -560,7 +468,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, databaseId_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getExplainOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, getExplainOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -570,35 +479,41 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.datastore.v1.RunAggregationQueryRequest)) { return super.equals(obj); } - com.google.datastore.v1.RunAggregationQueryRequest other = - (com.google.datastore.v1.RunAggregationQueryRequest) obj; + com.google.datastore.v1.RunAggregationQueryRequest other = (com.google.datastore.v1.RunAggregationQueryRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getDatabaseId().equals(other.getDatabaseId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getDatabaseId() + .equals(other.getDatabaseId())) return false; if (hasPartitionId() != other.hasPartitionId()) return false; if (hasPartitionId()) { - if (!getPartitionId().equals(other.getPartitionId())) return false; + if (!getPartitionId() + .equals(other.getPartitionId())) return false; } if (hasReadOptions() != other.hasReadOptions()) return false; if (hasReadOptions()) { - if (!getReadOptions().equals(other.getReadOptions())) return false; + if (!getReadOptions() + .equals(other.getReadOptions())) return false; } if (hasExplainOptions() != other.hasExplainOptions()) return false; if (hasExplainOptions()) { - if (!getExplainOptions().equals(other.getExplainOptions())) return false; + if (!getExplainOptions() + .equals(other.getExplainOptions())) return false; } if (!getQueryTypeCase().equals(other.getQueryTypeCase())) return false; switch (queryTypeCase_) { case 3: - if (!getAggregationQuery().equals(other.getAggregationQuery())) return false; + if (!getAggregationQuery() + .equals(other.getAggregationQuery())) return false; break; case 7: - if (!getGqlQuery().equals(other.getGqlQuery())) return false; + if (!getGqlQuery() + .equals(other.getGqlQuery())) return false; break; case 0: default: @@ -648,103 +563,98 @@ public int hashCode() { } public static com.google.datastore.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.datastore.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.datastore.v1.RunAggregationQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.v1.RunAggregationQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.v1.RunAggregationQueryRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.datastore.v1.RunAggregationQueryRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.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.datastore.v1.RunAggregationQueryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.RunAggregationQueryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.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.datastore.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.datastore.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.datastore.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
    * [Datastore.RunAggregationQuery][google.datastore.v1.Datastore.RunAggregationQuery].
@@ -752,23 +662,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.datastore.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.datastore.v1.RunAggregationQueryRequest)
       com.google.datastore.v1.RunAggregationQueryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_RunAggregationQueryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunAggregationQueryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_RunAggregationQueryRequest_fieldAccessorTable
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunAggregationQueryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.RunAggregationQueryRequest.class,
-              com.google.datastore.v1.RunAggregationQueryRequest.Builder.class);
+              com.google.datastore.v1.RunAggregationQueryRequest.class, com.google.datastore.v1.RunAggregationQueryRequest.Builder.class);
     }
 
     // Construct using com.google.datastore.v1.RunAggregationQueryRequest.newBuilder()
@@ -776,19 +684,19 @@ 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) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getPartitionIdFieldBuilder();
         getReadOptionsFieldBuilder();
         getExplainOptionsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -822,9 +730,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_RunAggregationQueryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunAggregationQueryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -843,11 +751,8 @@ public com.google.datastore.v1.RunAggregationQueryRequest build() {
 
     @java.lang.Override
     public com.google.datastore.v1.RunAggregationQueryRequest buildPartial() {
-      com.google.datastore.v1.RunAggregationQueryRequest result =
-          new com.google.datastore.v1.RunAggregationQueryRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.datastore.v1.RunAggregationQueryRequest result = new com.google.datastore.v1.RunAggregationQueryRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -863,18 +768,21 @@ private void buildPartial0(com.google.datastore.v1.RunAggregationQueryRequest re
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.partitionId_ =
-            partitionIdBuilder_ == null ? partitionId_ : partitionIdBuilder_.build();
+        result.partitionId_ = partitionIdBuilder_ == null
+            ? partitionId_
+            : partitionIdBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.readOptions_ =
-            readOptionsBuilder_ == null ? readOptions_ : readOptionsBuilder_.build();
+        result.readOptions_ = readOptionsBuilder_ == null
+            ? readOptions_
+            : readOptionsBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.explainOptions_ =
-            explainOptionsBuilder_ == null ? explainOptions_ : explainOptionsBuilder_.build();
+        result.explainOptions_ = explainOptionsBuilder_ == null
+            ? explainOptions_
+            : explainOptionsBuilder_.build();
         to_bitField0_ |= 0x00000004;
       }
       result.bitField0_ |= to_bitField0_;
@@ -883,10 +791,12 @@ private void buildPartial0(com.google.datastore.v1.RunAggregationQueryRequest re
     private void buildPartialOneofs(com.google.datastore.v1.RunAggregationQueryRequest result) {
       result.queryTypeCase_ = queryTypeCase_;
       result.queryType_ = this.queryType_;
-      if (queryTypeCase_ == 3 && aggregationQueryBuilder_ != null) {
+      if (queryTypeCase_ == 3 &&
+          aggregationQueryBuilder_ != null) {
         result.queryType_ = aggregationQueryBuilder_.build();
       }
-      if (queryTypeCase_ == 7 && gqlQueryBuilder_ != null) {
+      if (queryTypeCase_ == 7 &&
+          gqlQueryBuilder_ != null) {
         result.queryType_ = gqlQueryBuilder_.build();
       }
     }
@@ -895,39 +805,38 @@ private void buildPartialOneofs(com.google.datastore.v1.RunAggregationQueryReque
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.RunAggregationQueryRequest) {
-        return mergeFrom((com.google.datastore.v1.RunAggregationQueryRequest) other);
+        return mergeFrom((com.google.datastore.v1.RunAggregationQueryRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -935,8 +844,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.datastore.v1.RunAggregationQueryRequest other) {
-      if (other == com.google.datastore.v1.RunAggregationQueryRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.datastore.v1.RunAggregationQueryRequest.getDefaultInstance()) return this;
       if (!other.getProjectId().isEmpty()) {
         projectId_ = other.projectId_;
         bitField0_ |= 0x00000001;
@@ -957,20 +865,17 @@ public Builder mergeFrom(com.google.datastore.v1.RunAggregationQueryRequest othe
         mergeExplainOptions(other.getExplainOptions());
       }
       switch (other.getQueryTypeCase()) {
-        case AGGREGATION_QUERY:
-          {
-            mergeAggregationQuery(other.getAggregationQuery());
-            break;
-          }
-        case GQL_QUERY:
-          {
-            mergeGqlQuery(other.getGqlQuery());
-            break;
-          }
-        case QUERYTYPE_NOT_SET:
-          {
-            break;
-          }
+        case AGGREGATION_QUERY: {
+          mergeAggregationQuery(other.getAggregationQuery());
+          break;
+        }
+        case GQL_QUERY: {
+          mergeGqlQuery(other.getGqlQuery());
+          break;
+        }
+        case QUERYTYPE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -998,56 +903,57 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getReadOptionsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getPartitionIdFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 18
-            case 26:
-              {
-                input.readMessage(
-                    getAggregationQueryFieldBuilder().getBuilder(), extensionRegistry);
-                queryTypeCase_ = 3;
-                break;
-              } // case 26
-            case 58:
-              {
-                input.readMessage(getGqlQueryFieldBuilder().getBuilder(), extensionRegistry);
-                queryTypeCase_ = 7;
-                break;
-              } // case 58
-            case 66:
-              {
-                projectId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 66
-            case 74:
-              {
-                databaseId_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 74
-            case 90:
-              {
-                input.readMessage(getExplainOptionsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000040;
-                break;
-              } // case 90
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getReadOptionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getPartitionIdFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 18
+            case 26: {
+              input.readMessage(
+                  getAggregationQueryFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              queryTypeCase_ = 3;
+              break;
+            } // case 26
+            case 58: {
+              input.readMessage(
+                  getGqlQueryFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              queryTypeCase_ = 7;
+              break;
+            } // case 58
+            case 66: {
+              projectId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 66
+            case 74: {
+              databaseId_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 74
+            case 90: {
+              input.readMessage(
+                  getExplainOptionsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000040;
+              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) {
@@ -1057,12 +963,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() {
@@ -1076,20 +982,18 @@ public Builder clearQueryType() {
 
     private java.lang.Object projectId_ = "";
     /**
-     *
-     *
      * 
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -1098,21 +1002,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -1120,35 +1023,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -1158,21 +1054,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -1182,8 +1074,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object databaseId_ = ""; /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -1192,13 +1082,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string database_id = 9; - * * @return The databaseId. */ public java.lang.String getDatabaseId() { java.lang.Object ref = databaseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; @@ -1207,8 +1097,6 @@ public java.lang.String getDatabaseId() { } } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -1217,14 +1105,15 @@ public java.lang.String getDatabaseId() {
      * 
* * string database_id = 9; - * * @return The bytes for databaseId. */ - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -1232,8 +1121,6 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { } } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -1242,22 +1129,18 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() {
      * 
* * string database_id = 9; - * * @param value The databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } databaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -1266,7 +1149,6 @@ public Builder setDatabaseId(java.lang.String value) {
      * 
* * string database_id = 9; - * * @return This builder for chaining. */ public Builder clearDatabaseId() { @@ -1276,8 +1158,6 @@ public Builder clearDatabaseId() { return this; } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -1286,14 +1166,12 @@ public Builder clearDatabaseId() {
      * 
* * string database_id = 9; - * * @param value The bytes for databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); databaseId_ = value; bitField0_ |= 0x00000002; @@ -1303,13 +1181,8 @@ public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { private com.google.datastore.v1.PartitionId partitionId_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PartitionId, - com.google.datastore.v1.PartitionId.Builder, - com.google.datastore.v1.PartitionIdOrBuilder> - partitionIdBuilder_; + com.google.datastore.v1.PartitionId, com.google.datastore.v1.PartitionId.Builder, com.google.datastore.v1.PartitionIdOrBuilder> partitionIdBuilder_; /** - * - * *
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1318,15 +1191,12 @@ public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.datastore.v1.PartitionId partition_id = 2; - * * @return Whether the partitionId field is set. */ public boolean hasPartitionId() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1335,21 +1205,16 @@ public boolean hasPartitionId() {
      * 
* * .google.datastore.v1.PartitionId partition_id = 2; - * * @return The partitionId. */ public com.google.datastore.v1.PartitionId getPartitionId() { if (partitionIdBuilder_ == null) { - return partitionId_ == null - ? com.google.datastore.v1.PartitionId.getDefaultInstance() - : partitionId_; + return partitionId_ == null ? com.google.datastore.v1.PartitionId.getDefaultInstance() : partitionId_; } else { return partitionIdBuilder_.getMessage(); } } /** - * - * *
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1373,8 +1238,6 @@ public Builder setPartitionId(com.google.datastore.v1.PartitionId value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1384,7 +1247,8 @@ public Builder setPartitionId(com.google.datastore.v1.PartitionId value) {
      *
      * .google.datastore.v1.PartitionId partition_id = 2;
      */
-    public Builder setPartitionId(com.google.datastore.v1.PartitionId.Builder builderForValue) {
+    public Builder setPartitionId(
+        com.google.datastore.v1.PartitionId.Builder builderForValue) {
       if (partitionIdBuilder_ == null) {
         partitionId_ = builderForValue.build();
       } else {
@@ -1395,8 +1259,6 @@ public Builder setPartitionId(com.google.datastore.v1.PartitionId.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1408,9 +1270,9 @@ public Builder setPartitionId(com.google.datastore.v1.PartitionId.Builder builde
      */
     public Builder mergePartitionId(com.google.datastore.v1.PartitionId value) {
       if (partitionIdBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && partitionId_ != null
-            && partitionId_ != com.google.datastore.v1.PartitionId.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          partitionId_ != null &&
+          partitionId_ != com.google.datastore.v1.PartitionId.getDefaultInstance()) {
           getPartitionIdBuilder().mergeFrom(value);
         } else {
           partitionId_ = value;
@@ -1425,8 +1287,6 @@ public Builder mergePartitionId(com.google.datastore.v1.PartitionId value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1447,8 +1307,6 @@ public Builder clearPartitionId() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1464,8 +1322,6 @@ public com.google.datastore.v1.PartitionId.Builder getPartitionIdBuilder() {
       return getPartitionIdFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1479,14 +1335,11 @@ public com.google.datastore.v1.PartitionIdOrBuilder getPartitionIdOrBuilder() {
       if (partitionIdBuilder_ != null) {
         return partitionIdBuilder_.getMessageOrBuilder();
       } else {
-        return partitionId_ == null
-            ? com.google.datastore.v1.PartitionId.getDefaultInstance()
-            : partitionId_;
+        return partitionId_ == null ?
+            com.google.datastore.v1.PartitionId.getDefaultInstance() : partitionId_;
       }
     }
     /**
-     *
-     *
      * 
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1497,17 +1350,14 @@ public com.google.datastore.v1.PartitionIdOrBuilder getPartitionIdOrBuilder() {
      * .google.datastore.v1.PartitionId partition_id = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.PartitionId,
-            com.google.datastore.v1.PartitionId.Builder,
-            com.google.datastore.v1.PartitionIdOrBuilder>
+        com.google.datastore.v1.PartitionId, com.google.datastore.v1.PartitionId.Builder, com.google.datastore.v1.PartitionIdOrBuilder> 
         getPartitionIdFieldBuilder() {
       if (partitionIdBuilder_ == null) {
-        partitionIdBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.datastore.v1.PartitionId,
-                com.google.datastore.v1.PartitionId.Builder,
-                com.google.datastore.v1.PartitionIdOrBuilder>(
-                getPartitionId(), getParentForChildren(), isClean());
+        partitionIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.datastore.v1.PartitionId, com.google.datastore.v1.PartitionId.Builder, com.google.datastore.v1.PartitionIdOrBuilder>(
+                getPartitionId(),
+                getParentForChildren(),
+                isClean());
         partitionId_ = null;
       }
       return partitionIdBuilder_;
@@ -1515,47 +1365,34 @@ public com.google.datastore.v1.PartitionIdOrBuilder getPartitionIdOrBuilder() {
 
     private com.google.datastore.v1.ReadOptions readOptions_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.ReadOptions,
-            com.google.datastore.v1.ReadOptions.Builder,
-            com.google.datastore.v1.ReadOptionsOrBuilder>
-        readOptionsBuilder_;
+        com.google.datastore.v1.ReadOptions, com.google.datastore.v1.ReadOptions.Builder, com.google.datastore.v1.ReadOptionsOrBuilder> readOptionsBuilder_;
     /**
-     *
-     *
      * 
      * The options for this query.
      * 
* * .google.datastore.v1.ReadOptions read_options = 1; - * * @return Whether the readOptions field is set. */ public boolean hasReadOptions() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The options for this query.
      * 
* * .google.datastore.v1.ReadOptions read_options = 1; - * * @return The readOptions. */ public com.google.datastore.v1.ReadOptions getReadOptions() { if (readOptionsBuilder_ == null) { - return readOptions_ == null - ? com.google.datastore.v1.ReadOptions.getDefaultInstance() - : readOptions_; + return readOptions_ == null ? com.google.datastore.v1.ReadOptions.getDefaultInstance() : readOptions_; } else { return readOptionsBuilder_.getMessage(); } } /** - * - * *
      * The options for this query.
      * 
@@ -1576,15 +1413,14 @@ public Builder setReadOptions(com.google.datastore.v1.ReadOptions value) { return this; } /** - * - * *
      * The options for this query.
      * 
* * .google.datastore.v1.ReadOptions read_options = 1; */ - public Builder setReadOptions(com.google.datastore.v1.ReadOptions.Builder builderForValue) { + public Builder setReadOptions( + com.google.datastore.v1.ReadOptions.Builder builderForValue) { if (readOptionsBuilder_ == null) { readOptions_ = builderForValue.build(); } else { @@ -1595,8 +1431,6 @@ public Builder setReadOptions(com.google.datastore.v1.ReadOptions.Builder builde return this; } /** - * - * *
      * The options for this query.
      * 
@@ -1605,9 +1439,9 @@ public Builder setReadOptions(com.google.datastore.v1.ReadOptions.Builder builde */ public Builder mergeReadOptions(com.google.datastore.v1.ReadOptions value) { if (readOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && readOptions_ != null - && readOptions_ != com.google.datastore.v1.ReadOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + readOptions_ != null && + readOptions_ != com.google.datastore.v1.ReadOptions.getDefaultInstance()) { getReadOptionsBuilder().mergeFrom(value); } else { readOptions_ = value; @@ -1622,8 +1456,6 @@ public Builder mergeReadOptions(com.google.datastore.v1.ReadOptions value) { return this; } /** - * - * *
      * The options for this query.
      * 
@@ -1641,8 +1473,6 @@ public Builder clearReadOptions() { return this; } /** - * - * *
      * The options for this query.
      * 
@@ -1655,8 +1485,6 @@ public com.google.datastore.v1.ReadOptions.Builder getReadOptionsBuilder() { return getReadOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * The options for this query.
      * 
@@ -1667,14 +1495,11 @@ public com.google.datastore.v1.ReadOptionsOrBuilder getReadOptionsOrBuilder() { if (readOptionsBuilder_ != null) { return readOptionsBuilder_.getMessageOrBuilder(); } else { - return readOptions_ == null - ? com.google.datastore.v1.ReadOptions.getDefaultInstance() - : readOptions_; + return readOptions_ == null ? + com.google.datastore.v1.ReadOptions.getDefaultInstance() : readOptions_; } } /** - * - * *
      * The options for this query.
      * 
@@ -1682,36 +1507,27 @@ public com.google.datastore.v1.ReadOptionsOrBuilder getReadOptionsOrBuilder() { * .google.datastore.v1.ReadOptions read_options = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ReadOptions, - com.google.datastore.v1.ReadOptions.Builder, - com.google.datastore.v1.ReadOptionsOrBuilder> + com.google.datastore.v1.ReadOptions, com.google.datastore.v1.ReadOptions.Builder, com.google.datastore.v1.ReadOptionsOrBuilder> getReadOptionsFieldBuilder() { if (readOptionsBuilder_ == null) { - readOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ReadOptions, - com.google.datastore.v1.ReadOptions.Builder, - com.google.datastore.v1.ReadOptionsOrBuilder>( - getReadOptions(), getParentForChildren(), isClean()); + readOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.ReadOptions, com.google.datastore.v1.ReadOptions.Builder, com.google.datastore.v1.ReadOptionsOrBuilder>( + getReadOptions(), + getParentForChildren(), + isClean()); readOptions_ = null; } return readOptionsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationQuery, - com.google.datastore.v1.AggregationQuery.Builder, - com.google.datastore.v1.AggregationQueryOrBuilder> - aggregationQueryBuilder_; + com.google.datastore.v1.AggregationQuery, com.google.datastore.v1.AggregationQuery.Builder, com.google.datastore.v1.AggregationQueryOrBuilder> aggregationQueryBuilder_; /** - * - * *
      * The query to run.
      * 
* * .google.datastore.v1.AggregationQuery aggregation_query = 3; - * * @return Whether the aggregationQuery field is set. */ @java.lang.Override @@ -1719,14 +1535,11 @@ public boolean hasAggregationQuery() { return queryTypeCase_ == 3; } /** - * - * *
      * The query to run.
      * 
* * .google.datastore.v1.AggregationQuery aggregation_query = 3; - * * @return The aggregationQuery. */ @java.lang.Override @@ -1744,8 +1557,6 @@ public com.google.datastore.v1.AggregationQuery getAggregationQuery() { } } /** - * - * *
      * The query to run.
      * 
@@ -1766,8 +1577,6 @@ public Builder setAggregationQuery(com.google.datastore.v1.AggregationQuery valu return this; } /** - * - * *
      * The query to run.
      * 
@@ -1786,8 +1595,6 @@ public Builder setAggregationQuery( return this; } /** - * - * *
      * The query to run.
      * 
@@ -1796,13 +1603,10 @@ public Builder setAggregationQuery( */ public Builder mergeAggregationQuery(com.google.datastore.v1.AggregationQuery value) { if (aggregationQueryBuilder_ == null) { - if (queryTypeCase_ == 3 - && queryType_ != com.google.datastore.v1.AggregationQuery.getDefaultInstance()) { - queryType_ = - com.google.datastore.v1.AggregationQuery.newBuilder( - (com.google.datastore.v1.AggregationQuery) queryType_) - .mergeFrom(value) - .buildPartial(); + if (queryTypeCase_ == 3 && + queryType_ != com.google.datastore.v1.AggregationQuery.getDefaultInstance()) { + queryType_ = com.google.datastore.v1.AggregationQuery.newBuilder((com.google.datastore.v1.AggregationQuery) queryType_) + .mergeFrom(value).buildPartial(); } else { queryType_ = value; } @@ -1818,8 +1622,6 @@ public Builder mergeAggregationQuery(com.google.datastore.v1.AggregationQuery va return this; } /** - * - * *
      * The query to run.
      * 
@@ -1843,8 +1645,6 @@ public Builder clearAggregationQuery() { return this; } /** - * - * *
      * The query to run.
      * 
@@ -1855,8 +1655,6 @@ public com.google.datastore.v1.AggregationQuery.Builder getAggregationQueryBuild return getAggregationQueryFieldBuilder().getBuilder(); } /** - * - * *
      * The query to run.
      * 
@@ -1875,8 +1673,6 @@ public com.google.datastore.v1.AggregationQueryOrBuilder getAggregationQueryOrBu } } /** - * - * *
      * The query to run.
      * 
@@ -1884,19 +1680,14 @@ public com.google.datastore.v1.AggregationQueryOrBuilder getAggregationQueryOrBu * .google.datastore.v1.AggregationQuery aggregation_query = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationQuery, - com.google.datastore.v1.AggregationQuery.Builder, - com.google.datastore.v1.AggregationQueryOrBuilder> + com.google.datastore.v1.AggregationQuery, com.google.datastore.v1.AggregationQuery.Builder, com.google.datastore.v1.AggregationQueryOrBuilder> getAggregationQueryFieldBuilder() { if (aggregationQueryBuilder_ == null) { if (!(queryTypeCase_ == 3)) { queryType_ = com.google.datastore.v1.AggregationQuery.getDefaultInstance(); } - aggregationQueryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationQuery, - com.google.datastore.v1.AggregationQuery.Builder, - com.google.datastore.v1.AggregationQueryOrBuilder>( + aggregationQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.AggregationQuery, com.google.datastore.v1.AggregationQuery.Builder, com.google.datastore.v1.AggregationQueryOrBuilder>( (com.google.datastore.v1.AggregationQuery) queryType_, getParentForChildren(), isClean()); @@ -1908,19 +1699,13 @@ public com.google.datastore.v1.AggregationQueryOrBuilder getAggregationQueryOrBu } private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.GqlQuery, - com.google.datastore.v1.GqlQuery.Builder, - com.google.datastore.v1.GqlQueryOrBuilder> - gqlQueryBuilder_; + com.google.datastore.v1.GqlQuery, com.google.datastore.v1.GqlQuery.Builder, com.google.datastore.v1.GqlQueryOrBuilder> gqlQueryBuilder_; /** - * - * *
      * The GQL query to run. This query must be an aggregation query.
      * 
* * .google.datastore.v1.GqlQuery gql_query = 7; - * * @return Whether the gqlQuery field is set. */ @java.lang.Override @@ -1928,14 +1713,11 @@ public boolean hasGqlQuery() { return queryTypeCase_ == 7; } /** - * - * *
      * The GQL query to run. This query must be an aggregation query.
      * 
* * .google.datastore.v1.GqlQuery gql_query = 7; - * * @return The gqlQuery. */ @java.lang.Override @@ -1953,8 +1735,6 @@ public com.google.datastore.v1.GqlQuery getGqlQuery() { } } /** - * - * *
      * The GQL query to run. This query must be an aggregation query.
      * 
@@ -1975,15 +1755,14 @@ public Builder setGqlQuery(com.google.datastore.v1.GqlQuery value) { return this; } /** - * - * *
      * The GQL query to run. This query must be an aggregation query.
      * 
* * .google.datastore.v1.GqlQuery gql_query = 7; */ - public Builder setGqlQuery(com.google.datastore.v1.GqlQuery.Builder builderForValue) { + public Builder setGqlQuery( + com.google.datastore.v1.GqlQuery.Builder builderForValue) { if (gqlQueryBuilder_ == null) { queryType_ = builderForValue.build(); onChanged(); @@ -1994,8 +1773,6 @@ public Builder setGqlQuery(com.google.datastore.v1.GqlQuery.Builder builderForVa return this; } /** - * - * *
      * The GQL query to run. This query must be an aggregation query.
      * 
@@ -2004,13 +1781,10 @@ public Builder setGqlQuery(com.google.datastore.v1.GqlQuery.Builder builderForVa */ public Builder mergeGqlQuery(com.google.datastore.v1.GqlQuery value) { if (gqlQueryBuilder_ == null) { - if (queryTypeCase_ == 7 - && queryType_ != com.google.datastore.v1.GqlQuery.getDefaultInstance()) { - queryType_ = - com.google.datastore.v1.GqlQuery.newBuilder( - (com.google.datastore.v1.GqlQuery) queryType_) - .mergeFrom(value) - .buildPartial(); + if (queryTypeCase_ == 7 && + queryType_ != com.google.datastore.v1.GqlQuery.getDefaultInstance()) { + queryType_ = com.google.datastore.v1.GqlQuery.newBuilder((com.google.datastore.v1.GqlQuery) queryType_) + .mergeFrom(value).buildPartial(); } else { queryType_ = value; } @@ -2026,8 +1800,6 @@ public Builder mergeGqlQuery(com.google.datastore.v1.GqlQuery value) { return this; } /** - * - * *
      * The GQL query to run. This query must be an aggregation query.
      * 
@@ -2051,8 +1823,6 @@ public Builder clearGqlQuery() { return this; } /** - * - * *
      * The GQL query to run. This query must be an aggregation query.
      * 
@@ -2063,8 +1833,6 @@ public com.google.datastore.v1.GqlQuery.Builder getGqlQueryBuilder() { return getGqlQueryFieldBuilder().getBuilder(); } /** - * - * *
      * The GQL query to run. This query must be an aggregation query.
      * 
@@ -2083,8 +1851,6 @@ public com.google.datastore.v1.GqlQueryOrBuilder getGqlQueryOrBuilder() { } } /** - * - * *
      * The GQL query to run. This query must be an aggregation query.
      * 
@@ -2092,20 +1858,17 @@ public com.google.datastore.v1.GqlQueryOrBuilder getGqlQueryOrBuilder() { * .google.datastore.v1.GqlQuery gql_query = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.GqlQuery, - com.google.datastore.v1.GqlQuery.Builder, - com.google.datastore.v1.GqlQueryOrBuilder> + com.google.datastore.v1.GqlQuery, com.google.datastore.v1.GqlQuery.Builder, com.google.datastore.v1.GqlQueryOrBuilder> getGqlQueryFieldBuilder() { if (gqlQueryBuilder_ == null) { if (!(queryTypeCase_ == 7)) { queryType_ = com.google.datastore.v1.GqlQuery.getDefaultInstance(); } - gqlQueryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.GqlQuery, - com.google.datastore.v1.GqlQuery.Builder, - com.google.datastore.v1.GqlQueryOrBuilder>( - (com.google.datastore.v1.GqlQuery) queryType_, getParentForChildren(), isClean()); + gqlQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.GqlQuery, com.google.datastore.v1.GqlQuery.Builder, com.google.datastore.v1.GqlQueryOrBuilder>( + (com.google.datastore.v1.GqlQuery) queryType_, + getParentForChildren(), + isClean()); queryType_ = null; } queryTypeCase_ = 7; @@ -2115,61 +1878,42 @@ public com.google.datastore.v1.GqlQueryOrBuilder getGqlQueryOrBuilder() { private com.google.datastore.v1.ExplainOptions explainOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ExplainOptions, - com.google.datastore.v1.ExplainOptions.Builder, - com.google.datastore.v1.ExplainOptionsOrBuilder> - explainOptionsBuilder_; + com.google.datastore.v1.ExplainOptions, com.google.datastore.v1.ExplainOptions.Builder, com.google.datastore.v1.ExplainOptionsOrBuilder> explainOptionsBuilder_; /** - * - * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * - * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the explainOptions field is set. */ public boolean hasExplainOptions() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * - * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return The explainOptions. */ public com.google.datastore.v1.ExplainOptions getExplainOptions() { if (explainOptionsBuilder_ == null) { - return explainOptions_ == null - ? com.google.datastore.v1.ExplainOptions.getDefaultInstance() - : explainOptions_; + return explainOptions_ == null ? com.google.datastore.v1.ExplainOptions.getDefaultInstance() : explainOptions_; } else { return explainOptionsBuilder_.getMessage(); } } /** - * - * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * - * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setExplainOptions(com.google.datastore.v1.ExplainOptions value) { if (explainOptionsBuilder_ == null) { @@ -2185,16 +1929,12 @@ public Builder setExplainOptions(com.google.datastore.v1.ExplainOptions value) { return this; } /** - * - * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * - * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setExplainOptions( com.google.datastore.v1.ExplainOptions.Builder builderForValue) { @@ -2208,22 +1948,18 @@ public Builder setExplainOptions( return this; } /** - * - * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * - * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeExplainOptions(com.google.datastore.v1.ExplainOptions value) { if (explainOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && explainOptions_ != null - && explainOptions_ != com.google.datastore.v1.ExplainOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + explainOptions_ != null && + explainOptions_ != com.google.datastore.v1.ExplainOptions.getDefaultInstance()) { getExplainOptionsBuilder().mergeFrom(value); } else { explainOptions_ = value; @@ -2238,16 +1974,12 @@ public Builder mergeExplainOptions(com.google.datastore.v1.ExplainOptions value) return this; } /** - * - * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * - * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearExplainOptions() { bitField0_ = (bitField0_ & ~0x00000040); @@ -2260,16 +1992,12 @@ public Builder clearExplainOptions() { return this; } /** - * - * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * - * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.datastore.v1.ExplainOptions.Builder getExplainOptionsBuilder() { bitField0_ |= 0x00000040; @@ -2277,57 +2005,45 @@ public com.google.datastore.v1.ExplainOptions.Builder getExplainOptionsBuilder() return getExplainOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * - * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.datastore.v1.ExplainOptionsOrBuilder getExplainOptionsOrBuilder() { if (explainOptionsBuilder_ != null) { return explainOptionsBuilder_.getMessageOrBuilder(); } else { - return explainOptions_ == null - ? com.google.datastore.v1.ExplainOptions.getDefaultInstance() - : explainOptions_; + return explainOptions_ == null ? + com.google.datastore.v1.ExplainOptions.getDefaultInstance() : explainOptions_; } } /** - * - * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * - * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ExplainOptions, - com.google.datastore.v1.ExplainOptions.Builder, - com.google.datastore.v1.ExplainOptionsOrBuilder> + com.google.datastore.v1.ExplainOptions, com.google.datastore.v1.ExplainOptions.Builder, com.google.datastore.v1.ExplainOptionsOrBuilder> getExplainOptionsFieldBuilder() { if (explainOptionsBuilder_ == null) { - explainOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ExplainOptions, - com.google.datastore.v1.ExplainOptions.Builder, - com.google.datastore.v1.ExplainOptionsOrBuilder>( - getExplainOptions(), getParentForChildren(), isClean()); + explainOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.ExplainOptions, com.google.datastore.v1.ExplainOptions.Builder, com.google.datastore.v1.ExplainOptionsOrBuilder>( + getExplainOptions(), + getParentForChildren(), + isClean()); explainOptions_ = null; } return explainOptionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2337,12 +2053,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.v1.RunAggregationQueryRequest) } // @@protoc_insertion_point(class_scope:google.datastore.v1.RunAggregationQueryRequest) private static final com.google.datastore.v1.RunAggregationQueryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.v1.RunAggregationQueryRequest(); } @@ -2351,27 +2067,27 @@ public static com.google.datastore.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; @@ -2386,4 +2102,6 @@ public com.google.protobuf.Parser getParserForType() public com.google.datastore.v1.RunAggregationQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryRequestOrBuilder.java similarity index 79% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryRequestOrBuilder.java index cde16b816..50d326a7c 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryRequestOrBuilder.java @@ -1,57 +1,34 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface RunAggregationQueryRequestOrBuilder - extends +public interface RunAggregationQueryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.RunAggregationQueryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -60,13 +37,10 @@ public interface RunAggregationQueryRequestOrBuilder
    * 
* * string database_id = 9; - * * @return The databaseId. */ java.lang.String getDatabaseId(); /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -75,14 +49,12 @@ public interface RunAggregationQueryRequestOrBuilder
    * 
* * string database_id = 9; - * * @return The bytes for databaseId. */ - com.google.protobuf.ByteString getDatabaseIdBytes(); + com.google.protobuf.ByteString + getDatabaseIdBytes(); /** - * - * *
    * Entities are partitioned into subsets, identified by a partition ID.
    * Queries are scoped to a single partition.
@@ -91,13 +63,10 @@ public interface RunAggregationQueryRequestOrBuilder
    * 
* * .google.datastore.v1.PartitionId partition_id = 2; - * * @return Whether the partitionId field is set. */ boolean hasPartitionId(); /** - * - * *
    * Entities are partitioned into subsets, identified by a partition ID.
    * Queries are scoped to a single partition.
@@ -106,13 +75,10 @@ public interface RunAggregationQueryRequestOrBuilder
    * 
* * .google.datastore.v1.PartitionId partition_id = 2; - * * @return The partitionId. */ com.google.datastore.v1.PartitionId getPartitionId(); /** - * - * *
    * Entities are partitioned into subsets, identified by a partition ID.
    * Queries are scoped to a single partition.
@@ -125,32 +91,24 @@ public interface RunAggregationQueryRequestOrBuilder
   com.google.datastore.v1.PartitionIdOrBuilder getPartitionIdOrBuilder();
 
   /**
-   *
-   *
    * 
    * The options for this query.
    * 
* * .google.datastore.v1.ReadOptions read_options = 1; - * * @return Whether the readOptions field is set. */ boolean hasReadOptions(); /** - * - * *
    * The options for this query.
    * 
* * .google.datastore.v1.ReadOptions read_options = 1; - * * @return The readOptions. */ com.google.datastore.v1.ReadOptions getReadOptions(); /** - * - * *
    * The options for this query.
    * 
@@ -160,32 +118,24 @@ public interface RunAggregationQueryRequestOrBuilder com.google.datastore.v1.ReadOptionsOrBuilder getReadOptionsOrBuilder(); /** - * - * *
    * The query to run.
    * 
* * .google.datastore.v1.AggregationQuery aggregation_query = 3; - * * @return Whether the aggregationQuery field is set. */ boolean hasAggregationQuery(); /** - * - * *
    * The query to run.
    * 
* * .google.datastore.v1.AggregationQuery aggregation_query = 3; - * * @return The aggregationQuery. */ com.google.datastore.v1.AggregationQuery getAggregationQuery(); /** - * - * *
    * The query to run.
    * 
@@ -195,32 +145,24 @@ public interface RunAggregationQueryRequestOrBuilder com.google.datastore.v1.AggregationQueryOrBuilder getAggregationQueryOrBuilder(); /** - * - * *
    * The GQL query to run. This query must be an aggregation query.
    * 
* * .google.datastore.v1.GqlQuery gql_query = 7; - * * @return Whether the gqlQuery field is set. */ boolean hasGqlQuery(); /** - * - * *
    * The GQL query to run. This query must be an aggregation query.
    * 
* * .google.datastore.v1.GqlQuery gql_query = 7; - * * @return The gqlQuery. */ com.google.datastore.v1.GqlQuery getGqlQuery(); /** - * - * *
    * The GQL query to run. This query must be an aggregation query.
    * 
@@ -230,46 +172,32 @@ public interface RunAggregationQueryRequestOrBuilder com.google.datastore.v1.GqlQueryOrBuilder getGqlQueryOrBuilder(); /** - * - * *
    * Optional. Explain options for the query. If set, additional query
    * statistics will be returned. If not, only query results will be returned.
    * 
* - * - * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the explainOptions field is set. */ boolean hasExplainOptions(); /** - * - * *
    * Optional. Explain options for the query. If set, additional query
    * statistics will be returned. If not, only query results will be returned.
    * 
* - * - * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; * @return The explainOptions. */ com.google.datastore.v1.ExplainOptions getExplainOptions(); /** - * - * *
    * Optional. Explain options for the query. If set, additional query
    * statistics will be returned. If not, only query results will be returned.
    * 
* - * - * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.datastore.v1.ExplainOptionsOrBuilder getExplainOptionsOrBuilder(); diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryResponse.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryResponse.java similarity index 72% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryResponse.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryResponse.java index 9165ba575..6d16ddda0 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto @@ -20,8 +5,6 @@ package com.google.datastore.v1; /** - * - * *
  * The response for
  * [Datastore.RunAggregationQuery][google.datastore.v1.Datastore.RunAggregationQuery].
@@ -29,53 +12,48 @@
  *
  * Protobuf type {@code google.datastore.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.datastore.v1.RunAggregationQueryResponse)
     RunAggregationQueryResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RunAggregationQueryResponse.newBuilder() to construct.
   private RunAggregationQueryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RunAggregationQueryResponse() {
     transaction_ = com.google.protobuf.ByteString.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RunAggregationQueryResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.datastore.v1.DatastoreProto
-        .internal_static_google_datastore_v1_RunAggregationQueryResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunAggregationQueryResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.v1.DatastoreProto
-        .internal_static_google_datastore_v1_RunAggregationQueryResponse_fieldAccessorTable
+    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunAggregationQueryResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.v1.RunAggregationQueryResponse.class,
-            com.google.datastore.v1.RunAggregationQueryResponse.Builder.class);
+            com.google.datastore.v1.RunAggregationQueryResponse.class, com.google.datastore.v1.RunAggregationQueryResponse.Builder.class);
   }
 
   private int bitField0_;
   public static final int BATCH_FIELD_NUMBER = 1;
   private com.google.datastore.v1.AggregationResultBatch batch_;
   /**
-   *
-   *
    * 
    * A batch of aggregation results. Always present.
    * 
* * .google.datastore.v1.AggregationResultBatch batch = 1; - * * @return Whether the batch field is set. */ @java.lang.Override @@ -83,25 +61,18 @@ public boolean hasBatch() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * A batch of aggregation results. Always present.
    * 
* * .google.datastore.v1.AggregationResultBatch batch = 1; - * * @return The batch. */ @java.lang.Override public com.google.datastore.v1.AggregationResultBatch getBatch() { - return batch_ == null - ? com.google.datastore.v1.AggregationResultBatch.getDefaultInstance() - : batch_; + return batch_ == null ? com.google.datastore.v1.AggregationResultBatch.getDefaultInstance() : batch_; } /** - * - * *
    * A batch of aggregation results. Always present.
    * 
@@ -110,22 +81,17 @@ public com.google.datastore.v1.AggregationResultBatch getBatch() { */ @java.lang.Override public com.google.datastore.v1.AggregationResultBatchOrBuilder getBatchOrBuilder() { - return batch_ == null - ? com.google.datastore.v1.AggregationResultBatch.getDefaultInstance() - : batch_; + return batch_ == null ? com.google.datastore.v1.AggregationResultBatch.getDefaultInstance() : batch_; } public static final int QUERY_FIELD_NUMBER = 2; private com.google.datastore.v1.AggregationQuery query_; /** - * - * *
    * The parsed form of the `GqlQuery` from the request, if it was set.
    * 
* * .google.datastore.v1.AggregationQuery query = 2; - * * @return Whether the query field is set. */ @java.lang.Override @@ -133,14 +99,11 @@ public boolean hasQuery() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The parsed form of the `GqlQuery` from the request, if it was set.
    * 
* * .google.datastore.v1.AggregationQuery query = 2; - * * @return The query. */ @java.lang.Override @@ -148,8 +111,6 @@ public com.google.datastore.v1.AggregationQuery getQuery() { return query_ == null ? com.google.datastore.v1.AggregationQuery.getDefaultInstance() : query_; } /** - * - * *
    * The parsed form of the `GqlQuery` from the request, if it was set.
    * 
@@ -164,8 +125,6 @@ public com.google.datastore.v1.AggregationQueryOrBuilder getQueryOrBuilder() { public static final int TRANSACTION_FIELD_NUMBER = 5; private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * The identifier of the transaction that was started as part of this
    * RunAggregationQuery request.
@@ -177,7 +136,6 @@ public com.google.datastore.v1.AggregationQueryOrBuilder getQueryOrBuilder() {
    * 
* * bytes transaction = 5; - * * @return The transaction. */ @java.lang.Override @@ -188,8 +146,6 @@ public com.google.protobuf.ByteString getTransaction() { public static final int EXPLAIN_METRICS_FIELD_NUMBER = 9; private com.google.datastore.v1.ExplainMetrics explainMetrics_; /** - * - * *
    * Query explain metrics. This is only present when the
    * [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
@@ -197,7 +153,6 @@ public com.google.protobuf.ByteString getTransaction() {
    * 
* * .google.datastore.v1.ExplainMetrics explain_metrics = 9; - * * @return Whether the explainMetrics field is set. */ @java.lang.Override @@ -205,8 +160,6 @@ public boolean hasExplainMetrics() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * Query explain metrics. This is only present when the
    * [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
@@ -214,18 +167,13 @@ public boolean hasExplainMetrics() {
    * 
* * .google.datastore.v1.ExplainMetrics explain_metrics = 9; - * * @return The explainMetrics. */ @java.lang.Override public com.google.datastore.v1.ExplainMetrics getExplainMetrics() { - return explainMetrics_ == null - ? com.google.datastore.v1.ExplainMetrics.getDefaultInstance() - : explainMetrics_; + return explainMetrics_ == null ? com.google.datastore.v1.ExplainMetrics.getDefaultInstance() : explainMetrics_; } /** - * - * *
    * Query explain metrics. This is only present when the
    * [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
@@ -236,13 +184,10 @@ public com.google.datastore.v1.ExplainMetrics getExplainMetrics() {
    */
   @java.lang.Override
   public com.google.datastore.v1.ExplainMetricsOrBuilder getExplainMetricsOrBuilder() {
-    return explainMetrics_ == null
-        ? com.google.datastore.v1.ExplainMetrics.getDefaultInstance()
-        : explainMetrics_;
+    return explainMetrics_ == null ? com.google.datastore.v1.ExplainMetrics.getDefaultInstance() : explainMetrics_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -254,7 +199,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(1, getBatch());
     }
@@ -277,16 +223,20 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBatch());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getBatch());
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getQuery());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getQuery());
     }
     if (!transaction_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, transaction_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(5, transaction_);
     }
     if (((bitField0_ & 0x00000004) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getExplainMetrics());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(9, getExplainMetrics());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -296,26 +246,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.datastore.v1.RunAggregationQueryResponse)) {
       return super.equals(obj);
     }
-    com.google.datastore.v1.RunAggregationQueryResponse other =
-        (com.google.datastore.v1.RunAggregationQueryResponse) obj;
+    com.google.datastore.v1.RunAggregationQueryResponse other = (com.google.datastore.v1.RunAggregationQueryResponse) obj;
 
     if (hasBatch() != other.hasBatch()) return false;
     if (hasBatch()) {
-      if (!getBatch().equals(other.getBatch())) return false;
+      if (!getBatch()
+          .equals(other.getBatch())) return false;
     }
     if (hasQuery() != other.hasQuery()) return false;
     if (hasQuery()) {
-      if (!getQuery().equals(other.getQuery())) return false;
+      if (!getQuery()
+          .equals(other.getQuery())) return false;
     }
-    if (!getTransaction().equals(other.getTransaction())) return false;
+    if (!getTransaction()
+        .equals(other.getTransaction())) return false;
     if (hasExplainMetrics() != other.hasExplainMetrics()) return false;
     if (hasExplainMetrics()) {
-      if (!getExplainMetrics().equals(other.getExplainMetrics())) return false;
+      if (!getExplainMetrics()
+          .equals(other.getExplainMetrics())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -348,103 +301,98 @@ public int hashCode() {
   }
 
   public static com.google.datastore.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.datastore.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.datastore.v1.RunAggregationQueryResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.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.datastore.v1.RunAggregationQueryResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.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.datastore.v1.RunAggregationQueryResponse parseFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+  public static com.google.datastore.v1.RunAggregationQueryResponse parseFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseWithIOException(PARSER, input);
   }
-
   public static com.google.datastore.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.datastore.v1.RunAggregationQueryResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.datastore.v1.RunAggregationQueryResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.datastore.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.datastore.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.datastore.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.datastore.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
    * [Datastore.RunAggregationQuery][google.datastore.v1.Datastore.RunAggregationQuery].
@@ -452,23 +400,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.datastore.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.datastore.v1.RunAggregationQueryResponse)
       com.google.datastore.v1.RunAggregationQueryResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_RunAggregationQueryResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunAggregationQueryResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_RunAggregationQueryResponse_fieldAccessorTable
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunAggregationQueryResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.RunAggregationQueryResponse.class,
-              com.google.datastore.v1.RunAggregationQueryResponse.Builder.class);
+              com.google.datastore.v1.RunAggregationQueryResponse.class, com.google.datastore.v1.RunAggregationQueryResponse.Builder.class);
     }
 
     // Construct using com.google.datastore.v1.RunAggregationQueryResponse.newBuilder()
@@ -476,19 +422,19 @@ 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) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getBatchFieldBuilder();
         getQueryFieldBuilder();
         getExplainMetricsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -513,9 +459,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_RunAggregationQueryResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunAggregationQueryResponse_descriptor;
     }
 
     @java.lang.Override
@@ -534,11 +480,8 @@ public com.google.datastore.v1.RunAggregationQueryResponse build() {
 
     @java.lang.Override
     public com.google.datastore.v1.RunAggregationQueryResponse buildPartial() {
-      com.google.datastore.v1.RunAggregationQueryResponse result =
-          new com.google.datastore.v1.RunAggregationQueryResponse(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.datastore.v1.RunAggregationQueryResponse result = new com.google.datastore.v1.RunAggregationQueryResponse(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -547,19 +490,24 @@ private void buildPartial0(com.google.datastore.v1.RunAggregationQueryResponse r
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.batch_ = batchBuilder_ == null ? batch_ : batchBuilder_.build();
+        result.batch_ = batchBuilder_ == null
+            ? batch_
+            : batchBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.query_ = queryBuilder_ == null ? query_ : queryBuilder_.build();
+        result.query_ = queryBuilder_ == null
+            ? query_
+            : queryBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.transaction_ = transaction_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.explainMetrics_ =
-            explainMetricsBuilder_ == null ? explainMetrics_ : explainMetricsBuilder_.build();
+        result.explainMetrics_ = explainMetricsBuilder_ == null
+            ? explainMetrics_
+            : explainMetricsBuilder_.build();
         to_bitField0_ |= 0x00000004;
       }
       result.bitField0_ |= to_bitField0_;
@@ -569,39 +517,38 @@ private void buildPartial0(com.google.datastore.v1.RunAggregationQueryResponse r
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.RunAggregationQueryResponse) {
-        return mergeFrom((com.google.datastore.v1.RunAggregationQueryResponse) other);
+        return mergeFrom((com.google.datastore.v1.RunAggregationQueryResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -609,8 +556,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.datastore.v1.RunAggregationQueryResponse other) {
-      if (other == com.google.datastore.v1.RunAggregationQueryResponse.getDefaultInstance())
-        return this;
+      if (other == com.google.datastore.v1.RunAggregationQueryResponse.getDefaultInstance()) return this;
       if (other.hasBatch()) {
         mergeBatch(other.getBatch());
       }
@@ -649,37 +595,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getBatchFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getQueryFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 42:
-              {
-                transaction_ = input.readBytes();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 42
-            case 74:
-              {
-                input.readMessage(getExplainMetricsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 74
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getBatchFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getQueryFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 42: {
+              transaction_ = input.readBytes();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 42
+            case 74: {
+              input.readMessage(
+                  getExplainMetricsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 74
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -689,52 +636,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.datastore.v1.AggregationResultBatch batch_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.AggregationResultBatch,
-            com.google.datastore.v1.AggregationResultBatch.Builder,
-            com.google.datastore.v1.AggregationResultBatchOrBuilder>
-        batchBuilder_;
+        com.google.datastore.v1.AggregationResultBatch, com.google.datastore.v1.AggregationResultBatch.Builder, com.google.datastore.v1.AggregationResultBatchOrBuilder> batchBuilder_;
     /**
-     *
-     *
      * 
      * A batch of aggregation results. Always present.
      * 
* * .google.datastore.v1.AggregationResultBatch batch = 1; - * * @return Whether the batch field is set. */ public boolean hasBatch() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * A batch of aggregation results. Always present.
      * 
* * .google.datastore.v1.AggregationResultBatch batch = 1; - * * @return The batch. */ public com.google.datastore.v1.AggregationResultBatch getBatch() { if (batchBuilder_ == null) { - return batch_ == null - ? com.google.datastore.v1.AggregationResultBatch.getDefaultInstance() - : batch_; + return batch_ == null ? com.google.datastore.v1.AggregationResultBatch.getDefaultInstance() : batch_; } else { return batchBuilder_.getMessage(); } } /** - * - * *
      * A batch of aggregation results. Always present.
      * 
@@ -755,8 +688,6 @@ public Builder setBatch(com.google.datastore.v1.AggregationResultBatch value) { return this; } /** - * - * *
      * A batch of aggregation results. Always present.
      * 
@@ -775,8 +706,6 @@ public Builder setBatch( return this; } /** - * - * *
      * A batch of aggregation results. Always present.
      * 
@@ -785,9 +714,9 @@ public Builder setBatch( */ public Builder mergeBatch(com.google.datastore.v1.AggregationResultBatch value) { if (batchBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && batch_ != null - && batch_ != com.google.datastore.v1.AggregationResultBatch.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + batch_ != null && + batch_ != com.google.datastore.v1.AggregationResultBatch.getDefaultInstance()) { getBatchBuilder().mergeFrom(value); } else { batch_ = value; @@ -802,8 +731,6 @@ public Builder mergeBatch(com.google.datastore.v1.AggregationResultBatch value) return this; } /** - * - * *
      * A batch of aggregation results. Always present.
      * 
@@ -821,8 +748,6 @@ public Builder clearBatch() { return this; } /** - * - * *
      * A batch of aggregation results. Always present.
      * 
@@ -835,8 +760,6 @@ public com.google.datastore.v1.AggregationResultBatch.Builder getBatchBuilder() return getBatchFieldBuilder().getBuilder(); } /** - * - * *
      * A batch of aggregation results. Always present.
      * 
@@ -847,14 +770,11 @@ public com.google.datastore.v1.AggregationResultBatchOrBuilder getBatchOrBuilder if (batchBuilder_ != null) { return batchBuilder_.getMessageOrBuilder(); } else { - return batch_ == null - ? com.google.datastore.v1.AggregationResultBatch.getDefaultInstance() - : batch_; + return batch_ == null ? + com.google.datastore.v1.AggregationResultBatch.getDefaultInstance() : batch_; } } /** - * - * *
      * A batch of aggregation results. Always present.
      * 
@@ -862,17 +782,14 @@ public com.google.datastore.v1.AggregationResultBatchOrBuilder getBatchOrBuilder * .google.datastore.v1.AggregationResultBatch batch = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationResultBatch, - com.google.datastore.v1.AggregationResultBatch.Builder, - com.google.datastore.v1.AggregationResultBatchOrBuilder> + com.google.datastore.v1.AggregationResultBatch, com.google.datastore.v1.AggregationResultBatch.Builder, com.google.datastore.v1.AggregationResultBatchOrBuilder> getBatchFieldBuilder() { if (batchBuilder_ == null) { - batchBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationResultBatch, - com.google.datastore.v1.AggregationResultBatch.Builder, - com.google.datastore.v1.AggregationResultBatchOrBuilder>( - getBatch(), getParentForChildren(), isClean()); + batchBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.AggregationResultBatch, com.google.datastore.v1.AggregationResultBatch.Builder, com.google.datastore.v1.AggregationResultBatchOrBuilder>( + getBatch(), + getParentForChildren(), + isClean()); batch_ = null; } return batchBuilder_; @@ -880,47 +797,34 @@ public com.google.datastore.v1.AggregationResultBatchOrBuilder getBatchOrBuilder private com.google.datastore.v1.AggregationQuery query_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationQuery, - com.google.datastore.v1.AggregationQuery.Builder, - com.google.datastore.v1.AggregationQueryOrBuilder> - queryBuilder_; + com.google.datastore.v1.AggregationQuery, com.google.datastore.v1.AggregationQuery.Builder, com.google.datastore.v1.AggregationQueryOrBuilder> queryBuilder_; /** - * - * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
* * .google.datastore.v1.AggregationQuery query = 2; - * * @return Whether the query field is set. */ public boolean hasQuery() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
* * .google.datastore.v1.AggregationQuery query = 2; - * * @return The query. */ public com.google.datastore.v1.AggregationQuery getQuery() { if (queryBuilder_ == null) { - return query_ == null - ? com.google.datastore.v1.AggregationQuery.getDefaultInstance() - : query_; + return query_ == null ? com.google.datastore.v1.AggregationQuery.getDefaultInstance() : query_; } else { return queryBuilder_.getMessage(); } } /** - * - * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
@@ -941,15 +845,14 @@ public Builder setQuery(com.google.datastore.v1.AggregationQuery value) { return this; } /** - * - * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
* * .google.datastore.v1.AggregationQuery query = 2; */ - public Builder setQuery(com.google.datastore.v1.AggregationQuery.Builder builderForValue) { + public Builder setQuery( + com.google.datastore.v1.AggregationQuery.Builder builderForValue) { if (queryBuilder_ == null) { query_ = builderForValue.build(); } else { @@ -960,8 +863,6 @@ public Builder setQuery(com.google.datastore.v1.AggregationQuery.Builder builder return this; } /** - * - * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
@@ -970,9 +871,9 @@ public Builder setQuery(com.google.datastore.v1.AggregationQuery.Builder builder */ public Builder mergeQuery(com.google.datastore.v1.AggregationQuery value) { if (queryBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && query_ != null - && query_ != com.google.datastore.v1.AggregationQuery.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + query_ != null && + query_ != com.google.datastore.v1.AggregationQuery.getDefaultInstance()) { getQueryBuilder().mergeFrom(value); } else { query_ = value; @@ -987,8 +888,6 @@ public Builder mergeQuery(com.google.datastore.v1.AggregationQuery value) { return this; } /** - * - * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
@@ -1006,8 +905,6 @@ public Builder clearQuery() { return this; } /** - * - * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
@@ -1020,8 +917,6 @@ public com.google.datastore.v1.AggregationQuery.Builder getQueryBuilder() { return getQueryFieldBuilder().getBuilder(); } /** - * - * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
@@ -1032,14 +927,11 @@ public com.google.datastore.v1.AggregationQueryOrBuilder getQueryOrBuilder() { if (queryBuilder_ != null) { return queryBuilder_.getMessageOrBuilder(); } else { - return query_ == null - ? com.google.datastore.v1.AggregationQuery.getDefaultInstance() - : query_; + return query_ == null ? + com.google.datastore.v1.AggregationQuery.getDefaultInstance() : query_; } } /** - * - * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
@@ -1047,17 +939,14 @@ public com.google.datastore.v1.AggregationQueryOrBuilder getQueryOrBuilder() { * .google.datastore.v1.AggregationQuery query = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationQuery, - com.google.datastore.v1.AggregationQuery.Builder, - com.google.datastore.v1.AggregationQueryOrBuilder> + com.google.datastore.v1.AggregationQuery, com.google.datastore.v1.AggregationQuery.Builder, com.google.datastore.v1.AggregationQueryOrBuilder> getQueryFieldBuilder() { if (queryBuilder_ == null) { - queryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationQuery, - com.google.datastore.v1.AggregationQuery.Builder, - com.google.datastore.v1.AggregationQueryOrBuilder>( - getQuery(), getParentForChildren(), isClean()); + queryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.AggregationQuery, com.google.datastore.v1.AggregationQuery.Builder, com.google.datastore.v1.AggregationQueryOrBuilder>( + getQuery(), + getParentForChildren(), + isClean()); query_ = null; } return queryBuilder_; @@ -1065,8 +954,6 @@ public com.google.datastore.v1.AggregationQueryOrBuilder getQueryOrBuilder() { private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The identifier of the transaction that was started as part of this
      * RunAggregationQuery request.
@@ -1078,7 +965,6 @@ public com.google.datastore.v1.AggregationQueryOrBuilder getQueryOrBuilder() {
      * 
* * bytes transaction = 5; - * * @return The transaction. */ @java.lang.Override @@ -1086,8 +972,6 @@ public com.google.protobuf.ByteString getTransaction() { return transaction_; } /** - * - * *
      * The identifier of the transaction that was started as part of this
      * RunAggregationQuery request.
@@ -1099,22 +983,17 @@ public com.google.protobuf.ByteString getTransaction() {
      * 
* * bytes transaction = 5; - * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } transaction_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The identifier of the transaction that was started as part of this
      * RunAggregationQuery request.
@@ -1126,7 +1005,6 @@ public Builder setTransaction(com.google.protobuf.ByteString value) {
      * 
* * bytes transaction = 5; - * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -1138,13 +1016,8 @@ public Builder clearTransaction() { private com.google.datastore.v1.ExplainMetrics explainMetrics_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ExplainMetrics, - com.google.datastore.v1.ExplainMetrics.Builder, - com.google.datastore.v1.ExplainMetricsOrBuilder> - explainMetricsBuilder_; + com.google.datastore.v1.ExplainMetrics, com.google.datastore.v1.ExplainMetrics.Builder, com.google.datastore.v1.ExplainMetricsOrBuilder> explainMetricsBuilder_; /** - * - * *
      * Query explain metrics. This is only present when the
      * [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
@@ -1152,15 +1025,12 @@ public Builder clearTransaction() {
      * 
* * .google.datastore.v1.ExplainMetrics explain_metrics = 9; - * * @return Whether the explainMetrics field is set. */ public boolean hasExplainMetrics() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Query explain metrics. This is only present when the
      * [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
@@ -1168,21 +1038,16 @@ public boolean hasExplainMetrics() {
      * 
* * .google.datastore.v1.ExplainMetrics explain_metrics = 9; - * * @return The explainMetrics. */ public com.google.datastore.v1.ExplainMetrics getExplainMetrics() { if (explainMetricsBuilder_ == null) { - return explainMetrics_ == null - ? com.google.datastore.v1.ExplainMetrics.getDefaultInstance() - : explainMetrics_; + return explainMetrics_ == null ? com.google.datastore.v1.ExplainMetrics.getDefaultInstance() : explainMetrics_; } else { return explainMetricsBuilder_.getMessage(); } } /** - * - * *
      * Query explain metrics. This is only present when the
      * [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
@@ -1205,8 +1070,6 @@ public Builder setExplainMetrics(com.google.datastore.v1.ExplainMetrics value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Query explain metrics. This is only present when the
      * [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
@@ -1227,8 +1090,6 @@ public Builder setExplainMetrics(
       return this;
     }
     /**
-     *
-     *
      * 
      * Query explain metrics. This is only present when the
      * [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
@@ -1239,9 +1100,9 @@ public Builder setExplainMetrics(
      */
     public Builder mergeExplainMetrics(com.google.datastore.v1.ExplainMetrics value) {
       if (explainMetricsBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && explainMetrics_ != null
-            && explainMetrics_ != com.google.datastore.v1.ExplainMetrics.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          explainMetrics_ != null &&
+          explainMetrics_ != com.google.datastore.v1.ExplainMetrics.getDefaultInstance()) {
           getExplainMetricsBuilder().mergeFrom(value);
         } else {
           explainMetrics_ = value;
@@ -1256,8 +1117,6 @@ public Builder mergeExplainMetrics(com.google.datastore.v1.ExplainMetrics value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Query explain metrics. This is only present when the
      * [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
@@ -1277,8 +1136,6 @@ public Builder clearExplainMetrics() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Query explain metrics. This is only present when the
      * [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
@@ -1293,8 +1150,6 @@ public com.google.datastore.v1.ExplainMetrics.Builder getExplainMetricsBuilder()
       return getExplainMetricsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Query explain metrics. This is only present when the
      * [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
@@ -1307,14 +1162,11 @@ public com.google.datastore.v1.ExplainMetricsOrBuilder getExplainMetricsOrBuilde
       if (explainMetricsBuilder_ != null) {
         return explainMetricsBuilder_.getMessageOrBuilder();
       } else {
-        return explainMetrics_ == null
-            ? com.google.datastore.v1.ExplainMetrics.getDefaultInstance()
-            : explainMetrics_;
+        return explainMetrics_ == null ?
+            com.google.datastore.v1.ExplainMetrics.getDefaultInstance() : explainMetrics_;
       }
     }
     /**
-     *
-     *
      * 
      * Query explain metrics. This is only present when the
      * [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
@@ -1324,24 +1176,21 @@ public com.google.datastore.v1.ExplainMetricsOrBuilder getExplainMetricsOrBuilde
      * .google.datastore.v1.ExplainMetrics explain_metrics = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.ExplainMetrics,
-            com.google.datastore.v1.ExplainMetrics.Builder,
-            com.google.datastore.v1.ExplainMetricsOrBuilder>
+        com.google.datastore.v1.ExplainMetrics, com.google.datastore.v1.ExplainMetrics.Builder, com.google.datastore.v1.ExplainMetricsOrBuilder> 
         getExplainMetricsFieldBuilder() {
       if (explainMetricsBuilder_ == null) {
-        explainMetricsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.datastore.v1.ExplainMetrics,
-                com.google.datastore.v1.ExplainMetrics.Builder,
-                com.google.datastore.v1.ExplainMetricsOrBuilder>(
-                getExplainMetrics(), getParentForChildren(), isClean());
+        explainMetricsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.datastore.v1.ExplainMetrics, com.google.datastore.v1.ExplainMetrics.Builder, com.google.datastore.v1.ExplainMetricsOrBuilder>(
+                getExplainMetrics(),
+                getParentForChildren(),
+                isClean());
         explainMetrics_ = null;
       }
       return explainMetricsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1351,12 +1200,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.RunAggregationQueryResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.RunAggregationQueryResponse)
   private static final com.google.datastore.v1.RunAggregationQueryResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.RunAggregationQueryResponse();
   }
@@ -1365,27 +1214,27 @@ public static com.google.datastore.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;
@@ -1400,4 +1249,6 @@ public com.google.protobuf.Parser getParserForType(
   public com.google.datastore.v1.RunAggregationQueryResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryResponseOrBuilder.java
similarity index 82%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryResponseOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryResponseOrBuilder.java
index dc90c61e6..b5781cc8b 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryResponseOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryResponseOrBuilder.java
@@ -1,56 +1,32 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/datastore.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface RunAggregationQueryResponseOrBuilder
-    extends
+public interface RunAggregationQueryResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.RunAggregationQueryResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * A batch of aggregation results. Always present.
    * 
* * .google.datastore.v1.AggregationResultBatch batch = 1; - * * @return Whether the batch field is set. */ boolean hasBatch(); /** - * - * *
    * A batch of aggregation results. Always present.
    * 
* * .google.datastore.v1.AggregationResultBatch batch = 1; - * * @return The batch. */ com.google.datastore.v1.AggregationResultBatch getBatch(); /** - * - * *
    * A batch of aggregation results. Always present.
    * 
@@ -60,32 +36,24 @@ public interface RunAggregationQueryResponseOrBuilder com.google.datastore.v1.AggregationResultBatchOrBuilder getBatchOrBuilder(); /** - * - * *
    * The parsed form of the `GqlQuery` from the request, if it was set.
    * 
* * .google.datastore.v1.AggregationQuery query = 2; - * * @return Whether the query field is set. */ boolean hasQuery(); /** - * - * *
    * The parsed form of the `GqlQuery` from the request, if it was set.
    * 
* * .google.datastore.v1.AggregationQuery query = 2; - * * @return The query. */ com.google.datastore.v1.AggregationQuery getQuery(); /** - * - * *
    * The parsed form of the `GqlQuery` from the request, if it was set.
    * 
@@ -95,8 +63,6 @@ public interface RunAggregationQueryResponseOrBuilder com.google.datastore.v1.AggregationQueryOrBuilder getQueryOrBuilder(); /** - * - * *
    * The identifier of the transaction that was started as part of this
    * RunAggregationQuery request.
@@ -108,14 +74,11 @@ public interface RunAggregationQueryResponseOrBuilder
    * 
* * bytes transaction = 5; - * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** - * - * *
    * Query explain metrics. This is only present when the
    * [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
@@ -123,13 +86,10 @@ public interface RunAggregationQueryResponseOrBuilder
    * 
* * .google.datastore.v1.ExplainMetrics explain_metrics = 9; - * * @return Whether the explainMetrics field is set. */ boolean hasExplainMetrics(); /** - * - * *
    * Query explain metrics. This is only present when the
    * [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
@@ -137,13 +97,10 @@ public interface RunAggregationQueryResponseOrBuilder
    * 
* * .google.datastore.v1.ExplainMetrics explain_metrics = 9; - * * @return The explainMetrics. */ com.google.datastore.v1.ExplainMetrics getExplainMetrics(); /** - * - * *
    * Query explain metrics. This is only present when the
    * [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryRequest.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryRequest.java
similarity index 71%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryRequest.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryRequest.java
index 4420d5779..536580b38 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryRequest.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryRequest.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/datastore.proto
 
@@ -20,24 +5,21 @@
 package com.google.datastore.v1;
 
 /**
- *
- *
  * 
  * The request for [Datastore.RunQuery][google.datastore.v1.Datastore.RunQuery].
  * 
* * Protobuf type {@code google.datastore.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.datastore.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() { projectId_ = ""; databaseId_ = ""; @@ -45,40 +27,35 @@ private RunQueryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new RunQueryRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_RunQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_RunQueryRequest_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.RunQueryRequest.class, - com.google.datastore.v1.RunQueryRequest.Builder.class); + com.google.datastore.v1.RunQueryRequest.class, com.google.datastore.v1.RunQueryRequest.Builder.class); } private int bitField0_; private int queryTypeCase_ = 0; - @SuppressWarnings("serial") private java.lang.Object queryType_; - public enum QueryTypeCase - implements - com.google.protobuf.Internal.EnumLite, + implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { QUERY(3), GQL_QUERY(7), QUERYTYPE_NOT_SET(0); private final int value; - private QueryTypeCase(int value) { this.value = value; } @@ -94,39 +71,32 @@ public static QueryTypeCase valueOf(int value) { public static QueryTypeCase forNumber(int value) { switch (value) { - case 3: - return QUERY; - case 7: - return GQL_QUERY; - case 0: - return QUERYTYPE_NOT_SET; - default: - return null; + case 3: return QUERY; + case 7: return GQL_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 PROJECT_ID_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** - * - * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ @java.lang.Override @@ -135,29 +105,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** - * - * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -166,12 +136,9 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } public static final int DATABASE_ID_FIELD_NUMBER = 9; - @SuppressWarnings("serial") private volatile java.lang.Object databaseId_ = ""; /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -180,7 +147,6 @@ public com.google.protobuf.ByteString getProjectIdBytes() {
    * 
* * string database_id = 9; - * * @return The databaseId. */ @java.lang.Override @@ -189,15 +155,14 @@ public java.lang.String getDatabaseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; } } /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -206,15 +171,16 @@ public java.lang.String getDatabaseId() {
    * 
* * string database_id = 9; - * * @return The bytes for databaseId. */ @java.lang.Override - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -225,8 +191,6 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { public static final int PARTITION_ID_FIELD_NUMBER = 2; private com.google.datastore.v1.PartitionId partitionId_; /** - * - * *
    * Entities are partitioned into subsets, identified by a partition ID.
    * Queries are scoped to a single partition.
@@ -235,7 +199,6 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() {
    * 
* * .google.datastore.v1.PartitionId partition_id = 2; - * * @return Whether the partitionId field is set. */ @java.lang.Override @@ -243,8 +206,6 @@ public boolean hasPartitionId() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * Entities are partitioned into subsets, identified by a partition ID.
    * Queries are scoped to a single partition.
@@ -253,18 +214,13 @@ public boolean hasPartitionId() {
    * 
* * .google.datastore.v1.PartitionId partition_id = 2; - * * @return The partitionId. */ @java.lang.Override public com.google.datastore.v1.PartitionId getPartitionId() { - return partitionId_ == null - ? com.google.datastore.v1.PartitionId.getDefaultInstance() - : partitionId_; + return partitionId_ == null ? com.google.datastore.v1.PartitionId.getDefaultInstance() : partitionId_; } /** - * - * *
    * Entities are partitioned into subsets, identified by a partition ID.
    * Queries are scoped to a single partition.
@@ -276,22 +232,17 @@ public com.google.datastore.v1.PartitionId getPartitionId() {
    */
   @java.lang.Override
   public com.google.datastore.v1.PartitionIdOrBuilder getPartitionIdOrBuilder() {
-    return partitionId_ == null
-        ? com.google.datastore.v1.PartitionId.getDefaultInstance()
-        : partitionId_;
+    return partitionId_ == null ? com.google.datastore.v1.PartitionId.getDefaultInstance() : partitionId_;
   }
 
   public static final int READ_OPTIONS_FIELD_NUMBER = 1;
   private com.google.datastore.v1.ReadOptions readOptions_;
   /**
-   *
-   *
    * 
    * The options for this query.
    * 
* * .google.datastore.v1.ReadOptions read_options = 1; - * * @return Whether the readOptions field is set. */ @java.lang.Override @@ -299,25 +250,18 @@ public boolean hasReadOptions() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The options for this query.
    * 
* * .google.datastore.v1.ReadOptions read_options = 1; - * * @return The readOptions. */ @java.lang.Override public com.google.datastore.v1.ReadOptions getReadOptions() { - return readOptions_ == null - ? com.google.datastore.v1.ReadOptions.getDefaultInstance() - : readOptions_; + return readOptions_ == null ? com.google.datastore.v1.ReadOptions.getDefaultInstance() : readOptions_; } /** - * - * *
    * The options for this query.
    * 
@@ -326,21 +270,16 @@ public com.google.datastore.v1.ReadOptions getReadOptions() { */ @java.lang.Override public com.google.datastore.v1.ReadOptionsOrBuilder getReadOptionsOrBuilder() { - return readOptions_ == null - ? com.google.datastore.v1.ReadOptions.getDefaultInstance() - : readOptions_; + return readOptions_ == null ? com.google.datastore.v1.ReadOptions.getDefaultInstance() : readOptions_; } public static final int QUERY_FIELD_NUMBER = 3; /** - * - * *
    * The query to run.
    * 
* * .google.datastore.v1.Query query = 3; - * * @return Whether the query field is set. */ @java.lang.Override @@ -348,26 +287,21 @@ public boolean hasQuery() { return queryTypeCase_ == 3; } /** - * - * *
    * The query to run.
    * 
* * .google.datastore.v1.Query query = 3; - * * @return The query. */ @java.lang.Override public com.google.datastore.v1.Query getQuery() { if (queryTypeCase_ == 3) { - return (com.google.datastore.v1.Query) queryType_; + return (com.google.datastore.v1.Query) queryType_; } return com.google.datastore.v1.Query.getDefaultInstance(); } /** - * - * *
    * The query to run.
    * 
@@ -377,21 +311,18 @@ public com.google.datastore.v1.Query getQuery() { @java.lang.Override public com.google.datastore.v1.QueryOrBuilder getQueryOrBuilder() { if (queryTypeCase_ == 3) { - return (com.google.datastore.v1.Query) queryType_; + return (com.google.datastore.v1.Query) queryType_; } return com.google.datastore.v1.Query.getDefaultInstance(); } public static final int GQL_QUERY_FIELD_NUMBER = 7; /** - * - * *
    * The GQL query to run. This query must be a non-aggregation query.
    * 
* * .google.datastore.v1.GqlQuery gql_query = 7; - * * @return Whether the gqlQuery field is set. */ @java.lang.Override @@ -399,26 +330,21 @@ public boolean hasGqlQuery() { return queryTypeCase_ == 7; } /** - * - * *
    * The GQL query to run. This query must be a non-aggregation query.
    * 
* * .google.datastore.v1.GqlQuery gql_query = 7; - * * @return The gqlQuery. */ @java.lang.Override public com.google.datastore.v1.GqlQuery getGqlQuery() { if (queryTypeCase_ == 7) { - return (com.google.datastore.v1.GqlQuery) queryType_; + return (com.google.datastore.v1.GqlQuery) queryType_; } return com.google.datastore.v1.GqlQuery.getDefaultInstance(); } /** - * - * *
    * The GQL query to run. This query must be a non-aggregation query.
    * 
@@ -428,7 +354,7 @@ public com.google.datastore.v1.GqlQuery getGqlQuery() { @java.lang.Override public com.google.datastore.v1.GqlQueryOrBuilder getGqlQueryOrBuilder() { if (queryTypeCase_ == 7) { - return (com.google.datastore.v1.GqlQuery) queryType_; + return (com.google.datastore.v1.GqlQuery) queryType_; } return com.google.datastore.v1.GqlQuery.getDefaultInstance(); } @@ -436,17 +362,12 @@ public com.google.datastore.v1.GqlQueryOrBuilder getGqlQueryOrBuilder() { public static final int EXPLAIN_OPTIONS_FIELD_NUMBER = 12; private com.google.datastore.v1.ExplainOptions explainOptions_; /** - * - * *
    * Optional. Explain options for the query. If set, additional query
    * statistics will be returned. If not, only query results will be returned.
    * 
* - * - * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the explainOptions field is set. */ @java.lang.Override @@ -454,46 +375,32 @@ public boolean hasExplainOptions() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * Optional. Explain options for the query. If set, additional query
    * statistics will be returned. If not, only query results will be returned.
    * 
* - * - * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The explainOptions. */ @java.lang.Override public com.google.datastore.v1.ExplainOptions getExplainOptions() { - return explainOptions_ == null - ? com.google.datastore.v1.ExplainOptions.getDefaultInstance() - : explainOptions_; + return explainOptions_ == null ? com.google.datastore.v1.ExplainOptions.getDefaultInstance() : explainOptions_; } /** - * - * *
    * Optional. Explain options for the query. If set, additional query
    * statistics will be returned. If not, only query results will be returned.
    * 
* - * - * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; */ @java.lang.Override public com.google.datastore.v1.ExplainOptionsOrBuilder getExplainOptionsOrBuilder() { - return explainOptions_ == null - ? com.google.datastore.v1.ExplainOptions.getDefaultInstance() - : explainOptions_; + return explainOptions_ == null ? com.google.datastore.v1.ExplainOptions.getDefaultInstance() : explainOptions_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -505,7 +412,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 (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(1, getReadOptions()); } @@ -537,20 +445,20 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReadOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, getReadOptions()); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPartitionId()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getPartitionId()); } if (queryTypeCase_ == 3) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 3, (com.google.datastore.v1.Query) queryType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, (com.google.datastore.v1.Query) queryType_); } if (queryTypeCase_ == 7) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 7, (com.google.datastore.v1.GqlQuery) queryType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, (com.google.datastore.v1.GqlQuery) queryType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, projectId_); @@ -559,7 +467,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, databaseId_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getExplainOptions()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getExplainOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -569,34 +478,41 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.datastore.v1.RunQueryRequest)) { return super.equals(obj); } com.google.datastore.v1.RunQueryRequest other = (com.google.datastore.v1.RunQueryRequest) obj; - if (!getProjectId().equals(other.getProjectId())) return false; - if (!getDatabaseId().equals(other.getDatabaseId())) return false; + if (!getProjectId() + .equals(other.getProjectId())) return false; + if (!getDatabaseId() + .equals(other.getDatabaseId())) return false; if (hasPartitionId() != other.hasPartitionId()) return false; if (hasPartitionId()) { - if (!getPartitionId().equals(other.getPartitionId())) return false; + if (!getPartitionId() + .equals(other.getPartitionId())) return false; } if (hasReadOptions() != other.hasReadOptions()) return false; if (hasReadOptions()) { - if (!getReadOptions().equals(other.getReadOptions())) return false; + if (!getReadOptions() + .equals(other.getReadOptions())) return false; } if (hasExplainOptions() != other.hasExplainOptions()) return false; if (hasExplainOptions()) { - if (!getExplainOptions().equals(other.getExplainOptions())) return false; + if (!getExplainOptions() + .equals(other.getExplainOptions())) return false; } if (!getQueryTypeCase().equals(other.getQueryTypeCase())) return false; switch (queryTypeCase_) { case 3: - if (!getQuery().equals(other.getQuery())) return false; + if (!getQuery() + .equals(other.getQuery())) return false; break; case 7: - if (!getGqlQuery().equals(other.getGqlQuery())) return false; + if (!getGqlQuery() + .equals(other.getGqlQuery())) return false; break; case 0: default: @@ -645,127 +561,120 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.RunQueryRequest parseFrom(java.nio.ByteBuffer data) + public static com.google.datastore.v1.RunQueryRequest parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.v1.RunQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.v1.RunQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.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.datastore.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.datastore.v1.RunQueryRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.RunQueryRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.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.datastore.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.datastore.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.datastore.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 [Datastore.RunQuery][google.datastore.v1.Datastore.RunQuery].
    * 
* * Protobuf type {@code google.datastore.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.datastore.v1.RunQueryRequest) com.google.datastore.v1.RunQueryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_RunQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_RunQueryRequest_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.RunQueryRequest.class, - com.google.datastore.v1.RunQueryRequest.Builder.class); + com.google.datastore.v1.RunQueryRequest.class, com.google.datastore.v1.RunQueryRequest.Builder.class); } // Construct using com.google.datastore.v1.RunQueryRequest.newBuilder() @@ -773,19 +682,19 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getPartitionIdFieldBuilder(); getReadOptionsFieldBuilder(); getExplainOptionsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -819,9 +728,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_RunQueryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunQueryRequest_descriptor; } @java.lang.Override @@ -840,11 +749,8 @@ public com.google.datastore.v1.RunQueryRequest build() { @java.lang.Override public com.google.datastore.v1.RunQueryRequest buildPartial() { - com.google.datastore.v1.RunQueryRequest result = - new com.google.datastore.v1.RunQueryRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.datastore.v1.RunQueryRequest result = new com.google.datastore.v1.RunQueryRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; @@ -860,18 +766,21 @@ private void buildPartial0(com.google.datastore.v1.RunQueryRequest result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.partitionId_ = - partitionIdBuilder_ == null ? partitionId_ : partitionIdBuilder_.build(); + result.partitionId_ = partitionIdBuilder_ == null + ? partitionId_ + : partitionIdBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.readOptions_ = - readOptionsBuilder_ == null ? readOptions_ : readOptionsBuilder_.build(); + result.readOptions_ = readOptionsBuilder_ == null + ? readOptions_ + : readOptionsBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.explainOptions_ = - explainOptionsBuilder_ == null ? explainOptions_ : explainOptionsBuilder_.build(); + result.explainOptions_ = explainOptionsBuilder_ == null + ? explainOptions_ + : explainOptionsBuilder_.build(); to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; @@ -880,10 +789,12 @@ private void buildPartial0(com.google.datastore.v1.RunQueryRequest result) { private void buildPartialOneofs(com.google.datastore.v1.RunQueryRequest result) { result.queryTypeCase_ = queryTypeCase_; result.queryType_ = this.queryType_; - if (queryTypeCase_ == 3 && queryBuilder_ != null) { + if (queryTypeCase_ == 3 && + queryBuilder_ != null) { result.queryType_ = queryBuilder_.build(); } - if (queryTypeCase_ == 7 && gqlQueryBuilder_ != null) { + if (queryTypeCase_ == 7 && + gqlQueryBuilder_ != null) { result.queryType_ = gqlQueryBuilder_.build(); } } @@ -892,39 +803,38 @@ private void buildPartialOneofs(com.google.datastore.v1.RunQueryRequest result) public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.RunQueryRequest) { - return mergeFrom((com.google.datastore.v1.RunQueryRequest) other); + return mergeFrom((com.google.datastore.v1.RunQueryRequest)other); } else { super.mergeFrom(other); return this; @@ -953,20 +863,17 @@ public Builder mergeFrom(com.google.datastore.v1.RunQueryRequest other) { mergeExplainOptions(other.getExplainOptions()); } switch (other.getQueryTypeCase()) { - case QUERY: - { - mergeQuery(other.getQuery()); - break; - } - case GQL_QUERY: - { - mergeGqlQuery(other.getGqlQuery()); - break; - } - case QUERYTYPE_NOT_SET: - { - break; - } + case QUERY: { + mergeQuery(other.getQuery()); + break; + } + case GQL_QUERY: { + mergeGqlQuery(other.getGqlQuery()); + break; + } + case QUERYTYPE_NOT_SET: { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -994,55 +901,57 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getReadOptionsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 10 - case 18: - { - input.readMessage(getPartitionIdFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 26: - { - input.readMessage(getQueryFieldBuilder().getBuilder(), extensionRegistry); - queryTypeCase_ = 3; - break; - } // case 26 - case 58: - { - input.readMessage(getGqlQueryFieldBuilder().getBuilder(), extensionRegistry); - queryTypeCase_ = 7; - break; - } // case 58 - case 66: - { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 66 - case 74: - { - databaseId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 74 - case 98: - { - input.readMessage(getExplainOptionsFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 98 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getReadOptionsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 10 + case 18: { + input.readMessage( + getPartitionIdFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 26: { + input.readMessage( + getQueryFieldBuilder().getBuilder(), + extensionRegistry); + queryTypeCase_ = 3; + break; + } // case 26 + case 58: { + input.readMessage( + getGqlQueryFieldBuilder().getBuilder(), + extensionRegistry); + queryTypeCase_ = 7; + break; + } // case 58 + case 66: { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 66 + case 74: { + databaseId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 74 + case 98: { + input.readMessage( + getExplainOptionsFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 98 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1052,12 +961,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() { @@ -1071,20 +980,18 @@ public Builder clearQueryType() { private java.lang.Object projectId_ = ""; /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -1093,21 +1000,20 @@ public java.lang.String getProjectId() { } } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString getProjectIdBytes() { + public com.google.protobuf.ByteString + getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); projectId_ = b; return b; } else { @@ -1115,35 +1021,28 @@ public com.google.protobuf.ByteString getProjectIdBytes() { } } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -1153,21 +1052,17 @@ public Builder clearProjectId() { return this; } /** - * - * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setProjectIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -1177,8 +1072,6 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { private java.lang.Object databaseId_ = ""; /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -1187,13 +1080,13 @@ public Builder setProjectIdBytes(com.google.protobuf.ByteString value) {
      * 
* * string database_id = 9; - * * @return The databaseId. */ public java.lang.String getDatabaseId() { java.lang.Object ref = databaseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; @@ -1202,8 +1095,6 @@ public java.lang.String getDatabaseId() { } } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -1212,14 +1103,15 @@ public java.lang.String getDatabaseId() {
      * 
* * string database_id = 9; - * * @return The bytes for databaseId. */ - public com.google.protobuf.ByteString getDatabaseIdBytes() { + public com.google.protobuf.ByteString + getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); databaseId_ = b; return b; } else { @@ -1227,8 +1119,6 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() { } } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -1237,22 +1127,18 @@ public com.google.protobuf.ByteString getDatabaseIdBytes() {
      * 
* * string database_id = 9; - * * @param value The databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } databaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -1261,7 +1147,6 @@ public Builder setDatabaseId(java.lang.String value) {
      * 
* * string database_id = 9; - * * @return This builder for chaining. */ public Builder clearDatabaseId() { @@ -1271,8 +1156,6 @@ public Builder clearDatabaseId() { return this; } /** - * - * *
      * The ID of the database against which to make the request.
      *
@@ -1281,14 +1164,12 @@ public Builder clearDatabaseId() {
      * 
* * string database_id = 9; - * * @param value The bytes for databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setDatabaseIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); databaseId_ = value; bitField0_ |= 0x00000002; @@ -1298,13 +1179,8 @@ public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { private com.google.datastore.v1.PartitionId partitionId_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PartitionId, - com.google.datastore.v1.PartitionId.Builder, - com.google.datastore.v1.PartitionIdOrBuilder> - partitionIdBuilder_; + com.google.datastore.v1.PartitionId, com.google.datastore.v1.PartitionId.Builder, com.google.datastore.v1.PartitionIdOrBuilder> partitionIdBuilder_; /** - * - * *
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1313,15 +1189,12 @@ public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) {
      * 
* * .google.datastore.v1.PartitionId partition_id = 2; - * * @return Whether the partitionId field is set. */ public boolean hasPartitionId() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1330,21 +1203,16 @@ public boolean hasPartitionId() {
      * 
* * .google.datastore.v1.PartitionId partition_id = 2; - * * @return The partitionId. */ public com.google.datastore.v1.PartitionId getPartitionId() { if (partitionIdBuilder_ == null) { - return partitionId_ == null - ? com.google.datastore.v1.PartitionId.getDefaultInstance() - : partitionId_; + return partitionId_ == null ? com.google.datastore.v1.PartitionId.getDefaultInstance() : partitionId_; } else { return partitionIdBuilder_.getMessage(); } } /** - * - * *
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1368,8 +1236,6 @@ public Builder setPartitionId(com.google.datastore.v1.PartitionId value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1379,7 +1245,8 @@ public Builder setPartitionId(com.google.datastore.v1.PartitionId value) {
      *
      * .google.datastore.v1.PartitionId partition_id = 2;
      */
-    public Builder setPartitionId(com.google.datastore.v1.PartitionId.Builder builderForValue) {
+    public Builder setPartitionId(
+        com.google.datastore.v1.PartitionId.Builder builderForValue) {
       if (partitionIdBuilder_ == null) {
         partitionId_ = builderForValue.build();
       } else {
@@ -1390,8 +1257,6 @@ public Builder setPartitionId(com.google.datastore.v1.PartitionId.Builder builde
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1403,9 +1268,9 @@ public Builder setPartitionId(com.google.datastore.v1.PartitionId.Builder builde
      */
     public Builder mergePartitionId(com.google.datastore.v1.PartitionId value) {
       if (partitionIdBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0)
-            && partitionId_ != null
-            && partitionId_ != com.google.datastore.v1.PartitionId.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0) &&
+          partitionId_ != null &&
+          partitionId_ != com.google.datastore.v1.PartitionId.getDefaultInstance()) {
           getPartitionIdBuilder().mergeFrom(value);
         } else {
           partitionId_ = value;
@@ -1420,8 +1285,6 @@ public Builder mergePartitionId(com.google.datastore.v1.PartitionId value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1442,8 +1305,6 @@ public Builder clearPartitionId() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1459,8 +1320,6 @@ public com.google.datastore.v1.PartitionId.Builder getPartitionIdBuilder() {
       return getPartitionIdFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1474,14 +1333,11 @@ public com.google.datastore.v1.PartitionIdOrBuilder getPartitionIdOrBuilder() {
       if (partitionIdBuilder_ != null) {
         return partitionIdBuilder_.getMessageOrBuilder();
       } else {
-        return partitionId_ == null
-            ? com.google.datastore.v1.PartitionId.getDefaultInstance()
-            : partitionId_;
+        return partitionId_ == null ?
+            com.google.datastore.v1.PartitionId.getDefaultInstance() : partitionId_;
       }
     }
     /**
-     *
-     *
      * 
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1492,17 +1348,14 @@ public com.google.datastore.v1.PartitionIdOrBuilder getPartitionIdOrBuilder() {
      * .google.datastore.v1.PartitionId partition_id = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.PartitionId,
-            com.google.datastore.v1.PartitionId.Builder,
-            com.google.datastore.v1.PartitionIdOrBuilder>
+        com.google.datastore.v1.PartitionId, com.google.datastore.v1.PartitionId.Builder, com.google.datastore.v1.PartitionIdOrBuilder> 
         getPartitionIdFieldBuilder() {
       if (partitionIdBuilder_ == null) {
-        partitionIdBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.datastore.v1.PartitionId,
-                com.google.datastore.v1.PartitionId.Builder,
-                com.google.datastore.v1.PartitionIdOrBuilder>(
-                getPartitionId(), getParentForChildren(), isClean());
+        partitionIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.datastore.v1.PartitionId, com.google.datastore.v1.PartitionId.Builder, com.google.datastore.v1.PartitionIdOrBuilder>(
+                getPartitionId(),
+                getParentForChildren(),
+                isClean());
         partitionId_ = null;
       }
       return partitionIdBuilder_;
@@ -1510,47 +1363,34 @@ public com.google.datastore.v1.PartitionIdOrBuilder getPartitionIdOrBuilder() {
 
     private com.google.datastore.v1.ReadOptions readOptions_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.ReadOptions,
-            com.google.datastore.v1.ReadOptions.Builder,
-            com.google.datastore.v1.ReadOptionsOrBuilder>
-        readOptionsBuilder_;
+        com.google.datastore.v1.ReadOptions, com.google.datastore.v1.ReadOptions.Builder, com.google.datastore.v1.ReadOptionsOrBuilder> readOptionsBuilder_;
     /**
-     *
-     *
      * 
      * The options for this query.
      * 
* * .google.datastore.v1.ReadOptions read_options = 1; - * * @return Whether the readOptions field is set. */ public boolean hasReadOptions() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * The options for this query.
      * 
* * .google.datastore.v1.ReadOptions read_options = 1; - * * @return The readOptions. */ public com.google.datastore.v1.ReadOptions getReadOptions() { if (readOptionsBuilder_ == null) { - return readOptions_ == null - ? com.google.datastore.v1.ReadOptions.getDefaultInstance() - : readOptions_; + return readOptions_ == null ? com.google.datastore.v1.ReadOptions.getDefaultInstance() : readOptions_; } else { return readOptionsBuilder_.getMessage(); } } /** - * - * *
      * The options for this query.
      * 
@@ -1571,15 +1411,14 @@ public Builder setReadOptions(com.google.datastore.v1.ReadOptions value) { return this; } /** - * - * *
      * The options for this query.
      * 
* * .google.datastore.v1.ReadOptions read_options = 1; */ - public Builder setReadOptions(com.google.datastore.v1.ReadOptions.Builder builderForValue) { + public Builder setReadOptions( + com.google.datastore.v1.ReadOptions.Builder builderForValue) { if (readOptionsBuilder_ == null) { readOptions_ = builderForValue.build(); } else { @@ -1590,8 +1429,6 @@ public Builder setReadOptions(com.google.datastore.v1.ReadOptions.Builder builde return this; } /** - * - * *
      * The options for this query.
      * 
@@ -1600,9 +1437,9 @@ public Builder setReadOptions(com.google.datastore.v1.ReadOptions.Builder builde */ public Builder mergeReadOptions(com.google.datastore.v1.ReadOptions value) { if (readOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) - && readOptions_ != null - && readOptions_ != com.google.datastore.v1.ReadOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) && + readOptions_ != null && + readOptions_ != com.google.datastore.v1.ReadOptions.getDefaultInstance()) { getReadOptionsBuilder().mergeFrom(value); } else { readOptions_ = value; @@ -1617,8 +1454,6 @@ public Builder mergeReadOptions(com.google.datastore.v1.ReadOptions value) { return this; } /** - * - * *
      * The options for this query.
      * 
@@ -1636,8 +1471,6 @@ public Builder clearReadOptions() { return this; } /** - * - * *
      * The options for this query.
      * 
@@ -1650,8 +1483,6 @@ public com.google.datastore.v1.ReadOptions.Builder getReadOptionsBuilder() { return getReadOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * The options for this query.
      * 
@@ -1662,14 +1493,11 @@ public com.google.datastore.v1.ReadOptionsOrBuilder getReadOptionsOrBuilder() { if (readOptionsBuilder_ != null) { return readOptionsBuilder_.getMessageOrBuilder(); } else { - return readOptions_ == null - ? com.google.datastore.v1.ReadOptions.getDefaultInstance() - : readOptions_; + return readOptions_ == null ? + com.google.datastore.v1.ReadOptions.getDefaultInstance() : readOptions_; } } /** - * - * *
      * The options for this query.
      * 
@@ -1677,36 +1505,27 @@ public com.google.datastore.v1.ReadOptionsOrBuilder getReadOptionsOrBuilder() { * .google.datastore.v1.ReadOptions read_options = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ReadOptions, - com.google.datastore.v1.ReadOptions.Builder, - com.google.datastore.v1.ReadOptionsOrBuilder> + com.google.datastore.v1.ReadOptions, com.google.datastore.v1.ReadOptions.Builder, com.google.datastore.v1.ReadOptionsOrBuilder> getReadOptionsFieldBuilder() { if (readOptionsBuilder_ == null) { - readOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ReadOptions, - com.google.datastore.v1.ReadOptions.Builder, - com.google.datastore.v1.ReadOptionsOrBuilder>( - getReadOptions(), getParentForChildren(), isClean()); + readOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.ReadOptions, com.google.datastore.v1.ReadOptions.Builder, com.google.datastore.v1.ReadOptionsOrBuilder>( + getReadOptions(), + getParentForChildren(), + isClean()); readOptions_ = null; } return readOptionsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Query, - com.google.datastore.v1.Query.Builder, - com.google.datastore.v1.QueryOrBuilder> - queryBuilder_; + com.google.datastore.v1.Query, com.google.datastore.v1.Query.Builder, com.google.datastore.v1.QueryOrBuilder> queryBuilder_; /** - * - * *
      * The query to run.
      * 
* * .google.datastore.v1.Query query = 3; - * * @return Whether the query field is set. */ @java.lang.Override @@ -1714,14 +1533,11 @@ public boolean hasQuery() { return queryTypeCase_ == 3; } /** - * - * *
      * The query to run.
      * 
* * .google.datastore.v1.Query query = 3; - * * @return The query. */ @java.lang.Override @@ -1739,8 +1555,6 @@ public com.google.datastore.v1.Query getQuery() { } } /** - * - * *
      * The query to run.
      * 
@@ -1761,15 +1575,14 @@ public Builder setQuery(com.google.datastore.v1.Query value) { return this; } /** - * - * *
      * The query to run.
      * 
* * .google.datastore.v1.Query query = 3; */ - public Builder setQuery(com.google.datastore.v1.Query.Builder builderForValue) { + public Builder setQuery( + com.google.datastore.v1.Query.Builder builderForValue) { if (queryBuilder_ == null) { queryType_ = builderForValue.build(); onChanged(); @@ -1780,8 +1593,6 @@ public Builder setQuery(com.google.datastore.v1.Query.Builder builderForValue) { return this; } /** - * - * *
      * The query to run.
      * 
@@ -1790,12 +1601,10 @@ public Builder setQuery(com.google.datastore.v1.Query.Builder builderForValue) { */ public Builder mergeQuery(com.google.datastore.v1.Query value) { if (queryBuilder_ == null) { - if (queryTypeCase_ == 3 - && queryType_ != com.google.datastore.v1.Query.getDefaultInstance()) { - queryType_ = - com.google.datastore.v1.Query.newBuilder((com.google.datastore.v1.Query) queryType_) - .mergeFrom(value) - .buildPartial(); + if (queryTypeCase_ == 3 && + queryType_ != com.google.datastore.v1.Query.getDefaultInstance()) { + queryType_ = com.google.datastore.v1.Query.newBuilder((com.google.datastore.v1.Query) queryType_) + .mergeFrom(value).buildPartial(); } else { queryType_ = value; } @@ -1811,8 +1620,6 @@ public Builder mergeQuery(com.google.datastore.v1.Query value) { return this; } /** - * - * *
      * The query to run.
      * 
@@ -1836,8 +1643,6 @@ public Builder clearQuery() { return this; } /** - * - * *
      * The query to run.
      * 
@@ -1848,8 +1653,6 @@ public com.google.datastore.v1.Query.Builder getQueryBuilder() { return getQueryFieldBuilder().getBuilder(); } /** - * - * *
      * The query to run.
      * 
@@ -1868,8 +1671,6 @@ public com.google.datastore.v1.QueryOrBuilder getQueryOrBuilder() { } } /** - * - * *
      * The query to run.
      * 
@@ -1877,20 +1678,17 @@ public com.google.datastore.v1.QueryOrBuilder getQueryOrBuilder() { * .google.datastore.v1.Query query = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Query, - com.google.datastore.v1.Query.Builder, - com.google.datastore.v1.QueryOrBuilder> + com.google.datastore.v1.Query, com.google.datastore.v1.Query.Builder, com.google.datastore.v1.QueryOrBuilder> getQueryFieldBuilder() { if (queryBuilder_ == null) { if (!(queryTypeCase_ == 3)) { queryType_ = com.google.datastore.v1.Query.getDefaultInstance(); } - queryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Query, - com.google.datastore.v1.Query.Builder, - com.google.datastore.v1.QueryOrBuilder>( - (com.google.datastore.v1.Query) queryType_, getParentForChildren(), isClean()); + queryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.Query, com.google.datastore.v1.Query.Builder, com.google.datastore.v1.QueryOrBuilder>( + (com.google.datastore.v1.Query) queryType_, + getParentForChildren(), + isClean()); queryType_ = null; } queryTypeCase_ = 3; @@ -1899,19 +1697,13 @@ public com.google.datastore.v1.QueryOrBuilder getQueryOrBuilder() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.GqlQuery, - com.google.datastore.v1.GqlQuery.Builder, - com.google.datastore.v1.GqlQueryOrBuilder> - gqlQueryBuilder_; + com.google.datastore.v1.GqlQuery, com.google.datastore.v1.GqlQuery.Builder, com.google.datastore.v1.GqlQueryOrBuilder> gqlQueryBuilder_; /** - * - * *
      * The GQL query to run. This query must be a non-aggregation query.
      * 
* * .google.datastore.v1.GqlQuery gql_query = 7; - * * @return Whether the gqlQuery field is set. */ @java.lang.Override @@ -1919,14 +1711,11 @@ public boolean hasGqlQuery() { return queryTypeCase_ == 7; } /** - * - * *
      * The GQL query to run. This query must be a non-aggregation query.
      * 
* * .google.datastore.v1.GqlQuery gql_query = 7; - * * @return The gqlQuery. */ @java.lang.Override @@ -1944,8 +1733,6 @@ public com.google.datastore.v1.GqlQuery getGqlQuery() { } } /** - * - * *
      * The GQL query to run. This query must be a non-aggregation query.
      * 
@@ -1966,15 +1753,14 @@ public Builder setGqlQuery(com.google.datastore.v1.GqlQuery value) { return this; } /** - * - * *
      * The GQL query to run. This query must be a non-aggregation query.
      * 
* * .google.datastore.v1.GqlQuery gql_query = 7; */ - public Builder setGqlQuery(com.google.datastore.v1.GqlQuery.Builder builderForValue) { + public Builder setGqlQuery( + com.google.datastore.v1.GqlQuery.Builder builderForValue) { if (gqlQueryBuilder_ == null) { queryType_ = builderForValue.build(); onChanged(); @@ -1985,8 +1771,6 @@ public Builder setGqlQuery(com.google.datastore.v1.GqlQuery.Builder builderForVa return this; } /** - * - * *
      * The GQL query to run. This query must be a non-aggregation query.
      * 
@@ -1995,13 +1779,10 @@ public Builder setGqlQuery(com.google.datastore.v1.GqlQuery.Builder builderForVa */ public Builder mergeGqlQuery(com.google.datastore.v1.GqlQuery value) { if (gqlQueryBuilder_ == null) { - if (queryTypeCase_ == 7 - && queryType_ != com.google.datastore.v1.GqlQuery.getDefaultInstance()) { - queryType_ = - com.google.datastore.v1.GqlQuery.newBuilder( - (com.google.datastore.v1.GqlQuery) queryType_) - .mergeFrom(value) - .buildPartial(); + if (queryTypeCase_ == 7 && + queryType_ != com.google.datastore.v1.GqlQuery.getDefaultInstance()) { + queryType_ = com.google.datastore.v1.GqlQuery.newBuilder((com.google.datastore.v1.GqlQuery) queryType_) + .mergeFrom(value).buildPartial(); } else { queryType_ = value; } @@ -2017,8 +1798,6 @@ public Builder mergeGqlQuery(com.google.datastore.v1.GqlQuery value) { return this; } /** - * - * *
      * The GQL query to run. This query must be a non-aggregation query.
      * 
@@ -2042,8 +1821,6 @@ public Builder clearGqlQuery() { return this; } /** - * - * *
      * The GQL query to run. This query must be a non-aggregation query.
      * 
@@ -2054,8 +1831,6 @@ public com.google.datastore.v1.GqlQuery.Builder getGqlQueryBuilder() { return getGqlQueryFieldBuilder().getBuilder(); } /** - * - * *
      * The GQL query to run. This query must be a non-aggregation query.
      * 
@@ -2074,8 +1849,6 @@ public com.google.datastore.v1.GqlQueryOrBuilder getGqlQueryOrBuilder() { } } /** - * - * *
      * The GQL query to run. This query must be a non-aggregation query.
      * 
@@ -2083,20 +1856,17 @@ public com.google.datastore.v1.GqlQueryOrBuilder getGqlQueryOrBuilder() { * .google.datastore.v1.GqlQuery gql_query = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.GqlQuery, - com.google.datastore.v1.GqlQuery.Builder, - com.google.datastore.v1.GqlQueryOrBuilder> + com.google.datastore.v1.GqlQuery, com.google.datastore.v1.GqlQuery.Builder, com.google.datastore.v1.GqlQueryOrBuilder> getGqlQueryFieldBuilder() { if (gqlQueryBuilder_ == null) { if (!(queryTypeCase_ == 7)) { queryType_ = com.google.datastore.v1.GqlQuery.getDefaultInstance(); } - gqlQueryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.GqlQuery, - com.google.datastore.v1.GqlQuery.Builder, - com.google.datastore.v1.GqlQueryOrBuilder>( - (com.google.datastore.v1.GqlQuery) queryType_, getParentForChildren(), isClean()); + gqlQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.GqlQuery, com.google.datastore.v1.GqlQuery.Builder, com.google.datastore.v1.GqlQueryOrBuilder>( + (com.google.datastore.v1.GqlQuery) queryType_, + getParentForChildren(), + isClean()); queryType_ = null; } queryTypeCase_ = 7; @@ -2106,61 +1876,42 @@ public com.google.datastore.v1.GqlQueryOrBuilder getGqlQueryOrBuilder() { private com.google.datastore.v1.ExplainOptions explainOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ExplainOptions, - com.google.datastore.v1.ExplainOptions.Builder, - com.google.datastore.v1.ExplainOptionsOrBuilder> - explainOptionsBuilder_; + com.google.datastore.v1.ExplainOptions, com.google.datastore.v1.ExplainOptions.Builder, com.google.datastore.v1.ExplainOptionsOrBuilder> explainOptionsBuilder_; /** - * - * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * - * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the explainOptions field is set. */ public boolean hasExplainOptions() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * - * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The explainOptions. */ public com.google.datastore.v1.ExplainOptions getExplainOptions() { if (explainOptionsBuilder_ == null) { - return explainOptions_ == null - ? com.google.datastore.v1.ExplainOptions.getDefaultInstance() - : explainOptions_; + return explainOptions_ == null ? com.google.datastore.v1.ExplainOptions.getDefaultInstance() : explainOptions_; } else { return explainOptionsBuilder_.getMessage(); } } /** - * - * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * - * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setExplainOptions(com.google.datastore.v1.ExplainOptions value) { if (explainOptionsBuilder_ == null) { @@ -2176,16 +1927,12 @@ public Builder setExplainOptions(com.google.datastore.v1.ExplainOptions value) { return this; } /** - * - * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * - * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder setExplainOptions( com.google.datastore.v1.ExplainOptions.Builder builderForValue) { @@ -2199,22 +1946,18 @@ public Builder setExplainOptions( return this; } /** - * - * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * - * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder mergeExplainOptions(com.google.datastore.v1.ExplainOptions value) { if (explainOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && explainOptions_ != null - && explainOptions_ != com.google.datastore.v1.ExplainOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + explainOptions_ != null && + explainOptions_ != com.google.datastore.v1.ExplainOptions.getDefaultInstance()) { getExplainOptionsBuilder().mergeFrom(value); } else { explainOptions_ = value; @@ -2229,16 +1972,12 @@ public Builder mergeExplainOptions(com.google.datastore.v1.ExplainOptions value) return this; } /** - * - * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * - * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public Builder clearExplainOptions() { bitField0_ = (bitField0_ & ~0x00000040); @@ -2251,16 +1990,12 @@ public Builder clearExplainOptions() { return this; } /** - * - * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * - * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.datastore.v1.ExplainOptions.Builder getExplainOptionsBuilder() { bitField0_ |= 0x00000040; @@ -2268,57 +2003,45 @@ public com.google.datastore.v1.ExplainOptions.Builder getExplainOptionsBuilder() return getExplainOptionsFieldBuilder().getBuilder(); } /** - * - * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * - * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; */ public com.google.datastore.v1.ExplainOptionsOrBuilder getExplainOptionsOrBuilder() { if (explainOptionsBuilder_ != null) { return explainOptionsBuilder_.getMessageOrBuilder(); } else { - return explainOptions_ == null - ? com.google.datastore.v1.ExplainOptions.getDefaultInstance() - : explainOptions_; + return explainOptions_ == null ? + com.google.datastore.v1.ExplainOptions.getDefaultInstance() : explainOptions_; } } /** - * - * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * - * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ExplainOptions, - com.google.datastore.v1.ExplainOptions.Builder, - com.google.datastore.v1.ExplainOptionsOrBuilder> + com.google.datastore.v1.ExplainOptions, com.google.datastore.v1.ExplainOptions.Builder, com.google.datastore.v1.ExplainOptionsOrBuilder> getExplainOptionsFieldBuilder() { if (explainOptionsBuilder_ == null) { - explainOptionsBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ExplainOptions, - com.google.datastore.v1.ExplainOptions.Builder, - com.google.datastore.v1.ExplainOptionsOrBuilder>( - getExplainOptions(), getParentForChildren(), isClean()); + explainOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.ExplainOptions, com.google.datastore.v1.ExplainOptions.Builder, com.google.datastore.v1.ExplainOptionsOrBuilder>( + getExplainOptions(), + getParentForChildren(), + isClean()); explainOptions_ = null; } return explainOptionsBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2328,12 +2051,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.v1.RunQueryRequest) } // @@protoc_insertion_point(class_scope:google.datastore.v1.RunQueryRequest) private static final com.google.datastore.v1.RunQueryRequest DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.v1.RunQueryRequest(); } @@ -2342,27 +2065,27 @@ public static com.google.datastore.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; @@ -2377,4 +2100,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.RunQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryRequestOrBuilder.java similarity index 79% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryRequestOrBuilder.java index 9e7a6f0b9..6d4062889 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryRequestOrBuilder.java @@ -1,57 +1,34 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface RunQueryRequestOrBuilder - extends +public interface RunQueryRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.RunQueryRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The projectId. */ java.lang.String getProjectId(); /** - * - * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; - * * @return The bytes for projectId. */ - com.google.protobuf.ByteString getProjectIdBytes(); + com.google.protobuf.ByteString + getProjectIdBytes(); /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -60,13 +37,10 @@ public interface RunQueryRequestOrBuilder
    * 
* * string database_id = 9; - * * @return The databaseId. */ java.lang.String getDatabaseId(); /** - * - * *
    * The ID of the database against which to make the request.
    *
@@ -75,14 +49,12 @@ public interface RunQueryRequestOrBuilder
    * 
* * string database_id = 9; - * * @return The bytes for databaseId. */ - com.google.protobuf.ByteString getDatabaseIdBytes(); + com.google.protobuf.ByteString + getDatabaseIdBytes(); /** - * - * *
    * Entities are partitioned into subsets, identified by a partition ID.
    * Queries are scoped to a single partition.
@@ -91,13 +63,10 @@ public interface RunQueryRequestOrBuilder
    * 
* * .google.datastore.v1.PartitionId partition_id = 2; - * * @return Whether the partitionId field is set. */ boolean hasPartitionId(); /** - * - * *
    * Entities are partitioned into subsets, identified by a partition ID.
    * Queries are scoped to a single partition.
@@ -106,13 +75,10 @@ public interface RunQueryRequestOrBuilder
    * 
* * .google.datastore.v1.PartitionId partition_id = 2; - * * @return The partitionId. */ com.google.datastore.v1.PartitionId getPartitionId(); /** - * - * *
    * Entities are partitioned into subsets, identified by a partition ID.
    * Queries are scoped to a single partition.
@@ -125,32 +91,24 @@ public interface RunQueryRequestOrBuilder
   com.google.datastore.v1.PartitionIdOrBuilder getPartitionIdOrBuilder();
 
   /**
-   *
-   *
    * 
    * The options for this query.
    * 
* * .google.datastore.v1.ReadOptions read_options = 1; - * * @return Whether the readOptions field is set. */ boolean hasReadOptions(); /** - * - * *
    * The options for this query.
    * 
* * .google.datastore.v1.ReadOptions read_options = 1; - * * @return The readOptions. */ com.google.datastore.v1.ReadOptions getReadOptions(); /** - * - * *
    * The options for this query.
    * 
@@ -160,32 +118,24 @@ public interface RunQueryRequestOrBuilder com.google.datastore.v1.ReadOptionsOrBuilder getReadOptionsOrBuilder(); /** - * - * *
    * The query to run.
    * 
* * .google.datastore.v1.Query query = 3; - * * @return Whether the query field is set. */ boolean hasQuery(); /** - * - * *
    * The query to run.
    * 
* * .google.datastore.v1.Query query = 3; - * * @return The query. */ com.google.datastore.v1.Query getQuery(); /** - * - * *
    * The query to run.
    * 
@@ -195,32 +145,24 @@ public interface RunQueryRequestOrBuilder com.google.datastore.v1.QueryOrBuilder getQueryOrBuilder(); /** - * - * *
    * The GQL query to run. This query must be a non-aggregation query.
    * 
* * .google.datastore.v1.GqlQuery gql_query = 7; - * * @return Whether the gqlQuery field is set. */ boolean hasGqlQuery(); /** - * - * *
    * The GQL query to run. This query must be a non-aggregation query.
    * 
* * .google.datastore.v1.GqlQuery gql_query = 7; - * * @return The gqlQuery. */ com.google.datastore.v1.GqlQuery getGqlQuery(); /** - * - * *
    * The GQL query to run. This query must be a non-aggregation query.
    * 
@@ -230,46 +172,32 @@ public interface RunQueryRequestOrBuilder com.google.datastore.v1.GqlQueryOrBuilder getGqlQueryOrBuilder(); /** - * - * *
    * Optional. Explain options for the query. If set, additional query
    * statistics will be returned. If not, only query results will be returned.
    * 
* - * - * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return Whether the explainOptions field is set. */ boolean hasExplainOptions(); /** - * - * *
    * Optional. Explain options for the query. If set, additional query
    * statistics will be returned. If not, only query results will be returned.
    * 
* - * - * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; * @return The explainOptions. */ com.google.datastore.v1.ExplainOptions getExplainOptions(); /** - * - * *
    * Optional. Explain options for the query. If set, additional query
    * statistics will be returned. If not, only query results will be returned.
    * 
* - * - * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; - * + * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; */ com.google.datastore.v1.ExplainOptionsOrBuilder getExplainOptionsOrBuilder(); diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponse.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponse.java similarity index 73% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponse.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponse.java index 03d5b4b8f..d578149ca 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponse.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto @@ -20,8 +5,6 @@ package com.google.datastore.v1; /** - * - * *
  * The response for
  * [Datastore.RunQuery][google.datastore.v1.Datastore.RunQuery].
@@ -29,53 +12,48 @@
  *
  * Protobuf type {@code google.datastore.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.datastore.v1.RunQueryResponse)
     RunQueryResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use RunQueryResponse.newBuilder() to construct.
   private RunQueryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private RunQueryResponse() {
     transaction_ = com.google.protobuf.ByteString.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new RunQueryResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.datastore.v1.DatastoreProto
-        .internal_static_google_datastore_v1_RunQueryResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunQueryResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.v1.DatastoreProto
-        .internal_static_google_datastore_v1_RunQueryResponse_fieldAccessorTable
+    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunQueryResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.v1.RunQueryResponse.class,
-            com.google.datastore.v1.RunQueryResponse.Builder.class);
+            com.google.datastore.v1.RunQueryResponse.class, com.google.datastore.v1.RunQueryResponse.Builder.class);
   }
 
   private int bitField0_;
   public static final int BATCH_FIELD_NUMBER = 1;
   private com.google.datastore.v1.QueryResultBatch batch_;
   /**
-   *
-   *
    * 
    * A batch of query results (always present).
    * 
* * .google.datastore.v1.QueryResultBatch batch = 1; - * * @return Whether the batch field is set. */ @java.lang.Override @@ -83,14 +61,11 @@ public boolean hasBatch() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
    * A batch of query results (always present).
    * 
* * .google.datastore.v1.QueryResultBatch batch = 1; - * * @return The batch. */ @java.lang.Override @@ -98,8 +73,6 @@ public com.google.datastore.v1.QueryResultBatch getBatch() { return batch_ == null ? com.google.datastore.v1.QueryResultBatch.getDefaultInstance() : batch_; } /** - * - * *
    * A batch of query results (always present).
    * 
@@ -114,14 +87,11 @@ public com.google.datastore.v1.QueryResultBatchOrBuilder getBatchOrBuilder() { public static final int QUERY_FIELD_NUMBER = 2; private com.google.datastore.v1.Query query_; /** - * - * *
    * The parsed form of the `GqlQuery` from the request, if it was set.
    * 
* * .google.datastore.v1.Query query = 2; - * * @return Whether the query field is set. */ @java.lang.Override @@ -129,14 +99,11 @@ public boolean hasQuery() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
    * The parsed form of the `GqlQuery` from the request, if it was set.
    * 
* * .google.datastore.v1.Query query = 2; - * * @return The query. */ @java.lang.Override @@ -144,8 +111,6 @@ public com.google.datastore.v1.Query getQuery() { return query_ == null ? com.google.datastore.v1.Query.getDefaultInstance() : query_; } /** - * - * *
    * The parsed form of the `GqlQuery` from the request, if it was set.
    * 
@@ -160,8 +125,6 @@ public com.google.datastore.v1.QueryOrBuilder getQueryOrBuilder() { public static final int TRANSACTION_FIELD_NUMBER = 5; private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
    * The identifier of the transaction that was started as part of this
    * RunQuery request.
@@ -173,7 +136,6 @@ public com.google.datastore.v1.QueryOrBuilder getQueryOrBuilder() {
    * 
* * bytes transaction = 5; - * * @return The transaction. */ @java.lang.Override @@ -184,8 +146,6 @@ public com.google.protobuf.ByteString getTransaction() { public static final int EXPLAIN_METRICS_FIELD_NUMBER = 9; private com.google.datastore.v1.ExplainMetrics explainMetrics_; /** - * - * *
    * Query explain metrics. This is only present when the
    * [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options]
@@ -193,7 +153,6 @@ public com.google.protobuf.ByteString getTransaction() {
    * 
* * .google.datastore.v1.ExplainMetrics explain_metrics = 9; - * * @return Whether the explainMetrics field is set. */ @java.lang.Override @@ -201,8 +160,6 @@ public boolean hasExplainMetrics() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
    * Query explain metrics. This is only present when the
    * [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options]
@@ -210,18 +167,13 @@ public boolean hasExplainMetrics() {
    * 
* * .google.datastore.v1.ExplainMetrics explain_metrics = 9; - * * @return The explainMetrics. */ @java.lang.Override public com.google.datastore.v1.ExplainMetrics getExplainMetrics() { - return explainMetrics_ == null - ? com.google.datastore.v1.ExplainMetrics.getDefaultInstance() - : explainMetrics_; + return explainMetrics_ == null ? com.google.datastore.v1.ExplainMetrics.getDefaultInstance() : explainMetrics_; } /** - * - * *
    * Query explain metrics. This is only present when the
    * [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options]
@@ -232,13 +184,10 @@ public com.google.datastore.v1.ExplainMetrics getExplainMetrics() {
    */
   @java.lang.Override
   public com.google.datastore.v1.ExplainMetricsOrBuilder getExplainMetricsOrBuilder() {
-    return explainMetrics_ == null
-        ? com.google.datastore.v1.ExplainMetrics.getDefaultInstance()
-        : explainMetrics_;
+    return explainMetrics_ == null ? com.google.datastore.v1.ExplainMetrics.getDefaultInstance() : explainMetrics_;
   }
 
   private byte memoizedIsInitialized = -1;
-
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -250,7 +199,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output)
+                      throws java.io.IOException {
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(1, getBatch());
     }
@@ -273,16 +223,20 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBatch());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(1, getBatch());
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getQuery());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(2, getQuery());
     }
     if (!transaction_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, transaction_);
+      size += com.google.protobuf.CodedOutputStream
+        .computeBytesSize(5, transaction_);
     }
     if (((bitField0_ & 0x00000004) != 0)) {
-      size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getExplainMetrics());
+      size += com.google.protobuf.CodedOutputStream
+        .computeMessageSize(9, getExplainMetrics());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -292,7 +246,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-      return true;
+     return true;
     }
     if (!(obj instanceof com.google.datastore.v1.RunQueryResponse)) {
       return super.equals(obj);
@@ -301,16 +255,20 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasBatch() != other.hasBatch()) return false;
     if (hasBatch()) {
-      if (!getBatch().equals(other.getBatch())) return false;
+      if (!getBatch()
+          .equals(other.getBatch())) return false;
     }
     if (hasQuery() != other.hasQuery()) return false;
     if (hasQuery()) {
-      if (!getQuery().equals(other.getQuery())) return false;
+      if (!getQuery()
+          .equals(other.getQuery())) return false;
     }
-    if (!getTransaction().equals(other.getTransaction())) return false;
+    if (!getTransaction()
+        .equals(other.getTransaction())) return false;
     if (hasExplainMetrics() != other.hasExplainMetrics()) return false;
     if (hasExplainMetrics()) {
-      if (!getExplainMetrics().equals(other.getExplainMetrics())) return false;
+      if (!getExplainMetrics()
+          .equals(other.getExplainMetrics())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -342,104 +300,99 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.RunQueryResponse parseFrom(java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.RunQueryResponse parseFrom(
+      java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.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.datastore.v1.RunQueryResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.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.datastore.v1.RunQueryResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
-
   public static com.google.datastore.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.datastore.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.datastore.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.datastore.v1.RunQueryResponse parseDelimitedFrom(
-      java.io.InputStream input) throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+  public static com.google.datastore.v1.RunQueryResponse parseDelimitedFrom(java.io.InputStream input)
+      throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3
+        .parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.datastore.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.datastore.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.datastore.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.datastore.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
    * [Datastore.RunQuery][google.datastore.v1.Datastore.RunQuery].
@@ -447,23 +400,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.datastore.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.datastore.v1.RunQueryResponse)
       com.google.datastore.v1.RunQueryResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_RunQueryResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunQueryResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_RunQueryResponse_fieldAccessorTable
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunQueryResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.RunQueryResponse.class,
-              com.google.datastore.v1.RunQueryResponse.Builder.class);
+              com.google.datastore.v1.RunQueryResponse.class, com.google.datastore.v1.RunQueryResponse.Builder.class);
     }
 
     // Construct using com.google.datastore.v1.RunQueryResponse.newBuilder()
@@ -471,19 +422,19 @@ 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) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getBatchFieldBuilder();
         getQueryFieldBuilder();
         getExplainMetricsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -508,9 +459,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_RunQueryResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunQueryResponse_descriptor;
     }
 
     @java.lang.Override
@@ -529,11 +480,8 @@ public com.google.datastore.v1.RunQueryResponse build() {
 
     @java.lang.Override
     public com.google.datastore.v1.RunQueryResponse buildPartial() {
-      com.google.datastore.v1.RunQueryResponse result =
-          new com.google.datastore.v1.RunQueryResponse(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.datastore.v1.RunQueryResponse result = new com.google.datastore.v1.RunQueryResponse(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
@@ -542,19 +490,24 @@ private void buildPartial0(com.google.datastore.v1.RunQueryResponse result) {
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.batch_ = batchBuilder_ == null ? batch_ : batchBuilder_.build();
+        result.batch_ = batchBuilder_ == null
+            ? batch_
+            : batchBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.query_ = queryBuilder_ == null ? query_ : queryBuilder_.build();
+        result.query_ = queryBuilder_ == null
+            ? query_
+            : queryBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.transaction_ = transaction_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.explainMetrics_ =
-            explainMetricsBuilder_ == null ? explainMetrics_ : explainMetricsBuilder_.build();
+        result.explainMetrics_ = explainMetricsBuilder_ == null
+            ? explainMetrics_
+            : explainMetricsBuilder_.build();
         to_bitField0_ |= 0x00000004;
       }
       result.bitField0_ |= to_bitField0_;
@@ -564,39 +517,38 @@ private void buildPartial0(com.google.datastore.v1.RunQueryResponse result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.RunQueryResponse) {
-        return mergeFrom((com.google.datastore.v1.RunQueryResponse) other);
+        return mergeFrom((com.google.datastore.v1.RunQueryResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -643,37 +595,38 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getBatchFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getQueryFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            case 42:
-              {
-                transaction_ = input.readBytes();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 42
-            case 74:
-              {
-                input.readMessage(getExplainMetricsFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 74
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getBatchFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getQueryFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            case 42: {
+              transaction_ = input.readBytes();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 42
+            case 74: {
+              input.readMessage(
+                  getExplainMetricsFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 74
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -683,52 +636,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private com.google.datastore.v1.QueryResultBatch batch_;
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.QueryResultBatch,
-            com.google.datastore.v1.QueryResultBatch.Builder,
-            com.google.datastore.v1.QueryResultBatchOrBuilder>
-        batchBuilder_;
+        com.google.datastore.v1.QueryResultBatch, com.google.datastore.v1.QueryResultBatch.Builder, com.google.datastore.v1.QueryResultBatchOrBuilder> batchBuilder_;
     /**
-     *
-     *
      * 
      * A batch of query results (always present).
      * 
* * .google.datastore.v1.QueryResultBatch batch = 1; - * * @return Whether the batch field is set. */ public boolean hasBatch() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * A batch of query results (always present).
      * 
* * .google.datastore.v1.QueryResultBatch batch = 1; - * * @return The batch. */ public com.google.datastore.v1.QueryResultBatch getBatch() { if (batchBuilder_ == null) { - return batch_ == null - ? com.google.datastore.v1.QueryResultBatch.getDefaultInstance() - : batch_; + return batch_ == null ? com.google.datastore.v1.QueryResultBatch.getDefaultInstance() : batch_; } else { return batchBuilder_.getMessage(); } } /** - * - * *
      * A batch of query results (always present).
      * 
@@ -749,15 +688,14 @@ public Builder setBatch(com.google.datastore.v1.QueryResultBatch value) { return this; } /** - * - * *
      * A batch of query results (always present).
      * 
* * .google.datastore.v1.QueryResultBatch batch = 1; */ - public Builder setBatch(com.google.datastore.v1.QueryResultBatch.Builder builderForValue) { + public Builder setBatch( + com.google.datastore.v1.QueryResultBatch.Builder builderForValue) { if (batchBuilder_ == null) { batch_ = builderForValue.build(); } else { @@ -768,8 +706,6 @@ public Builder setBatch(com.google.datastore.v1.QueryResultBatch.Builder builder return this; } /** - * - * *
      * A batch of query results (always present).
      * 
@@ -778,9 +714,9 @@ public Builder setBatch(com.google.datastore.v1.QueryResultBatch.Builder builder */ public Builder mergeBatch(com.google.datastore.v1.QueryResultBatch value) { if (batchBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) - && batch_ != null - && batch_ != com.google.datastore.v1.QueryResultBatch.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) && + batch_ != null && + batch_ != com.google.datastore.v1.QueryResultBatch.getDefaultInstance()) { getBatchBuilder().mergeFrom(value); } else { batch_ = value; @@ -795,8 +731,6 @@ public Builder mergeBatch(com.google.datastore.v1.QueryResultBatch value) { return this; } /** - * - * *
      * A batch of query results (always present).
      * 
@@ -814,8 +748,6 @@ public Builder clearBatch() { return this; } /** - * - * *
      * A batch of query results (always present).
      * 
@@ -828,8 +760,6 @@ public com.google.datastore.v1.QueryResultBatch.Builder getBatchBuilder() { return getBatchFieldBuilder().getBuilder(); } /** - * - * *
      * A batch of query results (always present).
      * 
@@ -840,14 +770,11 @@ public com.google.datastore.v1.QueryResultBatchOrBuilder getBatchOrBuilder() { if (batchBuilder_ != null) { return batchBuilder_.getMessageOrBuilder(); } else { - return batch_ == null - ? com.google.datastore.v1.QueryResultBatch.getDefaultInstance() - : batch_; + return batch_ == null ? + com.google.datastore.v1.QueryResultBatch.getDefaultInstance() : batch_; } } /** - * - * *
      * A batch of query results (always present).
      * 
@@ -855,17 +782,14 @@ public com.google.datastore.v1.QueryResultBatchOrBuilder getBatchOrBuilder() { * .google.datastore.v1.QueryResultBatch batch = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.QueryResultBatch, - com.google.datastore.v1.QueryResultBatch.Builder, - com.google.datastore.v1.QueryResultBatchOrBuilder> + com.google.datastore.v1.QueryResultBatch, com.google.datastore.v1.QueryResultBatch.Builder, com.google.datastore.v1.QueryResultBatchOrBuilder> getBatchFieldBuilder() { if (batchBuilder_ == null) { - batchBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.QueryResultBatch, - com.google.datastore.v1.QueryResultBatch.Builder, - com.google.datastore.v1.QueryResultBatchOrBuilder>( - getBatch(), getParentForChildren(), isClean()); + batchBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.QueryResultBatch, com.google.datastore.v1.QueryResultBatch.Builder, com.google.datastore.v1.QueryResultBatchOrBuilder>( + getBatch(), + getParentForChildren(), + isClean()); batch_ = null; } return batchBuilder_; @@ -873,33 +797,24 @@ public com.google.datastore.v1.QueryResultBatchOrBuilder getBatchOrBuilder() { private com.google.datastore.v1.Query query_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Query, - com.google.datastore.v1.Query.Builder, - com.google.datastore.v1.QueryOrBuilder> - queryBuilder_; + com.google.datastore.v1.Query, com.google.datastore.v1.Query.Builder, com.google.datastore.v1.QueryOrBuilder> queryBuilder_; /** - * - * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
* * .google.datastore.v1.Query query = 2; - * * @return Whether the query field is set. */ public boolean hasQuery() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
* * .google.datastore.v1.Query query = 2; - * * @return The query. */ public com.google.datastore.v1.Query getQuery() { @@ -910,8 +825,6 @@ public com.google.datastore.v1.Query getQuery() { } } /** - * - * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
@@ -932,15 +845,14 @@ public Builder setQuery(com.google.datastore.v1.Query value) { return this; } /** - * - * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
* * .google.datastore.v1.Query query = 2; */ - public Builder setQuery(com.google.datastore.v1.Query.Builder builderForValue) { + public Builder setQuery( + com.google.datastore.v1.Query.Builder builderForValue) { if (queryBuilder_ == null) { query_ = builderForValue.build(); } else { @@ -951,8 +863,6 @@ public Builder setQuery(com.google.datastore.v1.Query.Builder builderForValue) { return this; } /** - * - * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
@@ -961,9 +871,9 @@ public Builder setQuery(com.google.datastore.v1.Query.Builder builderForValue) { */ public Builder mergeQuery(com.google.datastore.v1.Query value) { if (queryBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && query_ != null - && query_ != com.google.datastore.v1.Query.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + query_ != null && + query_ != com.google.datastore.v1.Query.getDefaultInstance()) { getQueryBuilder().mergeFrom(value); } else { query_ = value; @@ -978,8 +888,6 @@ public Builder mergeQuery(com.google.datastore.v1.Query value) { return this; } /** - * - * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
@@ -997,8 +905,6 @@ public Builder clearQuery() { return this; } /** - * - * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
@@ -1011,8 +917,6 @@ public com.google.datastore.v1.Query.Builder getQueryBuilder() { return getQueryFieldBuilder().getBuilder(); } /** - * - * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
@@ -1023,12 +927,11 @@ public com.google.datastore.v1.QueryOrBuilder getQueryOrBuilder() { if (queryBuilder_ != null) { return queryBuilder_.getMessageOrBuilder(); } else { - return query_ == null ? com.google.datastore.v1.Query.getDefaultInstance() : query_; + return query_ == null ? + com.google.datastore.v1.Query.getDefaultInstance() : query_; } } /** - * - * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
@@ -1036,17 +939,14 @@ public com.google.datastore.v1.QueryOrBuilder getQueryOrBuilder() { * .google.datastore.v1.Query query = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Query, - com.google.datastore.v1.Query.Builder, - com.google.datastore.v1.QueryOrBuilder> + com.google.datastore.v1.Query, com.google.datastore.v1.Query.Builder, com.google.datastore.v1.QueryOrBuilder> getQueryFieldBuilder() { if (queryBuilder_ == null) { - queryBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Query, - com.google.datastore.v1.Query.Builder, - com.google.datastore.v1.QueryOrBuilder>( - getQuery(), getParentForChildren(), isClean()); + queryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.Query, com.google.datastore.v1.Query.Builder, com.google.datastore.v1.QueryOrBuilder>( + getQuery(), + getParentForChildren(), + isClean()); query_ = null; } return queryBuilder_; @@ -1054,8 +954,6 @@ public com.google.datastore.v1.QueryOrBuilder getQueryOrBuilder() { private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The identifier of the transaction that was started as part of this
      * RunQuery request.
@@ -1067,7 +965,6 @@ public com.google.datastore.v1.QueryOrBuilder getQueryOrBuilder() {
      * 
* * bytes transaction = 5; - * * @return The transaction. */ @java.lang.Override @@ -1075,8 +972,6 @@ public com.google.protobuf.ByteString getTransaction() { return transaction_; } /** - * - * *
      * The identifier of the transaction that was started as part of this
      * RunQuery request.
@@ -1088,22 +983,17 @@ public com.google.protobuf.ByteString getTransaction() {
      * 
* * bytes transaction = 5; - * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } transaction_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * The identifier of the transaction that was started as part of this
      * RunQuery request.
@@ -1115,7 +1005,6 @@ public Builder setTransaction(com.google.protobuf.ByteString value) {
      * 
* * bytes transaction = 5; - * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -1127,13 +1016,8 @@ public Builder clearTransaction() { private com.google.datastore.v1.ExplainMetrics explainMetrics_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ExplainMetrics, - com.google.datastore.v1.ExplainMetrics.Builder, - com.google.datastore.v1.ExplainMetricsOrBuilder> - explainMetricsBuilder_; + com.google.datastore.v1.ExplainMetrics, com.google.datastore.v1.ExplainMetrics.Builder, com.google.datastore.v1.ExplainMetricsOrBuilder> explainMetricsBuilder_; /** - * - * *
      * Query explain metrics. This is only present when the
      * [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options]
@@ -1141,15 +1025,12 @@ public Builder clearTransaction() {
      * 
* * .google.datastore.v1.ExplainMetrics explain_metrics = 9; - * * @return Whether the explainMetrics field is set. */ public boolean hasExplainMetrics() { return ((bitField0_ & 0x00000008) != 0); } /** - * - * *
      * Query explain metrics. This is only present when the
      * [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options]
@@ -1157,21 +1038,16 @@ public boolean hasExplainMetrics() {
      * 
* * .google.datastore.v1.ExplainMetrics explain_metrics = 9; - * * @return The explainMetrics. */ public com.google.datastore.v1.ExplainMetrics getExplainMetrics() { if (explainMetricsBuilder_ == null) { - return explainMetrics_ == null - ? com.google.datastore.v1.ExplainMetrics.getDefaultInstance() - : explainMetrics_; + return explainMetrics_ == null ? com.google.datastore.v1.ExplainMetrics.getDefaultInstance() : explainMetrics_; } else { return explainMetricsBuilder_.getMessage(); } } /** - * - * *
      * Query explain metrics. This is only present when the
      * [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options]
@@ -1194,8 +1070,6 @@ public Builder setExplainMetrics(com.google.datastore.v1.ExplainMetrics value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * Query explain metrics. This is only present when the
      * [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options]
@@ -1216,8 +1090,6 @@ public Builder setExplainMetrics(
       return this;
     }
     /**
-     *
-     *
      * 
      * Query explain metrics. This is only present when the
      * [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options]
@@ -1228,9 +1100,9 @@ public Builder setExplainMetrics(
      */
     public Builder mergeExplainMetrics(com.google.datastore.v1.ExplainMetrics value) {
       if (explainMetricsBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0)
-            && explainMetrics_ != null
-            && explainMetrics_ != com.google.datastore.v1.ExplainMetrics.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0) &&
+          explainMetrics_ != null &&
+          explainMetrics_ != com.google.datastore.v1.ExplainMetrics.getDefaultInstance()) {
           getExplainMetricsBuilder().mergeFrom(value);
         } else {
           explainMetrics_ = value;
@@ -1245,8 +1117,6 @@ public Builder mergeExplainMetrics(com.google.datastore.v1.ExplainMetrics value)
       return this;
     }
     /**
-     *
-     *
      * 
      * Query explain metrics. This is only present when the
      * [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options]
@@ -1266,8 +1136,6 @@ public Builder clearExplainMetrics() {
       return this;
     }
     /**
-     *
-     *
      * 
      * Query explain metrics. This is only present when the
      * [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options]
@@ -1282,8 +1150,6 @@ public com.google.datastore.v1.ExplainMetrics.Builder getExplainMetricsBuilder()
       return getExplainMetricsFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * Query explain metrics. This is only present when the
      * [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options]
@@ -1296,14 +1162,11 @@ public com.google.datastore.v1.ExplainMetricsOrBuilder getExplainMetricsOrBuilde
       if (explainMetricsBuilder_ != null) {
         return explainMetricsBuilder_.getMessageOrBuilder();
       } else {
-        return explainMetrics_ == null
-            ? com.google.datastore.v1.ExplainMetrics.getDefaultInstance()
-            : explainMetrics_;
+        return explainMetrics_ == null ?
+            com.google.datastore.v1.ExplainMetrics.getDefaultInstance() : explainMetrics_;
       }
     }
     /**
-     *
-     *
      * 
      * Query explain metrics. This is only present when the
      * [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options]
@@ -1313,24 +1176,21 @@ public com.google.datastore.v1.ExplainMetricsOrBuilder getExplainMetricsOrBuilde
      * .google.datastore.v1.ExplainMetrics explain_metrics = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.ExplainMetrics,
-            com.google.datastore.v1.ExplainMetrics.Builder,
-            com.google.datastore.v1.ExplainMetricsOrBuilder>
+        com.google.datastore.v1.ExplainMetrics, com.google.datastore.v1.ExplainMetrics.Builder, com.google.datastore.v1.ExplainMetricsOrBuilder> 
         getExplainMetricsFieldBuilder() {
       if (explainMetricsBuilder_ == null) {
-        explainMetricsBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.datastore.v1.ExplainMetrics,
-                com.google.datastore.v1.ExplainMetrics.Builder,
-                com.google.datastore.v1.ExplainMetricsOrBuilder>(
-                getExplainMetrics(), getParentForChildren(), isClean());
+        explainMetricsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.datastore.v1.ExplainMetrics, com.google.datastore.v1.ExplainMetrics.Builder, com.google.datastore.v1.ExplainMetricsOrBuilder>(
+                getExplainMetrics(),
+                getParentForChildren(),
+                isClean());
         explainMetrics_ = null;
       }
       return explainMetricsBuilder_;
     }
-
     @java.lang.Override
-    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(
+        final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1340,12 +1200,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
+
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.RunQueryResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.RunQueryResponse)
   private static final com.google.datastore.v1.RunQueryResponse DEFAULT_INSTANCE;
-
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.RunQueryResponse();
   }
@@ -1354,27 +1214,27 @@ public static com.google.datastore.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;
@@ -1389,4 +1249,6 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.RunQueryResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
+
 }
+
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponseOrBuilder.java
similarity index 81%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponseOrBuilder.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponseOrBuilder.java
index e3c0dbf8d..8817eaf97 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponseOrBuilder.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponseOrBuilder.java
@@ -1,56 +1,32 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/datastore.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface RunQueryResponseOrBuilder
-    extends
+public interface RunQueryResponseOrBuilder extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.RunQueryResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
-   *
-   *
    * 
    * A batch of query results (always present).
    * 
* * .google.datastore.v1.QueryResultBatch batch = 1; - * * @return Whether the batch field is set. */ boolean hasBatch(); /** - * - * *
    * A batch of query results (always present).
    * 
* * .google.datastore.v1.QueryResultBatch batch = 1; - * * @return The batch. */ com.google.datastore.v1.QueryResultBatch getBatch(); /** - * - * *
    * A batch of query results (always present).
    * 
@@ -60,32 +36,24 @@ public interface RunQueryResponseOrBuilder com.google.datastore.v1.QueryResultBatchOrBuilder getBatchOrBuilder(); /** - * - * *
    * The parsed form of the `GqlQuery` from the request, if it was set.
    * 
* * .google.datastore.v1.Query query = 2; - * * @return Whether the query field is set. */ boolean hasQuery(); /** - * - * *
    * The parsed form of the `GqlQuery` from the request, if it was set.
    * 
* * .google.datastore.v1.Query query = 2; - * * @return The query. */ com.google.datastore.v1.Query getQuery(); /** - * - * *
    * The parsed form of the `GqlQuery` from the request, if it was set.
    * 
@@ -95,8 +63,6 @@ public interface RunQueryResponseOrBuilder com.google.datastore.v1.QueryOrBuilder getQueryOrBuilder(); /** - * - * *
    * The identifier of the transaction that was started as part of this
    * RunQuery request.
@@ -108,14 +74,11 @@ public interface RunQueryResponseOrBuilder
    * 
* * bytes transaction = 5; - * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** - * - * *
    * Query explain metrics. This is only present when the
    * [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options]
@@ -123,13 +86,10 @@ public interface RunQueryResponseOrBuilder
    * 
* * .google.datastore.v1.ExplainMetrics explain_metrics = 9; - * * @return Whether the explainMetrics field is set. */ boolean hasExplainMetrics(); /** - * - * *
    * Query explain metrics. This is only present when the
    * [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options]
@@ -137,13 +97,10 @@ public interface RunQueryResponseOrBuilder
    * 
* * .google.datastore.v1.ExplainMetrics explain_metrics = 9; - * * @return The explainMetrics. */ com.google.datastore.v1.ExplainMetrics getExplainMetrics(); /** - * - * *
    * Query explain metrics. This is only present when the
    * [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options]
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptions.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptions.java
similarity index 72%
rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptions.java
rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptions.java
index 52c53d486..ebbbb29a7 100644
--- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptions.java
+++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptions.java
@@ -1,18 +1,3 @@
-/*
- * Copyright 2024 Google LLC
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/datastore.proto
 
@@ -20,8 +5,6 @@
 package com.google.datastore.v1;
 
 /**
- *
- *
  * 
  * Options for beginning a new transaction.
  *
@@ -34,113 +17,100 @@
  *
  * Protobuf type {@code google.datastore.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.datastore.v1.TransactionOptions)
     TransactionOptionsOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use TransactionOptions.newBuilder() to construct.
   private TransactionOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private TransactionOptions() {}
+  private TransactionOptions() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new TransactionOptions();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.datastore.v1.DatastoreProto
-        .internal_static_google_datastore_v1_TransactionOptions_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_TransactionOptions_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.v1.DatastoreProto
-        .internal_static_google_datastore_v1_TransactionOptions_fieldAccessorTable
+    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_TransactionOptions_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.v1.TransactionOptions.class,
-            com.google.datastore.v1.TransactionOptions.Builder.class);
+            com.google.datastore.v1.TransactionOptions.class, com.google.datastore.v1.TransactionOptions.Builder.class);
   }
 
-  public interface ReadWriteOrBuilder
-      extends
+  public interface ReadWriteOrBuilder extends
       // @@protoc_insertion_point(interface_extends:google.datastore.v1.TransactionOptions.ReadWrite)
       com.google.protobuf.MessageOrBuilder {
 
     /**
-     *
-     *
      * 
      * The transaction identifier of the transaction being retried.
      * 
* * bytes previous_transaction = 1; - * * @return The previousTransaction. */ com.google.protobuf.ByteString getPreviousTransaction(); } /** - * - * *
    * Options specific to read / write transactions.
    * 
* * Protobuf type {@code google.datastore.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.datastore.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() { previousTransaction_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadWrite(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_TransactionOptions_ReadWrite_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_TransactionOptions_ReadWrite_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_TransactionOptions_ReadWrite_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_TransactionOptions_ReadWrite_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.TransactionOptions.ReadWrite.class, - com.google.datastore.v1.TransactionOptions.ReadWrite.Builder.class); + com.google.datastore.v1.TransactionOptions.ReadWrite.class, com.google.datastore.v1.TransactionOptions.ReadWrite.Builder.class); } public static final int PREVIOUS_TRANSACTION_FIELD_NUMBER = 1; - private com.google.protobuf.ByteString previousTransaction_ = - com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString previousTransaction_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
      * The transaction identifier of the transaction being retried.
      * 
* * bytes previous_transaction = 1; - * * @return The previousTransaction. */ @java.lang.Override @@ -149,7 +119,6 @@ public com.google.protobuf.ByteString getPreviousTransaction() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -161,7 +130,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 (!previousTransaction_.isEmpty()) { output.writeBytes(1, previousTransaction_); } @@ -175,7 +145,8 @@ public int getSerializedSize() { size = 0; if (!previousTransaction_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, previousTransaction_); + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, previousTransaction_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -185,15 +156,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.datastore.v1.TransactionOptions.ReadWrite)) { return super.equals(obj); } - com.google.datastore.v1.TransactionOptions.ReadWrite other = - (com.google.datastore.v1.TransactionOptions.ReadWrite) obj; + com.google.datastore.v1.TransactionOptions.ReadWrite other = (com.google.datastore.v1.TransactionOptions.ReadWrite) obj; - if (!getPreviousTransaction().equals(other.getPreviousTransaction())) return false; + if (!getPreviousTransaction() + .equals(other.getPreviousTransaction())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -213,94 +184,89 @@ public int hashCode() { } public static com.google.datastore.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.datastore.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.datastore.v1.TransactionOptions.ReadWrite parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.v1.TransactionOptions.ReadWrite parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.v1.TransactionOptions.ReadWrite parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.datastore.v1.TransactionOptions.ReadWrite parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.datastore.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.datastore.v1.TransactionOptions.ReadWrite parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.TransactionOptions.ReadWrite parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.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.datastore.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.datastore.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.datastore.v1.TransactionOptions.ReadWrite prototype) { + public static Builder newBuilder(com.google.datastore.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 @@ -310,41 +276,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Options specific to read / write transactions.
      * 
* * Protobuf type {@code google.datastore.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.datastore.v1.TransactionOptions.ReadWrite) com.google.datastore.v1.TransactionOptions.ReadWriteOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_TransactionOptions_ReadWrite_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_TransactionOptions_ReadWrite_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_TransactionOptions_ReadWrite_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_TransactionOptions_ReadWrite_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.TransactionOptions.ReadWrite.class, - com.google.datastore.v1.TransactionOptions.ReadWrite.Builder.class); + com.google.datastore.v1.TransactionOptions.ReadWrite.class, com.google.datastore.v1.TransactionOptions.ReadWrite.Builder.class); } // Construct using com.google.datastore.v1.TransactionOptions.ReadWrite.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -354,9 +318,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_TransactionOptions_ReadWrite_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_TransactionOptions_ReadWrite_descriptor; } @java.lang.Override @@ -375,11 +339,8 @@ public com.google.datastore.v1.TransactionOptions.ReadWrite build() { @java.lang.Override public com.google.datastore.v1.TransactionOptions.ReadWrite buildPartial() { - com.google.datastore.v1.TransactionOptions.ReadWrite result = - new com.google.datastore.v1.TransactionOptions.ReadWrite(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.datastore.v1.TransactionOptions.ReadWrite result = new com.google.datastore.v1.TransactionOptions.ReadWrite(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -395,41 +356,38 @@ private void buildPartial0(com.google.datastore.v1.TransactionOptions.ReadWrite public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.TransactionOptions.ReadWrite) { - return mergeFrom((com.google.datastore.v1.TransactionOptions.ReadWrite) other); + return mergeFrom((com.google.datastore.v1.TransactionOptions.ReadWrite)other); } else { super.mergeFrom(other); return this; @@ -437,8 +395,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.datastore.v1.TransactionOptions.ReadWrite other) { - if (other == com.google.datastore.v1.TransactionOptions.ReadWrite.getDefaultInstance()) - return this; + if (other == com.google.datastore.v1.TransactionOptions.ReadWrite.getDefaultInstance()) return this; if (other.getPreviousTransaction() != com.google.protobuf.ByteString.EMPTY) { setPreviousTransaction(other.getPreviousTransaction()); } @@ -468,19 +425,17 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - previousTransaction_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + previousTransaction_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -490,20 +445,15 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; - private com.google.protobuf.ByteString previousTransaction_ = - com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString previousTransaction_ = com.google.protobuf.ByteString.EMPTY; /** - * - * *
        * The transaction identifier of the transaction being retried.
        * 
* * bytes previous_transaction = 1; - * * @return The previousTransaction. */ @java.lang.Override @@ -511,35 +461,27 @@ public com.google.protobuf.ByteString getPreviousTransaction() { return previousTransaction_; } /** - * - * *
        * The transaction identifier of the transaction being retried.
        * 
* * bytes previous_transaction = 1; - * * @param value The previousTransaction to set. * @return This builder for chaining. */ public Builder setPreviousTransaction(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } previousTransaction_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * The transaction identifier of the transaction being retried.
        * 
* * bytes previous_transaction = 1; - * * @return This builder for chaining. */ public Builder clearPreviousTransaction() { @@ -548,7 +490,6 @@ public Builder clearPreviousTransaction() { onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -561,12 +502,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.v1.TransactionOptions.ReadWrite) } // @@protoc_insertion_point(class_scope:google.datastore.v1.TransactionOptions.ReadWrite) private static final com.google.datastore.v1.TransactionOptions.ReadWrite DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.v1.TransactionOptions.ReadWrite(); } @@ -575,28 +516,27 @@ public static com.google.datastore.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; @@ -611,16 +551,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.TransactionOptions.ReadWrite getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } - public interface ReadOnlyOrBuilder - extends + public interface ReadOnlyOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.TransactionOptions.ReadOnly) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Reads entities at the given time.
      *
@@ -630,13 +568,10 @@ public interface ReadOnlyOrBuilder
      * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** - * - * *
      * Reads entities at the given time.
      *
@@ -646,13 +581,10 @@ public interface ReadOnlyOrBuilder
      * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** - * - * *
      * Reads entities at the given time.
      *
@@ -666,53 +598,48 @@ public interface ReadOnlyOrBuilder
     com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
   }
   /**
-   *
-   *
    * 
    * Options specific to read-only transactions.
    * 
* * Protobuf type {@code google.datastore.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.datastore.v1.TransactionOptions.ReadOnly) ReadOnlyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadOnly.newBuilder() to construct. private ReadOnly(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - - private ReadOnly() {} + private ReadOnly() { + } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new ReadOnly(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_TransactionOptions_ReadOnly_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_TransactionOptions_ReadOnly_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_TransactionOptions_ReadOnly_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_TransactionOptions_ReadOnly_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.TransactionOptions.ReadOnly.class, - com.google.datastore.v1.TransactionOptions.ReadOnly.Builder.class); + com.google.datastore.v1.TransactionOptions.ReadOnly.class, com.google.datastore.v1.TransactionOptions.ReadOnly.Builder.class); } private int bitField0_; public static final int READ_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp readTime_; /** - * - * *
      * Reads entities at the given time.
      *
@@ -722,7 +649,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return Whether the readTime field is set. */ @java.lang.Override @@ -730,8 +656,6 @@ public boolean hasReadTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
      * Reads entities at the given time.
      *
@@ -741,7 +665,6 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return The readTime. */ @java.lang.Override @@ -749,8 +672,6 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** - * - * *
      * Reads entities at the given time.
      *
@@ -767,7 +688,6 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
-
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -779,7 +699,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 (((bitField0_ & 0x00000001) != 0)) {
         output.writeMessage(1, getReadTime());
       }
@@ -793,7 +714,8 @@ public int getSerializedSize() {
 
       size = 0;
       if (((bitField0_ & 0x00000001) != 0)) {
-        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReadTime());
+        size += com.google.protobuf.CodedOutputStream
+          .computeMessageSize(1, getReadTime());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -803,17 +725,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.datastore.v1.TransactionOptions.ReadOnly)) {
         return super.equals(obj);
       }
-      com.google.datastore.v1.TransactionOptions.ReadOnly other =
-          (com.google.datastore.v1.TransactionOptions.ReadOnly) obj;
+      com.google.datastore.v1.TransactionOptions.ReadOnly other = (com.google.datastore.v1.TransactionOptions.ReadOnly) obj;
 
       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;
@@ -836,94 +758,89 @@ public int hashCode() {
     }
 
     public static com.google.datastore.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.datastore.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.datastore.v1.TransactionOptions.ReadOnly parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.datastore.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.datastore.v1.TransactionOptions.ReadOnly parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
-
     public static com.google.datastore.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.datastore.v1.TransactionOptions.ReadOnly parseFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+    public static com.google.datastore.v1.TransactionOptions.ReadOnly parseFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseWithIOException(PARSER, input);
     }
-
     public static com.google.datastore.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.datastore.v1.TransactionOptions.ReadOnly parseDelimitedFrom(
-        java.io.InputStream input) throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+    public static com.google.datastore.v1.TransactionOptions.ReadOnly parseDelimitedFrom(java.io.InputStream input)
+        throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3
+          .parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.datastore.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.datastore.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.datastore.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.datastore.v1.TransactionOptions.ReadOnly prototype) {
+    public static Builder newBuilder(com.google.datastore.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
@@ -933,32 +850,27 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
-     *
-     *
      * 
      * Options specific to read-only transactions.
      * 
* * Protobuf type {@code google.datastore.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.datastore.v1.TransactionOptions.ReadOnly) com.google.datastore.v1.TransactionOptions.ReadOnlyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_TransactionOptions_ReadOnly_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_TransactionOptions_ReadOnly_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_TransactionOptions_ReadOnly_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_TransactionOptions_ReadOnly_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.TransactionOptions.ReadOnly.class, - com.google.datastore.v1.TransactionOptions.ReadOnly.Builder.class); + com.google.datastore.v1.TransactionOptions.ReadOnly.class, com.google.datastore.v1.TransactionOptions.ReadOnly.Builder.class); } // Construct using com.google.datastore.v1.TransactionOptions.ReadOnly.newBuilder() @@ -966,17 +878,17 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getReadTimeFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -990,9 +902,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.datastore.v1.DatastoreProto - .internal_static_google_datastore_v1_TransactionOptions_ReadOnly_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_TransactionOptions_ReadOnly_descriptor; } @java.lang.Override @@ -1011,11 +923,8 @@ public com.google.datastore.v1.TransactionOptions.ReadOnly build() { @java.lang.Override public com.google.datastore.v1.TransactionOptions.ReadOnly buildPartial() { - com.google.datastore.v1.TransactionOptions.ReadOnly result = - new com.google.datastore.v1.TransactionOptions.ReadOnly(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.datastore.v1.TransactionOptions.ReadOnly result = new com.google.datastore.v1.TransactionOptions.ReadOnly(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1024,7 +933,9 @@ private void buildPartial0(com.google.datastore.v1.TransactionOptions.ReadOnly r int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build(); + result.readTime_ = readTimeBuilder_ == null + ? readTime_ + : readTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -1034,41 +945,38 @@ private void buildPartial0(com.google.datastore.v1.TransactionOptions.ReadOnly r public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.TransactionOptions.ReadOnly) { - return mergeFrom((com.google.datastore.v1.TransactionOptions.ReadOnly) other); + return mergeFrom((com.google.datastore.v1.TransactionOptions.ReadOnly)other); } else { super.mergeFrom(other); return this; @@ -1076,8 +984,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.datastore.v1.TransactionOptions.ReadOnly other) { - if (other == com.google.datastore.v1.TransactionOptions.ReadOnly.getDefaultInstance()) - return this; + if (other == com.google.datastore.v1.TransactionOptions.ReadOnly.getDefaultInstance()) return this; if (other.hasReadTime()) { mergeReadTime(other.getReadTime()); } @@ -1107,19 +1014,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + input.readMessage( + getReadTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1129,18 +1036,12 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; 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_; /** - * - * *
        * Reads entities at the given time.
        *
@@ -1150,15 +1051,12 @@ public Builder mergeFrom(
        * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return ((bitField0_ & 0x00000001) != 0); } /** - * - * *
        * Reads entities at the given time.
        *
@@ -1168,7 +1066,6 @@ public boolean hasReadTime() {
        * 
* * .google.protobuf.Timestamp read_time = 1; - * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1179,8 +1076,6 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** - * - * *
        * Reads entities at the given time.
        *
@@ -1205,8 +1100,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Reads entities at the given time.
        *
@@ -1217,7 +1110,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
        *
        * .google.protobuf.Timestamp read_time = 1;
        */
-      public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
+      public Builder setReadTime(
+          com.google.protobuf.Timestamp.Builder builderForValue) {
         if (readTimeBuilder_ == null) {
           readTime_ = builderForValue.build();
         } else {
@@ -1228,8 +1122,6 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
         return this;
       }
       /**
-       *
-       *
        * 
        * Reads entities at the given time.
        *
@@ -1242,9 +1134,9 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
        */
       public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
         if (readTimeBuilder_ == null) {
-          if (((bitField0_ & 0x00000001) != 0)
-              && readTime_ != null
-              && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000001) != 0) &&
+            readTime_ != null &&
+            readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
             getReadTimeBuilder().mergeFrom(value);
           } else {
             readTime_ = value;
@@ -1259,8 +1151,6 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
-       *
-       *
        * 
        * Reads entities at the given time.
        *
@@ -1282,8 +1172,6 @@ public Builder clearReadTime() {
         return this;
       }
       /**
-       *
-       *
        * 
        * Reads entities at the given time.
        *
@@ -1300,8 +1188,6 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
         return getReadTimeFieldBuilder().getBuilder();
       }
       /**
-       *
-       *
        * 
        * Reads entities at the given time.
        *
@@ -1316,12 +1202,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_;
         }
       }
       /**
-       *
-       *
        * 
        * Reads entities at the given time.
        *
@@ -1333,22 +1218,18 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
        * .google.protobuf.Timestamp read_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> 
           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) {
@@ -1361,12 +1242,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
+
       // @@protoc_insertion_point(builder_scope:google.datastore.v1.TransactionOptions.ReadOnly)
     }
 
     // @@protoc_insertion_point(class_scope:google.datastore.v1.TransactionOptions.ReadOnly)
     private static final com.google.datastore.v1.TransactionOptions.ReadOnly DEFAULT_INSTANCE;
-
     static {
       DEFAULT_INSTANCE = new com.google.datastore.v1.TransactionOptions.ReadOnly();
     }
@@ -1375,28 +1256,27 @@ public static com.google.datastore.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;
@@ -1411,22 +1291,19 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.datastore.v1.TransactionOptions.ReadOnly getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
+
   }
 
   private int modeCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object mode_;
-
   public enum ModeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     READ_WRITE(1),
     READ_ONLY(2),
     MODE_NOT_SET(0);
     private final int value;
-
     private ModeCase(int value) {
       this.value = value;
     }
@@ -1442,36 +1319,30 @@ public static ModeCase valueOf(int value) {
 
     public static ModeCase forNumber(int value) {
       switch (value) {
-        case 1:
-          return READ_WRITE;
-        case 2:
-          return READ_ONLY;
-        case 0:
-          return MODE_NOT_SET;
-        default:
-          return null;
+        case 1: return READ_WRITE;
+        case 2: return READ_ONLY;
+        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_WRITE_FIELD_NUMBER = 1;
   /**
-   *
-   *
    * 
    * The transaction should allow both reads and writes.
    * 
* * .google.datastore.v1.TransactionOptions.ReadWrite read_write = 1; - * * @return Whether the readWrite field is set. */ @java.lang.Override @@ -1479,26 +1350,21 @@ public boolean hasReadWrite() { return modeCase_ == 1; } /** - * - * *
    * The transaction should allow both reads and writes.
    * 
* * .google.datastore.v1.TransactionOptions.ReadWrite read_write = 1; - * * @return The readWrite. */ @java.lang.Override public com.google.datastore.v1.TransactionOptions.ReadWrite getReadWrite() { if (modeCase_ == 1) { - return (com.google.datastore.v1.TransactionOptions.ReadWrite) mode_; + return (com.google.datastore.v1.TransactionOptions.ReadWrite) mode_; } return com.google.datastore.v1.TransactionOptions.ReadWrite.getDefaultInstance(); } /** - * - * *
    * The transaction should allow both reads and writes.
    * 
@@ -1508,21 +1374,18 @@ public com.google.datastore.v1.TransactionOptions.ReadWrite getReadWrite() { @java.lang.Override public com.google.datastore.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteOrBuilder() { if (modeCase_ == 1) { - return (com.google.datastore.v1.TransactionOptions.ReadWrite) mode_; + return (com.google.datastore.v1.TransactionOptions.ReadWrite) mode_; } return com.google.datastore.v1.TransactionOptions.ReadWrite.getDefaultInstance(); } public static final int READ_ONLY_FIELD_NUMBER = 2; /** - * - * *
    * The transaction should only allow reads.
    * 
* * .google.datastore.v1.TransactionOptions.ReadOnly read_only = 2; - * * @return Whether the readOnly field is set. */ @java.lang.Override @@ -1530,26 +1393,21 @@ public boolean hasReadOnly() { return modeCase_ == 2; } /** - * - * *
    * The transaction should only allow reads.
    * 
* * .google.datastore.v1.TransactionOptions.ReadOnly read_only = 2; - * * @return The readOnly. */ @java.lang.Override public com.google.datastore.v1.TransactionOptions.ReadOnly getReadOnly() { if (modeCase_ == 2) { - return (com.google.datastore.v1.TransactionOptions.ReadOnly) mode_; + return (com.google.datastore.v1.TransactionOptions.ReadOnly) mode_; } return com.google.datastore.v1.TransactionOptions.ReadOnly.getDefaultInstance(); } /** - * - * *
    * The transaction should only allow reads.
    * 
@@ -1559,13 +1417,12 @@ public com.google.datastore.v1.TransactionOptions.ReadOnly getReadOnly() { @java.lang.Override public com.google.datastore.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrBuilder() { if (modeCase_ == 2) { - return (com.google.datastore.v1.TransactionOptions.ReadOnly) mode_; + return (com.google.datastore.v1.TransactionOptions.ReadOnly) mode_; } return com.google.datastore.v1.TransactionOptions.ReadOnly.getDefaultInstance(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1577,7 +1434,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (modeCase_ == 1) { output.writeMessage(1, (com.google.datastore.v1.TransactionOptions.ReadWrite) mode_); } @@ -1594,14 +1452,12 @@ public int getSerializedSize() { size = 0; if (modeCase_ == 1) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 1, (com.google.datastore.v1.TransactionOptions.ReadWrite) mode_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, (com.google.datastore.v1.TransactionOptions.ReadWrite) mode_); } if (modeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.datastore.v1.TransactionOptions.ReadOnly) mode_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, (com.google.datastore.v1.TransactionOptions.ReadOnly) mode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1611,21 +1467,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.datastore.v1.TransactionOptions)) { return super.equals(obj); } - com.google.datastore.v1.TransactionOptions other = - (com.google.datastore.v1.TransactionOptions) obj; + com.google.datastore.v1.TransactionOptions other = (com.google.datastore.v1.TransactionOptions) obj; if (!getModeCase().equals(other.getModeCase())) return false; switch (modeCase_) { case 1: - if (!getReadWrite().equals(other.getReadWrite())) return false; + if (!getReadWrite() + .equals(other.getReadWrite())) return false; break; case 2: - if (!getReadOnly().equals(other.getReadOnly())) return false; + if (!getReadOnly() + .equals(other.getReadOnly())) return false; break; case 0: default: @@ -1658,104 +1515,99 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.TransactionOptions parseFrom(java.nio.ByteBuffer data) + public static com.google.datastore.v1.TransactionOptions parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.v1.TransactionOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.v1.TransactionOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.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.datastore.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.datastore.v1.TransactionOptions parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.TransactionOptions parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.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.datastore.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.datastore.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.datastore.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 beginning a new transaction.
    *
@@ -1768,32 +1620,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.datastore.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.datastore.v1.TransactionOptions)
       com.google.datastore.v1.TransactionOptionsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_TransactionOptions_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_TransactionOptions_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_TransactionOptions_fieldAccessorTable
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_TransactionOptions_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.TransactionOptions.class,
-              com.google.datastore.v1.TransactionOptions.Builder.class);
+              com.google.datastore.v1.TransactionOptions.class, com.google.datastore.v1.TransactionOptions.Builder.class);
     }
 
     // Construct using com.google.datastore.v1.TransactionOptions.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1810,9 +1663,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.datastore.v1.DatastoreProto
-          .internal_static_google_datastore_v1_TransactionOptions_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_TransactionOptions_descriptor;
     }
 
     @java.lang.Override
@@ -1831,11 +1684,8 @@ public com.google.datastore.v1.TransactionOptions build() {
 
     @java.lang.Override
     public com.google.datastore.v1.TransactionOptions buildPartial() {
-      com.google.datastore.v1.TransactionOptions result =
-          new com.google.datastore.v1.TransactionOptions(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.datastore.v1.TransactionOptions result = new com.google.datastore.v1.TransactionOptions(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1848,10 +1698,12 @@ private void buildPartial0(com.google.datastore.v1.TransactionOptions result) {
     private void buildPartialOneofs(com.google.datastore.v1.TransactionOptions result) {
       result.modeCase_ = modeCase_;
       result.mode_ = this.mode_;
-      if (modeCase_ == 1 && readWriteBuilder_ != null) {
+      if (modeCase_ == 1 &&
+          readWriteBuilder_ != null) {
         result.mode_ = readWriteBuilder_.build();
       }
-      if (modeCase_ == 2 && readOnlyBuilder_ != null) {
+      if (modeCase_ == 2 &&
+          readOnlyBuilder_ != null) {
         result.mode_ = readOnlyBuilder_.build();
       }
     }
@@ -1860,39 +1712,38 @@ private void buildPartialOneofs(com.google.datastore.v1.TransactionOptions resul
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.TransactionOptions) {
-        return mergeFrom((com.google.datastore.v1.TransactionOptions) other);
+        return mergeFrom((com.google.datastore.v1.TransactionOptions)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1902,20 +1753,17 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.datastore.v1.TransactionOptions other) {
       if (other == com.google.datastore.v1.TransactionOptions.getDefaultInstance()) return this;
       switch (other.getModeCase()) {
-        case READ_WRITE:
-          {
-            mergeReadWrite(other.getReadWrite());
-            break;
-          }
-        case READ_ONLY:
-          {
-            mergeReadOnly(other.getReadOnly());
-            break;
-          }
-        case MODE_NOT_SET:
-          {
-            break;
-          }
+        case READ_WRITE: {
+          mergeReadWrite(other.getReadWrite());
+          break;
+        }
+        case READ_ONLY: {
+          mergeReadOnly(other.getReadOnly());
+          break;
+        }
+        case MODE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1943,25 +1791,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                input.readMessage(getReadWriteFieldBuilder().getBuilder(), extensionRegistry);
-                modeCase_ = 1;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getReadOnlyFieldBuilder().getBuilder(), extensionRegistry);
-                modeCase_ = 2;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              input.readMessage(
+                  getReadWriteFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              modeCase_ = 1;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getReadOnlyFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              modeCase_ = 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) {
@@ -1971,12 +1820,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() {
@@ -1989,19 +1838,13 @@ public Builder clearMode() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.TransactionOptions.ReadWrite,
-            com.google.datastore.v1.TransactionOptions.ReadWrite.Builder,
-            com.google.datastore.v1.TransactionOptions.ReadWriteOrBuilder>
-        readWriteBuilder_;
+        com.google.datastore.v1.TransactionOptions.ReadWrite, com.google.datastore.v1.TransactionOptions.ReadWrite.Builder, com.google.datastore.v1.TransactionOptions.ReadWriteOrBuilder> readWriteBuilder_;
     /**
-     *
-     *
      * 
      * The transaction should allow both reads and writes.
      * 
* * .google.datastore.v1.TransactionOptions.ReadWrite read_write = 1; - * * @return Whether the readWrite field is set. */ @java.lang.Override @@ -2009,14 +1852,11 @@ public boolean hasReadWrite() { return modeCase_ == 1; } /** - * - * *
      * The transaction should allow both reads and writes.
      * 
* * .google.datastore.v1.TransactionOptions.ReadWrite read_write = 1; - * * @return The readWrite. */ @java.lang.Override @@ -2034,8 +1874,6 @@ public com.google.datastore.v1.TransactionOptions.ReadWrite getReadWrite() { } } /** - * - * *
      * The transaction should allow both reads and writes.
      * 
@@ -2056,8 +1894,6 @@ public Builder setReadWrite(com.google.datastore.v1.TransactionOptions.ReadWrite return this; } /** - * - * *
      * The transaction should allow both reads and writes.
      * 
@@ -2076,8 +1912,6 @@ public Builder setReadWrite( return this; } /** - * - * *
      * The transaction should allow both reads and writes.
      * 
@@ -2086,13 +1920,10 @@ public Builder setReadWrite( */ public Builder mergeReadWrite(com.google.datastore.v1.TransactionOptions.ReadWrite value) { if (readWriteBuilder_ == null) { - if (modeCase_ == 1 - && mode_ != com.google.datastore.v1.TransactionOptions.ReadWrite.getDefaultInstance()) { - mode_ = - com.google.datastore.v1.TransactionOptions.ReadWrite.newBuilder( - (com.google.datastore.v1.TransactionOptions.ReadWrite) mode_) - .mergeFrom(value) - .buildPartial(); + if (modeCase_ == 1 && + mode_ != com.google.datastore.v1.TransactionOptions.ReadWrite.getDefaultInstance()) { + mode_ = com.google.datastore.v1.TransactionOptions.ReadWrite.newBuilder((com.google.datastore.v1.TransactionOptions.ReadWrite) mode_) + .mergeFrom(value).buildPartial(); } else { mode_ = value; } @@ -2108,8 +1939,6 @@ public Builder mergeReadWrite(com.google.datastore.v1.TransactionOptions.ReadWri return this; } /** - * - * *
      * The transaction should allow both reads and writes.
      * 
@@ -2133,8 +1962,6 @@ public Builder clearReadWrite() { return this; } /** - * - * *
      * The transaction should allow both reads and writes.
      * 
@@ -2145,8 +1972,6 @@ public com.google.datastore.v1.TransactionOptions.ReadWrite.Builder getReadWrite return getReadWriteFieldBuilder().getBuilder(); } /** - * - * *
      * The transaction should allow both reads and writes.
      * 
@@ -2165,8 +1990,6 @@ public com.google.datastore.v1.TransactionOptions.ReadWriteOrBuilder getReadWrit } } /** - * - * *
      * The transaction should allow both reads and writes.
      * 
@@ -2174,19 +1997,14 @@ public com.google.datastore.v1.TransactionOptions.ReadWriteOrBuilder getReadWrit * .google.datastore.v1.TransactionOptions.ReadWrite read_write = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.TransactionOptions.ReadWrite, - com.google.datastore.v1.TransactionOptions.ReadWrite.Builder, - com.google.datastore.v1.TransactionOptions.ReadWriteOrBuilder> + com.google.datastore.v1.TransactionOptions.ReadWrite, com.google.datastore.v1.TransactionOptions.ReadWrite.Builder, com.google.datastore.v1.TransactionOptions.ReadWriteOrBuilder> getReadWriteFieldBuilder() { if (readWriteBuilder_ == null) { if (!(modeCase_ == 1)) { mode_ = com.google.datastore.v1.TransactionOptions.ReadWrite.getDefaultInstance(); } - readWriteBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.TransactionOptions.ReadWrite, - com.google.datastore.v1.TransactionOptions.ReadWrite.Builder, - com.google.datastore.v1.TransactionOptions.ReadWriteOrBuilder>( + readWriteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.TransactionOptions.ReadWrite, com.google.datastore.v1.TransactionOptions.ReadWrite.Builder, com.google.datastore.v1.TransactionOptions.ReadWriteOrBuilder>( (com.google.datastore.v1.TransactionOptions.ReadWrite) mode_, getParentForChildren(), isClean()); @@ -2198,19 +2016,13 @@ public com.google.datastore.v1.TransactionOptions.ReadWriteOrBuilder getReadWrit } private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.TransactionOptions.ReadOnly, - com.google.datastore.v1.TransactionOptions.ReadOnly.Builder, - com.google.datastore.v1.TransactionOptions.ReadOnlyOrBuilder> - readOnlyBuilder_; + com.google.datastore.v1.TransactionOptions.ReadOnly, com.google.datastore.v1.TransactionOptions.ReadOnly.Builder, com.google.datastore.v1.TransactionOptions.ReadOnlyOrBuilder> readOnlyBuilder_; /** - * - * *
      * The transaction should only allow reads.
      * 
* * .google.datastore.v1.TransactionOptions.ReadOnly read_only = 2; - * * @return Whether the readOnly field is set. */ @java.lang.Override @@ -2218,14 +2030,11 @@ public boolean hasReadOnly() { return modeCase_ == 2; } /** - * - * *
      * The transaction should only allow reads.
      * 
* * .google.datastore.v1.TransactionOptions.ReadOnly read_only = 2; - * * @return The readOnly. */ @java.lang.Override @@ -2243,8 +2052,6 @@ public com.google.datastore.v1.TransactionOptions.ReadOnly getReadOnly() { } } /** - * - * *
      * The transaction should only allow reads.
      * 
@@ -2265,8 +2072,6 @@ public Builder setReadOnly(com.google.datastore.v1.TransactionOptions.ReadOnly v return this; } /** - * - * *
      * The transaction should only allow reads.
      * 
@@ -2285,8 +2090,6 @@ public Builder setReadOnly( return this; } /** - * - * *
      * The transaction should only allow reads.
      * 
@@ -2295,13 +2098,10 @@ public Builder setReadOnly( */ public Builder mergeReadOnly(com.google.datastore.v1.TransactionOptions.ReadOnly value) { if (readOnlyBuilder_ == null) { - if (modeCase_ == 2 - && mode_ != com.google.datastore.v1.TransactionOptions.ReadOnly.getDefaultInstance()) { - mode_ = - com.google.datastore.v1.TransactionOptions.ReadOnly.newBuilder( - (com.google.datastore.v1.TransactionOptions.ReadOnly) mode_) - .mergeFrom(value) - .buildPartial(); + if (modeCase_ == 2 && + mode_ != com.google.datastore.v1.TransactionOptions.ReadOnly.getDefaultInstance()) { + mode_ = com.google.datastore.v1.TransactionOptions.ReadOnly.newBuilder((com.google.datastore.v1.TransactionOptions.ReadOnly) mode_) + .mergeFrom(value).buildPartial(); } else { mode_ = value; } @@ -2317,8 +2117,6 @@ public Builder mergeReadOnly(com.google.datastore.v1.TransactionOptions.ReadOnly return this; } /** - * - * *
      * The transaction should only allow reads.
      * 
@@ -2342,8 +2140,6 @@ public Builder clearReadOnly() { return this; } /** - * - * *
      * The transaction should only allow reads.
      * 
@@ -2354,8 +2150,6 @@ public com.google.datastore.v1.TransactionOptions.ReadOnly.Builder getReadOnlyBu return getReadOnlyFieldBuilder().getBuilder(); } /** - * - * *
      * The transaction should only allow reads.
      * 
@@ -2374,8 +2168,6 @@ public com.google.datastore.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyO } } /** - * - * *
      * The transaction should only allow reads.
      * 
@@ -2383,19 +2175,14 @@ public com.google.datastore.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyO * .google.datastore.v1.TransactionOptions.ReadOnly read_only = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.TransactionOptions.ReadOnly, - com.google.datastore.v1.TransactionOptions.ReadOnly.Builder, - com.google.datastore.v1.TransactionOptions.ReadOnlyOrBuilder> + com.google.datastore.v1.TransactionOptions.ReadOnly, com.google.datastore.v1.TransactionOptions.ReadOnly.Builder, com.google.datastore.v1.TransactionOptions.ReadOnlyOrBuilder> getReadOnlyFieldBuilder() { if (readOnlyBuilder_ == null) { if (!(modeCase_ == 2)) { mode_ = com.google.datastore.v1.TransactionOptions.ReadOnly.getDefaultInstance(); } - readOnlyBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.TransactionOptions.ReadOnly, - com.google.datastore.v1.TransactionOptions.ReadOnly.Builder, - com.google.datastore.v1.TransactionOptions.ReadOnlyOrBuilder>( + readOnlyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.TransactionOptions.ReadOnly, com.google.datastore.v1.TransactionOptions.ReadOnly.Builder, com.google.datastore.v1.TransactionOptions.ReadOnlyOrBuilder>( (com.google.datastore.v1.TransactionOptions.ReadOnly) mode_, getParentForChildren(), isClean()); @@ -2405,9 +2192,9 @@ public com.google.datastore.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyO onChanged(); return readOnlyBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2417,12 +2204,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.v1.TransactionOptions) } // @@protoc_insertion_point(class_scope:google.datastore.v1.TransactionOptions) private static final com.google.datastore.v1.TransactionOptions DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.v1.TransactionOptions(); } @@ -2431,27 +2218,27 @@ public static com.google.datastore.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; @@ -2466,4 +2253,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.TransactionOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptionsOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptionsOrBuilder.java similarity index 72% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptionsOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptionsOrBuilder.java index 5abaa12a4..d2d756c81 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptionsOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptionsOrBuilder.java @@ -1,56 +1,32 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface TransactionOptionsOrBuilder - extends +public interface TransactionOptionsOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.TransactionOptions) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The transaction should allow both reads and writes.
    * 
* * .google.datastore.v1.TransactionOptions.ReadWrite read_write = 1; - * * @return Whether the readWrite field is set. */ boolean hasReadWrite(); /** - * - * *
    * The transaction should allow both reads and writes.
    * 
* * .google.datastore.v1.TransactionOptions.ReadWrite read_write = 1; - * * @return The readWrite. */ com.google.datastore.v1.TransactionOptions.ReadWrite getReadWrite(); /** - * - * *
    * The transaction should allow both reads and writes.
    * 
@@ -60,32 +36,24 @@ public interface TransactionOptionsOrBuilder com.google.datastore.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteOrBuilder(); /** - * - * *
    * The transaction should only allow reads.
    * 
* * .google.datastore.v1.TransactionOptions.ReadOnly read_only = 2; - * * @return Whether the readOnly field is set. */ boolean hasReadOnly(); /** - * - * *
    * The transaction should only allow reads.
    * 
* * .google.datastore.v1.TransactionOptions.ReadOnly read_only = 2; - * * @return The readOnly. */ com.google.datastore.v1.TransactionOptions.ReadOnly getReadOnly(); /** - * - * *
    * The transaction should only allow reads.
    * 
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Value.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Value.java similarity index 75% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Value.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Value.java index 1d63815b9..a7cd5a505 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Value.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Value.java @@ -1,18 +1,3 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/entity.proto @@ -20,8 +5,6 @@ package com.google.datastore.v1; /** - * - * *
  * A message that can hold any of the supported value types and associated
  * metadata.
@@ -29,45 +12,43 @@
  *
  * Protobuf type {@code google.datastore.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.datastore.v1.Value)
     ValueOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use Value.newBuilder() to construct.
   private Value(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
-  private Value() {}
+  private Value() {
+  }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Value();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
     return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Value_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.v1.EntityProto
-        .internal_static_google_datastore_v1_Value_fieldAccessorTable
+    return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Value_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.datastore.v1.Value.class, com.google.datastore.v1.Value.Builder.class);
   }
 
   private int valueTypeCase_ = 0;
-
   @SuppressWarnings("serial")
   private java.lang.Object valueType_;
-
   public enum ValueTypeCase
-      implements
-          com.google.protobuf.Internal.EnumLite,
+      implements com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     NULL_VALUE(11),
     BOOLEAN_VALUE(1),
@@ -82,7 +63,6 @@ public enum ValueTypeCase
     ARRAY_VALUE(9),
     VALUETYPE_NOT_SET(0);
     private final int value;
-
     private ValueTypeCase(int value) {
       this.value = value;
     }
@@ -98,68 +78,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 5:
-          return KEY_VALUE;
-        case 17:
-          return STRING_VALUE;
-        case 18:
-          return BLOB_VALUE;
-        case 8:
-          return GEO_POINT_VALUE;
-        case 6:
-          return ENTITY_VALUE;
-        case 9:
-          return ARRAY_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 5: return KEY_VALUE;
+        case 17: return STRING_VALUE;
+        case 18: return BLOB_VALUE;
+        case 8: return GEO_POINT_VALUE;
+        case 6: return ENTITY_VALUE;
+        case 9: return ARRAY_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() { @@ -169,20 +131,17 @@ public int getNullValueValue() { return 0; } /** - * - * *
    * A null value.
    * 
* * .google.protobuf.NullValue null_value = 11; - * * @return The nullValue. */ public com.google.protobuf.NullValue getNullValue() { if (valueTypeCase_ == 11) { - com.google.protobuf.NullValue result = - com.google.protobuf.NullValue.forNumber((java.lang.Integer) valueType_); + com.google.protobuf.NullValue result = com.google.protobuf.NullValue.forNumber( + (java.lang.Integer) valueType_); return result == null ? com.google.protobuf.NullValue.UNRECOGNIZED : result; } return com.google.protobuf.NullValue.NULL_VALUE; @@ -190,14 +149,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 @@ -205,14 +161,11 @@ public boolean hasBooleanValue() { return valueTypeCase_ == 1; } /** - * - * *
    * A boolean value.
    * 
* * bool boolean_value = 1; - * * @return The booleanValue. */ @java.lang.Override @@ -225,14 +178,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 @@ -240,14 +190,11 @@ public boolean hasIntegerValue() { return valueTypeCase_ == 2; } /** - * - * *
    * An integer value.
    * 
* * int64 integer_value = 2; - * * @return The integerValue. */ @java.lang.Override @@ -260,14 +207,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 @@ -275,14 +219,11 @@ public boolean hasDoubleValue() { return valueTypeCase_ == 3; } /** - * - * *
    * A double value.
    * 
* * double double_value = 3; - * * @return The doubleValue. */ @java.lang.Override @@ -295,8 +236,6 @@ public double getDoubleValue() { public static final int TIMESTAMP_VALUE_FIELD_NUMBER = 10; /** - * - * *
    * A timestamp value.
    * When stored in the Datastore, precise only to microseconds;
@@ -304,7 +243,6 @@ public double getDoubleValue() {
    * 
* * .google.protobuf.Timestamp timestamp_value = 10; - * * @return Whether the timestampValue field is set. */ @java.lang.Override @@ -312,8 +250,6 @@ public boolean hasTimestampValue() { return valueTypeCase_ == 10; } /** - * - * *
    * A timestamp value.
    * When stored in the Datastore, precise only to microseconds;
@@ -321,19 +257,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.
    * When stored in the Datastore, precise only to microseconds;
@@ -345,21 +278,18 @@ 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 KEY_VALUE_FIELD_NUMBER = 5;
   /**
-   *
-   *
    * 
    * A key value.
    * 
* * .google.datastore.v1.Key key_value = 5; - * * @return Whether the keyValue field is set. */ @java.lang.Override @@ -367,26 +297,21 @@ public boolean hasKeyValue() { return valueTypeCase_ == 5; } /** - * - * *
    * A key value.
    * 
* * .google.datastore.v1.Key key_value = 5; - * * @return The keyValue. */ @java.lang.Override public com.google.datastore.v1.Key getKeyValue() { if (valueTypeCase_ == 5) { - return (com.google.datastore.v1.Key) valueType_; + return (com.google.datastore.v1.Key) valueType_; } return com.google.datastore.v1.Key.getDefaultInstance(); } /** - * - * *
    * A key value.
    * 
@@ -396,15 +321,13 @@ public com.google.datastore.v1.Key getKeyValue() { @java.lang.Override public com.google.datastore.v1.KeyOrBuilder getKeyValueOrBuilder() { if (valueTypeCase_ == 5) { - return (com.google.datastore.v1.Key) valueType_; + return (com.google.datastore.v1.Key) valueType_; } return com.google.datastore.v1.Key.getDefaultInstance(); } public static final int STRING_VALUE_FIELD_NUMBER = 17; /** - * - * *
    * A UTF-8 encoded string value.
    * When `exclude_from_indexes` is false (it is indexed) , may have at most
@@ -412,15 +335,12 @@ public com.google.datastore.v1.KeyOrBuilder getKeyValueOrBuilder() {
    * 
* * string string_value = 17; - * * @return Whether the stringValue field is set. */ public boolean hasStringValue() { return valueTypeCase_ == 17; } /** - * - * *
    * A UTF-8 encoded string value.
    * When `exclude_from_indexes` is false (it is indexed) , may have at most
@@ -428,7 +348,6 @@ public boolean hasStringValue() {
    * 
* * string string_value = 17; - * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -439,7 +358,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; @@ -448,8 +368,6 @@ public java.lang.String getStringValue() { } } /** - * - * *
    * A UTF-8 encoded string value.
    * When `exclude_from_indexes` is false (it is indexed) , may have at most
@@ -457,17 +375,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; } @@ -479,8 +398,6 @@ public com.google.protobuf.ByteString getStringValueBytes() { public static final int BLOB_VALUE_FIELD_NUMBER = 18; /** - * - * *
    * A blob value.
    * May have at most 1,000,000 bytes.
@@ -489,7 +406,6 @@ public com.google.protobuf.ByteString getStringValueBytes() {
    * 
* * bytes blob_value = 18; - * * @return Whether the blobValue field is set. */ @java.lang.Override @@ -497,8 +413,6 @@ public boolean hasBlobValue() { return valueTypeCase_ == 18; } /** - * - * *
    * A blob value.
    * May have at most 1,000,000 bytes.
@@ -507,7 +421,6 @@ public boolean hasBlobValue() {
    * 
* * bytes blob_value = 18; - * * @return The blobValue. */ @java.lang.Override @@ -520,14 +433,11 @@ public com.google.protobuf.ByteString getBlobValue() { 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 @@ -535,26 +445,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.
    * 
@@ -564,15 +469,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 ENTITY_VALUE_FIELD_NUMBER = 6; /** - * - * *
    * An entity value.
    *
@@ -582,7 +485,6 @@ public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() {
    * 
* * .google.datastore.v1.Entity entity_value = 6; - * * @return Whether the entityValue field is set. */ @java.lang.Override @@ -590,8 +492,6 @@ public boolean hasEntityValue() { return valueTypeCase_ == 6; } /** - * - * *
    * An entity value.
    *
@@ -601,19 +501,16 @@ public boolean hasEntityValue() {
    * 
* * .google.datastore.v1.Entity entity_value = 6; - * * @return The entityValue. */ @java.lang.Override public com.google.datastore.v1.Entity getEntityValue() { if (valueTypeCase_ == 6) { - return (com.google.datastore.v1.Entity) valueType_; + return (com.google.datastore.v1.Entity) valueType_; } return com.google.datastore.v1.Entity.getDefaultInstance(); } /** - * - * *
    * An entity value.
    *
@@ -627,15 +524,13 @@ public com.google.datastore.v1.Entity getEntityValue() {
   @java.lang.Override
   public com.google.datastore.v1.EntityOrBuilder getEntityValueOrBuilder() {
     if (valueTypeCase_ == 6) {
-      return (com.google.datastore.v1.Entity) valueType_;
+       return (com.google.datastore.v1.Entity) valueType_;
     }
     return com.google.datastore.v1.Entity.getDefaultInstance();
   }
 
   public static final int ARRAY_VALUE_FIELD_NUMBER = 9;
   /**
-   *
-   *
    * 
    * An array value.
    * Cannot contain another array value.
@@ -644,7 +539,6 @@ public com.google.datastore.v1.EntityOrBuilder getEntityValueOrBuilder() {
    * 
* * .google.datastore.v1.ArrayValue array_value = 9; - * * @return Whether the arrayValue field is set. */ @java.lang.Override @@ -652,8 +546,6 @@ public boolean hasArrayValue() { return valueTypeCase_ == 9; } /** - * - * *
    * An array value.
    * Cannot contain another array value.
@@ -662,19 +554,16 @@ public boolean hasArrayValue() {
    * 
* * .google.datastore.v1.ArrayValue array_value = 9; - * * @return The arrayValue. */ @java.lang.Override public com.google.datastore.v1.ArrayValue getArrayValue() { if (valueTypeCase_ == 9) { - return (com.google.datastore.v1.ArrayValue) valueType_; + return (com.google.datastore.v1.ArrayValue) valueType_; } return com.google.datastore.v1.ArrayValue.getDefaultInstance(); } /** - * - * *
    * An array value.
    * Cannot contain another array value.
@@ -687,7 +576,7 @@ public com.google.datastore.v1.ArrayValue getArrayValue() {
   @java.lang.Override
   public com.google.datastore.v1.ArrayValueOrBuilder getArrayValueOrBuilder() {
     if (valueTypeCase_ == 9) {
-      return (com.google.datastore.v1.ArrayValue) valueType_;
+       return (com.google.datastore.v1.ArrayValue) valueType_;
     }
     return com.google.datastore.v1.ArrayValue.getDefaultInstance();
   }
@@ -695,14 +584,11 @@ public com.google.datastore.v1.ArrayValueOrBuilder getArrayValueOrBuilder() {
   public static final int MEANING_FIELD_NUMBER = 14;
   private int meaning_ = 0;
   /**
-   *
-   *
    * 
    * The `meaning` field should only be populated for backwards compatibility.
    * 
* * int32 meaning = 14; - * * @return The meaning. */ @java.lang.Override @@ -713,15 +599,12 @@ public int getMeaning() { public static final int EXCLUDE_FROM_INDEXES_FIELD_NUMBER = 19; private boolean excludeFromIndexes_ = false; /** - * - * *
    * If the value should be excluded from all indexes including those defined
    * explicitly.
    * 
* * bool exclude_from_indexes = 19; - * * @return The excludeFromIndexes. */ @java.lang.Override @@ -730,7 +613,6 @@ public boolean getExcludeFromIndexes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -742,15 +624,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) { output.writeMessage(5, (com.google.datastore.v1.Key) valueType_); @@ -777,7 +663,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io com.google.protobuf.GeneratedMessageV3.writeString(output, 17, valueType_); } if (valueTypeCase_ == 18) { - output.writeBytes(18, (com.google.protobuf.ByteString) valueType_); + output.writeBytes( + 18, (com.google.protobuf.ByteString) valueType_); } if (excludeFromIndexes_ != false) { output.writeBool(19, excludeFromIndexes_); @@ -792,63 +679,59 @@ 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.CodedOutputStream.computeMessageSize( - 5, (com.google.datastore.v1.Key) valueType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(5, (com.google.datastore.v1.Key) valueType_); } if (valueTypeCase_ == 6) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 6, (com.google.datastore.v1.Entity) valueType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(6, (com.google.datastore.v1.Entity) 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.datastore.v1.ArrayValue) valueType_); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(9, (com.google.datastore.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 (meaning_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(14, meaning_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(14, meaning_); } 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_); } if (excludeFromIndexes_ != false) { - size += com.google.protobuf.CodedOutputStream.computeBoolSize(19, excludeFromIndexes_); + size += com.google.protobuf.CodedOutputStream + .computeBoolSize(19, excludeFromIndexes_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -858,50 +741,63 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.datastore.v1.Value)) { return super.equals(obj); } com.google.datastore.v1.Value other = (com.google.datastore.v1.Value) obj; - if (getMeaning() != other.getMeaning()) return false; - if (getExcludeFromIndexes() != other.getExcludeFromIndexes()) return false; + if (getMeaning() + != other.getMeaning()) return false; + if (getExcludeFromIndexes() + != other.getExcludeFromIndexes()) return false; 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 5: - if (!getKeyValue().equals(other.getKeyValue())) return false; + if (!getKeyValue() + .equals(other.getKeyValue())) return false; break; case 17: - if (!getStringValue().equals(other.getStringValue())) return false; + if (!getStringValue() + .equals(other.getStringValue())) return false; break; case 18: - if (!getBlobValue().equals(other.getBlobValue())) return false; + if (!getBlobValue() + .equals(other.getBlobValue())) return false; break; case 8: - if (!getGeoPointValue().equals(other.getGeoPointValue())) return false; + if (!getGeoPointValue() + .equals(other.getGeoPointValue())) return false; break; case 6: - if (!getEntityValue().equals(other.getEntityValue())) return false; + if (!getEntityValue() + .equals(other.getEntityValue())) return false; break; case 9: - if (!getArrayValue().equals(other.getArrayValue())) return false; + if (!getArrayValue() + .equals(other.getArrayValue())) return false; break; case 0: default: @@ -920,7 +816,8 @@ public int hashCode() { hash = (37 * hash) + MEANING_FIELD_NUMBER; hash = (53 * hash) + getMeaning(); hash = (37 * hash) + EXCLUDE_FROM_INDEXES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExcludeFromIndexes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( + getExcludeFromIndexes()); switch (valueTypeCase_) { case 11: hash = (37 * hash) + NULL_VALUE_FIELD_NUMBER; @@ -928,18 +825,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; @@ -977,103 +874,99 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.Value parseFrom(java.nio.ByteBuffer data) + public static com.google.datastore.v1.Value parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.v1.Value parseFrom(com.google.protobuf.ByteString data) + public static com.google.datastore.v1.Value parseFrom( + com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.v1.Value parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.v1.Value parseFrom(com.google.protobuf.CodedInputStream input) + public static com.google.datastore.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.datastore.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.datastore.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 and associated
    * metadata.
@@ -1081,31 +974,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.datastore.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.datastore.v1.Value)
       com.google.datastore.v1.ValueOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.datastore.v1.EntityProto
-          .internal_static_google_datastore_v1_Value_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Value_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.EntityProto
-          .internal_static_google_datastore_v1_Value_fieldAccessorTable
+      return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Value_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.datastore.v1.Value.class, com.google.datastore.v1.Value.Builder.class);
     }
 
     // Construct using com.google.datastore.v1.Value.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1133,9 +1028,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.datastore.v1.EntityProto
-          .internal_static_google_datastore_v1_Value_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Value_descriptor;
     }
 
     @java.lang.Override
@@ -1155,9 +1050,7 @@ public com.google.datastore.v1.Value build() {
     @java.lang.Override
     public com.google.datastore.v1.Value buildPartial() {
       com.google.datastore.v1.Value result = new com.google.datastore.v1.Value(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1176,19 +1069,24 @@ private void buildPartial0(com.google.datastore.v1.Value result) {
     private void buildPartialOneofs(com.google.datastore.v1.Value result) {
       result.valueTypeCase_ = valueTypeCase_;
       result.valueType_ = this.valueType_;
-      if (valueTypeCase_ == 10 && timestampValueBuilder_ != null) {
+      if (valueTypeCase_ == 10 &&
+          timestampValueBuilder_ != null) {
         result.valueType_ = timestampValueBuilder_.build();
       }
-      if (valueTypeCase_ == 5 && keyValueBuilder_ != null) {
+      if (valueTypeCase_ == 5 &&
+          keyValueBuilder_ != null) {
         result.valueType_ = keyValueBuilder_.build();
       }
-      if (valueTypeCase_ == 8 && geoPointValueBuilder_ != null) {
+      if (valueTypeCase_ == 8 &&
+          geoPointValueBuilder_ != null) {
         result.valueType_ = geoPointValueBuilder_.build();
       }
-      if (valueTypeCase_ == 6 && entityValueBuilder_ != null) {
+      if (valueTypeCase_ == 6 &&
+          entityValueBuilder_ != null) {
         result.valueType_ = entityValueBuilder_.build();
       }
-      if (valueTypeCase_ == 9 && arrayValueBuilder_ != null) {
+      if (valueTypeCase_ == 9 &&
+          arrayValueBuilder_ != null) {
         result.valueType_ = arrayValueBuilder_.build();
       }
     }
@@ -1197,39 +1095,38 @@ private void buildPartialOneofs(com.google.datastore.v1.Value result) {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.Value) {
-        return mergeFrom((com.google.datastore.v1.Value) other);
+        return mergeFrom((com.google.datastore.v1.Value)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1245,67 +1142,55 @@ public Builder mergeFrom(com.google.datastore.v1.Value other) {
         setExcludeFromIndexes(other.getExcludeFromIndexes());
       }
       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 KEY_VALUE:
-          {
-            mergeKeyValue(other.getKeyValue());
-            break;
-          }
-        case STRING_VALUE:
-          {
-            valueTypeCase_ = 17;
-            valueType_ = other.valueType_;
-            onChanged();
-            break;
-          }
-        case BLOB_VALUE:
-          {
-            setBlobValue(other.getBlobValue());
-            break;
-          }
-        case GEO_POINT_VALUE:
-          {
-            mergeGeoPointValue(other.getGeoPointValue());
-            break;
-          }
-        case ENTITY_VALUE:
-          {
-            mergeEntityValue(other.getEntityValue());
-            break;
-          }
-        case ARRAY_VALUE:
-          {
-            mergeArrayValue(other.getArrayValue());
-            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 KEY_VALUE: {
+          mergeKeyValue(other.getKeyValue());
+          break;
+        }
+        case STRING_VALUE: {
+          valueTypeCase_ = 17;
+          valueType_ = other.valueType_;
+          onChanged();
+          break;
+        }
+        case BLOB_VALUE: {
+          setBlobValue(other.getBlobValue());
+          break;
+        }
+        case GEO_POINT_VALUE: {
+          mergeGeoPointValue(other.getGeoPointValue());
+          break;
+        }
+        case ENTITY_VALUE: {
+          mergeEntityValue(other.getEntityValue());
+          break;
+        }
+        case ARRAY_VALUE: {
+          mergeArrayValue(other.getArrayValue());
+          break;
+        }
+        case VALUETYPE_NOT_SET: {
+          break;
+        }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1333,93 +1218,89 @@ 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:
-              {
-                input.readMessage(getKeyValueFieldBuilder().getBuilder(), extensionRegistry);
-                valueTypeCase_ = 5;
-                break;
-              } // case 42
-            case 50:
-              {
-                input.readMessage(getEntityValueFieldBuilder().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 112:
-              {
-                meaning_ = input.readInt32();
-                bitField0_ |= 0x00000800;
-                break;
-              } // case 112
-            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
-            case 152:
-              {
-                excludeFromIndexes_ = input.readBool();
-                bitField0_ |= 0x00001000;
-                break;
-              } // case 152
-            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: {
+              input.readMessage(
+                  getKeyValueFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              valueTypeCase_ = 5;
+              break;
+            } // case 42
+            case 50: {
+              input.readMessage(
+                  getEntityValueFieldBuilder().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 112: {
+              meaning_ = input.readInt32();
+              bitField0_ |= 0x00000800;
+              break;
+            } // case 112
+            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
+            case 152: {
+              excludeFromIndexes_ = input.readBool();
+              bitField0_ |= 0x00001000;
+              break;
+            } // case 152
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1429,12 +1310,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() {
@@ -1447,14 +1328,11 @@ public Builder clearValueType() {
     private int bitField0_;
 
     /**
-     *
-     *
      * 
      * A null value.
      * 
* * .google.protobuf.NullValue null_value = 11; - * * @return Whether the nullValue field is set. */ @java.lang.Override @@ -1462,14 +1340,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 @@ -1480,14 +1355,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. */ @@ -1498,34 +1370,28 @@ public Builder setNullValueValue(int value) { return this; } /** - * - * *
      * A null value.
      * 
* * .google.protobuf.NullValue null_value = 11; - * * @return The nullValue. */ @java.lang.Override public com.google.protobuf.NullValue getNullValue() { if (valueTypeCase_ == 11) { - com.google.protobuf.NullValue result = - com.google.protobuf.NullValue.forNumber((java.lang.Integer) valueType_); + com.google.protobuf.NullValue result = com.google.protobuf.NullValue.forNumber( + (java.lang.Integer) valueType_); return result == null ? com.google.protobuf.NullValue.UNRECOGNIZED : result; } return com.google.protobuf.NullValue.NULL_VALUE; } /** - * - * *
      * A null value.
      * 
* * .google.protobuf.NullValue null_value = 11; - * * @param value The nullValue to set. * @return This builder for chaining. */ @@ -1539,14 +1405,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() { @@ -1559,28 +1422,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() { @@ -1590,14 +1447,11 @@ public boolean getBooleanValue() { return false; } /** - * - * *
      * A boolean value.
      * 
* * bool boolean_value = 1; - * * @param value The booleanValue to set. * @return This builder for chaining. */ @@ -1609,14 +1463,11 @@ public Builder setBooleanValue(boolean value) { return this; } /** - * - * *
      * A boolean value.
      * 
* * bool boolean_value = 1; - * * @return This builder for chaining. */ public Builder clearBooleanValue() { @@ -1629,28 +1480,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() { @@ -1660,14 +1505,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 +1521,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 +1538,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 +1563,11 @@ public double getDoubleValue() { return 0D; } /** - * - * *
      * A double value.
      * 
* * double double_value = 3; - * * @param value The doubleValue to set. * @return This builder for chaining. */ @@ -1749,14 +1579,11 @@ public Builder setDoubleValue(double value) { return this; } /** - * - * *
      * A double value.
      * 
* * double double_value = 3; - * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -1769,13 +1596,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.
      * When stored in the Datastore, precise only to microseconds;
@@ -1783,7 +1605,6 @@ public Builder clearDoubleValue() {
      * 
* * .google.protobuf.Timestamp timestamp_value = 10; - * * @return Whether the timestampValue field is set. */ @java.lang.Override @@ -1791,8 +1612,6 @@ public boolean hasTimestampValue() { return valueTypeCase_ == 10; } /** - * - * *
      * A timestamp value.
      * When stored in the Datastore, precise only to microseconds;
@@ -1800,7 +1619,6 @@ public boolean hasTimestampValue() {
      * 
* * .google.protobuf.Timestamp timestamp_value = 10; - * * @return The timestampValue. */ @java.lang.Override @@ -1818,8 +1636,6 @@ public com.google.protobuf.Timestamp getTimestampValue() { } } /** - * - * *
      * A timestamp value.
      * When stored in the Datastore, precise only to microseconds;
@@ -1842,8 +1658,6 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A timestamp value.
      * When stored in the Datastore, precise only to microseconds;
@@ -1852,7 +1666,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();
@@ -1863,8 +1678,6 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp.Builder builderFo
       return this;
     }
     /**
-     *
-     *
      * 
      * A timestamp value.
      * When stored in the Datastore, precise only to microseconds;
@@ -1875,12 +1688,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;
         }
@@ -1896,8 +1707,6 @@ public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * A timestamp value.
      * When stored in the Datastore, precise only to microseconds;
@@ -1923,8 +1732,6 @@ public Builder clearTimestampValue() {
       return this;
     }
     /**
-     *
-     *
      * 
      * A timestamp value.
      * When stored in the Datastore, precise only to microseconds;
@@ -1937,8 +1744,6 @@ public com.google.protobuf.Timestamp.Builder getTimestampValueBuilder() {
       return getTimestampValueFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * A timestamp value.
      * When stored in the Datastore, precise only to microseconds;
@@ -1959,8 +1764,6 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * A timestamp value.
      * When stored in the Datastore, precise only to microseconds;
@@ -1970,20 +1773,17 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
      * .google.protobuf.Timestamp timestamp_value = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp,
-            com.google.protobuf.Timestamp.Builder,
-            com.google.protobuf.TimestampOrBuilder>
+        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
         getTimestampValueFieldBuilder() {
       if (timestampValueBuilder_ == null) {
         if (!(valueTypeCase_ == 10)) {
           valueType_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        timestampValueBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.protobuf.Timestamp,
-                com.google.protobuf.Timestamp.Builder,
-                com.google.protobuf.TimestampOrBuilder>(
-                (com.google.protobuf.Timestamp) valueType_, getParentForChildren(), isClean());
+        timestampValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+                (com.google.protobuf.Timestamp) valueType_,
+                getParentForChildren(),
+                isClean());
         valueType_ = null;
       }
       valueTypeCase_ = 10;
@@ -1992,19 +1792,13 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.Key,
-            com.google.datastore.v1.Key.Builder,
-            com.google.datastore.v1.KeyOrBuilder>
-        keyValueBuilder_;
+        com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> keyValueBuilder_;
     /**
-     *
-     *
      * 
      * A key value.
      * 
* * .google.datastore.v1.Key key_value = 5; - * * @return Whether the keyValue field is set. */ @java.lang.Override @@ -2012,14 +1806,11 @@ public boolean hasKeyValue() { return valueTypeCase_ == 5; } /** - * - * *
      * A key value.
      * 
* * .google.datastore.v1.Key key_value = 5; - * * @return The keyValue. */ @java.lang.Override @@ -2037,8 +1828,6 @@ public com.google.datastore.v1.Key getKeyValue() { } } /** - * - * *
      * A key value.
      * 
@@ -2059,15 +1848,14 @@ public Builder setKeyValue(com.google.datastore.v1.Key value) { return this; } /** - * - * *
      * A key value.
      * 
* * .google.datastore.v1.Key key_value = 5; */ - public Builder setKeyValue(com.google.datastore.v1.Key.Builder builderForValue) { + public Builder setKeyValue( + com.google.datastore.v1.Key.Builder builderForValue) { if (keyValueBuilder_ == null) { valueType_ = builderForValue.build(); onChanged(); @@ -2078,8 +1866,6 @@ public Builder setKeyValue(com.google.datastore.v1.Key.Builder builderForValue) return this; } /** - * - * *
      * A key value.
      * 
@@ -2088,11 +1874,10 @@ public Builder setKeyValue(com.google.datastore.v1.Key.Builder builderForValue) */ public Builder mergeKeyValue(com.google.datastore.v1.Key value) { if (keyValueBuilder_ == null) { - if (valueTypeCase_ == 5 && valueType_ != com.google.datastore.v1.Key.getDefaultInstance()) { - valueType_ = - com.google.datastore.v1.Key.newBuilder((com.google.datastore.v1.Key) valueType_) - .mergeFrom(value) - .buildPartial(); + if (valueTypeCase_ == 5 && + valueType_ != com.google.datastore.v1.Key.getDefaultInstance()) { + valueType_ = com.google.datastore.v1.Key.newBuilder((com.google.datastore.v1.Key) valueType_) + .mergeFrom(value).buildPartial(); } else { valueType_ = value; } @@ -2108,8 +1893,6 @@ public Builder mergeKeyValue(com.google.datastore.v1.Key value) { return this; } /** - * - * *
      * A key value.
      * 
@@ -2133,8 +1916,6 @@ public Builder clearKeyValue() { return this; } /** - * - * *
      * A key value.
      * 
@@ -2145,8 +1926,6 @@ public com.google.datastore.v1.Key.Builder getKeyValueBuilder() { return getKeyValueFieldBuilder().getBuilder(); } /** - * - * *
      * A key value.
      * 
@@ -2165,8 +1944,6 @@ public com.google.datastore.v1.KeyOrBuilder getKeyValueOrBuilder() { } } /** - * - * *
      * A key value.
      * 
@@ -2174,20 +1951,17 @@ public com.google.datastore.v1.KeyOrBuilder getKeyValueOrBuilder() { * .google.datastore.v1.Key key_value = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Key, - com.google.datastore.v1.Key.Builder, - com.google.datastore.v1.KeyOrBuilder> + com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> getKeyValueFieldBuilder() { if (keyValueBuilder_ == null) { if (!(valueTypeCase_ == 5)) { valueType_ = com.google.datastore.v1.Key.getDefaultInstance(); } - keyValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Key, - com.google.datastore.v1.Key.Builder, - com.google.datastore.v1.KeyOrBuilder>( - (com.google.datastore.v1.Key) valueType_, getParentForChildren(), isClean()); + keyValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder>( + (com.google.datastore.v1.Key) valueType_, + getParentForChildren(), + isClean()); valueType_ = null; } valueTypeCase_ = 5; @@ -2196,8 +1970,6 @@ public com.google.datastore.v1.KeyOrBuilder getKeyValueOrBuilder() { } /** - * - * *
      * A UTF-8 encoded string value.
      * When `exclude_from_indexes` is false (it is indexed) , may have at most
@@ -2205,7 +1977,6 @@ public com.google.datastore.v1.KeyOrBuilder getKeyValueOrBuilder() {
      * 
* * string string_value = 17; - * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -2213,8 +1984,6 @@ public boolean hasStringValue() { return valueTypeCase_ == 17; } /** - * - * *
      * A UTF-8 encoded string value.
      * When `exclude_from_indexes` is false (it is indexed) , may have at most
@@ -2222,7 +1991,6 @@ public boolean hasStringValue() {
      * 
* * string string_value = 17; - * * @return The stringValue. */ @java.lang.Override @@ -2232,7 +2000,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; @@ -2243,8 +2012,6 @@ public java.lang.String getStringValue() { } } /** - * - * *
      * A UTF-8 encoded string value.
      * When `exclude_from_indexes` is false (it is indexed) , may have at most
@@ -2252,18 +2019,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; } @@ -2273,8 +2041,6 @@ public com.google.protobuf.ByteString getStringValueBytes() { } } /** - * - * *
      * A UTF-8 encoded string value.
      * When `exclude_from_indexes` is false (it is indexed) , may have at most
@@ -2282,22 +2048,18 @@ public com.google.protobuf.ByteString getStringValueBytes() {
      * 
* * string string_value = 17; - * * @param value The stringValue to set. * @return This builder for chaining. */ - public Builder setStringValue(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStringValue( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } valueTypeCase_ = 17; valueType_ = value; onChanged(); return this; } /** - * - * *
      * A UTF-8 encoded string value.
      * When `exclude_from_indexes` is false (it is indexed) , may have at most
@@ -2305,7 +2067,6 @@ public Builder setStringValue(java.lang.String value) {
      * 
* * string string_value = 17; - * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -2317,8 +2078,6 @@ public Builder clearStringValue() { return this; } /** - * - * *
      * A UTF-8 encoded string value.
      * When `exclude_from_indexes` is false (it is indexed) , may have at most
@@ -2326,14 +2085,12 @@ public Builder clearStringValue() {
      * 
* * string string_value = 17; - * * @param value The bytes for stringValue to set. * @return This builder for chaining. */ - public Builder setStringValueBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setStringValueBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); valueTypeCase_ = 17; valueType_ = value; @@ -2342,8 +2099,6 @@ public Builder setStringValueBytes(com.google.protobuf.ByteString value) { } /** - * - * *
      * A blob value.
      * May have at most 1,000,000 bytes.
@@ -2352,15 +2107,12 @@ public Builder setStringValueBytes(com.google.protobuf.ByteString value) {
      * 
* * bytes blob_value = 18; - * * @return Whether the blobValue field is set. */ public boolean hasBlobValue() { return valueTypeCase_ == 18; } /** - * - * *
      * A blob value.
      * May have at most 1,000,000 bytes.
@@ -2369,7 +2121,6 @@ public boolean hasBlobValue() {
      * 
* * bytes blob_value = 18; - * * @return The blobValue. */ public com.google.protobuf.ByteString getBlobValue() { @@ -2379,8 +2130,6 @@ public com.google.protobuf.ByteString getBlobValue() { return com.google.protobuf.ByteString.EMPTY; } /** - * - * *
      * A blob value.
      * May have at most 1,000,000 bytes.
@@ -2389,22 +2138,17 @@ public com.google.protobuf.ByteString getBlobValue() {
      * 
* * bytes blob_value = 18; - * * @param value The blobValue to set. * @return This builder for chaining. */ public Builder setBlobValue(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + if (value == null) { throw new NullPointerException(); } valueTypeCase_ = 18; valueType_ = value; onChanged(); return this; } /** - * - * *
      * A blob value.
      * May have at most 1,000,000 bytes.
@@ -2413,7 +2157,6 @@ public Builder setBlobValue(com.google.protobuf.ByteString value) {
      * 
* * bytes blob_value = 18; - * * @return This builder for chaining. */ public Builder clearBlobValue() { @@ -2426,17 +2169,13 @@ public Builder clearBlobValue() { } 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 @@ -2444,14 +2183,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 @@ -2469,8 +2205,6 @@ public com.google.type.LatLng getGeoPointValue() { } } /** - * - * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2491,15 +2225,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(); @@ -2510,8 +2243,6 @@ public Builder setGeoPointValue(com.google.type.LatLng.Builder builderForValue) return this; } /** - * - * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2520,11 +2251,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; } @@ -2540,8 +2270,6 @@ public Builder mergeGeoPointValue(com.google.type.LatLng value) { return this; } /** - * - * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2565,8 +2293,6 @@ public Builder clearGeoPointValue() { return this; } /** - * - * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2577,8 +2303,6 @@ public com.google.type.LatLng.Builder getGeoPointValueBuilder() { return getGeoPointValueFieldBuilder().getBuilder(); } /** - * - * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2597,8 +2321,6 @@ public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() { } } /** - * - * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2606,18 +2328,17 @@ public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() { * .google.type.LatLng geo_point_value = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> getGeoPointValueFieldBuilder() { if (geoPointValueBuilder_ == null) { if (!(valueTypeCase_ == 8)) { valueType_ = com.google.type.LatLng.getDefaultInstance(); } - geoPointValueBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, - com.google.type.LatLng.Builder, - com.google.type.LatLngOrBuilder>( - (com.google.type.LatLng) valueType_, getParentForChildren(), isClean()); + geoPointValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>( + (com.google.type.LatLng) valueType_, + getParentForChildren(), + isClean()); valueType_ = null; } valueTypeCase_ = 8; @@ -2626,13 +2347,8 @@ public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Entity, - com.google.datastore.v1.Entity.Builder, - com.google.datastore.v1.EntityOrBuilder> - entityValueBuilder_; + com.google.datastore.v1.Entity, com.google.datastore.v1.Entity.Builder, com.google.datastore.v1.EntityOrBuilder> entityValueBuilder_; /** - * - * *
      * An entity value.
      *
@@ -2642,7 +2358,6 @@ public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() {
      * 
* * .google.datastore.v1.Entity entity_value = 6; - * * @return Whether the entityValue field is set. */ @java.lang.Override @@ -2650,8 +2365,6 @@ public boolean hasEntityValue() { return valueTypeCase_ == 6; } /** - * - * *
      * An entity value.
      *
@@ -2661,7 +2374,6 @@ public boolean hasEntityValue() {
      * 
* * .google.datastore.v1.Entity entity_value = 6; - * * @return The entityValue. */ @java.lang.Override @@ -2679,8 +2391,6 @@ public com.google.datastore.v1.Entity getEntityValue() { } } /** - * - * *
      * An entity value.
      *
@@ -2705,8 +2415,6 @@ public Builder setEntityValue(com.google.datastore.v1.Entity value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An entity value.
      *
@@ -2717,7 +2425,8 @@ public Builder setEntityValue(com.google.datastore.v1.Entity value) {
      *
      * .google.datastore.v1.Entity entity_value = 6;
      */
-    public Builder setEntityValue(com.google.datastore.v1.Entity.Builder builderForValue) {
+    public Builder setEntityValue(
+        com.google.datastore.v1.Entity.Builder builderForValue) {
       if (entityValueBuilder_ == null) {
         valueType_ = builderForValue.build();
         onChanged();
@@ -2728,8 +2437,6 @@ public Builder setEntityValue(com.google.datastore.v1.Entity.Builder builderForV
       return this;
     }
     /**
-     *
-     *
      * 
      * An entity value.
      *
@@ -2742,12 +2449,10 @@ public Builder setEntityValue(com.google.datastore.v1.Entity.Builder builderForV
      */
     public Builder mergeEntityValue(com.google.datastore.v1.Entity value) {
       if (entityValueBuilder_ == null) {
-        if (valueTypeCase_ == 6
-            && valueType_ != com.google.datastore.v1.Entity.getDefaultInstance()) {
-          valueType_ =
-              com.google.datastore.v1.Entity.newBuilder((com.google.datastore.v1.Entity) valueType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (valueTypeCase_ == 6 &&
+            valueType_ != com.google.datastore.v1.Entity.getDefaultInstance()) {
+          valueType_ = com.google.datastore.v1.Entity.newBuilder((com.google.datastore.v1.Entity) valueType_)
+              .mergeFrom(value).buildPartial();
         } else {
           valueType_ = value;
         }
@@ -2763,8 +2468,6 @@ public Builder mergeEntityValue(com.google.datastore.v1.Entity value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An entity value.
      *
@@ -2792,8 +2495,6 @@ public Builder clearEntityValue() {
       return this;
     }
     /**
-     *
-     *
      * 
      * An entity value.
      *
@@ -2808,8 +2509,6 @@ public com.google.datastore.v1.Entity.Builder getEntityValueBuilder() {
       return getEntityValueFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * An entity value.
      *
@@ -2832,8 +2531,6 @@ public com.google.datastore.v1.EntityOrBuilder getEntityValueOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * An entity value.
      *
@@ -2845,20 +2542,17 @@ public com.google.datastore.v1.EntityOrBuilder getEntityValueOrBuilder() {
      * .google.datastore.v1.Entity entity_value = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.Entity,
-            com.google.datastore.v1.Entity.Builder,
-            com.google.datastore.v1.EntityOrBuilder>
+        com.google.datastore.v1.Entity, com.google.datastore.v1.Entity.Builder, com.google.datastore.v1.EntityOrBuilder> 
         getEntityValueFieldBuilder() {
       if (entityValueBuilder_ == null) {
         if (!(valueTypeCase_ == 6)) {
           valueType_ = com.google.datastore.v1.Entity.getDefaultInstance();
         }
-        entityValueBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.datastore.v1.Entity,
-                com.google.datastore.v1.Entity.Builder,
-                com.google.datastore.v1.EntityOrBuilder>(
-                (com.google.datastore.v1.Entity) valueType_, getParentForChildren(), isClean());
+        entityValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.datastore.v1.Entity, com.google.datastore.v1.Entity.Builder, com.google.datastore.v1.EntityOrBuilder>(
+                (com.google.datastore.v1.Entity) valueType_,
+                getParentForChildren(),
+                isClean());
         valueType_ = null;
       }
       valueTypeCase_ = 6;
@@ -2867,13 +2561,8 @@ public com.google.datastore.v1.EntityOrBuilder getEntityValueOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.ArrayValue,
-            com.google.datastore.v1.ArrayValue.Builder,
-            com.google.datastore.v1.ArrayValueOrBuilder>
-        arrayValueBuilder_;
+        com.google.datastore.v1.ArrayValue, com.google.datastore.v1.ArrayValue.Builder, com.google.datastore.v1.ArrayValueOrBuilder> arrayValueBuilder_;
     /**
-     *
-     *
      * 
      * An array value.
      * Cannot contain another array value.
@@ -2882,7 +2571,6 @@ public com.google.datastore.v1.EntityOrBuilder getEntityValueOrBuilder() {
      * 
* * .google.datastore.v1.ArrayValue array_value = 9; - * * @return Whether the arrayValue field is set. */ @java.lang.Override @@ -2890,8 +2578,6 @@ public boolean hasArrayValue() { return valueTypeCase_ == 9; } /** - * - * *
      * An array value.
      * Cannot contain another array value.
@@ -2900,7 +2586,6 @@ public boolean hasArrayValue() {
      * 
* * .google.datastore.v1.ArrayValue array_value = 9; - * * @return The arrayValue. */ @java.lang.Override @@ -2918,8 +2603,6 @@ public com.google.datastore.v1.ArrayValue getArrayValue() { } } /** - * - * *
      * An array value.
      * Cannot contain another array value.
@@ -2943,8 +2626,6 @@ public Builder setArrayValue(com.google.datastore.v1.ArrayValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An array value.
      * Cannot contain another array value.
@@ -2954,7 +2635,8 @@ public Builder setArrayValue(com.google.datastore.v1.ArrayValue value) {
      *
      * .google.datastore.v1.ArrayValue array_value = 9;
      */
-    public Builder setArrayValue(com.google.datastore.v1.ArrayValue.Builder builderForValue) {
+    public Builder setArrayValue(
+        com.google.datastore.v1.ArrayValue.Builder builderForValue) {
       if (arrayValueBuilder_ == null) {
         valueType_ = builderForValue.build();
         onChanged();
@@ -2965,8 +2647,6 @@ public Builder setArrayValue(com.google.datastore.v1.ArrayValue.Builder builderF
       return this;
     }
     /**
-     *
-     *
      * 
      * An array value.
      * Cannot contain another array value.
@@ -2978,13 +2658,10 @@ public Builder setArrayValue(com.google.datastore.v1.ArrayValue.Builder builderF
      */
     public Builder mergeArrayValue(com.google.datastore.v1.ArrayValue value) {
       if (arrayValueBuilder_ == null) {
-        if (valueTypeCase_ == 9
-            && valueType_ != com.google.datastore.v1.ArrayValue.getDefaultInstance()) {
-          valueType_ =
-              com.google.datastore.v1.ArrayValue.newBuilder(
-                      (com.google.datastore.v1.ArrayValue) valueType_)
-                  .mergeFrom(value)
-                  .buildPartial();
+        if (valueTypeCase_ == 9 &&
+            valueType_ != com.google.datastore.v1.ArrayValue.getDefaultInstance()) {
+          valueType_ = com.google.datastore.v1.ArrayValue.newBuilder((com.google.datastore.v1.ArrayValue) valueType_)
+              .mergeFrom(value).buildPartial();
         } else {
           valueType_ = value;
         }
@@ -3000,8 +2677,6 @@ public Builder mergeArrayValue(com.google.datastore.v1.ArrayValue value) {
       return this;
     }
     /**
-     *
-     *
      * 
      * An array value.
      * Cannot contain another array value.
@@ -3028,8 +2703,6 @@ public Builder clearArrayValue() {
       return this;
     }
     /**
-     *
-     *
      * 
      * An array value.
      * Cannot contain another array value.
@@ -3043,8 +2716,6 @@ public com.google.datastore.v1.ArrayValue.Builder getArrayValueBuilder() {
       return getArrayValueFieldBuilder().getBuilder();
     }
     /**
-     *
-     *
      * 
      * An array value.
      * Cannot contain another array value.
@@ -3066,8 +2737,6 @@ public com.google.datastore.v1.ArrayValueOrBuilder getArrayValueOrBuilder() {
       }
     }
     /**
-     *
-     *
      * 
      * An array value.
      * Cannot contain another array value.
@@ -3078,20 +2747,17 @@ public com.google.datastore.v1.ArrayValueOrBuilder getArrayValueOrBuilder() {
      * .google.datastore.v1.ArrayValue array_value = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.ArrayValue,
-            com.google.datastore.v1.ArrayValue.Builder,
-            com.google.datastore.v1.ArrayValueOrBuilder>
+        com.google.datastore.v1.ArrayValue, com.google.datastore.v1.ArrayValue.Builder, com.google.datastore.v1.ArrayValueOrBuilder> 
         getArrayValueFieldBuilder() {
       if (arrayValueBuilder_ == null) {
         if (!(valueTypeCase_ == 9)) {
           valueType_ = com.google.datastore.v1.ArrayValue.getDefaultInstance();
         }
-        arrayValueBuilder_ =
-            new com.google.protobuf.SingleFieldBuilderV3<
-                com.google.datastore.v1.ArrayValue,
-                com.google.datastore.v1.ArrayValue.Builder,
-                com.google.datastore.v1.ArrayValueOrBuilder>(
-                (com.google.datastore.v1.ArrayValue) valueType_, getParentForChildren(), isClean());
+        arrayValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
+            com.google.datastore.v1.ArrayValue, com.google.datastore.v1.ArrayValue.Builder, com.google.datastore.v1.ArrayValueOrBuilder>(
+                (com.google.datastore.v1.ArrayValue) valueType_,
+                getParentForChildren(),
+                isClean());
         valueType_ = null;
       }
       valueTypeCase_ = 9;
@@ -3099,16 +2765,13 @@ public com.google.datastore.v1.ArrayValueOrBuilder getArrayValueOrBuilder() {
       return arrayValueBuilder_;
     }
 
-    private int meaning_;
+    private int meaning_ ;
     /**
-     *
-     *
      * 
      * The `meaning` field should only be populated for backwards compatibility.
      * 
* * int32 meaning = 14; - * * @return The meaning. */ @java.lang.Override @@ -3116,14 +2779,11 @@ public int getMeaning() { return meaning_; } /** - * - * *
      * The `meaning` field should only be populated for backwards compatibility.
      * 
* * int32 meaning = 14; - * * @param value The meaning to set. * @return This builder for chaining. */ @@ -3135,14 +2795,11 @@ public Builder setMeaning(int value) { return this; } /** - * - * *
      * The `meaning` field should only be populated for backwards compatibility.
      * 
* * int32 meaning = 14; - * * @return This builder for chaining. */ public Builder clearMeaning() { @@ -3152,17 +2809,14 @@ public Builder clearMeaning() { return this; } - private boolean excludeFromIndexes_; + private boolean excludeFromIndexes_ ; /** - * - * *
      * If the value should be excluded from all indexes including those defined
      * explicitly.
      * 
* * bool exclude_from_indexes = 19; - * * @return The excludeFromIndexes. */ @java.lang.Override @@ -3170,15 +2824,12 @@ public boolean getExcludeFromIndexes() { return excludeFromIndexes_; } /** - * - * *
      * If the value should be excluded from all indexes including those defined
      * explicitly.
      * 
* * bool exclude_from_indexes = 19; - * * @param value The excludeFromIndexes to set. * @return This builder for chaining. */ @@ -3190,15 +2841,12 @@ public Builder setExcludeFromIndexes(boolean value) { return this; } /** - * - * *
      * If the value should be excluded from all indexes including those defined
      * explicitly.
      * 
* * bool exclude_from_indexes = 19; - * * @return This builder for chaining. */ public Builder clearExcludeFromIndexes() { @@ -3207,9 +2855,9 @@ public Builder clearExcludeFromIndexes() { 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); } @@ -3219,12 +2867,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.datastore.v1.Value) } // @@protoc_insertion_point(class_scope:google.datastore.v1.Value) private static final com.google.datastore.v1.Value DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.datastore.v1.Value(); } @@ -3233,27 +2881,27 @@ public static com.google.datastore.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; @@ -3268,4 +2916,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.Value getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ValueOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ValueOrBuilder.java similarity index 88% rename from proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ValueOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ValueOrBuilder.java index 8e4021a58..f89a3a6ad 100644 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ValueOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ValueOrBuilder.java @@ -1,144 +1,99 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/entity.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface ValueOrBuilder - extends +public interface ValueOrBuilder extends // @@protoc_insertion_point(interface_extends:google.datastore.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.
    * When stored in the Datastore, precise only to microseconds;
@@ -146,13 +101,10 @@ public interface ValueOrBuilder
    * 
* * .google.protobuf.Timestamp timestamp_value = 10; - * * @return Whether the timestampValue field is set. */ boolean hasTimestampValue(); /** - * - * *
    * A timestamp value.
    * When stored in the Datastore, precise only to microseconds;
@@ -160,13 +112,10 @@ public interface ValueOrBuilder
    * 
* * .google.protobuf.Timestamp timestamp_value = 10; - * * @return The timestampValue. */ com.google.protobuf.Timestamp getTimestampValue(); /** - * - * *
    * A timestamp value.
    * When stored in the Datastore, precise only to microseconds;
@@ -178,32 +127,24 @@ public interface ValueOrBuilder
   com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder();
 
   /**
-   *
-   *
    * 
    * A key value.
    * 
* * .google.datastore.v1.Key key_value = 5; - * * @return Whether the keyValue field is set. */ boolean hasKeyValue(); /** - * - * *
    * A key value.
    * 
* * .google.datastore.v1.Key key_value = 5; - * * @return The keyValue. */ com.google.datastore.v1.Key getKeyValue(); /** - * - * *
    * A key value.
    * 
@@ -213,8 +154,6 @@ public interface ValueOrBuilder com.google.datastore.v1.KeyOrBuilder getKeyValueOrBuilder(); /** - * - * *
    * A UTF-8 encoded string value.
    * When `exclude_from_indexes` is false (it is indexed) , may have at most
@@ -222,13 +161,10 @@ public interface ValueOrBuilder
    * 
* * string string_value = 17; - * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** - * - * *
    * A UTF-8 encoded string value.
    * When `exclude_from_indexes` is false (it is indexed) , may have at most
@@ -236,13 +172,10 @@ public interface ValueOrBuilder
    * 
* * string string_value = 17; - * * @return The stringValue. */ java.lang.String getStringValue(); /** - * - * *
    * A UTF-8 encoded string value.
    * When `exclude_from_indexes` is false (it is indexed) , may have at most
@@ -250,14 +183,12 @@ public interface ValueOrBuilder
    * 
* * string string_value = 17; - * * @return The bytes for stringValue. */ - com.google.protobuf.ByteString getStringValueBytes(); + com.google.protobuf.ByteString + getStringValueBytes(); /** - * - * *
    * A blob value.
    * May have at most 1,000,000 bytes.
@@ -266,13 +197,10 @@ public interface ValueOrBuilder
    * 
* * bytes blob_value = 18; - * * @return Whether the blobValue field is set. */ boolean hasBlobValue(); /** - * - * *
    * A blob value.
    * May have at most 1,000,000 bytes.
@@ -281,38 +209,29 @@ public interface ValueOrBuilder
    * 
* * bytes blob_value = 18; - * * @return The blobValue. */ com.google.protobuf.ByteString getBlobValue(); /** - * - * *
    * 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.
    * 
@@ -322,8 +241,6 @@ public interface ValueOrBuilder com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder(); /** - * - * *
    * An entity value.
    *
@@ -333,13 +250,10 @@ public interface ValueOrBuilder
    * 
* * .google.datastore.v1.Entity entity_value = 6; - * * @return Whether the entityValue field is set. */ boolean hasEntityValue(); /** - * - * *
    * An entity value.
    *
@@ -349,13 +263,10 @@ public interface ValueOrBuilder
    * 
* * .google.datastore.v1.Entity entity_value = 6; - * * @return The entityValue. */ com.google.datastore.v1.Entity getEntityValue(); /** - * - * *
    * An entity value.
    *
@@ -369,8 +280,6 @@ public interface ValueOrBuilder
   com.google.datastore.v1.EntityOrBuilder getEntityValueOrBuilder();
 
   /**
-   *
-   *
    * 
    * An array value.
    * Cannot contain another array value.
@@ -379,13 +288,10 @@ public interface ValueOrBuilder
    * 
* * .google.datastore.v1.ArrayValue array_value = 9; - * * @return Whether the arrayValue field is set. */ boolean hasArrayValue(); /** - * - * *
    * An array value.
    * Cannot contain another array value.
@@ -394,13 +300,10 @@ public interface ValueOrBuilder
    * 
* * .google.datastore.v1.ArrayValue array_value = 9; - * * @return The arrayValue. */ com.google.datastore.v1.ArrayValue getArrayValue(); /** - * - * *
    * An array value.
    * Cannot contain another array value.
@@ -413,28 +316,22 @@ public interface ValueOrBuilder
   com.google.datastore.v1.ArrayValueOrBuilder getArrayValueOrBuilder();
 
   /**
-   *
-   *
    * 
    * The `meaning` field should only be populated for backwards compatibility.
    * 
* * int32 meaning = 14; - * * @return The meaning. */ int getMeaning(); /** - * - * *
    * If the value should be excluded from all indexes including those defined
    * explicitly.
    * 
* * bool exclude_from_indexes = 19; - * * @return The excludeFromIndexes. */ boolean getExcludeFromIndexes(); diff --git a/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/aggregation_result.proto b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/aggregation_result.proto similarity index 98% rename from proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/aggregation_result.proto rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/aggregation_result.proto index 91c521716..262b61fa4 100644 --- a/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/aggregation_result.proto +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/aggregation_result.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/datastore.proto b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/datastore.proto similarity index 99% rename from proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/datastore.proto rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/datastore.proto index 1a3fbdd11..fbbabb0a3 100644 --- a/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/datastore.proto +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/datastore.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/entity.proto b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/entity.proto similarity index 99% rename from proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/entity.proto rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/entity.proto index d80dd9093..ef4429343 100644 --- a/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/entity.proto +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/entity.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/query.proto b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/query.proto similarity index 99% rename from proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/query.proto rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/query.proto index d1f0f8d07..81386d47b 100644 --- a/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/query.proto +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/query.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/query_profile.proto b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/query_profile.proto similarity index 99% rename from proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/query_profile.proto rename to owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/query_profile.proto index 01c9fc254..f38681c66 100644 --- a/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/query_profile.proto +++ b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/query_profile.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2024 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreAdminProto.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreAdminProto.java deleted file mode 100644 index 9a4bb925f..000000000 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreAdminProto.java +++ /dev/null @@ -1,406 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/datastore/admin/v1/datastore_admin.proto - -// Protobuf Java Version: 3.25.3 -package com.google.datastore.admin.v1; - -public final class DatastoreAdminProto { - private DatastoreAdminProto() {} - - 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_datastore_admin_v1_CommonMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_CommonMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_CommonMetadata_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_CommonMetadata_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_Progress_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_Progress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_ExportEntitiesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_ExportEntitiesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_ExportEntitiesRequest_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_ExportEntitiesRequest_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_ImportEntitiesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_ImportEntitiesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_ImportEntitiesRequest_LabelsEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_ImportEntitiesRequest_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_ExportEntitiesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_ExportEntitiesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_EntityFilter_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_EntityFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_CreateIndexRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_CreateIndexRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_DeleteIndexRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_DeleteIndexRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_GetIndexRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_GetIndexRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_ListIndexesRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_ListIndexesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_ListIndexesResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_ListIndexesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_IndexOperationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_IndexOperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_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/datastore/admin/v1/datastore_ad" - + "min.proto\022\031google.datastore.admin.v1\032\034go" - + "ogle/api/annotations.proto\032\027google/api/c" - + "lient.proto\032\037google/api/field_behavior.p" - + "roto\032%google/datastore/admin/v1/index.pr" - + "oto\032)google/datastore/admin/v1/migration" - + ".proto\032#google/longrunning/operations.pr" - + "oto\032\037google/protobuf/timestamp.proto\"\364\003\n" - + "\016CommonMetadata\022.\n\nstart_time\030\001 \001(\0132\032.go" - + "ogle.protobuf.Timestamp\022,\n\010end_time\030\002 \001(" - + "\0132\032.google.protobuf.Timestamp\022@\n\016operati" - + "on_type\030\003 \001(\0162(.google.datastore.admin.v" - + "1.OperationType\022E\n\006labels\030\004 \003(\01325.google" - + ".datastore.admin.v1.CommonMetadata.Label" - + "sEntry\022>\n\005state\030\005 \001(\0162/.google.datastore" - + ".admin.v1.CommonMetadata.State\032-\n\013Labels" - + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\213\001" - + "\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\020\n\014INITIA" - + "LIZING\020\001\022\016\n\nPROCESSING\020\002\022\016\n\nCANCELLING\020\003" - + "\022\016\n\nFINALIZING\020\004\022\016\n\nSUCCESSFUL\020\005\022\n\n\006FAIL" - + "ED\020\006\022\r\n\tCANCELLED\020\007\":\n\010Progress\022\026\n\016work_" - + "completed\030\001 \001(\003\022\026\n\016work_estimated\030\002 \001(\003\"" - + "\215\002\n\025ExportEntitiesRequest\022\027\n\nproject_id\030" - + "\001 \001(\tB\003\340A\002\022L\n\006labels\030\002 \003(\0132<.google.data" - + "store.admin.v1.ExportEntitiesRequest.Lab" - + "elsEntry\022>\n\rentity_filter\030\003 \001(\0132\'.google" - + ".datastore.admin.v1.EntityFilter\022\036\n\021outp" - + "ut_url_prefix\030\004 \001(\tB\003\340A\002\032-\n\013LabelsEntry\022" - + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\205\002\n\025Impo" - + "rtEntitiesRequest\022\027\n\nproject_id\030\001 \001(\tB\003\340" - + "A\002\022L\n\006labels\030\002 \003(\0132<.google.datastore.ad" - + "min.v1.ImportEntitiesRequest.LabelsEntry" - + "\022\026\n\tinput_url\030\003 \001(\tB\003\340A\002\022>\n\rentity_filte" - + "r\030\004 \001(\0132\'.google.datastore.admin.v1.Enti" - + "tyFilter\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" - + "value\030\002 \001(\t:\0028\001\",\n\026ExportEntitiesRespons" - + "e\022\022\n\noutput_url\030\001 \001(\t\"\253\002\n\026ExportEntities" - + "Metadata\0229\n\006common\030\001 \001(\0132).google.datast" - + "ore.admin.v1.CommonMetadata\022>\n\021progress_" - + "entities\030\002 \001(\0132#.google.datastore.admin." - + "v1.Progress\022;\n\016progress_bytes\030\003 \001(\0132#.go" - + "ogle.datastore.admin.v1.Progress\022>\n\renti" - + "ty_filter\030\004 \001(\0132\'.google.datastore.admin" - + ".v1.EntityFilter\022\031\n\021output_url_prefix\030\005 " - + "\001(\t\"\243\002\n\026ImportEntitiesMetadata\0229\n\006common" - + "\030\001 \001(\0132).google.datastore.admin.v1.Commo" - + "nMetadata\022>\n\021progress_entities\030\002 \001(\0132#.g" - + "oogle.datastore.admin.v1.Progress\022;\n\016pro" - + "gress_bytes\030\003 \001(\0132#.google.datastore.adm" - + "in.v1.Progress\022>\n\rentity_filter\030\004 \001(\0132\'." - + "google.datastore.admin.v1.EntityFilter\022\021" - + "\n\tinput_url\030\005 \001(\t\"4\n\014EntityFilter\022\r\n\005kin" - + "ds\030\001 \003(\t\022\025\n\rnamespace_ids\030\002 \003(\t\"Y\n\022Creat" - + "eIndexRequest\022\022\n\nproject_id\030\001 \001(\t\022/\n\005ind" - + "ex\030\003 \001(\0132 .google.datastore.admin.v1.Ind" - + "ex\":\n\022DeleteIndexRequest\022\022\n\nproject_id\030\001" - + " \001(\t\022\020\n\010index_id\030\003 \001(\t\"7\n\017GetIndexReques" - + "t\022\022\n\nproject_id\030\001 \001(\t\022\020\n\010index_id\030\003 \001(\t\"" - + "_\n\022ListIndexesRequest\022\022\n\nproject_id\030\001 \001(" - + "\t\022\016\n\006filter\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\022\022\n\n" - + "page_token\030\005 \001(\t\"a\n\023ListIndexesResponse\022" - + "1\n\007indexes\030\001 \003(\0132 .google.datastore.admi" - + "n.v1.Index\022\027\n\017next_page_token\030\002 \001(\t\"\245\001\n\026" - + "IndexOperationMetadata\0229\n\006common\030\001 \001(\0132)" - + ".google.datastore.admin.v1.CommonMetadat" - + "a\022>\n\021progress_entities\030\002 \001(\0132#.google.da" - + "tastore.admin.v1.Progress\022\020\n\010index_id\030\003 " - + "\001(\t\"\253\001\n#DatastoreFirestoreMigrationMetad" - + "ata\022B\n\017migration_state\030\001 \001(\0162).google.da" - + "tastore.admin.v1.MigrationState\022@\n\016migra" - + "tion_step\030\002 \001(\0162(.google.datastore.admin" - + ".v1.MigrationStep*}\n\rOperationType\022\036\n\032OP" - + "ERATION_TYPE_UNSPECIFIED\020\000\022\023\n\017EXPORT_ENT" - + "ITIES\020\001\022\023\n\017IMPORT_ENTITIES\020\002\022\020\n\014CREATE_I" - + "NDEX\020\003\022\020\n\014DELETE_INDEX\020\0042\204\n\n\016DatastoreAd" - + "min\022\366\001\n\016ExportEntities\0220.google.datastor" - + "e.admin.v1.ExportEntitiesRequest\032\035.googl" - + "e.longrunning.Operation\"\222\001\312A0\n\026ExportEnt" - + "itiesResponse\022\026ExportEntitiesMetadata\332A1" - + "project_id,labels,entity_filter,output_u" - + "rl_prefix\202\323\344\223\002%\" /v1/projects/{project_i" - + "d}:export:\001*\022\355\001\n\016ImportEntities\0220.google" - + ".datastore.admin.v1.ImportEntitiesReques" - + "t\032\035.google.longrunning.Operation\"\211\001\312A/\n\025" - + "google.protobuf.Empty\022\026ImportEntitiesMet" - + "adata\332A)project_id,labels,input_url,enti" - + "ty_filter\202\323\344\223\002%\" /v1/projects/{project_i" - + "d}:import:\001*\022\257\001\n\013CreateIndex\022-.google.da" - + "tastore.admin.v1.CreateIndexRequest\032\035.go" - + "ogle.longrunning.Operation\"R\312A\037\n\005Index\022\026" - + "IndexOperationMetadata\202\323\344\223\002*\"!/v1/projec" - + "ts/{project_id}/indexes:\005index\022\263\001\n\013Delet" - + "eIndex\022-.google.datastore.admin.v1.Delet" - + "eIndexRequest\032\035.google.longrunning.Opera" - + "tion\"V\312A\037\n\005Index\022\026IndexOperationMetadata" - + "\202\323\344\223\002.*,/v1/projects/{project_id}/indexe" - + "s/{index_id}\022\216\001\n\010GetIndex\022*.google.datas" - + "tore.admin.v1.GetIndexRequest\032 .google.d" - + "atastore.admin.v1.Index\"4\202\323\344\223\002.\022,/v1/pro" - + "jects/{project_id}/indexes/{index_id}\022\227\001" - + "\n\013ListIndexes\022-.google.datastore.admin.v" - + "1.ListIndexesRequest\032..google.datastore." - + "admin.v1.ListIndexesResponse\")\202\323\344\223\002#\022!/v" - + "1/projects/{project_id}/indexes\032v\312A\030data" - + "store.googleapis.com\322AXhttps://www.googl" - + "eapis.com/auth/cloud-platform,https://ww" - + "w.googleapis.com/auth/datastoreB\333\001\n\035com." - + "google.datastore.admin.v1B\023DatastoreAdmi" - + "nProtoP\001Z9cloud.google.com/go/datastore/" - + "admin/apiv1/adminpb;adminpb\252\002\037Google.Clo" - + "ud.Datastore.Admin.V1\312\002\037Google\\Cloud\\Dat" - + "astore\\Admin\\V1\352\002#Google::Cloud::Datasto" - + "re::Admin::V1b\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.datastore.admin.v1.IndexProto.getDescriptor(), - com.google.datastore.admin.v1.MigrationProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_datastore_admin_v1_CommonMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_datastore_admin_v1_CommonMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_CommonMetadata_descriptor, - new java.lang.String[] { - "StartTime", "EndTime", "OperationType", "Labels", "State", - }); - internal_static_google_datastore_admin_v1_CommonMetadata_LabelsEntry_descriptor = - internal_static_google_datastore_admin_v1_CommonMetadata_descriptor.getNestedTypes().get(0); - internal_static_google_datastore_admin_v1_CommonMetadata_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_CommonMetadata_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_datastore_admin_v1_Progress_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_datastore_admin_v1_Progress_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_Progress_descriptor, - new java.lang.String[] { - "WorkCompleted", "WorkEstimated", - }); - internal_static_google_datastore_admin_v1_ExportEntitiesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_datastore_admin_v1_ExportEntitiesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_ExportEntitiesRequest_descriptor, - new java.lang.String[] { - "ProjectId", "Labels", "EntityFilter", "OutputUrlPrefix", - }); - internal_static_google_datastore_admin_v1_ExportEntitiesRequest_LabelsEntry_descriptor = - internal_static_google_datastore_admin_v1_ExportEntitiesRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_datastore_admin_v1_ExportEntitiesRequest_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_ExportEntitiesRequest_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_datastore_admin_v1_ImportEntitiesRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_datastore_admin_v1_ImportEntitiesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_ImportEntitiesRequest_descriptor, - new java.lang.String[] { - "ProjectId", "Labels", "InputUrl", "EntityFilter", - }); - internal_static_google_datastore_admin_v1_ImportEntitiesRequest_LabelsEntry_descriptor = - internal_static_google_datastore_admin_v1_ImportEntitiesRequest_descriptor - .getNestedTypes() - .get(0); - internal_static_google_datastore_admin_v1_ImportEntitiesRequest_LabelsEntry_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_ImportEntitiesRequest_LabelsEntry_descriptor, - new java.lang.String[] { - "Key", "Value", - }); - internal_static_google_datastore_admin_v1_ExportEntitiesResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_datastore_admin_v1_ExportEntitiesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_ExportEntitiesResponse_descriptor, - new java.lang.String[] { - "OutputUrl", - }); - internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_descriptor, - new java.lang.String[] { - "Common", "ProgressEntities", "ProgressBytes", "EntityFilter", "OutputUrlPrefix", - }); - internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_descriptor, - new java.lang.String[] { - "Common", "ProgressEntities", "ProgressBytes", "EntityFilter", "InputUrl", - }); - internal_static_google_datastore_admin_v1_EntityFilter_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_datastore_admin_v1_EntityFilter_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_EntityFilter_descriptor, - new java.lang.String[] { - "Kinds", "NamespaceIds", - }); - internal_static_google_datastore_admin_v1_CreateIndexRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_datastore_admin_v1_CreateIndexRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_CreateIndexRequest_descriptor, - new java.lang.String[] { - "ProjectId", "Index", - }); - internal_static_google_datastore_admin_v1_DeleteIndexRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_datastore_admin_v1_DeleteIndexRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_DeleteIndexRequest_descriptor, - new java.lang.String[] { - "ProjectId", "IndexId", - }); - internal_static_google_datastore_admin_v1_GetIndexRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_datastore_admin_v1_GetIndexRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_GetIndexRequest_descriptor, - new java.lang.String[] { - "ProjectId", "IndexId", - }); - internal_static_google_datastore_admin_v1_ListIndexesRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_datastore_admin_v1_ListIndexesRequest_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_ListIndexesRequest_descriptor, - new java.lang.String[] { - "ProjectId", "Filter", "PageSize", "PageToken", - }); - internal_static_google_datastore_admin_v1_ListIndexesResponse_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_datastore_admin_v1_ListIndexesResponse_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_ListIndexesResponse_descriptor, - new java.lang.String[] { - "Indexes", "NextPageToken", - }); - internal_static_google_datastore_admin_v1_IndexOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_datastore_admin_v1_IndexOperationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_IndexOperationMetadata_descriptor, - new java.lang.String[] { - "Common", "ProgressEntities", "IndexId", - }); - internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_descriptor, - new java.lang.String[] { - "MigrationState", "MigrationStep", - }); - 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.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.datastore.admin.v1.IndexProto.getDescriptor(); - com.google.datastore.admin.v1.MigrationProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexProto.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexProto.java deleted file mode 100644 index 9dbdecdf1..000000000 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexProto.java +++ /dev/null @@ -1,104 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/datastore/admin/v1/index.proto - -// Protobuf Java Version: 3.25.3 -package com.google.datastore.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_datastore_admin_v1_Index_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_Index_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_Index_IndexedProperty_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_Index_IndexedProperty_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/datastore/admin/v1/index.proto\022" - + "\031google.datastore.admin.v1\032\037google/api/f" - + "ield_behavior.proto\"\346\004\n\005Index\022\027\n\nproject" - + "_id\030\001 \001(\tB\003\340A\003\022\025\n\010index_id\030\003 \001(\tB\003\340A\003\022\021\n" - + "\004kind\030\004 \001(\tB\003\340A\002\022D\n\010ancestor\030\005 \001(\0162-.goo" - + "gle.datastore.admin.v1.Index.AncestorMod" - + "eB\003\340A\002\022I\n\nproperties\030\006 \003(\01320.google.data" - + "store.admin.v1.Index.IndexedPropertyB\003\340A" - + "\002\022:\n\005state\030\007 \001(\0162&.google.datastore.admi" - + "n.v1.Index.StateB\003\340A\003\032h\n\017IndexedProperty" - + "\022\021\n\004name\030\001 \001(\tB\003\340A\002\022B\n\tdirection\030\002 \001(\0162*" - + ".google.datastore.admin.v1.Index.Directi" - + "onB\003\340A\002\"J\n\014AncestorMode\022\035\n\031ANCESTOR_MODE" - + "_UNSPECIFIED\020\000\022\010\n\004NONE\020\001\022\021\n\rALL_ANCESTOR" - + "S\020\002\"E\n\tDirection\022\031\n\025DIRECTION_UNSPECIFIE" - + "D\020\000\022\r\n\tASCENDING\020\001\022\016\n\nDESCENDING\020\002\"P\n\005St" - + "ate\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001" - + "\022\t\n\005READY\020\002\022\014\n\010DELETING\020\003\022\t\n\005ERROR\020\004B\322\001\n" - + "\035com.google.datastore.admin.v1B\nIndexPro" - + "toP\001Z9cloud.google.com/go/datastore/admi" - + "n/apiv1/adminpb;adminpb\252\002\037Google.Cloud.D" - + "atastore.Admin.V1\312\002\037Google\\Cloud\\Datasto" - + "re\\Admin\\V1\352\002#Google::Cloud::Datastore::" - + "Admin::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - }); - internal_static_google_datastore_admin_v1_Index_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_datastore_admin_v1_Index_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_Index_descriptor, - new java.lang.String[] { - "ProjectId", "IndexId", "Kind", "Ancestor", "Properties", "State", - }); - internal_static_google_datastore_admin_v1_Index_IndexedProperty_descriptor = - internal_static_google_datastore_admin_v1_Index_descriptor.getNestedTypes().get(0); - internal_static_google_datastore_admin_v1_Index_IndexedProperty_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_Index_IndexedProperty_descriptor, - new java.lang.String[] { - "Name", "Direction", - }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( - descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProto.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProto.java deleted file mode 100644 index 0c1110444..000000000 --- a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProto.java +++ /dev/null @@ -1,134 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/datastore/admin/v1/migration.proto - -// Protobuf Java Version: 3.25.3 -package com.google.datastore.admin.v1; - -public final class MigrationProto { - private MigrationProto() {} - - 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_datastore_admin_v1_MigrationStateEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_MigrationStateEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_MigrationProgressEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_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/datastore/admin/v1/migration.pr" - + "oto\022\031google.datastore.admin.v1\"O\n\023Migrat" - + "ionStateEvent\0228\n\005state\030\001 \001(\0162).google.da" - + "tastore.admin.v1.MigrationState\"\241\005\n\026Migr" - + "ationProgressEvent\0226\n\004step\030\001 \001(\0162(.googl" - + "e.datastore.admin.v1.MigrationStep\022d\n\024pr" - + "epare_step_details\030\002 \001(\0132D.google.datast" - + "ore.admin.v1.MigrationProgressEvent.Prep" - + "areStepDetailsH\000\022s\n\034redirect_writes_step" - + "_details\030\003 \001(\0132K.google.datastore.admin." - + "v1.MigrationProgressEvent.RedirectWrites" - + "StepDetailsH\000\032q\n\022PrepareStepDetails\022[\n\020c" - + "oncurrency_mode\030\001 \001(\0162A.google.datastore" - + ".admin.v1.MigrationProgressEvent.Concurr" - + "encyMode\032x\n\031RedirectWritesStepDetails\022[\n" - + "\020concurrency_mode\030\001 \001(\0162A.google.datasto" - + "re.admin.v1.MigrationProgressEvent.Concu" - + "rrencyMode\"w\n\017ConcurrencyMode\022 \n\034CONCURR" - + "ENCY_MODE_UNSPECIFIED\020\000\022\017\n\013PESSIMISTIC\020\001" - + "\022\016\n\nOPTIMISTIC\020\002\022!\n\035OPTIMISTIC_WITH_ENTI" - + "TY_GROUPS\020\003B\016\n\014step_details*X\n\016Migration" - + "State\022\037\n\033MIGRATION_STATE_UNSPECIFIED\020\000\022\013" - + "\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014\n\010COMPLETE\020\003*\343\001" - + "\n\rMigrationStep\022\036\n\032MIGRATION_STEP_UNSPEC" - + "IFIED\020\000\022\013\n\007PREPARE\020\006\022\t\n\005START\020\001\022\036\n\032APPLY" - + "_WRITES_SYNCHRONOUSLY\020\007\022\023\n\017COPY_AND_VERI" - + "FY\020\002\022(\n$REDIRECT_EVENTUALLY_CONSISTENT_R" - + "EADS\020\003\022&\n\"REDIRECT_STRONGLY_CONSISTENT_R" - + "EADS\020\004\022\023\n\017REDIRECT_WRITES\020\005B\326\001\n\035com.goog" - + "le.datastore.admin.v1B\016MigrationProtoP\001Z" - + "9cloud.google.com/go/datastore/admin/api" - + "v1/adminpb;adminpb\252\002\037Google.Cloud.Datast" - + "ore.Admin.V1\312\002\037Google\\Cloud\\Datastore\\Ad" - + "min\\V1\352\002#Google::Cloud::Datastore::Admin" - + "::V1b\006proto3" - }; - descriptor = - com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( - descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); - internal_static_google_datastore_admin_v1_MigrationStateEvent_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_datastore_admin_v1_MigrationStateEvent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_MigrationStateEvent_descriptor, - new java.lang.String[] { - "State", - }); - internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_datastore_admin_v1_MigrationProgressEvent_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor, - new java.lang.String[] { - "Step", "PrepareStepDetails", "RedirectWritesStepDetails", "StepDetails", - }); - internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_descriptor = - internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor - .getNestedTypes() - .get(0); - internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_descriptor, - new java.lang.String[] { - "ConcurrencyMode", - }); - internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_descriptor = - internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor - .getNestedTypes() - .get(1); - internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_descriptor, - new java.lang.String[] { - "ConcurrencyMode", - }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultProto.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultProto.java deleted file mode 100644 index a924705f1..000000000 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultProto.java +++ /dev/null @@ -1,112 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/datastore/v1/aggregation_result.proto - -// Protobuf Java Version: 3.25.3 -package com.google.datastore.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_datastore_v1_AggregationResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_AggregationResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_AggregationResult_AggregatePropertiesEntry_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_AggregationResult_AggregatePropertiesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_AggregationResultBatch_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_AggregationResultBatch_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/datastore/v1/aggregation_result" - + ".proto\022\023google.datastore.v1\032 google/data" - + "store/v1/entity.proto\032\037google/datastore/" - + "v1/query.proto\032\037google/protobuf/timestam" - + "p.proto\"\312\001\n\021AggregationResult\022]\n\024aggrega" - + "te_properties\030\002 \003(\0132?.google.datastore.v" - + "1.AggregationResult.AggregatePropertiesE" - + "ntry\032V\n\030AggregatePropertiesEntry\022\013\n\003key\030" - + "\001 \001(\t\022)\n\005value\030\002 \001(\0132\032.google.datastore." - + "v1.Value:\0028\001\"\331\001\n\026AggregationResultBatch\022" - + "C\n\023aggregation_results\030\001 \003(\0132&.google.da" - + "tastore.v1.AggregationResult\022K\n\014more_res" - + "ults\030\002 \001(\01625.google.datastore.v1.QueryRe" - + "sultBatch.MoreResultsType\022-\n\tread_time\030\003" - + " \001(\0132\032.google.protobuf.TimestampB\310\001\n\027com" - + ".google.datastore.v1B\026AggregationResultP" - + "rotoP\001Z - * The transaction identifier (always present). - *
- * - * bytes transaction = 1; - * - * @return The transaction. - */ - com.google.protobuf.ByteString getTransaction(); -} diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/DatastoreProto.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/DatastoreProto.java deleted file mode 100644 index 1b8753e35..000000000 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/DatastoreProto.java +++ /dev/null @@ -1,518 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/datastore/v1/datastore.proto - -// Protobuf Java Version: 3.25.3 -package com.google.datastore.v1; - -public final class DatastoreProto { - private DatastoreProto() {} - - 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_datastore_v1_LookupRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_LookupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_LookupResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_LookupResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_RunQueryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_RunQueryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_RunQueryResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_RunQueryResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_RunAggregationQueryRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_RunAggregationQueryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_RunAggregationQueryResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_RunAggregationQueryResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_BeginTransactionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_BeginTransactionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_BeginTransactionResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_BeginTransactionResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_RollbackRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_RollbackRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_RollbackResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_RollbackResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_CommitRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_CommitRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_CommitResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_CommitResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_AllocateIdsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_AllocateIdsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_AllocateIdsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_AllocateIdsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_ReserveIdsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_ReserveIdsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_ReserveIdsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_ReserveIdsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_Mutation_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_Mutation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_MutationResult_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_MutationResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_ReadOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_ReadOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_TransactionOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_TransactionOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_TransactionOptions_ReadWrite_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_TransactionOptions_ReadWrite_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_TransactionOptions_ReadOnly_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_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/datastore/v1/datastore.proto\022\023g" - + "oogle.datastore.v1\032\034google/api/annotatio" - + "ns.proto\032\027google/api/client.proto\032\037googl" - + "e/api/field_behavior.proto\032\030google/api/r" - + "outing.proto\032,google/datastore/v1/aggreg" - + "ation_result.proto\032 google/datastore/v1/" - + "entity.proto\032\037google/datastore/v1/query." - + "proto\032\'google/datastore/v1/query_profile" - + ".proto\032\037google/protobuf/timestamp.proto\"" - + "\242\001\n\rLookupRequest\022\027\n\nproject_id\030\010 \001(\tB\003\340" - + "A\002\022\023\n\013database_id\030\t \001(\t\0226\n\014read_options\030" - + "\001 \001(\0132 .google.datastore.v1.ReadOptions\022" - + "+\n\004keys\030\003 \003(\0132\030.google.datastore.v1.KeyB" - + "\003\340A\002\"\346\001\n\016LookupResponse\0220\n\005found\030\001 \003(\0132!" - + ".google.datastore.v1.EntityResult\0222\n\007mis" - + "sing\030\002 \003(\0132!.google.datastore.v1.EntityR" - + "esult\022*\n\010deferred\030\003 \003(\0132\030.google.datasto" - + "re.v1.Key\022\023\n\013transaction\030\005 \001(\014\022-\n\tread_t" - + "ime\030\007 \001(\0132\032.google.protobuf.Timestamp\"\341\002" - + "\n\017RunQueryRequest\022\027\n\nproject_id\030\010 \001(\tB\003\340" - + "A\002\022\023\n\013database_id\030\t \001(\t\0226\n\014partition_id\030" - + "\002 \001(\0132 .google.datastore.v1.PartitionId\022" - + "6\n\014read_options\030\001 \001(\0132 .google.datastore" - + ".v1.ReadOptions\022+\n\005query\030\003 \001(\0132\032.google." - + "datastore.v1.QueryH\000\0222\n\tgql_query\030\007 \001(\0132" - + "\035.google.datastore.v1.GqlQueryH\000\022A\n\017expl" - + "ain_options\030\014 \001(\0132#.google.datastore.v1." - + "ExplainOptionsB\003\340A\001B\014\n\nquery_type\"\306\001\n\020Ru" - + "nQueryResponse\0224\n\005batch\030\001 \001(\0132%.google.d" - + "atastore.v1.QueryResultBatch\022)\n\005query\030\002 " - + "\001(\0132\032.google.datastore.v1.Query\022\023\n\013trans" - + "action\030\005 \001(\014\022<\n\017explain_metrics\030\t \001(\0132#." - + "google.datastore.v1.ExplainMetrics\"\203\003\n\032R" - + "unAggregationQueryRequest\022\027\n\nproject_id\030" - + "\010 \001(\tB\003\340A\002\022\023\n\013database_id\030\t \001(\t\0226\n\014parti" - + "tion_id\030\002 \001(\0132 .google.datastore.v1.Part" - + "itionId\0226\n\014read_options\030\001 \001(\0132 .google.d" - + "atastore.v1.ReadOptions\022B\n\021aggregation_q" - + "uery\030\003 \001(\0132%.google.datastore.v1.Aggrega" - + "tionQueryH\000\0222\n\tgql_query\030\007 \001(\0132\035.google." - + "datastore.v1.GqlQueryH\000\022A\n\017explain_optio" - + "ns\030\013 \001(\0132#.google.datastore.v1.ExplainOp" - + "tionsB\003\340A\001B\014\n\nquery_type\"\342\001\n\033RunAggregat" - + "ionQueryResponse\022:\n\005batch\030\001 \001(\0132+.google" - + ".datastore.v1.AggregationResultBatch\0224\n\005" - + "query\030\002 \001(\0132%.google.datastore.v1.Aggreg" - + "ationQuery\022\023\n\013transaction\030\005 \001(\014\022<\n\017expla" - + "in_metrics\030\t \001(\0132#.google.datastore.v1.E" - + "xplainMetrics\"\215\001\n\027BeginTransactionReques" - + "t\022\027\n\nproject_id\030\010 \001(\tB\003\340A\002\022\023\n\013database_i" - + "d\030\t \001(\t\022D\n\023transaction_options\030\n \001(\0132\'.g" - + "oogle.datastore.v1.TransactionOptions\"/\n" - + "\030BeginTransactionResponse\022\023\n\013transaction" - + "\030\001 \001(\014\"Y\n\017RollbackRequest\022\027\n\nproject_id\030" - + "\010 \001(\tB\003\340A\002\022\023\n\013database_id\030\t \001(\t\022\030\n\013trans" - + "action\030\001 \001(\014B\003\340A\002\"\022\n\020RollbackResponse\"\350\002" - + "\n\rCommitRequest\022\027\n\nproject_id\030\010 \001(\tB\003\340A\002" - + "\022\023\n\013database_id\030\t \001(\t\0225\n\004mode\030\005 \001(\0162\'.go" - + "ogle.datastore.v1.CommitRequest.Mode\022\025\n\013" - + "transaction\030\001 \001(\014H\000\022I\n\026single_use_transa" - + "ction\030\n \001(\0132\'.google.datastore.v1.Transa" - + "ctionOptionsH\000\0220\n\tmutations\030\006 \003(\0132\035.goog" - + "le.datastore.v1.Mutation\"F\n\004Mode\022\024\n\020MODE" - + "_UNSPECIFIED\020\000\022\021\n\rTRANSACTIONAL\020\001\022\025\n\021NON" - + "_TRANSACTIONAL\020\002B\026\n\024transaction_selector" - + "\"\227\001\n\016CommitResponse\022=\n\020mutation_results\030" - + "\003 \003(\0132#.google.datastore.v1.MutationResu" - + "lt\022\025\n\rindex_updates\030\004 \001(\005\022/\n\013commit_time" - + "\030\010 \001(\0132\032.google.protobuf.Timestamp\"o\n\022Al" - + "locateIdsRequest\022\027\n\nproject_id\030\010 \001(\tB\003\340A" - + "\002\022\023\n\013database_id\030\t \001(\t\022+\n\004keys\030\001 \003(\0132\030.g" - + "oogle.datastore.v1.KeyB\003\340A\002\"=\n\023AllocateI" - + "dsResponse\022&\n\004keys\030\001 \003(\0132\030.google.datast" - + "ore.v1.Key\"n\n\021ReserveIdsRequest\022\027\n\nproje" - + "ct_id\030\010 \001(\tB\003\340A\002\022\023\n\013database_id\030\t \001(\t\022+\n" - + "\004keys\030\001 \003(\0132\030.google.datastore.v1.KeyB\003\340" - + "A\002\"\024\n\022ReserveIdsResponse\"\272\002\n\010Mutation\022-\n" - + "\006insert\030\004 \001(\0132\033.google.datastore.v1.Enti" - + "tyH\000\022-\n\006update\030\005 \001(\0132\033.google.datastore." - + "v1.EntityH\000\022-\n\006upsert\030\006 \001(\0132\033.google.dat" - + "astore.v1.EntityH\000\022*\n\006delete\030\007 \001(\0132\030.goo" - + "gle.datastore.v1.KeyH\000\022\026\n\014base_version\030\010" - + " \001(\003H\001\0221\n\013update_time\030\013 \001(\0132\032.google.pro" - + "tobuf.TimestampH\001B\013\n\toperationB\035\n\033confli" - + "ct_detection_strategy\"\305\001\n\016MutationResult" - + "\022%\n\003key\030\003 \001(\0132\030.google.datastore.v1.Key\022" - + "\017\n\007version\030\004 \001(\003\022/\n\013create_time\030\007 \001(\0132\032." - + "google.protobuf.Timestamp\022/\n\013update_time" - + "\030\006 \001(\0132\032.google.protobuf.Timestamp\022\031\n\021co" - + "nflict_detected\030\005 \001(\010\"\312\002\n\013ReadOptions\022L\n" - + "\020read_consistency\030\001 \001(\01620.google.datasto" - + "re.v1.ReadOptions.ReadConsistencyH\000\022\025\n\013t" - + "ransaction\030\002 \001(\014H\000\022B\n\017new_transaction\030\003 " - + "\001(\0132\'.google.datastore.v1.TransactionOpt" - + "ionsH\000\022/\n\tread_time\030\004 \001(\0132\032.google.proto" - + "buf.TimestampH\000\"M\n\017ReadConsistency\022 \n\034RE" - + "AD_CONSISTENCY_UNSPECIFIED\020\000\022\n\n\006STRONG\020\001" - + "\022\014\n\010EVENTUAL\020\002B\022\n\020consistency_type\"\222\002\n\022T" - + "ransactionOptions\022G\n\nread_write\030\001 \001(\01321." - + "google.datastore.v1.TransactionOptions.R" - + "eadWriteH\000\022E\n\tread_only\030\002 \001(\01320.google.d" - + "atastore.v1.TransactionOptions.ReadOnlyH" - + "\000\032)\n\tReadWrite\022\034\n\024previous_transaction\030\001" - + " \001(\014\0329\n\010ReadOnly\022-\n\tread_time\030\001 \001(\0132\032.go" - + "ogle.protobuf.TimestampB\006\n\004mode2\341\r\n\tData" - + "store\022\300\001\n\006Lookup\022\".google.datastore.v1.L" - + "ookupRequest\032#.google.datastore.v1.Looku" - + "pResponse\"m\332A\034project_id,read_options,ke" - + "ys\202\323\344\223\002%\" /v1/projects/{project_id}:look" - + "up:\001*\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n\013database_id" - + "\022\251\001\n\010RunQuery\022$.google.datastore.v1.RunQ" - + "ueryRequest\032%.google.datastore.v1.RunQue" - + "ryResponse\"P\202\323\344\223\002\'\"\"/v1/projects/{projec" - + "t_id}:runQuery:\001*\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n" - + "\013database_id\022\325\001\n\023RunAggregationQuery\022/.g" - + "oogle.datastore.v1.RunAggregationQueryRe" - + "quest\0320.google.datastore.v1.RunAggregati" - + "onQueryResponse\"[\202\323\344\223\0022\"-/v1/projects/{p" - + "roject_id}:runAggregationQuery:\001*\212\323\344\223\002\035\022" - + "\014\n\nproject_id\022\r\n\013database_id\022\326\001\n\020BeginTr" - + "ansaction\022,.google.datastore.v1.BeginTra" - + "nsactionRequest\032-.google.datastore.v1.Be" - + "ginTransactionResponse\"e\332A\nproject_id\202\323\344" - + "\223\002/\"*/v1/projects/{project_id}:beginTran" - + "saction:\001*\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n\013databa" - + "se_id\022\346\001\n\006Commit\022\".google.datastore.v1.C" - + "ommitRequest\032#.google.datastore.v1.Commi" - + "tResponse\"\222\001\332A%project_id,mode,transacti" - + "on,mutations\332A\031project_id,mode,mutations" - + "\202\323\344\223\002%\" /v1/projects/{project_id}:commit" - + ":\001*\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n\013database_id\022\302" - + "\001\n\010Rollback\022$.google.datastore.v1.Rollba" - + "ckRequest\032%.google.datastore.v1.Rollback" - + "Response\"i\332A\026project_id,transaction\202\323\344\223\002" - + "\'\"\"/v1/projects/{project_id}:rollback:\001*" - + "\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n\013database_id\022\307\001\n\013" - + "AllocateIds\022\'.google.datastore.v1.Alloca" - + "teIdsRequest\032(.google.datastore.v1.Alloc" - + "ateIdsResponse\"e\332A\017project_id,keys\202\323\344\223\002*" - + "\"%/v1/projects/{project_id}:allocateIds:" - + "\001*\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n\013database_id\022\303\001" - + "\n\nReserveIds\022&.google.datastore.v1.Reser" - + "veIdsRequest\032\'.google.datastore.v1.Reser" - + "veIdsResponse\"d\332A\017project_id,keys\202\323\344\223\002)\"" - + "$/v1/projects/{project_id}:reserveIds:\001*" - + "\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n\013database_id\032v\312A\030" - + "datastore.googleapis.com\322AXhttps://www.g" - + "oogleapis.com/auth/cloud-platform,https:" - + "//www.googleapis.com/auth/datastoreB\300\001\n\027" - + "com.google.datastore.v1B\016DatastoreProtoP" - + "\001Z - * The name of the kind. - *
- * - * string name = 1; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * The name of the kind.
-   * 
- * - * string name = 1; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryProfileProto.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryProfileProto.java deleted file mode 100644 index 1e34aa95a..000000000 --- a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryProfileProto.java +++ /dev/null @@ -1,128 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/datastore/v1/query_profile.proto - -// Protobuf Java Version: 3.25.3 -package com.google.datastore.v1; - -public final class QueryProfileProto { - private QueryProfileProto() {} - - 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_datastore_v1_ExplainOptions_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_ExplainOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_ExplainMetrics_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_ExplainMetrics_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_PlanSummary_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_PlanSummary_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_ExecutionStats_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_ExecutionStats_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/datastore/v1/query_profile.prot" - + "o\022\023google.datastore.v1\032\037google/api/field" - + "_behavior.proto\032\036google/protobuf/duratio" - + "n.proto\032\034google/protobuf/struct.proto\"&\n" - + "\016ExplainOptions\022\024\n\007analyze\030\001 \001(\010B\003\340A\001\"\206\001" - + "\n\016ExplainMetrics\0226\n\014plan_summary\030\001 \001(\0132 " - + ".google.datastore.v1.PlanSummary\022<\n\017exec" - + "ution_stats\030\002 \001(\0132#.google.datastore.v1." - + "ExecutionStats\"<\n\013PlanSummary\022-\n\014indexes" - + "_used\030\001 \003(\0132\027.google.protobuf.Struct\"\250\001\n" - + "\016ExecutionStats\022\030\n\020results_returned\030\001 \001(" - + "\003\0225\n\022execution_duration\030\003 \001(\0132\031.google.p" - + "rotobuf.Duration\022\027\n\017read_operations\030\004 \001(" - + "\003\022,\n\013debug_stats\030\005 \001(\0132\027.google.protobuf" - + ".StructB\303\001\n\027com.google.datastore.v1B\021Que" - + "ryProfileProtoP\001Z" - + "\n\017property_filter\030\002 \001(\0132#.google.datasto" - + "re.v1.PropertyFilterH\000B\r\n\013filter_type\"\261\001" - + "\n\017CompositeFilter\0229\n\002op\030\001 \001(\0162-.google.d" - + "atastore.v1.CompositeFilter.Operator\022,\n\007" - + "filters\030\002 \003(\0132\033.google.datastore.v1.Filt" - + "er\"5\n\010Operator\022\030\n\024OPERATOR_UNSPECIFIED\020\000" - + "\022\007\n\003AND\020\001\022\006\n\002OR\020\002\"\352\002\n\016PropertyFilter\0228\n\010" - + "property\030\001 \001(\0132&.google.datastore.v1.Pro" - + "pertyReference\0228\n\002op\030\002 \001(\0162,.google.data" - + "store.v1.PropertyFilter.Operator\022)\n\005valu" - + "e\030\003 \001(\0132\032.google.datastore.v1.Value\"\270\001\n\010" - + "Operator\022\030\n\024OPERATOR_UNSPECIFIED\020\000\022\r\n\tLE" - + "SS_THAN\020\001\022\026\n\022LESS_THAN_OR_EQUAL\020\002\022\020\n\014GRE" - + "ATER_THAN\020\003\022\031\n\025GREATER_THAN_OR_EQUAL\020\004\022\t" - + "\n\005EQUAL\020\005\022\006\n\002IN\020\006\022\r\n\tNOT_EQUAL\020\t\022\020\n\014HAS_" - + "ANCESTOR\020\013\022\n\n\006NOT_IN\020\r\"\245\002\n\010GqlQuery\022\024\n\014q" - + "uery_string\030\001 \001(\t\022\026\n\016allow_literals\030\002 \001(" - + "\010\022H\n\016named_bindings\030\005 \003(\01320.google.datas" - + "tore.v1.GqlQuery.NamedBindingsEntry\022C\n\023p" - + "ositional_bindings\030\004 \003(\0132&.google.datast" - + "ore.v1.GqlQueryParameter\032\\\n\022NamedBinding" - + "sEntry\022\013\n\003key\030\001 \001(\t\0225\n\005value\030\002 \001(\0132&.goo" - + "gle.datastore.v1.GqlQueryParameter:\0028\001\"d" - + "\n\021GqlQueryParameter\022+\n\005value\030\002 \001(\0132\032.goo" - + "gle.datastore.v1.ValueH\000\022\020\n\006cursor\030\003 \001(\014" - + "H\000B\020\n\016parameter_type\"\215\004\n\020QueryResultBatc" - + "h\022\027\n\017skipped_results\030\006 \001(\005\022\026\n\016skipped_cu" - + "rsor\030\003 \001(\014\022H\n\022entity_result_type\030\001 \001(\0162," - + ".google.datastore.v1.EntityResult.Result" - + "Type\0229\n\016entity_results\030\002 \003(\0132!.google.da" - + "tastore.v1.EntityResult\022\022\n\nend_cursor\030\004 " - + "\001(\014\022K\n\014more_results\030\005 \001(\01625.google.datas" - + "tore.v1.QueryResultBatch.MoreResultsType" - + "\022\030\n\020snapshot_version\030\007 \001(\003\022-\n\tread_time\030" - + "\010 \001(\0132\032.google.protobuf.Timestamp\"\230\001\n\017Mo" - + "reResultsType\022!\n\035MORE_RESULTS_TYPE_UNSPE" - + "CIFIED\020\000\022\020\n\014NOT_FINISHED\020\001\022\034\n\030MORE_RESUL" - + "TS_AFTER_LIMIT\020\002\022\035\n\031MORE_RESULTS_AFTER_C" - + "URSOR\020\004\022\023\n\017NO_MORE_RESULTS\020\003B\274\001\n\027com.goo" - + "gle.datastore.v1B\nQueryProtoP\001Z Date: Wed, 8 May 2024 03:08:48 +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 --- .../admin/v1/DatastoreAdminClient.java | 1184 -------- .../admin/v1/DatastoreAdminSettings.java | 324 --- .../datastore/admin/v1/gapic_metadata.json | 36 - .../datastore/admin/v1/package-info.java | 84 - .../admin/v1/stub/DatastoreAdminStub.java | 108 - .../v1/stub/DatastoreAdminStubSettings.java | 715 ----- .../GrpcDatastoreAdminCallableFactory.java | 113 - .../admin/v1/stub/GrpcDatastoreAdminStub.java | 386 --- ...HttpJsonDatastoreAdminCallableFactory.java | 101 - .../v1/stub/HttpJsonDatastoreAdminStub.java | 620 ----- .../reflect-config.json | 1793 ------------- .../v1/DatastoreAdminClientHttpJsonTest.java | 434 --- .../admin/v1/DatastoreAdminClientTest.java | 428 --- .../admin/v1/MockDatastoreAdmin.java | 59 - .../admin/v1/MockDatastoreAdminImpl.java | 192 -- .../admin/v1/DatastoreAdminGrpc.java | 1101 -------- .../admin/v1/DatastoreAdminProto.java | 370 --- .../google/datastore/admin/v1/IndexProto.java | 88 - .../datastore/admin/v1/MigrationProto.java | 114 - .../datastore/v1/AggregationResultProto.java | 95 - .../v1/BeginTransactionResponseOrBuilder.java | 20 - .../google/datastore/v1/DatastoreProto.java | 459 ---- .../com/google/datastore/v1/EntityProto.java | 152 -- .../datastore/v1/KindExpressionOrBuilder.java | 30 - .../datastore/v1/QueryProfileProto.java | 110 - .../com/google/datastore/v1/QueryProto.java | 337 --- .../v1/ReserveIdsResponseOrBuilder.java | 10 - .../v1/RollbackResponseOrBuilder.java | 10 - .../datastore/admin/v1/CommonMetadata.java | 870 +++--- .../admin/v1/CommonMetadataOrBuilder.java | 76 +- .../admin/v1/CreateIndexRequest.java | 401 +-- .../admin/v1/CreateIndexRequestOrBuilder.java | 35 +- .../admin/v1/DatastoreAdminProto.java | 406 +++ .../DatastoreFirestoreMigrationMetadata.java | 397 +-- ...reFirestoreMigrationMetadataOrBuilder.java | 30 +- .../admin/v1/DeleteIndexRequest.java | 391 +-- .../admin/v1/DeleteIndexRequestOrBuilder.java | 36 +- .../datastore/admin/v1/EntityFilter.java | 456 ++-- .../admin/v1/EntityFilterOrBuilder.java | 54 +- .../admin/v1/ExportEntitiesMetadata.java | 701 +++-- .../v1/ExportEntitiesMetadataOrBuilder.java | 59 +- .../admin/v1/ExportEntitiesRequest.java | 725 ++--- .../v1/ExportEntitiesRequestOrBuilder.java | 74 +- .../admin/v1/ExportEntitiesResponse.java | 319 ++- .../v1/ExportEntitiesResponseOrBuilder.java | 27 +- .../datastore/admin/v1/GetIndexRequest.java | 384 +-- .../admin/v1/GetIndexRequestOrBuilder.java | 36 +- .../admin/v1/ImportEntitiesMetadata.java | 701 +++-- .../v1/ImportEntitiesMetadataOrBuilder.java | 59 +- .../admin/v1/ImportEntitiesRequest.java | 725 ++--- .../v1/ImportEntitiesRequestOrBuilder.java | 74 +- .../com/google/datastore/admin/v1/Index.java | 1474 ++++++---- .../admin/v1/IndexOperationMetadata.java | 511 ++-- .../v1/IndexOperationMetadataOrBuilder.java | 43 +- .../datastore/admin/v1/IndexOrBuilder.java | 111 +- .../google/datastore/admin/v1/IndexProto.java | 104 + .../admin/v1/ListIndexesRequest.java | 480 ++-- .../admin/v1/ListIndexesRequestOrBuilder.java | 44 +- .../admin/v1/ListIndexesResponse.java | 479 ++-- .../v1/ListIndexesResponseOrBuilder.java | 46 +- .../admin/v1/MigrationProgressEvent.java | 1685 +++++++----- .../v1/MigrationProgressEventOrBuilder.java | 73 +- .../datastore/admin/v1/MigrationProto.java | 134 + .../datastore/admin/v1/MigrationState.java | 89 +- .../admin/v1/MigrationStateEvent.java | 303 ++- .../v1/MigrationStateEventOrBuilder.java | 24 +- .../datastore/admin/v1/MigrationStep.java | 117 +- .../datastore/admin/v1/OperationType.java | 96 +- .../google/datastore/admin/v1/Progress.java | 304 ++- .../datastore/admin/v1/ProgressOrBuilder.java | 24 +- .../datastore/admin/v1/datastore_admin.proto | 0 .../google/datastore/admin/v1/index.proto | 0 .../google/datastore/admin/v1/migration.proto | 0 .../google/datastore/v1/AggregationQuery.java | 2380 +++++++++++------ .../v1/AggregationQueryOrBuilder.java | 64 +- .../datastore/v1/AggregationResult.java | 504 ++-- .../datastore/v1/AggregationResultBatch.java | 524 ++-- .../v1/AggregationResultBatchOrBuilder.java | 50 +- .../v1/AggregationResultOrBuilder.java | 48 +- .../datastore/v1/AggregationResultProto.java | 112 + .../datastore/v1/AllocateIdsRequest.java | 618 +++-- .../v1/AllocateIdsRequestOrBuilder.java | 70 +- .../datastore/v1/AllocateIdsResponse.java | 405 +-- .../v1/AllocateIdsResponseOrBuilder.java | 37 +- .../com/google/datastore/v1/ArrayValue.java | 395 +-- .../datastore/v1/ArrayValueOrBuilder.java | 37 +- .../datastore/v1/BeginTransactionRequest.java | 485 ++-- .../v1/BeginTransactionRequestOrBuilder.java | 44 +- .../v1/BeginTransactionResponse.java | 280 +- .../v1/BeginTransactionResponseOrBuilder.java | 39 + .../google/datastore/v1/CommitRequest.java | 837 +++--- .../datastore/v1/CommitRequestOrBuilder.java | 75 +- .../google/datastore/v1/CommitResponse.java | 505 ++-- .../datastore/v1/CommitResponseOrBuilder.java | 47 +- .../google/datastore/v1/CompositeFilter.java | 517 ++-- .../v1/CompositeFilterOrBuilder.java | 43 +- .../google/datastore/v1/DatastoreProto.java | 518 ++++ .../java/com/google/datastore/v1/Entity.java | 570 ++-- .../google/datastore/v1/EntityOrBuilder.java | 56 +- .../com/google/datastore/v1/EntityProto.java | 184 ++ .../com/google/datastore/v1/EntityResult.java | 631 +++-- .../datastore/v1/EntityResultOrBuilder.java | 48 +- .../google/datastore/v1/ExecutionStats.java | 487 ++-- .../datastore/v1/ExecutionStatsOrBuilder.java | 40 +- .../google/datastore/v1/ExplainMetrics.java | 428 +-- .../datastore/v1/ExplainMetricsOrBuilder.java | 34 +- .../google/datastore/v1/ExplainOptions.java | 270 +- .../datastore/v1/ExplainOptionsOrBuilder.java | 21 +- .../java/com/google/datastore/v1/Filter.java | 450 ++-- .../google/datastore/v1/FilterOrBuilder.java | 34 +- .../com/google/datastore/v1/GqlQuery.java | 743 +++-- .../datastore/v1/GqlQueryOrBuilder.java | 78 +- .../datastore/v1/GqlQueryParameter.java | 435 +-- .../v1/GqlQueryParameterOrBuilder.java | 32 +- .../java/com/google/datastore/v1/Key.java | 975 ++++--- .../com/google/datastore/v1/KeyOrBuilder.java | 45 +- .../google/datastore/v1/KindExpression.java | 305 ++- .../datastore/v1/KindExpressionOrBuilder.java | 51 + .../google/datastore/v1/LookupRequest.java | 711 +++-- .../datastore/v1/LookupRequestOrBuilder.java | 78 +- .../google/datastore/v1/LookupResponse.java | 824 +++--- .../datastore/v1/LookupResponseOrBuilder.java | 86 +- .../com/google/datastore/v1/Mutation.java | 859 +++--- .../datastore/v1/MutationOrBuilder.java | 64 +- .../google/datastore/v1/MutationResult.java | 563 ++-- .../datastore/v1/MutationResultOrBuilder.java | 48 +- .../com/google/datastore/v1/PartitionId.java | 449 ++-- .../datastore/v1/PartitionIdOrBuilder.java | 45 +- .../com/google/datastore/v1/PlanSummary.java | 395 +-- .../datastore/v1/PlanSummaryOrBuilder.java | 37 +- .../com/google/datastore/v1/Projection.java | 332 ++- .../datastore/v1/ProjectionOrBuilder.java | 26 +- .../google/datastore/v1/PropertyFilter.java | 575 ++-- .../datastore/v1/PropertyFilterOrBuilder.java | 40 +- .../google/datastore/v1/PropertyOrder.java | 452 ++-- .../datastore/v1/PropertyOrderOrBuilder.java | 32 +- .../datastore/v1/PropertyReference.java | 312 ++- .../v1/PropertyReferenceOrBuilder.java | 27 +- .../java/com/google/datastore/v1/Query.java | 1117 +++++--- .../google/datastore/v1/QueryOrBuilder.java | 117 +- .../datastore/v1/QueryProfileProto.java | 128 + .../com/google/datastore/v1/QueryProto.java | 389 +++ .../google/datastore/v1/QueryResultBatch.java | 804 ++++-- .../v1/QueryResultBatchOrBuilder.java | 68 +- .../com/google/datastore/v1/ReadOptions.java | 660 +++-- .../datastore/v1/ReadOptionsOrBuilder.java | 49 +- .../datastore/v1/ReserveIdsRequest.java | 618 +++-- .../v1/ReserveIdsRequestOrBuilder.java | 70 +- .../datastore/v1/ReserveIdsResponse.java | 238 +- .../v1/ReserveIdsResponseOrBuilder.java | 25 + .../google/datastore/v1/RollbackRequest.java | 414 +-- .../v1/RollbackRequestOrBuilder.java | 39 +- .../google/datastore/v1/RollbackResponse.java | 235 +- .../v1/RollbackResponseOrBuilder.java | 25 + .../v1/RunAggregationQueryRequest.java | 960 ++++--- .../RunAggregationQueryRequestOrBuilder.java | 88 +- .../v1/RunAggregationQueryResponse.java | 557 ++-- .../RunAggregationQueryResponseOrBuilder.java | 45 +- .../google/datastore/v1/RunQueryRequest.java | 955 ++++--- .../v1/RunQueryRequestOrBuilder.java | 88 +- .../google/datastore/v1/RunQueryResponse.java | 536 ++-- .../v1/RunQueryResponseOrBuilder.java | 45 +- .../datastore/v1/TransactionOptions.java | 1067 +++++--- .../v1/TransactionOptionsOrBuilder.java | 34 +- .../java/com/google/datastore/v1/Value.java | 1216 ++++++--- .../google/datastore/v1/ValueOrBuilder.java | 109 +- .../datastore/v1/aggregation_result.proto | 0 .../proto/google/datastore/v1/datastore.proto | 0 .../proto/google/datastore/v1/entity.proto | 0 .../proto/google/datastore/v1/query.proto | 0 .../google/datastore/v1/query_profile.proto | 0 171 files changed, 28946 insertions(+), 24906 deletions(-) delete mode 100644 owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/DatastoreAdminClient.java delete mode 100644 owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/DatastoreAdminSettings.java delete mode 100644 owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/gapic_metadata.json delete mode 100644 owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/package-info.java delete mode 100644 owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/DatastoreAdminStub.java delete mode 100644 owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/DatastoreAdminStubSettings.java delete mode 100644 owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/GrpcDatastoreAdminCallableFactory.java delete mode 100644 owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/GrpcDatastoreAdminStub.java delete mode 100644 owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/HttpJsonDatastoreAdminCallableFactory.java delete mode 100644 owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/HttpJsonDatastoreAdminStub.java delete mode 100644 owl-bot-staging/v1/google-cloud-datastore/src/main/resources/META-INF/native-image/com.google.cloud.datastore.admin.v1/reflect-config.json delete mode 100644 owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/DatastoreAdminClientHttpJsonTest.java delete mode 100644 owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/DatastoreAdminClientTest.java delete mode 100644 owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/MockDatastoreAdmin.java delete mode 100644 owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/MockDatastoreAdminImpl.java delete mode 100644 owl-bot-staging/v1/grpc-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreAdminGrpc.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreAdminProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/DatastoreProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KindExpressionOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryProfileProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryProto.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsResponseOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackResponseOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/CommonMetadata.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/CommonMetadataOrBuilder.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/CreateIndexRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/CreateIndexRequestOrBuilder.java (68%) create mode 100644 proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreAdminProto.java rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/DatastoreFirestoreMigrationMetadata.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/DatastoreFirestoreMigrationMetadataOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/DeleteIndexRequest.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/DeleteIndexRequestOrBuilder.java (56%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/EntityFilter.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/EntityFilterOrBuilder.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/ExportEntitiesMetadata.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/ExportEntitiesMetadataOrBuilder.java (83%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/ExportEntitiesRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/ExportEntitiesRequestOrBuilder.java (79%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/ExportEntitiesResponse.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/ExportEntitiesResponseOrBuilder.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/GetIndexRequest.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/GetIndexRequestOrBuilder.java (55%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/ImportEntitiesMetadata.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/ImportEntitiesMetadataOrBuilder.java (82%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/ImportEntitiesRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/ImportEntitiesRequestOrBuilder.java (80%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/Index.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/IndexOperationMetadata.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/IndexOperationMetadataOrBuilder.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/IndexOrBuilder.java (60%) create mode 100644 proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexProto.java rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/ListIndexesRequest.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/ListIndexesRequestOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/ListIndexesResponse.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/ListIndexesResponseOrBuilder.java (63%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/MigrationProgressEvent.java (58%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/MigrationProgressEventOrBuilder.java (55%) create mode 100644 proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProto.java rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/MigrationState.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/MigrationStateEvent.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/MigrationStateEventOrBuilder.java (53%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/MigrationStep.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/OperationType.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/Progress.java (66%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/java/com/google/datastore/admin/v1/ProgressOrBuilder.java (55%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/proto/google/datastore/admin/v1/datastore_admin.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/proto/google/datastore/admin/v1/index.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1 => proto-google-cloud-datastore-admin-v1}/src/main/proto/google/datastore/admin/v1/migration.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/AggregationQuery.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/AggregationQueryOrBuilder.java (61%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/AggregationResult.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/AggregationResultBatch.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/AggregationResultBatchOrBuilder.java (79%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/AggregationResultOrBuilder.java (72%) create mode 100644 proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultProto.java rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/AllocateIdsRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/AllocateIdsRequestOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/AllocateIdsResponse.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/AllocateIdsResponseOrBuilder.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/ArrayValue.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/ArrayValueOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/BeginTransactionRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/BeginTransactionRequestOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/BeginTransactionResponse.java (65%) create mode 100644 proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionResponseOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/CommitRequest.java (79%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/CommitRequestOrBuilder.java (87%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/CommitResponse.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/CommitResponseOrBuilder.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/CompositeFilter.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/CompositeFilterOrBuilder.java (68%) create mode 100644 proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/DatastoreProto.java rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/Entity.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/EntityOrBuilder.java (78%) create mode 100644 proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityProto.java rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/EntityResult.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/EntityResultOrBuilder.java (83%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/ExecutionStats.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/ExecutionStatsOrBuilder.java (81%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/ExplainMetrics.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/ExplainMetricsOrBuilder.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/ExplainOptions.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/ExplainOptionsOrBuilder.java (54%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/Filter.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/FilterOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/GqlQuery.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/GqlQueryOrBuilder.java (81%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/GqlQueryParameter.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/GqlQueryParameterOrBuilder.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/Key.java (81%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/KeyOrBuilder.java (88%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/KindExpression.java (65%) create mode 100644 proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KindExpressionOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/LookupRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/LookupRequestOrBuilder.java (69%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/LookupResponse.java (79%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/LookupResponseOrBuilder.java (83%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/Mutation.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/MutationOrBuilder.java (86%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/MutationResult.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/MutationResultOrBuilder.java (83%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/PartitionId.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/PartitionIdOrBuilder.java (62%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/PlanSummary.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/PlanSummaryOrBuilder.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/Projection.java (65%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/ProjectionOrBuilder.java (58%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/PropertyFilter.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/PropertyFilterOrBuilder.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/PropertyOrder.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/PropertyOrderOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/PropertyReference.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/PropertyReferenceOrBuilder.java (57%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/Query.java (80%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/QueryOrBuilder.java (86%) create mode 100644 proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryProfileProto.java create mode 100644 proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryProto.java rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/QueryResultBatch.java (77%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/QueryResultBatchOrBuilder.java (86%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/ReadOptions.java (76%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/ReadOptionsOrBuilder.java (86%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/ReserveIdsRequest.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/ReserveIdsRequestOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/ReserveIdsResponse.java (62%) create mode 100644 proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsResponseOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/RollbackRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/RollbackRequestOrBuilder.java (67%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/RollbackResponse.java (62%) create mode 100644 proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackResponseOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/RunAggregationQueryRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/RunAggregationQueryRequestOrBuilder.java (79%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/RunAggregationQueryResponse.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/RunAggregationQueryResponseOrBuilder.java (82%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/RunQueryRequest.java (71%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/RunQueryRequestOrBuilder.java (79%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/RunQueryResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/RunQueryResponseOrBuilder.java (81%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/TransactionOptions.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/TransactionOptionsOrBuilder.java (72%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/Value.java (75%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/java/com/google/datastore/v1/ValueOrBuilder.java (88%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/proto/google/datastore/v1/aggregation_result.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/proto/google/datastore/v1/datastore.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/proto/google/datastore/v1/entity.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/proto/google/datastore/v1/query.proto (100%) rename {owl-bot-staging/v1/proto-google-cloud-datastore-v1 => proto-google-cloud-datastore-v1}/src/main/proto/google/datastore/v1/query_profile.proto (100%) diff --git a/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/DatastoreAdminClient.java b/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/DatastoreAdminClient.java deleted file mode 100644 index 2e58d6679..000000000 --- a/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/DatastoreAdminClient.java +++ /dev/null @@ -1,1184 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.cloud.datastore.admin.v1; - -import com.google.api.core.ApiFuture; -import com.google.api.core.ApiFutures; -import com.google.api.core.BetaApi; -import com.google.api.gax.core.BackgroundResource; -import com.google.api.gax.httpjson.longrunning.OperationsClient; -import com.google.api.gax.longrunning.OperationFuture; -import com.google.api.gax.paging.AbstractFixedSizeCollection; -import com.google.api.gax.paging.AbstractPage; -import com.google.api.gax.paging.AbstractPagedListResponse; -import com.google.api.gax.rpc.OperationCallable; -import com.google.api.gax.rpc.PageContext; -import com.google.api.gax.rpc.UnaryCallable; -import com.google.cloud.datastore.admin.v1.stub.DatastoreAdminStub; -import com.google.cloud.datastore.admin.v1.stub.DatastoreAdminStubSettings; -import com.google.common.util.concurrent.MoreExecutors; -import com.google.datastore.admin.v1.CreateIndexRequest; -import com.google.datastore.admin.v1.DeleteIndexRequest; -import com.google.datastore.admin.v1.EntityFilter; -import com.google.datastore.admin.v1.ExportEntitiesMetadata; -import com.google.datastore.admin.v1.ExportEntitiesRequest; -import com.google.datastore.admin.v1.ExportEntitiesResponse; -import com.google.datastore.admin.v1.GetIndexRequest; -import com.google.datastore.admin.v1.ImportEntitiesMetadata; -import com.google.datastore.admin.v1.ImportEntitiesRequest; -import com.google.datastore.admin.v1.Index; -import com.google.datastore.admin.v1.IndexOperationMetadata; -import com.google.datastore.admin.v1.ListIndexesRequest; -import com.google.datastore.admin.v1.ListIndexesResponse; -import com.google.longrunning.Operation; -import com.google.protobuf.Empty; -import java.io.IOException; -import java.util.List; -import java.util.Map; -import java.util.concurrent.TimeUnit; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * Service Description: Google Cloud Datastore Admin API - * - *

The Datastore Admin API provides several admin services for Cloud Datastore. - * - *

Concepts: Project, namespace, kind, and entity as defined in the Google Cloud Datastore API. - * - *

Operation: An Operation represents work being performed in the background. - * - *

EntityFilter: Allows specifying a subset of entities in a project. This is specified as a - * combination of kinds and namespaces (either or both of which may be all). - * - *

Export/Import Service: - * - *

- The Export/Import service provides the ability to copy all or a subset of entities to/from - * Google Cloud Storage. - Exported data may be imported into Cloud Datastore for any Google Cloud - * Platform project. It is not restricted to the export source project. It is possible to export - * from one project and then import into another. - Exported data can also be loaded into Google - * BigQuery for analysis. - Exports and imports are performed asynchronously. An Operation resource - * is created for each export/import. The state (including any errors encountered) of the - * export/import may be queried via the Operation resource. - * - *

Index Service: - * - *

- The index service manages Cloud Datastore composite indexes. - Index creation and deletion - * are performed asynchronously. An Operation resource is created for each such asynchronous - * operation. The state of the operation (including any errors encountered) may be queried via the - * Operation resource. - * - *

Operation Service: - * - *

- The Operations collection provides a record of actions performed for the specified project - * (including any operations in progress). Operations are not created directly but through calls on - * other collections or resources. - An operation that is not yet done may be cancelled. The request - * to cancel is asynchronous and the operation may continue to run for some time after the request - * to cancel is made. - An operation that is done may be deleted so that it is no longer listed as - * part of the Operation collection. - ListOperations returns all pending operations, but not - * completed operations. - Operations are created by service DatastoreAdmin, but are accessed via - * service google.longrunning.Operations. - * - *

This class provides the ability to make remote calls to the backing service through method - * calls that map to API methods. Sample code to get started: - * - *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
- * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
- *   GetIndexRequest request =
- *       GetIndexRequest.newBuilder()
- *           .setProjectId("projectId-894832108")
- *           .setIndexId("indexId1943291277")
- *           .build();
- *   Index response = datastoreAdminClient.getIndex(request);
- * }
- * }
- * - *

Note: close() needs to be called on the DatastoreAdminClient object to clean up resources such - * as threads. In the example above, try-with-resources is used, which automatically calls close(). - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - * - *
Methods
MethodDescriptionMethod Variants

ExportEntities

Exports a copy of all or a subset of entities from Google Cloud Datastore to another storage system, such as Google Cloud Storage. Recent updates to entities may not be reflected in the export. The export occurs in the background and its progress can be monitored and managed via the Operation resource that is created. The output of an export may only be used once the associated operation is done. If an export operation is cancelled before completion it may leave partial data behind in Google Cloud Storage.

- *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

- *
    - *
  • exportEntitiesAsync(ExportEntitiesRequest request) - *

- *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

- *
    - *
  • exportEntitiesAsync(String projectId, Map<String, String> labels, EntityFilter entityFilter, String outputUrlPrefix) - *

- *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

- *
    - *
  • exportEntitiesOperationCallable() - *

  • exportEntitiesCallable() - *

- *

ImportEntities

Imports entities into Google Cloud Datastore. Existing entities with the same key are overwritten. The import occurs in the background and its progress can be monitored and managed via the Operation resource that is created. If an ImportEntities operation is cancelled, it is possible that a subset of the data has already been imported to Cloud Datastore.

- *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

- *
    - *
  • importEntitiesAsync(ImportEntitiesRequest request) - *

- *

Methods that return long-running operations have "Async" method variants that return `OperationFuture`, which is used to track polling of the service.

- *
    - *
  • importEntitiesAsync(String projectId, Map<String, String> labels, String inputUrl, EntityFilter entityFilter) - *

- *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

- *
    - *
  • importEntitiesOperationCallable() - *

  • importEntitiesCallable() - *

- *

CreateIndex

Creates the specified index. A newly created index's initial state is `CREATING`. On completion of the returned [google.longrunning.Operation][google.longrunning.Operation], the state will be `READY`. If the index already exists, the call will return an `ALREADY_EXISTS` status. - *

During index creation, the process could result in an error, in which case the index will move to the `ERROR` state. The process can be recovered by fixing the data that caused the error, removing the index with [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex], then re-creating the index with [create] [google.datastore.admin.v1.DatastoreAdmin.CreateIndex]. - *

Indexes with a single property cannot be created.

- *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

- *
    - *
  • createIndexAsync(CreateIndexRequest request) - *

- *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

- *
    - *
  • createIndexOperationCallable() - *

  • createIndexCallable() - *

- *

DeleteIndex

Deletes an existing index. An index can only be deleted if it is in a `READY` or `ERROR` state. On successful execution of the request, the index will be in a `DELETING` [state][google.datastore.admin.v1.Index.State]. And on completion of the returned [google.longrunning.Operation][google.longrunning.Operation], the index will be removed. - *

During index deletion, the process could result in an error, in which case the index will move to the `ERROR` state. The process can be recovered by fixing the data that caused the error, followed by calling [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex] again.

- *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

- *
    - *
  • deleteIndexAsync(DeleteIndexRequest request) - *

- *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

- *
    - *
  • deleteIndexOperationCallable() - *

  • deleteIndexCallable() - *

- *

GetIndex

Gets an index.

- *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

- *
    - *
  • getIndex(GetIndexRequest request) - *

- *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

- *
    - *
  • getIndexCallable() - *

- *

ListIndexes

Lists the indexes that match the specified filters. Datastore uses an eventually consistent query to fetch the list of indexes and may occasionally return stale results.

- *

Request object method variants only take one parameter, a request object, which must be constructed before the call.

- *
    - *
  • listIndexes(ListIndexesRequest request) - *

- *

Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.

- *
    - *
  • listIndexesPagedCallable() - *

  • listIndexesCallable() - *

- *
- * - *

See the individual methods for example code. - * - *

Many parameters require resource names to be formatted in a particular way. To assist with - * these names, this class includes a format method for each type of name, and additionally a parse - * method to extract the individual identifiers contained within names that are returned. - * - *

This class can be customized by passing in a custom instance of DatastoreAdminSettings to - * create(). For example: - * - *

To customize credentials: - * - *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
- * DatastoreAdminSettings datastoreAdminSettings =
- *     DatastoreAdminSettings.newBuilder()
- *         .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
- *         .build();
- * DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create(datastoreAdminSettings);
- * }
- * - *

To customize the endpoint: - * - *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
- * DatastoreAdminSettings datastoreAdminSettings =
- *     DatastoreAdminSettings.newBuilder().setEndpoint(myEndpoint).build();
- * DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create(datastoreAdminSettings);
- * }
- * - *

To use REST (HTTP1.1/JSON) transport (instead of gRPC) for sending and receiving requests over - * the wire: - * - *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
- * DatastoreAdminSettings datastoreAdminSettings =
- *     DatastoreAdminSettings.newHttpJsonBuilder().build();
- * DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create(datastoreAdminSettings);
- * }
- * - *

Please refer to the GitHub repository's samples for more quickstart code snippets. - */ -@Generated("by gapic-generator-java") -public class DatastoreAdminClient implements BackgroundResource { - private final DatastoreAdminSettings settings; - private final DatastoreAdminStub stub; - private final OperationsClient httpJsonOperationsClient; - private final com.google.longrunning.OperationsClient operationsClient; - - /** Constructs an instance of DatastoreAdminClient with default settings. */ - public static final DatastoreAdminClient create() throws IOException { - return create(DatastoreAdminSettings.newBuilder().build()); - } - - /** - * Constructs an instance of DatastoreAdminClient, using the given settings. The channels are - * created based on the settings passed in, or defaults for any settings that are not set. - */ - public static final DatastoreAdminClient create(DatastoreAdminSettings settings) - throws IOException { - return new DatastoreAdminClient(settings); - } - - /** - * Constructs an instance of DatastoreAdminClient, using the given stub for making calls. This is - * for advanced usage - prefer using create(DatastoreAdminSettings). - */ - public static final DatastoreAdminClient create(DatastoreAdminStub stub) { - return new DatastoreAdminClient(stub); - } - - /** - * Constructs an instance of DatastoreAdminClient, using the given settings. This is protected so - * that it is easy to make a subclass, but otherwise, the static factory methods should be - * preferred. - */ - protected DatastoreAdminClient(DatastoreAdminSettings settings) throws IOException { - this.settings = settings; - this.stub = ((DatastoreAdminStubSettings) settings.getStubSettings()).createStub(); - this.operationsClient = - com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); - this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); - } - - protected DatastoreAdminClient(DatastoreAdminStub stub) { - this.settings = null; - this.stub = stub; - this.operationsClient = - com.google.longrunning.OperationsClient.create(this.stub.getOperationsStub()); - this.httpJsonOperationsClient = OperationsClient.create(this.stub.getHttpJsonOperationsStub()); - } - - public final DatastoreAdminSettings getSettings() { - return settings; - } - - public DatastoreAdminStub getStub() { - return stub; - } - - /** - * Returns the OperationsClient that can be used to query the status of a long-running operation - * returned by another API method call. - */ - public final com.google.longrunning.OperationsClient getOperationsClient() { - return operationsClient; - } - - /** - * Returns the OperationsClient that can be used to query the status of a long-running operation - * returned by another API method call. - */ - @BetaApi - public final OperationsClient getHttpJsonOperationsClient() { - return httpJsonOperationsClient; - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Exports a copy of all or a subset of entities from Google Cloud Datastore to another storage - * system, such as Google Cloud Storage. Recent updates to entities may not be reflected in the - * export. The export occurs in the background and its progress can be monitored and managed via - * the Operation resource that is created. The output of an export may only be used once the - * associated operation is done. If an export operation is cancelled before completion it may - * leave partial data behind in Google Cloud Storage. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
-   *   String projectId = "projectId-894832108";
-   *   Map labels = new HashMap<>();
-   *   EntityFilter entityFilter = EntityFilter.newBuilder().build();
-   *   String outputUrlPrefix = "outputUrlPrefix-1132598048";
-   *   ExportEntitiesResponse response =
-   *       datastoreAdminClient
-   *           .exportEntitiesAsync(projectId, labels, entityFilter, outputUrlPrefix)
-   *           .get();
-   * }
-   * }
- * - * @param projectId Required. Project ID against which to make the request. - * @param labels Client-assigned labels. - * @param entityFilter Description of what data from the project is included in the export. - * @param outputUrlPrefix Required. Location for the export metadata and data files. - *

The full resource URL of the external storage location. Currently, only Google Cloud - * Storage is supported. So output_url_prefix should be of the form: - * `gs://BUCKET_NAME[/NAMESPACE_PATH]`, where `BUCKET_NAME` is the name of the Cloud Storage - * bucket and `NAMESPACE_PATH` is an optional Cloud Storage namespace path (this is not a - * Cloud Datastore namespace). For more information about Cloud Storage namespace paths, see - * [Object name - * considerations](https://cloud.google.com/storage/docs/naming#object-considerations). - *

The resulting files will be nested deeper than the specified URL prefix. The final - * output URL will be provided in the - * [google.datastore.admin.v1.ExportEntitiesResponse.output_url][google.datastore.admin.v1.ExportEntitiesResponse.output_url] - * field. That value should be used for subsequent ImportEntities operations. - *

By nesting the data files deeper, the same Cloud Storage bucket can be used in multiple - * ExportEntities operations without conflict. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final OperationFuture exportEntitiesAsync( - String projectId, - Map labels, - EntityFilter entityFilter, - String outputUrlPrefix) { - ExportEntitiesRequest request = - ExportEntitiesRequest.newBuilder() - .setProjectId(projectId) - .putAllLabels(labels) - .setEntityFilter(entityFilter) - .setOutputUrlPrefix(outputUrlPrefix) - .build(); - return exportEntitiesAsync(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Exports a copy of all or a subset of entities from Google Cloud Datastore to another storage - * system, such as Google Cloud Storage. Recent updates to entities may not be reflected in the - * export. The export occurs in the background and its progress can be monitored and managed via - * the Operation resource that is created. The output of an export may only be used once the - * associated operation is done. If an export operation is cancelled before completion it may - * leave partial data behind in Google Cloud Storage. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
-   *   ExportEntitiesRequest request =
-   *       ExportEntitiesRequest.newBuilder()
-   *           .setProjectId("projectId-894832108")
-   *           .putAllLabels(new HashMap())
-   *           .setEntityFilter(EntityFilter.newBuilder().build())
-   *           .setOutputUrlPrefix("outputUrlPrefix-1132598048")
-   *           .build();
-   *   ExportEntitiesResponse response = datastoreAdminClient.exportEntitiesAsync(request).get();
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final OperationFuture exportEntitiesAsync( - ExportEntitiesRequest request) { - return exportEntitiesOperationCallable().futureCall(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Exports a copy of all or a subset of entities from Google Cloud Datastore to another storage - * system, such as Google Cloud Storage. Recent updates to entities may not be reflected in the - * export. The export occurs in the background and its progress can be monitored and managed via - * the Operation resource that is created. The output of an export may only be used once the - * associated operation is done. If an export operation is cancelled before completion it may - * leave partial data behind in Google Cloud Storage. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
-   *   ExportEntitiesRequest request =
-   *       ExportEntitiesRequest.newBuilder()
-   *           .setProjectId("projectId-894832108")
-   *           .putAllLabels(new HashMap())
-   *           .setEntityFilter(EntityFilter.newBuilder().build())
-   *           .setOutputUrlPrefix("outputUrlPrefix-1132598048")
-   *           .build();
-   *   OperationFuture future =
-   *       datastoreAdminClient.exportEntitiesOperationCallable().futureCall(request);
-   *   // Do something.
-   *   ExportEntitiesResponse response = future.get();
-   * }
-   * }
- */ - public final OperationCallable< - ExportEntitiesRequest, ExportEntitiesResponse, ExportEntitiesMetadata> - exportEntitiesOperationCallable() { - return stub.exportEntitiesOperationCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Exports a copy of all or a subset of entities from Google Cloud Datastore to another storage - * system, such as Google Cloud Storage. Recent updates to entities may not be reflected in the - * export. The export occurs in the background and its progress can be monitored and managed via - * the Operation resource that is created. The output of an export may only be used once the - * associated operation is done. If an export operation is cancelled before completion it may - * leave partial data behind in Google Cloud Storage. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
-   *   ExportEntitiesRequest request =
-   *       ExportEntitiesRequest.newBuilder()
-   *           .setProjectId("projectId-894832108")
-   *           .putAllLabels(new HashMap())
-   *           .setEntityFilter(EntityFilter.newBuilder().build())
-   *           .setOutputUrlPrefix("outputUrlPrefix-1132598048")
-   *           .build();
-   *   ApiFuture future =
-   *       datastoreAdminClient.exportEntitiesCallable().futureCall(request);
-   *   // Do something.
-   *   Operation response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable exportEntitiesCallable() { - return stub.exportEntitiesCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Imports entities into Google Cloud Datastore. Existing entities with the same key are - * overwritten. The import occurs in the background and its progress can be monitored and managed - * via the Operation resource that is created. If an ImportEntities operation is cancelled, it is - * possible that a subset of the data has already been imported to Cloud Datastore. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
-   *   String projectId = "projectId-894832108";
-   *   Map labels = new HashMap<>();
-   *   String inputUrl = "inputUrl470706501";
-   *   EntityFilter entityFilter = EntityFilter.newBuilder().build();
-   *   datastoreAdminClient.importEntitiesAsync(projectId, labels, inputUrl, entityFilter).get();
-   * }
-   * }
- * - * @param projectId Required. Project ID against which to make the request. - * @param labels Client-assigned labels. - * @param inputUrl Required. The full resource URL of the external storage location. Currently, - * only Google Cloud Storage is supported. So input_url should be of the form: - * `gs://BUCKET_NAME[/NAMESPACE_PATH]/OVERALL_EXPORT_METADATA_FILE`, where `BUCKET_NAME` is - * the name of the Cloud Storage bucket, `NAMESPACE_PATH` is an optional Cloud Storage - * namespace path (this is not a Cloud Datastore namespace), and - * `OVERALL_EXPORT_METADATA_FILE` is the metadata file written by the ExportEntities - * operation. For more information about Cloud Storage namespace paths, see [Object name - * considerations](https://cloud.google.com/storage/docs/naming#object-considerations). - *

For more information, see - * [google.datastore.admin.v1.ExportEntitiesResponse.output_url][google.datastore.admin.v1.ExportEntitiesResponse.output_url]. - * @param entityFilter Optionally specify which kinds/namespaces are to be imported. If provided, - * the list must be a subset of the EntityFilter used in creating the export, otherwise a - * FAILED_PRECONDITION error will be returned. If no filter is specified then all entities - * from the export are imported. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final OperationFuture importEntitiesAsync( - String projectId, Map labels, String inputUrl, EntityFilter entityFilter) { - ImportEntitiesRequest request = - ImportEntitiesRequest.newBuilder() - .setProjectId(projectId) - .putAllLabels(labels) - .setInputUrl(inputUrl) - .setEntityFilter(entityFilter) - .build(); - return importEntitiesAsync(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Imports entities into Google Cloud Datastore. Existing entities with the same key are - * overwritten. The import occurs in the background and its progress can be monitored and managed - * via the Operation resource that is created. If an ImportEntities operation is cancelled, it is - * possible that a subset of the data has already been imported to Cloud Datastore. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
-   *   ImportEntitiesRequest request =
-   *       ImportEntitiesRequest.newBuilder()
-   *           .setProjectId("projectId-894832108")
-   *           .putAllLabels(new HashMap())
-   *           .setInputUrl("inputUrl470706501")
-   *           .setEntityFilter(EntityFilter.newBuilder().build())
-   *           .build();
-   *   datastoreAdminClient.importEntitiesAsync(request).get();
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final OperationFuture importEntitiesAsync( - ImportEntitiesRequest request) { - return importEntitiesOperationCallable().futureCall(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Imports entities into Google Cloud Datastore. Existing entities with the same key are - * overwritten. The import occurs in the background and its progress can be monitored and managed - * via the Operation resource that is created. If an ImportEntities operation is cancelled, it is - * possible that a subset of the data has already been imported to Cloud Datastore. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
-   *   ImportEntitiesRequest request =
-   *       ImportEntitiesRequest.newBuilder()
-   *           .setProjectId("projectId-894832108")
-   *           .putAllLabels(new HashMap())
-   *           .setInputUrl("inputUrl470706501")
-   *           .setEntityFilter(EntityFilter.newBuilder().build())
-   *           .build();
-   *   OperationFuture future =
-   *       datastoreAdminClient.importEntitiesOperationCallable().futureCall(request);
-   *   // Do something.
-   *   future.get();
-   * }
-   * }
- */ - public final OperationCallable - importEntitiesOperationCallable() { - return stub.importEntitiesOperationCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Imports entities into Google Cloud Datastore. Existing entities with the same key are - * overwritten. The import occurs in the background and its progress can be monitored and managed - * via the Operation resource that is created. If an ImportEntities operation is cancelled, it is - * possible that a subset of the data has already been imported to Cloud Datastore. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
-   *   ImportEntitiesRequest request =
-   *       ImportEntitiesRequest.newBuilder()
-   *           .setProjectId("projectId-894832108")
-   *           .putAllLabels(new HashMap())
-   *           .setInputUrl("inputUrl470706501")
-   *           .setEntityFilter(EntityFilter.newBuilder().build())
-   *           .build();
-   *   ApiFuture future =
-   *       datastoreAdminClient.importEntitiesCallable().futureCall(request);
-   *   // Do something.
-   *   future.get();
-   * }
-   * }
- */ - public final UnaryCallable importEntitiesCallable() { - return stub.importEntitiesCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Creates the specified index. A newly created index's initial state is `CREATING`. On completion - * of the returned [google.longrunning.Operation][google.longrunning.Operation], the state will be - * `READY`. If the index already exists, the call will return an `ALREADY_EXISTS` status. - * - *

During index creation, the process could result in an error, in which case the index will - * move to the `ERROR` state. The process can be recovered by fixing the data that caused the - * error, removing the index with [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex], - * then re-creating the index with [create] - * [google.datastore.admin.v1.DatastoreAdmin.CreateIndex]. - * - *

Indexes with a single property cannot be created. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
-   *   CreateIndexRequest request =
-   *       CreateIndexRequest.newBuilder()
-   *           .setProjectId("projectId-894832108")
-   *           .setIndex(Index.newBuilder().build())
-   *           .build();
-   *   Index response = datastoreAdminClient.createIndexAsync(request).get();
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final OperationFuture createIndexAsync( - CreateIndexRequest request) { - return createIndexOperationCallable().futureCall(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Creates the specified index. A newly created index's initial state is `CREATING`. On completion - * of the returned [google.longrunning.Operation][google.longrunning.Operation], the state will be - * `READY`. If the index already exists, the call will return an `ALREADY_EXISTS` status. - * - *

During index creation, the process could result in an error, in which case the index will - * move to the `ERROR` state. The process can be recovered by fixing the data that caused the - * error, removing the index with [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex], - * then re-creating the index with [create] - * [google.datastore.admin.v1.DatastoreAdmin.CreateIndex]. - * - *

Indexes with a single property cannot be created. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
-   *   CreateIndexRequest request =
-   *       CreateIndexRequest.newBuilder()
-   *           .setProjectId("projectId-894832108")
-   *           .setIndex(Index.newBuilder().build())
-   *           .build();
-   *   OperationFuture future =
-   *       datastoreAdminClient.createIndexOperationCallable().futureCall(request);
-   *   // Do something.
-   *   Index response = future.get();
-   * }
-   * }
- */ - public final OperationCallable - createIndexOperationCallable() { - return stub.createIndexOperationCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Creates the specified index. A newly created index's initial state is `CREATING`. On completion - * of the returned [google.longrunning.Operation][google.longrunning.Operation], the state will be - * `READY`. If the index already exists, the call will return an `ALREADY_EXISTS` status. - * - *

During index creation, the process could result in an error, in which case the index will - * move to the `ERROR` state. The process can be recovered by fixing the data that caused the - * error, removing the index with [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex], - * then re-creating the index with [create] - * [google.datastore.admin.v1.DatastoreAdmin.CreateIndex]. - * - *

Indexes with a single property cannot be created. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
-   *   CreateIndexRequest request =
-   *       CreateIndexRequest.newBuilder()
-   *           .setProjectId("projectId-894832108")
-   *           .setIndex(Index.newBuilder().build())
-   *           .build();
-   *   ApiFuture future = datastoreAdminClient.createIndexCallable().futureCall(request);
-   *   // Do something.
-   *   Operation response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable createIndexCallable() { - return stub.createIndexCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Deletes an existing index. An index can only be deleted if it is in a `READY` or `ERROR` state. - * On successful execution of the request, the index will be in a `DELETING` - * [state][google.datastore.admin.v1.Index.State]. And on completion of the returned - * [google.longrunning.Operation][google.longrunning.Operation], the index will be removed. - * - *

During index deletion, the process could result in an error, in which case the index will - * move to the `ERROR` state. The process can be recovered by fixing the data that caused the - * error, followed by calling [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex] - * again. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
-   *   DeleteIndexRequest request =
-   *       DeleteIndexRequest.newBuilder()
-   *           .setProjectId("projectId-894832108")
-   *           .setIndexId("indexId1943291277")
-   *           .build();
-   *   Index response = datastoreAdminClient.deleteIndexAsync(request).get();
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final OperationFuture deleteIndexAsync( - DeleteIndexRequest request) { - return deleteIndexOperationCallable().futureCall(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Deletes an existing index. An index can only be deleted if it is in a `READY` or `ERROR` state. - * On successful execution of the request, the index will be in a `DELETING` - * [state][google.datastore.admin.v1.Index.State]. And on completion of the returned - * [google.longrunning.Operation][google.longrunning.Operation], the index will be removed. - * - *

During index deletion, the process could result in an error, in which case the index will - * move to the `ERROR` state. The process can be recovered by fixing the data that caused the - * error, followed by calling [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex] - * again. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
-   *   DeleteIndexRequest request =
-   *       DeleteIndexRequest.newBuilder()
-   *           .setProjectId("projectId-894832108")
-   *           .setIndexId("indexId1943291277")
-   *           .build();
-   *   OperationFuture future =
-   *       datastoreAdminClient.deleteIndexOperationCallable().futureCall(request);
-   *   // Do something.
-   *   Index response = future.get();
-   * }
-   * }
- */ - public final OperationCallable - deleteIndexOperationCallable() { - return stub.deleteIndexOperationCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Deletes an existing index. An index can only be deleted if it is in a `READY` or `ERROR` state. - * On successful execution of the request, the index will be in a `DELETING` - * [state][google.datastore.admin.v1.Index.State]. And on completion of the returned - * [google.longrunning.Operation][google.longrunning.Operation], the index will be removed. - * - *

During index deletion, the process could result in an error, in which case the index will - * move to the `ERROR` state. The process can be recovered by fixing the data that caused the - * error, followed by calling [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex] - * again. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
-   *   DeleteIndexRequest request =
-   *       DeleteIndexRequest.newBuilder()
-   *           .setProjectId("projectId-894832108")
-   *           .setIndexId("indexId1943291277")
-   *           .build();
-   *   ApiFuture future = datastoreAdminClient.deleteIndexCallable().futureCall(request);
-   *   // Do something.
-   *   Operation response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable deleteIndexCallable() { - return stub.deleteIndexCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Gets an index. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
-   *   GetIndexRequest request =
-   *       GetIndexRequest.newBuilder()
-   *           .setProjectId("projectId-894832108")
-   *           .setIndexId("indexId1943291277")
-   *           .build();
-   *   Index response = datastoreAdminClient.getIndex(request);
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final Index getIndex(GetIndexRequest request) { - return getIndexCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Gets an index. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
-   *   GetIndexRequest request =
-   *       GetIndexRequest.newBuilder()
-   *           .setProjectId("projectId-894832108")
-   *           .setIndexId("indexId1943291277")
-   *           .build();
-   *   ApiFuture future = datastoreAdminClient.getIndexCallable().futureCall(request);
-   *   // Do something.
-   *   Index response = future.get();
-   * }
-   * }
- */ - public final UnaryCallable getIndexCallable() { - return stub.getIndexCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Lists the indexes that match the specified filters. Datastore uses an eventually consistent - * query to fetch the list of indexes and may occasionally return stale results. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
-   *   ListIndexesRequest request =
-   *       ListIndexesRequest.newBuilder()
-   *           .setProjectId("projectId-894832108")
-   *           .setFilter("filter-1274492040")
-   *           .setPageSize(883849137)
-   *           .setPageToken("pageToken873572522")
-   *           .build();
-   *   for (Index element : datastoreAdminClient.listIndexes(request).iterateAll()) {
-   *     // doThingsWith(element);
-   *   }
-   * }
-   * }
- * - * @param request The request object containing all of the parameters for the API call. - * @throws com.google.api.gax.rpc.ApiException if the remote call fails - */ - public final ListIndexesPagedResponse listIndexes(ListIndexesRequest request) { - return listIndexesPagedCallable().call(request); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Lists the indexes that match the specified filters. Datastore uses an eventually consistent - * query to fetch the list of indexes and may occasionally return stale results. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
-   *   ListIndexesRequest request =
-   *       ListIndexesRequest.newBuilder()
-   *           .setProjectId("projectId-894832108")
-   *           .setFilter("filter-1274492040")
-   *           .setPageSize(883849137)
-   *           .setPageToken("pageToken873572522")
-   *           .build();
-   *   ApiFuture future = datastoreAdminClient.listIndexesPagedCallable().futureCall(request);
-   *   // Do something.
-   *   for (Index element : future.get().iterateAll()) {
-   *     // doThingsWith(element);
-   *   }
-   * }
-   * }
- */ - public final UnaryCallable - listIndexesPagedCallable() { - return stub.listIndexesPagedCallable(); - } - - // AUTO-GENERATED DOCUMENTATION AND METHOD. - /** - * Lists the indexes that match the specified filters. Datastore uses an eventually consistent - * query to fetch the list of indexes and may occasionally return stale results. - * - *

Sample code: - * - *

{@code
-   * // This snippet has been automatically generated and should be regarded as a code template only.
-   * // It will require modifications to work:
-   * // - It may require correct/in-range values for request initialization.
-   * // - It may require specifying regional endpoints when creating the service client as shown in
-   * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
-   * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
-   *   ListIndexesRequest request =
-   *       ListIndexesRequest.newBuilder()
-   *           .setProjectId("projectId-894832108")
-   *           .setFilter("filter-1274492040")
-   *           .setPageSize(883849137)
-   *           .setPageToken("pageToken873572522")
-   *           .build();
-   *   while (true) {
-   *     ListIndexesResponse response = datastoreAdminClient.listIndexesCallable().call(request);
-   *     for (Index element : response.getIndexesList()) {
-   *       // doThingsWith(element);
-   *     }
-   *     String nextPageToken = response.getNextPageToken();
-   *     if (!Strings.isNullOrEmpty(nextPageToken)) {
-   *       request = request.toBuilder().setPageToken(nextPageToken).build();
-   *     } else {
-   *       break;
-   *     }
-   *   }
-   * }
-   * }
- */ - public final UnaryCallable listIndexesCallable() { - return stub.listIndexesCallable(); - } - - @Override - public final void close() { - stub.close(); - } - - @Override - public void shutdown() { - stub.shutdown(); - } - - @Override - public boolean isShutdown() { - return stub.isShutdown(); - } - - @Override - public boolean isTerminated() { - return stub.isTerminated(); - } - - @Override - public void shutdownNow() { - stub.shutdownNow(); - } - - @Override - public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { - return stub.awaitTermination(duration, unit); - } - - public static class ListIndexesPagedResponse - extends AbstractPagedListResponse< - ListIndexesRequest, - ListIndexesResponse, - Index, - ListIndexesPage, - ListIndexesFixedSizeCollection> { - - public static ApiFuture createAsync( - PageContext context, - ApiFuture futureResponse) { - ApiFuture futurePage = - ListIndexesPage.createEmptyPage().createPageAsync(context, futureResponse); - return ApiFutures.transform( - futurePage, input -> new ListIndexesPagedResponse(input), MoreExecutors.directExecutor()); - } - - private ListIndexesPagedResponse(ListIndexesPage page) { - super(page, ListIndexesFixedSizeCollection.createEmptyCollection()); - } - } - - public static class ListIndexesPage - extends AbstractPage { - - private ListIndexesPage( - PageContext context, - ListIndexesResponse response) { - super(context, response); - } - - private static ListIndexesPage createEmptyPage() { - return new ListIndexesPage(null, null); - } - - @Override - protected ListIndexesPage createPage( - PageContext context, - ListIndexesResponse response) { - return new ListIndexesPage(context, response); - } - - @Override - public ApiFuture createPageAsync( - PageContext context, - ApiFuture futureResponse) { - return super.createPageAsync(context, futureResponse); - } - } - - public static class ListIndexesFixedSizeCollection - extends AbstractFixedSizeCollection< - ListIndexesRequest, - ListIndexesResponse, - Index, - ListIndexesPage, - ListIndexesFixedSizeCollection> { - - private ListIndexesFixedSizeCollection(List pages, int collectionSize) { - super(pages, collectionSize); - } - - private static ListIndexesFixedSizeCollection createEmptyCollection() { - return new ListIndexesFixedSizeCollection(null, 0); - } - - @Override - protected ListIndexesFixedSizeCollection createCollection( - List pages, int collectionSize) { - return new ListIndexesFixedSizeCollection(pages, collectionSize); - } - } -} diff --git a/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/DatastoreAdminSettings.java b/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/DatastoreAdminSettings.java deleted file mode 100644 index 440c10c30..000000000 --- a/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/DatastoreAdminSettings.java +++ /dev/null @@ -1,324 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.cloud.datastore.admin.v1; - -import static com.google.cloud.datastore.admin.v1.DatastoreAdminClient.ListIndexesPagedResponse; - -import com.google.api.core.ApiFunction; -import com.google.api.core.BetaApi; -import com.google.api.gax.core.GoogleCredentialsProvider; -import com.google.api.gax.core.InstantiatingExecutorProvider; -import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; -import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; -import com.google.api.gax.rpc.ApiClientHeaderProvider; -import com.google.api.gax.rpc.ClientContext; -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.datastore.admin.v1.stub.DatastoreAdminStubSettings; -import com.google.datastore.admin.v1.CreateIndexRequest; -import com.google.datastore.admin.v1.DeleteIndexRequest; -import com.google.datastore.admin.v1.ExportEntitiesMetadata; -import com.google.datastore.admin.v1.ExportEntitiesRequest; -import com.google.datastore.admin.v1.ExportEntitiesResponse; -import com.google.datastore.admin.v1.GetIndexRequest; -import com.google.datastore.admin.v1.ImportEntitiesMetadata; -import com.google.datastore.admin.v1.ImportEntitiesRequest; -import com.google.datastore.admin.v1.Index; -import com.google.datastore.admin.v1.IndexOperationMetadata; -import com.google.datastore.admin.v1.ListIndexesRequest; -import com.google.datastore.admin.v1.ListIndexesResponse; -import com.google.longrunning.Operation; -import com.google.protobuf.Empty; -import java.io.IOException; -import java.util.List; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * Settings class to configure an instance of {@link DatastoreAdminClient}. - * - *

The default instance has everything set to sensible defaults: - * - *

    - *
  • The default service address (datastore.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. - *
- * - *

The builder of this class is recursive, so contained classes are themselves builders. When - * build() is called, the tree of builders is called to create the complete settings object. - * - *

For example, to set the total timeout of getIndex to 30 seconds: - * - *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
- * DatastoreAdminSettings.Builder datastoreAdminSettingsBuilder =
- *     DatastoreAdminSettings.newBuilder();
- * datastoreAdminSettingsBuilder
- *     .getIndexSettings()
- *     .setRetrySettings(
- *         datastoreAdminSettingsBuilder
- *             .getIndexSettings()
- *             .getRetrySettings()
- *             .toBuilder()
- *             .setTotalTimeout(Duration.ofSeconds(30))
- *             .build());
- * DatastoreAdminSettings datastoreAdminSettings = datastoreAdminSettingsBuilder.build();
- * }
- */ -@Generated("by gapic-generator-java") -public class DatastoreAdminSettings extends ClientSettings { - - /** Returns the object with the settings used for calls to exportEntities. */ - public UnaryCallSettings exportEntitiesSettings() { - return ((DatastoreAdminStubSettings) getStubSettings()).exportEntitiesSettings(); - } - - /** Returns the object with the settings used for calls to exportEntities. */ - public OperationCallSettings< - ExportEntitiesRequest, ExportEntitiesResponse, ExportEntitiesMetadata> - exportEntitiesOperationSettings() { - return ((DatastoreAdminStubSettings) getStubSettings()).exportEntitiesOperationSettings(); - } - - /** Returns the object with the settings used for calls to importEntities. */ - public UnaryCallSettings importEntitiesSettings() { - return ((DatastoreAdminStubSettings) getStubSettings()).importEntitiesSettings(); - } - - /** Returns the object with the settings used for calls to importEntities. */ - public OperationCallSettings - importEntitiesOperationSettings() { - return ((DatastoreAdminStubSettings) getStubSettings()).importEntitiesOperationSettings(); - } - - /** Returns the object with the settings used for calls to createIndex. */ - public UnaryCallSettings createIndexSettings() { - return ((DatastoreAdminStubSettings) getStubSettings()).createIndexSettings(); - } - - /** Returns the object with the settings used for calls to createIndex. */ - public OperationCallSettings - createIndexOperationSettings() { - return ((DatastoreAdminStubSettings) getStubSettings()).createIndexOperationSettings(); - } - - /** Returns the object with the settings used for calls to deleteIndex. */ - public UnaryCallSettings deleteIndexSettings() { - return ((DatastoreAdminStubSettings) getStubSettings()).deleteIndexSettings(); - } - - /** Returns the object with the settings used for calls to deleteIndex. */ - public OperationCallSettings - deleteIndexOperationSettings() { - return ((DatastoreAdminStubSettings) getStubSettings()).deleteIndexOperationSettings(); - } - - /** Returns the object with the settings used for calls to getIndex. */ - public UnaryCallSettings getIndexSettings() { - return ((DatastoreAdminStubSettings) getStubSettings()).getIndexSettings(); - } - - /** Returns the object with the settings used for calls to listIndexes. */ - public PagedCallSettings - listIndexesSettings() { - return ((DatastoreAdminStubSettings) getStubSettings()).listIndexesSettings(); - } - - public static final DatastoreAdminSettings create(DatastoreAdminStubSettings stub) - throws IOException { - return new DatastoreAdminSettings.Builder(stub.toBuilder()).build(); - } - - /** Returns a builder for the default ExecutorProvider for this service. */ - public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { - return DatastoreAdminStubSettings.defaultExecutorProviderBuilder(); - } - - /** Returns the default service endpoint. */ - public static String getDefaultEndpoint() { - return DatastoreAdminStubSettings.getDefaultEndpoint(); - } - - /** Returns the default service scopes. */ - public static List getDefaultServiceScopes() { - return DatastoreAdminStubSettings.getDefaultServiceScopes(); - } - - /** Returns a builder for the default credentials for this service. */ - public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { - return DatastoreAdminStubSettings.defaultCredentialsProviderBuilder(); - } - - /** Returns a builder for the default gRPC ChannelProvider for this service. */ - public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { - return DatastoreAdminStubSettings.defaultGrpcTransportProviderBuilder(); - } - - /** Returns a builder for the default REST ChannelProvider for this service. */ - @BetaApi - public static InstantiatingHttpJsonChannelProvider.Builder - defaultHttpJsonTransportProviderBuilder() { - return DatastoreAdminStubSettings.defaultHttpJsonTransportProviderBuilder(); - } - - public static TransportChannelProvider defaultTransportChannelProvider() { - return DatastoreAdminStubSettings.defaultTransportChannelProvider(); - } - - public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { - return DatastoreAdminStubSettings.defaultApiClientHeaderProviderBuilder(); - } - - /** Returns a new gRPC builder for this class. */ - public static Builder newBuilder() { - return Builder.createDefault(); - } - - /** Returns a new REST builder for this class. */ - public static Builder newHttpJsonBuilder() { - return Builder.createHttpJsonDefault(); - } - - /** Returns a new builder for this class. */ - public static Builder newBuilder(ClientContext clientContext) { - return new Builder(clientContext); - } - - /** Returns a builder containing all the values of this settings class. */ - public Builder toBuilder() { - return new Builder(this); - } - - protected DatastoreAdminSettings(Builder settingsBuilder) throws IOException { - super(settingsBuilder); - } - - /** Builder for DatastoreAdminSettings. */ - public static class Builder extends ClientSettings.Builder { - - protected Builder() throws IOException { - this(((ClientContext) null)); - } - - protected Builder(ClientContext clientContext) { - super(DatastoreAdminStubSettings.newBuilder(clientContext)); - } - - protected Builder(DatastoreAdminSettings settings) { - super(settings.getStubSettings().toBuilder()); - } - - protected Builder(DatastoreAdminStubSettings.Builder stubSettings) { - super(stubSettings); - } - - private static Builder createDefault() { - return new Builder(DatastoreAdminStubSettings.newBuilder()); - } - - private static Builder createHttpJsonDefault() { - return new Builder(DatastoreAdminStubSettings.newHttpJsonBuilder()); - } - - public DatastoreAdminStubSettings.Builder getStubSettingsBuilder() { - return ((DatastoreAdminStubSettings.Builder) getStubSettings()); - } - - /** - * Applies the given settings updater function to all of the unary API methods in this service. - * - *

Note: This method does not support applying settings to streaming methods. - */ - public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) { - super.applyToAllUnaryMethods( - getStubSettingsBuilder().unaryMethodSettingsBuilders(), settingsUpdater); - return this; - } - - /** Returns the builder for the settings used for calls to exportEntities. */ - public UnaryCallSettings.Builder exportEntitiesSettings() { - return getStubSettingsBuilder().exportEntitiesSettings(); - } - - /** Returns the builder for the settings used for calls to exportEntities. */ - public OperationCallSettings.Builder< - ExportEntitiesRequest, ExportEntitiesResponse, ExportEntitiesMetadata> - exportEntitiesOperationSettings() { - return getStubSettingsBuilder().exportEntitiesOperationSettings(); - } - - /** Returns the builder for the settings used for calls to importEntities. */ - public UnaryCallSettings.Builder importEntitiesSettings() { - return getStubSettingsBuilder().importEntitiesSettings(); - } - - /** Returns the builder for the settings used for calls to importEntities. */ - public OperationCallSettings.Builder - importEntitiesOperationSettings() { - return getStubSettingsBuilder().importEntitiesOperationSettings(); - } - - /** Returns the builder for the settings used for calls to createIndex. */ - public UnaryCallSettings.Builder createIndexSettings() { - return getStubSettingsBuilder().createIndexSettings(); - } - - /** Returns the builder for the settings used for calls to createIndex. */ - public OperationCallSettings.Builder - createIndexOperationSettings() { - return getStubSettingsBuilder().createIndexOperationSettings(); - } - - /** Returns the builder for the settings used for calls to deleteIndex. */ - public UnaryCallSettings.Builder deleteIndexSettings() { - return getStubSettingsBuilder().deleteIndexSettings(); - } - - /** Returns the builder for the settings used for calls to deleteIndex. */ - public OperationCallSettings.Builder - deleteIndexOperationSettings() { - return getStubSettingsBuilder().deleteIndexOperationSettings(); - } - - /** Returns the builder for the settings used for calls to getIndex. */ - public UnaryCallSettings.Builder getIndexSettings() { - return getStubSettingsBuilder().getIndexSettings(); - } - - /** Returns the builder for the settings used for calls to listIndexes. */ - public PagedCallSettings.Builder< - ListIndexesRequest, ListIndexesResponse, ListIndexesPagedResponse> - listIndexesSettings() { - return getStubSettingsBuilder().listIndexesSettings(); - } - - @Override - public DatastoreAdminSettings build() throws IOException { - return new DatastoreAdminSettings(this); - } - } -} diff --git a/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/gapic_metadata.json deleted file mode 100644 index 205eb5dcd..000000000 --- a/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/gapic_metadata.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "schema": "1.0", - "comment": "This file maps proto services/RPCs to the corresponding library clients/methods", - "language": "java", - "protoPackage": "google.datastore.admin.v1", - "libraryPackage": "com.google.cloud.datastore.admin.v1", - "services": { - "DatastoreAdmin": { - "clients": { - "grpc": { - "libraryClient": "DatastoreAdminClient", - "rpcs": { - "CreateIndex": { - "methods": ["createIndexAsync", "createIndexOperationCallable", "createIndexCallable"] - }, - "DeleteIndex": { - "methods": ["deleteIndexAsync", "deleteIndexOperationCallable", "deleteIndexCallable"] - }, - "ExportEntities": { - "methods": ["exportEntitiesAsync", "exportEntitiesAsync", "exportEntitiesOperationCallable", "exportEntitiesCallable"] - }, - "GetIndex": { - "methods": ["getIndex", "getIndexCallable"] - }, - "ImportEntities": { - "methods": ["importEntitiesAsync", "importEntitiesAsync", "importEntitiesOperationCallable", "importEntitiesCallable"] - }, - "ListIndexes": { - "methods": ["listIndexes", "listIndexesPagedCallable", "listIndexesCallable"] - } - } - } - } - } - } -} \ No newline at end of file diff --git a/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/package-info.java b/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/package-info.java deleted file mode 100644 index bf70b678a..000000000 --- a/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/package-info.java +++ /dev/null @@ -1,84 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -/** - * A client to Cloud Datastore API - * - *

The interfaces provided are listed below, along with usage samples. - * - *

======================= DatastoreAdminClient ======================= - * - *

Service Description: Google Cloud Datastore Admin API - * - *

The Datastore Admin API provides several admin services for Cloud Datastore. - * - *

Concepts: Project, namespace, kind, and entity as defined in the Google Cloud Datastore API. - * - *

Operation: An Operation represents work being performed in the background. - * - *

EntityFilter: Allows specifying a subset of entities in a project. This is specified as a - * combination of kinds and namespaces (either or both of which may be all). - * - *

Export/Import Service: - * - *

- The Export/Import service provides the ability to copy all or a subset of entities to/from - * Google Cloud Storage. - Exported data may be imported into Cloud Datastore for any Google Cloud - * Platform project. It is not restricted to the export source project. It is possible to export - * from one project and then import into another. - Exported data can also be loaded into Google - * BigQuery for analysis. - Exports and imports are performed asynchronously. An Operation resource - * is created for each export/import. The state (including any errors encountered) of the - * export/import may be queried via the Operation resource. - * - *

Index Service: - * - *

- The index service manages Cloud Datastore composite indexes. - Index creation and deletion - * are performed asynchronously. An Operation resource is created for each such asynchronous - * operation. The state of the operation (including any errors encountered) may be queried via the - * Operation resource. - * - *

Operation Service: - * - *

- The Operations collection provides a record of actions performed for the specified project - * (including any operations in progress). Operations are not created directly but through calls on - * other collections or resources. - An operation that is not yet done may be cancelled. The request - * to cancel is asynchronous and the operation may continue to run for some time after the request - * to cancel is made. - An operation that is done may be deleted so that it is no longer listed as - * part of the Operation collection. - ListOperations returns all pending operations, but not - * completed operations. - Operations are created by service DatastoreAdmin, but are accessed via - * service google.longrunning.Operations. - * - *

Sample for DatastoreAdminClient: - * - *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
- * try (DatastoreAdminClient datastoreAdminClient = DatastoreAdminClient.create()) {
- *   GetIndexRequest request =
- *       GetIndexRequest.newBuilder()
- *           .setProjectId("projectId-894832108")
- *           .setIndexId("indexId1943291277")
- *           .build();
- *   Index response = datastoreAdminClient.getIndex(request);
- * }
- * }
- */ -@Generated("by gapic-generator-java") -package com.google.cloud.datastore.admin.v1; - -import javax.annotation.Generated; diff --git a/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/DatastoreAdminStub.java b/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/DatastoreAdminStub.java deleted file mode 100644 index 90c3c45f9..000000000 --- a/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/DatastoreAdminStub.java +++ /dev/null @@ -1,108 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.cloud.datastore.admin.v1.stub; - -import static com.google.cloud.datastore.admin.v1.DatastoreAdminClient.ListIndexesPagedResponse; - -import com.google.api.gax.core.BackgroundResource; -import com.google.api.gax.rpc.OperationCallable; -import com.google.api.gax.rpc.UnaryCallable; -import com.google.datastore.admin.v1.CreateIndexRequest; -import com.google.datastore.admin.v1.DeleteIndexRequest; -import com.google.datastore.admin.v1.ExportEntitiesMetadata; -import com.google.datastore.admin.v1.ExportEntitiesRequest; -import com.google.datastore.admin.v1.ExportEntitiesResponse; -import com.google.datastore.admin.v1.GetIndexRequest; -import com.google.datastore.admin.v1.ImportEntitiesMetadata; -import com.google.datastore.admin.v1.ImportEntitiesRequest; -import com.google.datastore.admin.v1.Index; -import com.google.datastore.admin.v1.IndexOperationMetadata; -import com.google.datastore.admin.v1.ListIndexesRequest; -import com.google.datastore.admin.v1.ListIndexesResponse; -import com.google.longrunning.Operation; -import com.google.longrunning.stub.OperationsStub; -import com.google.protobuf.Empty; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * Base stub class for the DatastoreAdmin service API. - * - *

This class is for advanced usage and reflects the underlying API directly. - */ -@Generated("by gapic-generator-java") -public abstract class DatastoreAdminStub implements BackgroundResource { - - public OperationsStub getOperationsStub() { - return null; - } - - public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() { - return null; - } - - public OperationCallable - exportEntitiesOperationCallable() { - throw new UnsupportedOperationException("Not implemented: exportEntitiesOperationCallable()"); - } - - public UnaryCallable exportEntitiesCallable() { - throw new UnsupportedOperationException("Not implemented: exportEntitiesCallable()"); - } - - public OperationCallable - importEntitiesOperationCallable() { - throw new UnsupportedOperationException("Not implemented: importEntitiesOperationCallable()"); - } - - public UnaryCallable importEntitiesCallable() { - throw new UnsupportedOperationException("Not implemented: importEntitiesCallable()"); - } - - public OperationCallable - createIndexOperationCallable() { - throw new UnsupportedOperationException("Not implemented: createIndexOperationCallable()"); - } - - public UnaryCallable createIndexCallable() { - throw new UnsupportedOperationException("Not implemented: createIndexCallable()"); - } - - public OperationCallable - deleteIndexOperationCallable() { - throw new UnsupportedOperationException("Not implemented: deleteIndexOperationCallable()"); - } - - public UnaryCallable deleteIndexCallable() { - throw new UnsupportedOperationException("Not implemented: deleteIndexCallable()"); - } - - public UnaryCallable getIndexCallable() { - throw new UnsupportedOperationException("Not implemented: getIndexCallable()"); - } - - public UnaryCallable listIndexesPagedCallable() { - throw new UnsupportedOperationException("Not implemented: listIndexesPagedCallable()"); - } - - public UnaryCallable listIndexesCallable() { - throw new UnsupportedOperationException("Not implemented: listIndexesCallable()"); - } - - @Override - public abstract void close(); -} diff --git a/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/DatastoreAdminStubSettings.java b/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/DatastoreAdminStubSettings.java deleted file mode 100644 index fc346d38c..000000000 --- a/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/DatastoreAdminStubSettings.java +++ /dev/null @@ -1,715 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.cloud.datastore.admin.v1.stub; - -import static com.google.cloud.datastore.admin.v1.DatastoreAdminClient.ListIndexesPagedResponse; - -import com.google.api.core.ApiFunction; -import com.google.api.core.ApiFuture; -import com.google.api.core.BetaApi; -import com.google.api.gax.core.GaxProperties; -import com.google.api.gax.core.GoogleCredentialsProvider; -import com.google.api.gax.core.InstantiatingExecutorProvider; -import com.google.api.gax.grpc.GaxGrpcProperties; -import com.google.api.gax.grpc.GrpcTransportChannel; -import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; -import com.google.api.gax.grpc.ProtoOperationTransformers; -import com.google.api.gax.httpjson.GaxHttpJsonProperties; -import com.google.api.gax.httpjson.HttpJsonTransportChannel; -import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; -import com.google.api.gax.longrunning.OperationSnapshot; -import com.google.api.gax.longrunning.OperationTimedPollAlgorithm; -import com.google.api.gax.retrying.RetrySettings; -import com.google.api.gax.rpc.ApiCallContext; -import com.google.api.gax.rpc.ApiClientHeaderProvider; -import com.google.api.gax.rpc.ClientContext; -import com.google.api.gax.rpc.OperationCallSettings; -import com.google.api.gax.rpc.PageContext; -import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.PagedListDescriptor; -import com.google.api.gax.rpc.PagedListResponseFactory; -import com.google.api.gax.rpc.StatusCode; -import com.google.api.gax.rpc.StubSettings; -import com.google.api.gax.rpc.TransportChannelProvider; -import com.google.api.gax.rpc.UnaryCallSettings; -import com.google.api.gax.rpc.UnaryCallable; -import com.google.common.collect.ImmutableList; -import com.google.common.collect.ImmutableMap; -import com.google.common.collect.ImmutableSet; -import com.google.common.collect.Lists; -import com.google.datastore.admin.v1.CreateIndexRequest; -import com.google.datastore.admin.v1.DeleteIndexRequest; -import com.google.datastore.admin.v1.ExportEntitiesMetadata; -import com.google.datastore.admin.v1.ExportEntitiesRequest; -import com.google.datastore.admin.v1.ExportEntitiesResponse; -import com.google.datastore.admin.v1.GetIndexRequest; -import com.google.datastore.admin.v1.ImportEntitiesMetadata; -import com.google.datastore.admin.v1.ImportEntitiesRequest; -import com.google.datastore.admin.v1.Index; -import com.google.datastore.admin.v1.IndexOperationMetadata; -import com.google.datastore.admin.v1.ListIndexesRequest; -import com.google.datastore.admin.v1.ListIndexesResponse; -import com.google.longrunning.Operation; -import com.google.protobuf.Empty; -import java.io.IOException; -import java.util.List; -import javax.annotation.Generated; -import org.threeten.bp.Duration; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * Settings class to configure an instance of {@link DatastoreAdminStub}. - * - *

The default instance has everything set to sensible defaults: - * - *

    - *
  • The default service address (datastore.googleapis.com) and default port (443) are used. - *
  • Credentials are acquired automatically through Application Default Credentials. - *
  • Retries are configured for idempotent methods but not for non-idempotent methods. - *
- * - *

The builder of this class is recursive, so contained classes are themselves builders. When - * build() is called, the tree of builders is called to create the complete settings object. - * - *

For example, to set the total timeout of getIndex to 30 seconds: - * - *

{@code
- * // This snippet has been automatically generated and should be regarded as a code template only.
- * // It will require modifications to work:
- * // - It may require correct/in-range values for request initialization.
- * // - It may require specifying regional endpoints when creating the service client as shown in
- * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
- * DatastoreAdminStubSettings.Builder datastoreAdminSettingsBuilder =
- *     DatastoreAdminStubSettings.newBuilder();
- * datastoreAdminSettingsBuilder
- *     .getIndexSettings()
- *     .setRetrySettings(
- *         datastoreAdminSettingsBuilder
- *             .getIndexSettings()
- *             .getRetrySettings()
- *             .toBuilder()
- *             .setTotalTimeout(Duration.ofSeconds(30))
- *             .build());
- * DatastoreAdminStubSettings datastoreAdminSettings = datastoreAdminSettingsBuilder.build();
- * }
- */ -@Generated("by gapic-generator-java") -public class DatastoreAdminStubSettings extends StubSettings { - /** The default scopes of the service. */ - private static final ImmutableList DEFAULT_SERVICE_SCOPES = - ImmutableList.builder() - .add("https://www.googleapis.com/auth/cloud-platform") - .add("https://www.googleapis.com/auth/datastore") - .build(); - - private final UnaryCallSettings exportEntitiesSettings; - private final OperationCallSettings< - ExportEntitiesRequest, ExportEntitiesResponse, ExportEntitiesMetadata> - exportEntitiesOperationSettings; - private final UnaryCallSettings importEntitiesSettings; - private final OperationCallSettings - importEntitiesOperationSettings; - private final UnaryCallSettings createIndexSettings; - private final OperationCallSettings - createIndexOperationSettings; - private final UnaryCallSettings deleteIndexSettings; - private final OperationCallSettings - deleteIndexOperationSettings; - private final UnaryCallSettings getIndexSettings; - private final PagedCallSettings - listIndexesSettings; - - private static final PagedListDescriptor - LIST_INDEXES_PAGE_STR_DESC = - new PagedListDescriptor() { - @Override - public String emptyToken() { - return ""; - } - - @Override - public ListIndexesRequest injectToken(ListIndexesRequest payload, String token) { - return ListIndexesRequest.newBuilder(payload).setPageToken(token).build(); - } - - @Override - public ListIndexesRequest injectPageSize(ListIndexesRequest payload, int pageSize) { - return ListIndexesRequest.newBuilder(payload).setPageSize(pageSize).build(); - } - - @Override - public Integer extractPageSize(ListIndexesRequest payload) { - return payload.getPageSize(); - } - - @Override - public String extractNextToken(ListIndexesResponse payload) { - return payload.getNextPageToken(); - } - - @Override - public Iterable extractResources(ListIndexesResponse payload) { - return payload.getIndexesList() == null - ? ImmutableList.of() - : payload.getIndexesList(); - } - }; - - private static final PagedListResponseFactory< - ListIndexesRequest, ListIndexesResponse, ListIndexesPagedResponse> - LIST_INDEXES_PAGE_STR_FACT = - new PagedListResponseFactory< - ListIndexesRequest, ListIndexesResponse, ListIndexesPagedResponse>() { - @Override - public ApiFuture getFuturePagedResponse( - UnaryCallable callable, - ListIndexesRequest request, - ApiCallContext context, - ApiFuture futureResponse) { - PageContext pageContext = - PageContext.create(callable, LIST_INDEXES_PAGE_STR_DESC, request, context); - return ListIndexesPagedResponse.createAsync(pageContext, futureResponse); - } - }; - - /** Returns the object with the settings used for calls to exportEntities. */ - public UnaryCallSettings exportEntitiesSettings() { - return exportEntitiesSettings; - } - - /** Returns the object with the settings used for calls to exportEntities. */ - public OperationCallSettings< - ExportEntitiesRequest, ExportEntitiesResponse, ExportEntitiesMetadata> - exportEntitiesOperationSettings() { - return exportEntitiesOperationSettings; - } - - /** Returns the object with the settings used for calls to importEntities. */ - public UnaryCallSettings importEntitiesSettings() { - return importEntitiesSettings; - } - - /** Returns the object with the settings used for calls to importEntities. */ - public OperationCallSettings - importEntitiesOperationSettings() { - return importEntitiesOperationSettings; - } - - /** Returns the object with the settings used for calls to createIndex. */ - public UnaryCallSettings createIndexSettings() { - return createIndexSettings; - } - - /** Returns the object with the settings used for calls to createIndex. */ - public OperationCallSettings - createIndexOperationSettings() { - return createIndexOperationSettings; - } - - /** Returns the object with the settings used for calls to deleteIndex. */ - public UnaryCallSettings deleteIndexSettings() { - return deleteIndexSettings; - } - - /** Returns the object with the settings used for calls to deleteIndex. */ - public OperationCallSettings - deleteIndexOperationSettings() { - return deleteIndexOperationSettings; - } - - /** Returns the object with the settings used for calls to getIndex. */ - public UnaryCallSettings getIndexSettings() { - return getIndexSettings; - } - - /** Returns the object with the settings used for calls to listIndexes. */ - public PagedCallSettings - listIndexesSettings() { - return listIndexesSettings; - } - - public DatastoreAdminStub createStub() throws IOException { - if (getTransportChannelProvider() - .getTransportName() - .equals(GrpcTransportChannel.getGrpcTransportName())) { - return GrpcDatastoreAdminStub.create(this); - } - if (getTransportChannelProvider() - .getTransportName() - .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { - return HttpJsonDatastoreAdminStub.create(this); - } - throw new UnsupportedOperationException( - String.format( - "Transport not supported: %s", getTransportChannelProvider().getTransportName())); - } - - /** Returns the default service name. */ - @Override - public String getServiceName() { - return "datastore"; - } - - /** Returns a builder for the default ExecutorProvider for this service. */ - public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder() { - return InstantiatingExecutorProvider.newBuilder(); - } - - /** Returns the default service endpoint. */ - public static String getDefaultEndpoint() { - return "datastore.googleapis.com:443"; - } - - /** Returns the default mTLS service endpoint. */ - public static String getDefaultMtlsEndpoint() { - return "datastore.mtls.googleapis.com:443"; - } - - /** Returns the default service scopes. */ - public static List getDefaultServiceScopes() { - return DEFAULT_SERVICE_SCOPES; - } - - /** Returns a builder for the default credentials for this service. */ - public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() { - return GoogleCredentialsProvider.newBuilder() - .setScopesToApply(DEFAULT_SERVICE_SCOPES) - .setUseJwtAccessWithScope(true); - } - - /** Returns a builder for the default gRPC ChannelProvider for this service. */ - public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { - return InstantiatingGrpcChannelProvider.newBuilder() - .setMaxInboundMessageSize(Integer.MAX_VALUE); - } - - /** Returns a builder for the default REST ChannelProvider for this service. */ - @BetaApi - public static InstantiatingHttpJsonChannelProvider.Builder - defaultHttpJsonTransportProviderBuilder() { - return InstantiatingHttpJsonChannelProvider.newBuilder(); - } - - public static TransportChannelProvider defaultTransportChannelProvider() { - return defaultGrpcTransportProviderBuilder().build(); - } - - public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() { - return ApiClientHeaderProvider.newBuilder() - .setGeneratedLibToken( - "gapic", GaxProperties.getLibraryVersion(DatastoreAdminStubSettings.class)) - .setTransportToken( - GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); - } - - public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { - return ApiClientHeaderProvider.newBuilder() - .setGeneratedLibToken( - "gapic", GaxProperties.getLibraryVersion(DatastoreAdminStubSettings.class)) - .setTransportToken( - GaxHttpJsonProperties.getHttpJsonTokenName(), - GaxHttpJsonProperties.getHttpJsonVersion()); - } - - public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { - return DatastoreAdminStubSettings.defaultGrpcApiClientHeaderProviderBuilder(); - } - - /** Returns a new gRPC builder for this class. */ - public static Builder newBuilder() { - return Builder.createDefault(); - } - - /** Returns a new REST builder for this class. */ - public static Builder newHttpJsonBuilder() { - return Builder.createHttpJsonDefault(); - } - - /** Returns a new builder for this class. */ - public static Builder newBuilder(ClientContext clientContext) { - return new Builder(clientContext); - } - - /** Returns a builder containing all the values of this settings class. */ - public Builder toBuilder() { - return new Builder(this); - } - - protected DatastoreAdminStubSettings(Builder settingsBuilder) throws IOException { - super(settingsBuilder); - - exportEntitiesSettings = settingsBuilder.exportEntitiesSettings().build(); - exportEntitiesOperationSettings = settingsBuilder.exportEntitiesOperationSettings().build(); - importEntitiesSettings = settingsBuilder.importEntitiesSettings().build(); - importEntitiesOperationSettings = settingsBuilder.importEntitiesOperationSettings().build(); - createIndexSettings = settingsBuilder.createIndexSettings().build(); - createIndexOperationSettings = settingsBuilder.createIndexOperationSettings().build(); - deleteIndexSettings = settingsBuilder.deleteIndexSettings().build(); - deleteIndexOperationSettings = settingsBuilder.deleteIndexOperationSettings().build(); - getIndexSettings = settingsBuilder.getIndexSettings().build(); - listIndexesSettings = settingsBuilder.listIndexesSettings().build(); - } - - /** Builder for DatastoreAdminStubSettings. */ - public static class Builder extends StubSettings.Builder { - private final ImmutableList> unaryMethodSettingsBuilders; - private final UnaryCallSettings.Builder - exportEntitiesSettings; - private final OperationCallSettings.Builder< - ExportEntitiesRequest, ExportEntitiesResponse, ExportEntitiesMetadata> - exportEntitiesOperationSettings; - private final UnaryCallSettings.Builder - importEntitiesSettings; - private final OperationCallSettings.Builder< - ImportEntitiesRequest, Empty, ImportEntitiesMetadata> - importEntitiesOperationSettings; - private final UnaryCallSettings.Builder createIndexSettings; - private final OperationCallSettings.Builder - createIndexOperationSettings; - private final UnaryCallSettings.Builder deleteIndexSettings; - private final OperationCallSettings.Builder - deleteIndexOperationSettings; - private final UnaryCallSettings.Builder getIndexSettings; - private final PagedCallSettings.Builder< - ListIndexesRequest, ListIndexesResponse, ListIndexesPagedResponse> - listIndexesSettings; - private static final ImmutableMap> - RETRYABLE_CODE_DEFINITIONS; - - static { - ImmutableMap.Builder> definitions = - ImmutableMap.builder(); - definitions.put( - "no_retry_0_codes", ImmutableSet.copyOf(Lists.newArrayList())); - definitions.put( - "retry_policy_1_codes", - ImmutableSet.copyOf( - Lists.newArrayList( - StatusCode.Code.UNAVAILABLE, StatusCode.Code.DEADLINE_EXCEEDED))); - RETRYABLE_CODE_DEFINITIONS = definitions.build(); - } - - private static final ImmutableMap RETRY_PARAM_DEFINITIONS; - - static { - ImmutableMap.Builder definitions = ImmutableMap.builder(); - RetrySettings settings = null; - settings = - RetrySettings.newBuilder() - .setInitialRpcTimeout(Duration.ofMillis(60000L)) - .setRpcTimeoutMultiplier(1.0) - .setMaxRpcTimeout(Duration.ofMillis(60000L)) - .setTotalTimeout(Duration.ofMillis(60000L)) - .build(); - definitions.put("no_retry_0_params", settings); - settings = - RetrySettings.newBuilder() - .setInitialRetryDelay(Duration.ofMillis(100L)) - .setRetryDelayMultiplier(1.3) - .setMaxRetryDelay(Duration.ofMillis(60000L)) - .setInitialRpcTimeout(Duration.ofMillis(60000L)) - .setRpcTimeoutMultiplier(1.0) - .setMaxRpcTimeout(Duration.ofMillis(60000L)) - .setTotalTimeout(Duration.ofMillis(60000L)) - .build(); - definitions.put("retry_policy_1_params", settings); - RETRY_PARAM_DEFINITIONS = definitions.build(); - } - - protected Builder() { - this(((ClientContext) null)); - } - - protected Builder(ClientContext clientContext) { - super(clientContext); - - exportEntitiesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); - exportEntitiesOperationSettings = OperationCallSettings.newBuilder(); - importEntitiesSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); - importEntitiesOperationSettings = OperationCallSettings.newBuilder(); - createIndexSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); - createIndexOperationSettings = OperationCallSettings.newBuilder(); - deleteIndexSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); - deleteIndexOperationSettings = OperationCallSettings.newBuilder(); - getIndexSettings = UnaryCallSettings.newUnaryCallSettingsBuilder(); - listIndexesSettings = PagedCallSettings.newBuilder(LIST_INDEXES_PAGE_STR_FACT); - - unaryMethodSettingsBuilders = - ImmutableList.>of( - exportEntitiesSettings, - importEntitiesSettings, - createIndexSettings, - deleteIndexSettings, - getIndexSettings, - listIndexesSettings); - initDefaults(this); - } - - protected Builder(DatastoreAdminStubSettings settings) { - super(settings); - - exportEntitiesSettings = settings.exportEntitiesSettings.toBuilder(); - exportEntitiesOperationSettings = settings.exportEntitiesOperationSettings.toBuilder(); - importEntitiesSettings = settings.importEntitiesSettings.toBuilder(); - importEntitiesOperationSettings = settings.importEntitiesOperationSettings.toBuilder(); - createIndexSettings = settings.createIndexSettings.toBuilder(); - createIndexOperationSettings = settings.createIndexOperationSettings.toBuilder(); - deleteIndexSettings = settings.deleteIndexSettings.toBuilder(); - deleteIndexOperationSettings = settings.deleteIndexOperationSettings.toBuilder(); - getIndexSettings = settings.getIndexSettings.toBuilder(); - listIndexesSettings = settings.listIndexesSettings.toBuilder(); - - unaryMethodSettingsBuilders = - ImmutableList.>of( - exportEntitiesSettings, - importEntitiesSettings, - createIndexSettings, - deleteIndexSettings, - getIndexSettings, - listIndexesSettings); - } - - private static Builder createDefault() { - Builder builder = new Builder(((ClientContext) null)); - - builder.setTransportChannelProvider(defaultTransportChannelProvider()); - builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); - builder.setInternalHeaderProvider(defaultApiClientHeaderProviderBuilder().build()); - builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); - builder.setSwitchToMtlsEndpointAllowed(true); - - return initDefaults(builder); - } - - private static Builder createHttpJsonDefault() { - Builder builder = new Builder(((ClientContext) null)); - - builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); - builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); - builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); - builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); - builder.setSwitchToMtlsEndpointAllowed(true); - - return initDefaults(builder); - } - - private static Builder initDefaults(Builder builder) { - builder - .exportEntitiesSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); - - builder - .importEntitiesSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); - - builder - .createIndexSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); - - builder - .deleteIndexSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")); - - builder - .getIndexSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params")); - - builder - .listIndexesSettings() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_1_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_1_params")); - - builder - .exportEntitiesOperationSettings() - .setInitialCallSettings( - UnaryCallSettings - .newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")) - .build()) - .setResponseTransformer( - ProtoOperationTransformers.ResponseTransformer.create(ExportEntitiesResponse.class)) - .setMetadataTransformer( - ProtoOperationTransformers.MetadataTransformer.create(ExportEntitiesMetadata.class)) - .setPollingAlgorithm( - OperationTimedPollAlgorithm.create( - RetrySettings.newBuilder() - .setInitialRetryDelay(Duration.ofMillis(5000L)) - .setRetryDelayMultiplier(1.5) - .setMaxRetryDelay(Duration.ofMillis(45000L)) - .setInitialRpcTimeout(Duration.ZERO) - .setRpcTimeoutMultiplier(1.0) - .setMaxRpcTimeout(Duration.ZERO) - .setTotalTimeout(Duration.ofMillis(300000L)) - .build())); - - builder - .importEntitiesOperationSettings() - .setInitialCallSettings( - UnaryCallSettings - .newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")) - .build()) - .setResponseTransformer( - ProtoOperationTransformers.ResponseTransformer.create(Empty.class)) - .setMetadataTransformer( - ProtoOperationTransformers.MetadataTransformer.create(ImportEntitiesMetadata.class)) - .setPollingAlgorithm( - OperationTimedPollAlgorithm.create( - RetrySettings.newBuilder() - .setInitialRetryDelay(Duration.ofMillis(5000L)) - .setRetryDelayMultiplier(1.5) - .setMaxRetryDelay(Duration.ofMillis(45000L)) - .setInitialRpcTimeout(Duration.ZERO) - .setRpcTimeoutMultiplier(1.0) - .setMaxRpcTimeout(Duration.ZERO) - .setTotalTimeout(Duration.ofMillis(300000L)) - .build())); - - builder - .createIndexOperationSettings() - .setInitialCallSettings( - UnaryCallSettings.newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")) - .build()) - .setResponseTransformer( - ProtoOperationTransformers.ResponseTransformer.create(Index.class)) - .setMetadataTransformer( - ProtoOperationTransformers.MetadataTransformer.create(IndexOperationMetadata.class)) - .setPollingAlgorithm( - OperationTimedPollAlgorithm.create( - RetrySettings.newBuilder() - .setInitialRetryDelay(Duration.ofMillis(5000L)) - .setRetryDelayMultiplier(1.5) - .setMaxRetryDelay(Duration.ofMillis(45000L)) - .setInitialRpcTimeout(Duration.ZERO) - .setRpcTimeoutMultiplier(1.0) - .setMaxRpcTimeout(Duration.ZERO) - .setTotalTimeout(Duration.ofMillis(300000L)) - .build())); - - builder - .deleteIndexOperationSettings() - .setInitialCallSettings( - UnaryCallSettings.newUnaryCallSettingsBuilder() - .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_0_codes")) - .setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_0_params")) - .build()) - .setResponseTransformer( - ProtoOperationTransformers.ResponseTransformer.create(Index.class)) - .setMetadataTransformer( - ProtoOperationTransformers.MetadataTransformer.create(IndexOperationMetadata.class)) - .setPollingAlgorithm( - OperationTimedPollAlgorithm.create( - RetrySettings.newBuilder() - .setInitialRetryDelay(Duration.ofMillis(5000L)) - .setRetryDelayMultiplier(1.5) - .setMaxRetryDelay(Duration.ofMillis(45000L)) - .setInitialRpcTimeout(Duration.ZERO) - .setRpcTimeoutMultiplier(1.0) - .setMaxRpcTimeout(Duration.ZERO) - .setTotalTimeout(Duration.ofMillis(300000L)) - .build())); - - return builder; - } - - /** - * Applies the given settings updater function to all of the unary API methods in this service. - * - *

Note: This method does not support applying settings to streaming methods. - */ - public Builder applyToAllUnaryMethods( - ApiFunction, Void> settingsUpdater) { - super.applyToAllUnaryMethods(unaryMethodSettingsBuilders, settingsUpdater); - return this; - } - - public ImmutableList> unaryMethodSettingsBuilders() { - return unaryMethodSettingsBuilders; - } - - /** Returns the builder for the settings used for calls to exportEntities. */ - public UnaryCallSettings.Builder exportEntitiesSettings() { - return exportEntitiesSettings; - } - - /** Returns the builder for the settings used for calls to exportEntities. */ - public OperationCallSettings.Builder< - ExportEntitiesRequest, ExportEntitiesResponse, ExportEntitiesMetadata> - exportEntitiesOperationSettings() { - return exportEntitiesOperationSettings; - } - - /** Returns the builder for the settings used for calls to importEntities. */ - public UnaryCallSettings.Builder importEntitiesSettings() { - return importEntitiesSettings; - } - - /** Returns the builder for the settings used for calls to importEntities. */ - public OperationCallSettings.Builder - importEntitiesOperationSettings() { - return importEntitiesOperationSettings; - } - - /** Returns the builder for the settings used for calls to createIndex. */ - public UnaryCallSettings.Builder createIndexSettings() { - return createIndexSettings; - } - - /** Returns the builder for the settings used for calls to createIndex. */ - public OperationCallSettings.Builder - createIndexOperationSettings() { - return createIndexOperationSettings; - } - - /** Returns the builder for the settings used for calls to deleteIndex. */ - public UnaryCallSettings.Builder deleteIndexSettings() { - return deleteIndexSettings; - } - - /** Returns the builder for the settings used for calls to deleteIndex. */ - public OperationCallSettings.Builder - deleteIndexOperationSettings() { - return deleteIndexOperationSettings; - } - - /** Returns the builder for the settings used for calls to getIndex. */ - public UnaryCallSettings.Builder getIndexSettings() { - return getIndexSettings; - } - - /** Returns the builder for the settings used for calls to listIndexes. */ - public PagedCallSettings.Builder< - ListIndexesRequest, ListIndexesResponse, ListIndexesPagedResponse> - listIndexesSettings() { - return listIndexesSettings; - } - - @Override - public DatastoreAdminStubSettings build() throws IOException { - return new DatastoreAdminStubSettings(this); - } - } -} diff --git a/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/GrpcDatastoreAdminCallableFactory.java b/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/GrpcDatastoreAdminCallableFactory.java deleted file mode 100644 index 9fa4e901b..000000000 --- a/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/GrpcDatastoreAdminCallableFactory.java +++ /dev/null @@ -1,113 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.cloud.datastore.admin.v1.stub; - -import com.google.api.gax.grpc.GrpcCallSettings; -import com.google.api.gax.grpc.GrpcCallableFactory; -import com.google.api.gax.grpc.GrpcStubCallableFactory; -import com.google.api.gax.rpc.BatchingCallSettings; -import com.google.api.gax.rpc.BidiStreamingCallable; -import com.google.api.gax.rpc.ClientContext; -import com.google.api.gax.rpc.ClientStreamingCallable; -import com.google.api.gax.rpc.OperationCallSettings; -import com.google.api.gax.rpc.OperationCallable; -import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.ServerStreamingCallSettings; -import com.google.api.gax.rpc.ServerStreamingCallable; -import com.google.api.gax.rpc.StreamingCallSettings; -import com.google.api.gax.rpc.UnaryCallSettings; -import com.google.api.gax.rpc.UnaryCallable; -import com.google.longrunning.Operation; -import com.google.longrunning.stub.OperationsStub; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * gRPC callable factory implementation for the DatastoreAdmin service API. - * - *

This class is for advanced usage. - */ -@Generated("by gapic-generator-java") -public class GrpcDatastoreAdminCallableFactory implements GrpcStubCallableFactory { - - @Override - public UnaryCallable createUnaryCallable( - GrpcCallSettings grpcCallSettings, - UnaryCallSettings callSettings, - ClientContext clientContext) { - return GrpcCallableFactory.createUnaryCallable(grpcCallSettings, callSettings, clientContext); - } - - @Override - public - UnaryCallable createPagedCallable( - GrpcCallSettings grpcCallSettings, - PagedCallSettings callSettings, - ClientContext clientContext) { - return GrpcCallableFactory.createPagedCallable(grpcCallSettings, callSettings, clientContext); - } - - @Override - public UnaryCallable createBatchingCallable( - GrpcCallSettings grpcCallSettings, - BatchingCallSettings callSettings, - ClientContext clientContext) { - return GrpcCallableFactory.createBatchingCallable( - grpcCallSettings, callSettings, clientContext); - } - - @Override - public - OperationCallable createOperationCallable( - GrpcCallSettings grpcCallSettings, - OperationCallSettings callSettings, - ClientContext clientContext, - OperationsStub operationsStub) { - return GrpcCallableFactory.createOperationCallable( - grpcCallSettings, callSettings, clientContext, operationsStub); - } - - @Override - public - BidiStreamingCallable createBidiStreamingCallable( - GrpcCallSettings grpcCallSettings, - StreamingCallSettings callSettings, - ClientContext clientContext) { - return GrpcCallableFactory.createBidiStreamingCallable( - grpcCallSettings, callSettings, clientContext); - } - - @Override - public - ServerStreamingCallable createServerStreamingCallable( - GrpcCallSettings grpcCallSettings, - ServerStreamingCallSettings callSettings, - ClientContext clientContext) { - return GrpcCallableFactory.createServerStreamingCallable( - grpcCallSettings, callSettings, clientContext); - } - - @Override - public - ClientStreamingCallable createClientStreamingCallable( - GrpcCallSettings grpcCallSettings, - StreamingCallSettings callSettings, - ClientContext clientContext) { - return GrpcCallableFactory.createClientStreamingCallable( - grpcCallSettings, callSettings, clientContext); - } -} diff --git a/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/GrpcDatastoreAdminStub.java b/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/GrpcDatastoreAdminStub.java deleted file mode 100644 index bddd46e97..000000000 --- a/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/GrpcDatastoreAdminStub.java +++ /dev/null @@ -1,386 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.cloud.datastore.admin.v1.stub; - -import static com.google.cloud.datastore.admin.v1.DatastoreAdminClient.ListIndexesPagedResponse; - -import com.google.api.gax.core.BackgroundResource; -import com.google.api.gax.core.BackgroundResourceAggregation; -import com.google.api.gax.grpc.GrpcCallSettings; -import com.google.api.gax.grpc.GrpcStubCallableFactory; -import com.google.api.gax.rpc.ClientContext; -import com.google.api.gax.rpc.OperationCallable; -import com.google.api.gax.rpc.RequestParamsBuilder; -import com.google.api.gax.rpc.UnaryCallable; -import com.google.datastore.admin.v1.CreateIndexRequest; -import com.google.datastore.admin.v1.DeleteIndexRequest; -import com.google.datastore.admin.v1.ExportEntitiesMetadata; -import com.google.datastore.admin.v1.ExportEntitiesRequest; -import com.google.datastore.admin.v1.ExportEntitiesResponse; -import com.google.datastore.admin.v1.GetIndexRequest; -import com.google.datastore.admin.v1.ImportEntitiesMetadata; -import com.google.datastore.admin.v1.ImportEntitiesRequest; -import com.google.datastore.admin.v1.Index; -import com.google.datastore.admin.v1.IndexOperationMetadata; -import com.google.datastore.admin.v1.ListIndexesRequest; -import com.google.datastore.admin.v1.ListIndexesResponse; -import com.google.longrunning.Operation; -import com.google.longrunning.stub.GrpcOperationsStub; -import com.google.protobuf.Empty; -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; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * gRPC stub implementation for the DatastoreAdmin service API. - * - *

This class is for advanced usage and reflects the underlying API directly. - */ -@Generated("by gapic-generator-java") -public class GrpcDatastoreAdminStub extends DatastoreAdminStub { - private static final MethodDescriptor - exportEntitiesMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.datastore.admin.v1.DatastoreAdmin/ExportEntities") - .setRequestMarshaller( - ProtoUtils.marshaller(ExportEntitiesRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) - .build(); - - private static final MethodDescriptor - importEntitiesMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.datastore.admin.v1.DatastoreAdmin/ImportEntities") - .setRequestMarshaller( - ProtoUtils.marshaller(ImportEntitiesRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) - .build(); - - private static final MethodDescriptor createIndexMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.datastore.admin.v1.DatastoreAdmin/CreateIndex") - .setRequestMarshaller(ProtoUtils.marshaller(CreateIndexRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) - .build(); - - private static final MethodDescriptor deleteIndexMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.datastore.admin.v1.DatastoreAdmin/DeleteIndex") - .setRequestMarshaller(ProtoUtils.marshaller(DeleteIndexRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) - .build(); - - private static final MethodDescriptor getIndexMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.datastore.admin.v1.DatastoreAdmin/GetIndex") - .setRequestMarshaller(ProtoUtils.marshaller(GetIndexRequest.getDefaultInstance())) - .setResponseMarshaller(ProtoUtils.marshaller(Index.getDefaultInstance())) - .build(); - - private static final MethodDescriptor - listIndexesMethodDescriptor = - MethodDescriptor.newBuilder() - .setType(MethodDescriptor.MethodType.UNARY) - .setFullMethodName("google.datastore.admin.v1.DatastoreAdmin/ListIndexes") - .setRequestMarshaller(ProtoUtils.marshaller(ListIndexesRequest.getDefaultInstance())) - .setResponseMarshaller( - ProtoUtils.marshaller(ListIndexesResponse.getDefaultInstance())) - .build(); - - private final UnaryCallable exportEntitiesCallable; - private final OperationCallable< - ExportEntitiesRequest, ExportEntitiesResponse, ExportEntitiesMetadata> - exportEntitiesOperationCallable; - private final UnaryCallable importEntitiesCallable; - private final OperationCallable - importEntitiesOperationCallable; - private final UnaryCallable createIndexCallable; - private final OperationCallable - createIndexOperationCallable; - private final UnaryCallable deleteIndexCallable; - private final OperationCallable - deleteIndexOperationCallable; - private final UnaryCallable getIndexCallable; - private final UnaryCallable listIndexesCallable; - private final UnaryCallable - listIndexesPagedCallable; - - private final BackgroundResource backgroundResources; - private final GrpcOperationsStub operationsStub; - private final GrpcStubCallableFactory callableFactory; - - public static final GrpcDatastoreAdminStub create(DatastoreAdminStubSettings settings) - throws IOException { - return new GrpcDatastoreAdminStub(settings, ClientContext.create(settings)); - } - - public static final GrpcDatastoreAdminStub create(ClientContext clientContext) - throws IOException { - return new GrpcDatastoreAdminStub( - DatastoreAdminStubSettings.newBuilder().build(), clientContext); - } - - public static final GrpcDatastoreAdminStub create( - ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException { - return new GrpcDatastoreAdminStub( - DatastoreAdminStubSettings.newBuilder().build(), clientContext, callableFactory); - } - - /** - * Constructs an instance of GrpcDatastoreAdminStub, using the given settings. This is protected - * so that it is easy to make a subclass, but otherwise, the static factory methods should be - * preferred. - */ - protected GrpcDatastoreAdminStub(DatastoreAdminStubSettings settings, ClientContext clientContext) - throws IOException { - this(settings, clientContext, new GrpcDatastoreAdminCallableFactory()); - } - - /** - * Constructs an instance of GrpcDatastoreAdminStub, using the given settings. This is protected - * so that it is easy to make a subclass, but otherwise, the static factory methods should be - * preferred. - */ - protected GrpcDatastoreAdminStub( - DatastoreAdminStubSettings settings, - ClientContext clientContext, - GrpcStubCallableFactory callableFactory) - throws IOException { - this.callableFactory = callableFactory; - this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory); - - GrpcCallSettings exportEntitiesTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(exportEntitiesMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("project_id", String.valueOf(request.getProjectId())); - return builder.build(); - }) - .build(); - GrpcCallSettings importEntitiesTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(importEntitiesMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("project_id", String.valueOf(request.getProjectId())); - return builder.build(); - }) - .build(); - GrpcCallSettings createIndexTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(createIndexMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("project_id", String.valueOf(request.getProjectId())); - return builder.build(); - }) - .build(); - GrpcCallSettings deleteIndexTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(deleteIndexMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("index_id", String.valueOf(request.getIndexId())); - builder.add("project_id", String.valueOf(request.getProjectId())); - return builder.build(); - }) - .build(); - GrpcCallSettings getIndexTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(getIndexMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("index_id", String.valueOf(request.getIndexId())); - builder.add("project_id", String.valueOf(request.getProjectId())); - return builder.build(); - }) - .build(); - GrpcCallSettings listIndexesTransportSettings = - GrpcCallSettings.newBuilder() - .setMethodDescriptor(listIndexesMethodDescriptor) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("project_id", String.valueOf(request.getProjectId())); - return builder.build(); - }) - .build(); - - this.exportEntitiesCallable = - callableFactory.createUnaryCallable( - exportEntitiesTransportSettings, settings.exportEntitiesSettings(), clientContext); - this.exportEntitiesOperationCallable = - callableFactory.createOperationCallable( - exportEntitiesTransportSettings, - settings.exportEntitiesOperationSettings(), - clientContext, - operationsStub); - this.importEntitiesCallable = - callableFactory.createUnaryCallable( - importEntitiesTransportSettings, settings.importEntitiesSettings(), clientContext); - this.importEntitiesOperationCallable = - callableFactory.createOperationCallable( - importEntitiesTransportSettings, - settings.importEntitiesOperationSettings(), - clientContext, - operationsStub); - this.createIndexCallable = - callableFactory.createUnaryCallable( - createIndexTransportSettings, settings.createIndexSettings(), clientContext); - this.createIndexOperationCallable = - callableFactory.createOperationCallable( - createIndexTransportSettings, - settings.createIndexOperationSettings(), - clientContext, - operationsStub); - this.deleteIndexCallable = - callableFactory.createUnaryCallable( - deleteIndexTransportSettings, settings.deleteIndexSettings(), clientContext); - this.deleteIndexOperationCallable = - callableFactory.createOperationCallable( - deleteIndexTransportSettings, - settings.deleteIndexOperationSettings(), - clientContext, - operationsStub); - this.getIndexCallable = - callableFactory.createUnaryCallable( - getIndexTransportSettings, settings.getIndexSettings(), clientContext); - this.listIndexesCallable = - callableFactory.createUnaryCallable( - listIndexesTransportSettings, settings.listIndexesSettings(), clientContext); - this.listIndexesPagedCallable = - callableFactory.createPagedCallable( - listIndexesTransportSettings, settings.listIndexesSettings(), clientContext); - - this.backgroundResources = - new BackgroundResourceAggregation(clientContext.getBackgroundResources()); - } - - public GrpcOperationsStub getOperationsStub() { - return operationsStub; - } - - @Override - public UnaryCallable exportEntitiesCallable() { - return exportEntitiesCallable; - } - - @Override - public OperationCallable - exportEntitiesOperationCallable() { - return exportEntitiesOperationCallable; - } - - @Override - public UnaryCallable importEntitiesCallable() { - return importEntitiesCallable; - } - - @Override - public OperationCallable - importEntitiesOperationCallable() { - return importEntitiesOperationCallable; - } - - @Override - public UnaryCallable createIndexCallable() { - return createIndexCallable; - } - - @Override - public OperationCallable - createIndexOperationCallable() { - return createIndexOperationCallable; - } - - @Override - public UnaryCallable deleteIndexCallable() { - return deleteIndexCallable; - } - - @Override - public OperationCallable - deleteIndexOperationCallable() { - return deleteIndexOperationCallable; - } - - @Override - public UnaryCallable getIndexCallable() { - return getIndexCallable; - } - - @Override - public UnaryCallable listIndexesCallable() { - return listIndexesCallable; - } - - @Override - public UnaryCallable listIndexesPagedCallable() { - return listIndexesPagedCallable; - } - - @Override - public final void close() { - try { - backgroundResources.close(); - } catch (RuntimeException e) { - throw e; - } catch (Exception e) { - throw new IllegalStateException("Failed to close resource", e); - } - } - - @Override - public void shutdown() { - backgroundResources.shutdown(); - } - - @Override - public boolean isShutdown() { - return backgroundResources.isShutdown(); - } - - @Override - public boolean isTerminated() { - return backgroundResources.isTerminated(); - } - - @Override - public void shutdownNow() { - backgroundResources.shutdownNow(); - } - - @Override - public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { - return backgroundResources.awaitTermination(duration, unit); - } -} diff --git a/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/HttpJsonDatastoreAdminCallableFactory.java b/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/HttpJsonDatastoreAdminCallableFactory.java deleted file mode 100644 index 0f992e4c2..000000000 --- a/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/HttpJsonDatastoreAdminCallableFactory.java +++ /dev/null @@ -1,101 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.cloud.datastore.admin.v1.stub; - -import com.google.api.gax.httpjson.HttpJsonCallSettings; -import com.google.api.gax.httpjson.HttpJsonCallableFactory; -import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable; -import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; -import com.google.api.gax.httpjson.longrunning.stub.OperationsStub; -import com.google.api.gax.rpc.BatchingCallSettings; -import com.google.api.gax.rpc.ClientContext; -import com.google.api.gax.rpc.OperationCallSettings; -import com.google.api.gax.rpc.OperationCallable; -import com.google.api.gax.rpc.PagedCallSettings; -import com.google.api.gax.rpc.ServerStreamingCallSettings; -import com.google.api.gax.rpc.ServerStreamingCallable; -import com.google.api.gax.rpc.UnaryCallSettings; -import com.google.api.gax.rpc.UnaryCallable; -import com.google.longrunning.Operation; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * REST callable factory implementation for the DatastoreAdmin service API. - * - *

This class is for advanced usage. - */ -@Generated("by gapic-generator-java") -public class HttpJsonDatastoreAdminCallableFactory - implements HttpJsonStubCallableFactory { - - @Override - public UnaryCallable createUnaryCallable( - HttpJsonCallSettings httpJsonCallSettings, - UnaryCallSettings callSettings, - ClientContext clientContext) { - return HttpJsonCallableFactory.createUnaryCallable( - httpJsonCallSettings, callSettings, clientContext); - } - - @Override - public - UnaryCallable createPagedCallable( - HttpJsonCallSettings httpJsonCallSettings, - PagedCallSettings callSettings, - ClientContext clientContext) { - return HttpJsonCallableFactory.createPagedCallable( - httpJsonCallSettings, callSettings, clientContext); - } - - @Override - public UnaryCallable createBatchingCallable( - HttpJsonCallSettings httpJsonCallSettings, - BatchingCallSettings callSettings, - ClientContext clientContext) { - return HttpJsonCallableFactory.createBatchingCallable( - httpJsonCallSettings, callSettings, clientContext); - } - - @Override - public - OperationCallable createOperationCallable( - HttpJsonCallSettings httpJsonCallSettings, - OperationCallSettings callSettings, - ClientContext clientContext, - OperationsStub operationsStub) { - UnaryCallable innerCallable = - HttpJsonCallableFactory.createBaseUnaryCallable( - httpJsonCallSettings, callSettings.getInitialCallSettings(), clientContext); - HttpJsonOperationSnapshotCallable initialCallable = - new HttpJsonOperationSnapshotCallable( - innerCallable, - httpJsonCallSettings.getMethodDescriptor().getOperationSnapshotFactory()); - return HttpJsonCallableFactory.createOperationCallable( - callSettings, clientContext, operationsStub.longRunningClient(), initialCallable); - } - - @Override - public - ServerStreamingCallable createServerStreamingCallable( - HttpJsonCallSettings httpJsonCallSettings, - ServerStreamingCallSettings callSettings, - ClientContext clientContext) { - return HttpJsonCallableFactory.createServerStreamingCallable( - httpJsonCallSettings, callSettings, clientContext); - } -} diff --git a/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/HttpJsonDatastoreAdminStub.java b/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/HttpJsonDatastoreAdminStub.java deleted file mode 100644 index 0d215ada4..000000000 --- a/owl-bot-staging/v1/google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/stub/HttpJsonDatastoreAdminStub.java +++ /dev/null @@ -1,620 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.cloud.datastore.admin.v1.stub; - -import static com.google.cloud.datastore.admin.v1.DatastoreAdminClient.ListIndexesPagedResponse; - -import com.google.api.HttpRule; -import com.google.api.core.InternalApi; -import com.google.api.gax.core.BackgroundResource; -import com.google.api.gax.core.BackgroundResourceAggregation; -import com.google.api.gax.httpjson.ApiMethodDescriptor; -import com.google.api.gax.httpjson.HttpJsonCallSettings; -import com.google.api.gax.httpjson.HttpJsonOperationSnapshot; -import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; -import com.google.api.gax.httpjson.ProtoMessageRequestFormatter; -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.RequestParamsBuilder; -import com.google.api.gax.rpc.UnaryCallable; -import com.google.common.collect.ImmutableMap; -import com.google.datastore.admin.v1.CreateIndexRequest; -import com.google.datastore.admin.v1.DeleteIndexRequest; -import com.google.datastore.admin.v1.ExportEntitiesMetadata; -import com.google.datastore.admin.v1.ExportEntitiesRequest; -import com.google.datastore.admin.v1.ExportEntitiesResponse; -import com.google.datastore.admin.v1.GetIndexRequest; -import com.google.datastore.admin.v1.ImportEntitiesMetadata; -import com.google.datastore.admin.v1.ImportEntitiesRequest; -import com.google.datastore.admin.v1.Index; -import com.google.datastore.admin.v1.IndexOperationMetadata; -import com.google.datastore.admin.v1.ListIndexesRequest; -import com.google.datastore.admin.v1.ListIndexesResponse; -import com.google.longrunning.Operation; -import com.google.protobuf.Empty; -import com.google.protobuf.TypeRegistry; -import java.io.IOException; -import java.util.ArrayList; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.concurrent.TimeUnit; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS. -/** - * REST stub implementation for the DatastoreAdmin service API. - * - *

This class is for advanced usage and reflects the underlying API directly. - */ -@Generated("by gapic-generator-java") -public class HttpJsonDatastoreAdminStub extends DatastoreAdminStub { - private static final TypeRegistry typeRegistry = - TypeRegistry.newBuilder() - .add(Empty.getDescriptor()) - .add(ExportEntitiesResponse.getDescriptor()) - .add(IndexOperationMetadata.getDescriptor()) - .add(Index.getDescriptor()) - .add(ExportEntitiesMetadata.getDescriptor()) - .add(ImportEntitiesMetadata.getDescriptor()) - .build(); - - private static final ApiMethodDescriptor - exportEntitiesMethodDescriptor = - ApiMethodDescriptor.newBuilder() - .setFullMethodName("google.datastore.admin.v1.DatastoreAdmin/ExportEntities") - .setHttpMethod("POST") - .setType(ApiMethodDescriptor.MethodType.UNARY) - .setRequestFormatter( - ProtoMessageRequestFormatter.newBuilder() - .setPath( - "/v1/projects/{projectId}:export", - request -> { - Map fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putPathParam(fields, "projectId", request.getProjectId()); - return fields; - }) - .setQueryParamsExtractor( - request -> { - Map> fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); - return fields; - }) - .setRequestBodyExtractor( - request -> - ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearProjectId().build(), true)) - .build()) - .setResponseParser( - ProtoMessageResponseParser.newBuilder() - .setDefaultInstance(Operation.getDefaultInstance()) - .setDefaultTypeRegistry(typeRegistry) - .build()) - .setOperationSnapshotFactory( - (ExportEntitiesRequest request, Operation response) -> - HttpJsonOperationSnapshot.create(response)) - .build(); - - private static final ApiMethodDescriptor - importEntitiesMethodDescriptor = - ApiMethodDescriptor.newBuilder() - .setFullMethodName("google.datastore.admin.v1.DatastoreAdmin/ImportEntities") - .setHttpMethod("POST") - .setType(ApiMethodDescriptor.MethodType.UNARY) - .setRequestFormatter( - ProtoMessageRequestFormatter.newBuilder() - .setPath( - "/v1/projects/{projectId}:import", - request -> { - Map fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putPathParam(fields, "projectId", request.getProjectId()); - return fields; - }) - .setQueryParamsExtractor( - request -> { - Map> fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); - return fields; - }) - .setRequestBodyExtractor( - request -> - ProtoRestSerializer.create() - .toBody("*", request.toBuilder().clearProjectId().build(), true)) - .build()) - .setResponseParser( - ProtoMessageResponseParser.newBuilder() - .setDefaultInstance(Operation.getDefaultInstance()) - .setDefaultTypeRegistry(typeRegistry) - .build()) - .setOperationSnapshotFactory( - (ImportEntitiesRequest request, Operation response) -> - HttpJsonOperationSnapshot.create(response)) - .build(); - - private static final ApiMethodDescriptor - createIndexMethodDescriptor = - ApiMethodDescriptor.newBuilder() - .setFullMethodName("google.datastore.admin.v1.DatastoreAdmin/CreateIndex") - .setHttpMethod("POST") - .setType(ApiMethodDescriptor.MethodType.UNARY) - .setRequestFormatter( - ProtoMessageRequestFormatter.newBuilder() - .setPath( - "/v1/projects/{projectId}/indexes", - request -> { - Map fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putPathParam(fields, "projectId", request.getProjectId()); - return fields; - }) - .setQueryParamsExtractor( - request -> { - Map> fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); - return fields; - }) - .setRequestBodyExtractor( - request -> - ProtoRestSerializer.create() - .toBody("index", request.getIndex(), true)) - .build()) - .setResponseParser( - ProtoMessageResponseParser.newBuilder() - .setDefaultInstance(Operation.getDefaultInstance()) - .setDefaultTypeRegistry(typeRegistry) - .build()) - .setOperationSnapshotFactory( - (CreateIndexRequest request, Operation response) -> - HttpJsonOperationSnapshot.create(response)) - .build(); - - private static final ApiMethodDescriptor - deleteIndexMethodDescriptor = - ApiMethodDescriptor.newBuilder() - .setFullMethodName("google.datastore.admin.v1.DatastoreAdmin/DeleteIndex") - .setHttpMethod("DELETE") - .setType(ApiMethodDescriptor.MethodType.UNARY) - .setRequestFormatter( - ProtoMessageRequestFormatter.newBuilder() - .setPath( - "/v1/projects/{projectId}/indexes/{indexId}", - request -> { - Map fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putPathParam(fields, "indexId", request.getIndexId()); - serializer.putPathParam(fields, "projectId", request.getProjectId()); - return fields; - }) - .setQueryParamsExtractor( - request -> { - Map> fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); - return fields; - }) - .setRequestBodyExtractor(request -> null) - .build()) - .setResponseParser( - ProtoMessageResponseParser.newBuilder() - .setDefaultInstance(Operation.getDefaultInstance()) - .setDefaultTypeRegistry(typeRegistry) - .build()) - .setOperationSnapshotFactory( - (DeleteIndexRequest request, Operation response) -> - HttpJsonOperationSnapshot.create(response)) - .build(); - - private static final ApiMethodDescriptor getIndexMethodDescriptor = - ApiMethodDescriptor.newBuilder() - .setFullMethodName("google.datastore.admin.v1.DatastoreAdmin/GetIndex") - .setHttpMethod("GET") - .setType(ApiMethodDescriptor.MethodType.UNARY) - .setRequestFormatter( - ProtoMessageRequestFormatter.newBuilder() - .setPath( - "/v1/projects/{projectId}/indexes/{indexId}", - request -> { - Map fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putPathParam(fields, "indexId", request.getIndexId()); - serializer.putPathParam(fields, "projectId", request.getProjectId()); - return fields; - }) - .setQueryParamsExtractor( - request -> { - Map> fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); - return fields; - }) - .setRequestBodyExtractor(request -> null) - .build()) - .setResponseParser( - ProtoMessageResponseParser.newBuilder() - .setDefaultInstance(Index.getDefaultInstance()) - .setDefaultTypeRegistry(typeRegistry) - .build()) - .build(); - - private static final ApiMethodDescriptor - listIndexesMethodDescriptor = - ApiMethodDescriptor.newBuilder() - .setFullMethodName("google.datastore.admin.v1.DatastoreAdmin/ListIndexes") - .setHttpMethod("GET") - .setType(ApiMethodDescriptor.MethodType.UNARY) - .setRequestFormatter( - ProtoMessageRequestFormatter.newBuilder() - .setPath( - "/v1/projects/{projectId}/indexes", - request -> { - Map fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putPathParam(fields, "projectId", request.getProjectId()); - return fields; - }) - .setQueryParamsExtractor( - request -> { - Map> fields = new HashMap<>(); - ProtoRestSerializer serializer = - ProtoRestSerializer.create(); - serializer.putQueryParam(fields, "filter", request.getFilter()); - serializer.putQueryParam(fields, "pageSize", request.getPageSize()); - serializer.putQueryParam(fields, "pageToken", request.getPageToken()); - serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int"); - return fields; - }) - .setRequestBodyExtractor(request -> null) - .build()) - .setResponseParser( - ProtoMessageResponseParser.newBuilder() - .setDefaultInstance(ListIndexesResponse.getDefaultInstance()) - .setDefaultTypeRegistry(typeRegistry) - .build()) - .build(); - - private final UnaryCallable exportEntitiesCallable; - private final OperationCallable< - ExportEntitiesRequest, ExportEntitiesResponse, ExportEntitiesMetadata> - exportEntitiesOperationCallable; - private final UnaryCallable importEntitiesCallable; - private final OperationCallable - importEntitiesOperationCallable; - private final UnaryCallable createIndexCallable; - private final OperationCallable - createIndexOperationCallable; - private final UnaryCallable deleteIndexCallable; - private final OperationCallable - deleteIndexOperationCallable; - private final UnaryCallable getIndexCallable; - private final UnaryCallable listIndexesCallable; - private final UnaryCallable - listIndexesPagedCallable; - - private final BackgroundResource backgroundResources; - private final HttpJsonOperationsStub httpJsonOperationsStub; - private final HttpJsonStubCallableFactory callableFactory; - - public static final HttpJsonDatastoreAdminStub create(DatastoreAdminStubSettings settings) - throws IOException { - return new HttpJsonDatastoreAdminStub(settings, ClientContext.create(settings)); - } - - public static final HttpJsonDatastoreAdminStub create(ClientContext clientContext) - throws IOException { - return new HttpJsonDatastoreAdminStub( - DatastoreAdminStubSettings.newHttpJsonBuilder().build(), clientContext); - } - - public static final HttpJsonDatastoreAdminStub create( - ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { - return new HttpJsonDatastoreAdminStub( - DatastoreAdminStubSettings.newHttpJsonBuilder().build(), clientContext, callableFactory); - } - - /** - * Constructs an instance of HttpJsonDatastoreAdminStub, using the given settings. This is - * protected so that it is easy to make a subclass, but otherwise, the static factory methods - * should be preferred. - */ - protected HttpJsonDatastoreAdminStub( - DatastoreAdminStubSettings settings, ClientContext clientContext) throws IOException { - this(settings, clientContext, new HttpJsonDatastoreAdminCallableFactory()); - } - - /** - * Constructs an instance of HttpJsonDatastoreAdminStub, using the given settings. This is - * protected so that it is easy to make a subclass, but otherwise, the static factory methods - * should be preferred. - */ - protected HttpJsonDatastoreAdminStub( - DatastoreAdminStubSettings settings, - ClientContext clientContext, - HttpJsonStubCallableFactory callableFactory) - throws IOException { - this.callableFactory = callableFactory; - this.httpJsonOperationsStub = - HttpJsonOperationsStub.create( - clientContext, - callableFactory, - typeRegistry, - ImmutableMap.builder() - .put( - "google.longrunning.Operations.CancelOperation", - HttpRule.newBuilder() - .setPost("/v1/{name=projects/*/operations/*}:cancel") - .build()) - .put( - "google.longrunning.Operations.DeleteOperation", - HttpRule.newBuilder().setDelete("/v1/{name=projects/*/operations/*}").build()) - .put( - "google.longrunning.Operations.GetOperation", - HttpRule.newBuilder().setGet("/v1/{name=projects/*/operations/*}").build()) - .put( - "google.longrunning.Operations.ListOperations", - HttpRule.newBuilder().setGet("/v1/{name=projects/*}/operations").build()) - .build()); - - HttpJsonCallSettings exportEntitiesTransportSettings = - HttpJsonCallSettings.newBuilder() - .setMethodDescriptor(exportEntitiesMethodDescriptor) - .setTypeRegistry(typeRegistry) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("project_id", String.valueOf(request.getProjectId())); - return builder.build(); - }) - .build(); - HttpJsonCallSettings importEntitiesTransportSettings = - HttpJsonCallSettings.newBuilder() - .setMethodDescriptor(importEntitiesMethodDescriptor) - .setTypeRegistry(typeRegistry) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("project_id", String.valueOf(request.getProjectId())); - return builder.build(); - }) - .build(); - HttpJsonCallSettings createIndexTransportSettings = - HttpJsonCallSettings.newBuilder() - .setMethodDescriptor(createIndexMethodDescriptor) - .setTypeRegistry(typeRegistry) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("project_id", String.valueOf(request.getProjectId())); - return builder.build(); - }) - .build(); - HttpJsonCallSettings deleteIndexTransportSettings = - HttpJsonCallSettings.newBuilder() - .setMethodDescriptor(deleteIndexMethodDescriptor) - .setTypeRegistry(typeRegistry) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("index_id", String.valueOf(request.getIndexId())); - builder.add("project_id", String.valueOf(request.getProjectId())); - return builder.build(); - }) - .build(); - HttpJsonCallSettings getIndexTransportSettings = - HttpJsonCallSettings.newBuilder() - .setMethodDescriptor(getIndexMethodDescriptor) - .setTypeRegistry(typeRegistry) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("index_id", String.valueOf(request.getIndexId())); - builder.add("project_id", String.valueOf(request.getProjectId())); - return builder.build(); - }) - .build(); - HttpJsonCallSettings listIndexesTransportSettings = - HttpJsonCallSettings.newBuilder() - .setMethodDescriptor(listIndexesMethodDescriptor) - .setTypeRegistry(typeRegistry) - .setParamsExtractor( - request -> { - RequestParamsBuilder builder = RequestParamsBuilder.create(); - builder.add("project_id", String.valueOf(request.getProjectId())); - return builder.build(); - }) - .build(); - - this.exportEntitiesCallable = - callableFactory.createUnaryCallable( - exportEntitiesTransportSettings, settings.exportEntitiesSettings(), clientContext); - this.exportEntitiesOperationCallable = - callableFactory.createOperationCallable( - exportEntitiesTransportSettings, - settings.exportEntitiesOperationSettings(), - clientContext, - httpJsonOperationsStub); - this.importEntitiesCallable = - callableFactory.createUnaryCallable( - importEntitiesTransportSettings, settings.importEntitiesSettings(), clientContext); - this.importEntitiesOperationCallable = - callableFactory.createOperationCallable( - importEntitiesTransportSettings, - settings.importEntitiesOperationSettings(), - clientContext, - httpJsonOperationsStub); - this.createIndexCallable = - callableFactory.createUnaryCallable( - createIndexTransportSettings, settings.createIndexSettings(), clientContext); - this.createIndexOperationCallable = - callableFactory.createOperationCallable( - createIndexTransportSettings, - settings.createIndexOperationSettings(), - clientContext, - httpJsonOperationsStub); - this.deleteIndexCallable = - callableFactory.createUnaryCallable( - deleteIndexTransportSettings, settings.deleteIndexSettings(), clientContext); - this.deleteIndexOperationCallable = - callableFactory.createOperationCallable( - deleteIndexTransportSettings, - settings.deleteIndexOperationSettings(), - clientContext, - httpJsonOperationsStub); - this.getIndexCallable = - callableFactory.createUnaryCallable( - getIndexTransportSettings, settings.getIndexSettings(), clientContext); - this.listIndexesCallable = - callableFactory.createUnaryCallable( - listIndexesTransportSettings, settings.listIndexesSettings(), clientContext); - this.listIndexesPagedCallable = - callableFactory.createPagedCallable( - listIndexesTransportSettings, settings.listIndexesSettings(), clientContext); - - this.backgroundResources = - new BackgroundResourceAggregation(clientContext.getBackgroundResources()); - } - - @InternalApi - public static List getMethodDescriptors() { - List methodDescriptors = new ArrayList<>(); - methodDescriptors.add(exportEntitiesMethodDescriptor); - methodDescriptors.add(importEntitiesMethodDescriptor); - methodDescriptors.add(createIndexMethodDescriptor); - methodDescriptors.add(deleteIndexMethodDescriptor); - methodDescriptors.add(getIndexMethodDescriptor); - methodDescriptors.add(listIndexesMethodDescriptor); - return methodDescriptors; - } - - public HttpJsonOperationsStub getHttpJsonOperationsStub() { - return httpJsonOperationsStub; - } - - @Override - public UnaryCallable exportEntitiesCallable() { - return exportEntitiesCallable; - } - - @Override - public OperationCallable - exportEntitiesOperationCallable() { - return exportEntitiesOperationCallable; - } - - @Override - public UnaryCallable importEntitiesCallable() { - return importEntitiesCallable; - } - - @Override - public OperationCallable - importEntitiesOperationCallable() { - return importEntitiesOperationCallable; - } - - @Override - public UnaryCallable createIndexCallable() { - return createIndexCallable; - } - - @Override - public OperationCallable - createIndexOperationCallable() { - return createIndexOperationCallable; - } - - @Override - public UnaryCallable deleteIndexCallable() { - return deleteIndexCallable; - } - - @Override - public OperationCallable - deleteIndexOperationCallable() { - return deleteIndexOperationCallable; - } - - @Override - public UnaryCallable getIndexCallable() { - return getIndexCallable; - } - - @Override - public UnaryCallable listIndexesCallable() { - return listIndexesCallable; - } - - @Override - public UnaryCallable listIndexesPagedCallable() { - return listIndexesPagedCallable; - } - - @Override - public final void close() { - try { - backgroundResources.close(); - } catch (RuntimeException e) { - throw e; - } catch (Exception e) { - throw new IllegalStateException("Failed to close resource", e); - } - } - - @Override - public void shutdown() { - backgroundResources.shutdown(); - } - - @Override - public boolean isShutdown() { - return backgroundResources.isShutdown(); - } - - @Override - public boolean isTerminated() { - return backgroundResources.isTerminated(); - } - - @Override - public void shutdownNow() { - backgroundResources.shutdownNow(); - } - - @Override - public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { - return backgroundResources.awaitTermination(duration, unit); - } -} diff --git a/owl-bot-staging/v1/google-cloud-datastore/src/main/resources/META-INF/native-image/com.google.cloud.datastore.admin.v1/reflect-config.json b/owl-bot-staging/v1/google-cloud-datastore/src/main/resources/META-INF/native-image/com.google.cloud.datastore.admin.v1/reflect-config.json deleted file mode 100644 index 5ed5e01e5..000000000 --- a/owl-bot-staging/v1/google-cloud-datastore/src/main/resources/META-INF/native-image/com.google.cloud.datastore.admin.v1/reflect-config.json +++ /dev/null @@ -1,1793 +0,0 @@ -[ - { - "name": "com.google.api.ClientLibraryDestination", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.ClientLibraryOrganization", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.ClientLibrarySettings", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.ClientLibrarySettings$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.CommonLanguageSettings", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.CommonLanguageSettings$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.CppSettings", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.CppSettings$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.CustomHttpPattern", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.CustomHttpPattern$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.DotnetSettings", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.DotnetSettings$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.FieldBehavior", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.GoSettings", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.GoSettings$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.Http", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.Http$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.HttpRule", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.HttpRule$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.JavaSettings", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.JavaSettings$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.LaunchStage", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.MethodSettings", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.MethodSettings$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.MethodSettings$LongRunning", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.MethodSettings$LongRunning$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.NodeSettings", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.NodeSettings$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.PhpSettings", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.PhpSettings$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.Publishing", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.Publishing$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.PythonSettings", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.PythonSettings$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.ResourceDescriptor", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.ResourceDescriptor$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.ResourceDescriptor$History", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.ResourceDescriptor$Style", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.ResourceReference", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.ResourceReference$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.RubySettings", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.api.RubySettings$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.CommonMetadata", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.CommonMetadata$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.CommonMetadata$State", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.CreateIndexRequest", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.CreateIndexRequest$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.DeleteIndexRequest", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.DeleteIndexRequest$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.EntityFilter", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.EntityFilter$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.ExportEntitiesMetadata", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.ExportEntitiesMetadata$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.ExportEntitiesRequest", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.ExportEntitiesRequest$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.ExportEntitiesResponse", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.ExportEntitiesResponse$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.GetIndexRequest", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.GetIndexRequest$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.ImportEntitiesMetadata", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.ImportEntitiesMetadata$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.ImportEntitiesRequest", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.ImportEntitiesRequest$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.Index", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.Index$AncestorMode", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.Index$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.Index$Direction", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.Index$IndexedProperty", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.Index$IndexedProperty$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.Index$State", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.IndexOperationMetadata", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.IndexOperationMetadata$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.ListIndexesRequest", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.ListIndexesRequest$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.ListIndexesResponse", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.ListIndexesResponse$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.MigrationProgressEvent", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.MigrationProgressEvent$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.MigrationProgressEvent$ConcurrencyMode", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.MigrationProgressEvent$PrepareStepDetails", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.MigrationProgressEvent$PrepareStepDetails$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.MigrationProgressEvent$RedirectWritesStepDetails", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.MigrationProgressEvent$RedirectWritesStepDetails$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.MigrationState", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.MigrationStateEvent", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.MigrationStateEvent$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.MigrationStep", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.OperationType", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.Progress", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.datastore.admin.v1.Progress$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.longrunning.CancelOperationRequest", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.longrunning.CancelOperationRequest$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.longrunning.DeleteOperationRequest", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.longrunning.DeleteOperationRequest$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.longrunning.GetOperationRequest", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.longrunning.GetOperationRequest$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.longrunning.ListOperationsRequest", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.longrunning.ListOperationsRequest$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.longrunning.ListOperationsResponse", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.longrunning.ListOperationsResponse$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.longrunning.Operation", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.longrunning.Operation$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.longrunning.OperationInfo", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.longrunning.OperationInfo$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.longrunning.WaitOperationRequest", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.longrunning.WaitOperationRequest$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.Any", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.Any$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$DescriptorProto", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ExtensionRange", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ExtensionRange$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ReservedRange", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$DescriptorProto$ReservedRange$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$Edition", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$EnumReservedRange", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$EnumDescriptorProto$EnumReservedRange$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$EnumOptions", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$EnumOptions$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$EnumValueDescriptorProto", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$EnumValueDescriptorProto$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$EnumValueOptions", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$EnumValueOptions$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Declaration", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$Declaration$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$ExtensionRangeOptions$VerificationState", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSet", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSet$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSet$EnumType", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSet$FieldPresence", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSet$JsonFormat", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSet$MessageEncoding", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSet$RepeatedFieldEncoding", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSet$Utf8Validation", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$FeatureSetEditionDefault", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FeatureSetDefaults$FeatureSetEditionDefault$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Label", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FieldDescriptorProto$Type", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FieldOptions", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FieldOptions$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FieldOptions$CType", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FieldOptions$EditionDefault", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FieldOptions$EditionDefault$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FieldOptions$JSType", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FieldOptions$OptionRetention", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FieldOptions$OptionTargetType", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FileDescriptorProto", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FileDescriptorProto$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FileDescriptorSet", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FileDescriptorSet$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FileOptions", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FileOptions$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$FileOptions$OptimizeMode", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Annotation$Semantic", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$GeneratedCodeInfo$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$MessageOptions", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$MessageOptions$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$MethodDescriptorProto", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$MethodDescriptorProto$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$MethodOptions", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$MethodOptions$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$MethodOptions$IdempotencyLevel", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$OneofDescriptorProto", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$OneofDescriptorProto$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$OneofOptions", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$OneofOptions$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$ServiceDescriptorProto", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$ServiceDescriptorProto$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$ServiceOptions", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$ServiceOptions$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Location", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$SourceCodeInfo$Location$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$NamePart", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.DescriptorProtos$UninterpretedOption$NamePart$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.Duration", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.Duration$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.Empty", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.Empty$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.Timestamp", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.protobuf.Timestamp$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.rpc.Status", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - }, - { - "name": "com.google.rpc.Status$Builder", - "queryAllDeclaredConstructors": true, - "queryAllPublicConstructors": true, - "queryAllDeclaredMethods": true, - "allPublicMethods": true, - "allDeclaredClasses": true, - "allPublicClasses": true - } -] \ No newline at end of file diff --git a/owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/DatastoreAdminClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/DatastoreAdminClientHttpJsonTest.java deleted file mode 100644 index eff9e6b3a..000000000 --- a/owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/DatastoreAdminClientHttpJsonTest.java +++ /dev/null @@ -1,434 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.cloud.datastore.admin.v1; - -import static com.google.cloud.datastore.admin.v1.DatastoreAdminClient.ListIndexesPagedResponse; - -import com.google.api.gax.core.NoCredentialsProvider; -import com.google.api.gax.httpjson.GaxHttpJsonProperties; -import com.google.api.gax.httpjson.testing.MockHttpService; -import com.google.api.gax.rpc.ApiClientHeaderProvider; -import com.google.api.gax.rpc.ApiException; -import com.google.api.gax.rpc.ApiExceptionFactory; -import com.google.api.gax.rpc.InvalidArgumentException; -import com.google.api.gax.rpc.StatusCode; -import com.google.api.gax.rpc.testing.FakeStatusCode; -import com.google.cloud.datastore.admin.v1.stub.HttpJsonDatastoreAdminStub; -import com.google.common.collect.Lists; -import com.google.datastore.admin.v1.CreateIndexRequest; -import com.google.datastore.admin.v1.DeleteIndexRequest; -import com.google.datastore.admin.v1.EntityFilter; -import com.google.datastore.admin.v1.ExportEntitiesResponse; -import com.google.datastore.admin.v1.GetIndexRequest; -import com.google.datastore.admin.v1.Index; -import com.google.datastore.admin.v1.ListIndexesRequest; -import com.google.datastore.admin.v1.ListIndexesResponse; -import com.google.longrunning.Operation; -import com.google.protobuf.Any; -import com.google.protobuf.Empty; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.concurrent.ExecutionException; -import javax.annotation.Generated; -import org.junit.After; -import org.junit.AfterClass; -import org.junit.Assert; -import org.junit.Before; -import org.junit.BeforeClass; -import org.junit.Test; - -@Generated("by gapic-generator-java") -public class DatastoreAdminClientHttpJsonTest { - private static MockHttpService mockService; - private static DatastoreAdminClient client; - - @BeforeClass - public static void startStaticServer() throws IOException { - mockService = - new MockHttpService( - HttpJsonDatastoreAdminStub.getMethodDescriptors(), - DatastoreAdminSettings.getDefaultEndpoint()); - DatastoreAdminSettings settings = - DatastoreAdminSettings.newHttpJsonBuilder() - .setTransportChannelProvider( - DatastoreAdminSettings.defaultHttpJsonTransportProviderBuilder() - .setHttpTransport(mockService) - .build()) - .setCredentialsProvider(NoCredentialsProvider.create()) - .build(); - client = DatastoreAdminClient.create(settings); - } - - @AfterClass - public static void stopServer() { - client.close(); - } - - @Before - public void setUp() {} - - @After - public void tearDown() throws Exception { - mockService.reset(); - } - - @Test - public void exportEntitiesTest() throws Exception { - ExportEntitiesResponse expectedResponse = - ExportEntitiesResponse.newBuilder().setOutputUrl("outputUrl-2119300946").build(); - Operation resultOperation = - Operation.newBuilder() - .setName("exportEntitiesTest") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockService.addResponse(resultOperation); - - String projectId = "projectId-1530"; - Map labels = new HashMap<>(); - EntityFilter entityFilter = EntityFilter.newBuilder().build(); - String outputUrlPrefix = "outputUrlPrefix-1132598048"; - - ExportEntitiesResponse actualResponse = - client.exportEntitiesAsync(projectId, labels, entityFilter, outputUrlPrefix).get(); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockService.getRequestPaths(); - Assert.assertEquals(1, actualRequests.size()); - - String apiClientHeaderKey = - mockService - .getRequestHeaders() - .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) - .iterator() - .next(); - Assert.assertTrue( - GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() - .matcher(apiClientHeaderKey) - .matches()); - } - - @Test - public void exportEntitiesExceptionTest() throws Exception { - ApiException exception = - ApiExceptionFactory.createException( - new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); - mockService.addException(exception); - - try { - String projectId = "projectId-1530"; - Map labels = new HashMap<>(); - EntityFilter entityFilter = EntityFilter.newBuilder().build(); - String outputUrlPrefix = "outputUrlPrefix-1132598048"; - client.exportEntitiesAsync(projectId, labels, entityFilter, outputUrlPrefix).get(); - Assert.fail("No exception raised"); - } catch (ExecutionException e) { - } - } - - @Test - public void importEntitiesTest() throws Exception { - Empty expectedResponse = Empty.newBuilder().build(); - Operation resultOperation = - Operation.newBuilder() - .setName("importEntitiesTest") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockService.addResponse(resultOperation); - - String projectId = "projectId-1530"; - Map labels = new HashMap<>(); - String inputUrl = "inputUrl470706501"; - EntityFilter entityFilter = EntityFilter.newBuilder().build(); - - client.importEntitiesAsync(projectId, labels, inputUrl, entityFilter).get(); - - List actualRequests = mockService.getRequestPaths(); - Assert.assertEquals(1, actualRequests.size()); - - String apiClientHeaderKey = - mockService - .getRequestHeaders() - .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) - .iterator() - .next(); - Assert.assertTrue( - GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() - .matcher(apiClientHeaderKey) - .matches()); - } - - @Test - public void importEntitiesExceptionTest() throws Exception { - ApiException exception = - ApiExceptionFactory.createException( - new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); - mockService.addException(exception); - - try { - String projectId = "projectId-1530"; - Map labels = new HashMap<>(); - String inputUrl = "inputUrl470706501"; - EntityFilter entityFilter = EntityFilter.newBuilder().build(); - client.importEntitiesAsync(projectId, labels, inputUrl, entityFilter).get(); - Assert.fail("No exception raised"); - } catch (ExecutionException e) { - } - } - - @Test - public void createIndexTest() throws Exception { - Index expectedResponse = - Index.newBuilder() - .setProjectId("projectId-894832108") - .setIndexId("indexId1943291277") - .setKind("kind3292052") - .addAllProperties(new ArrayList()) - .build(); - Operation resultOperation = - Operation.newBuilder() - .setName("createIndexTest") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockService.addResponse(resultOperation); - - CreateIndexRequest request = - CreateIndexRequest.newBuilder() - .setProjectId("projectId-1530") - .setIndex(Index.newBuilder().build()) - .build(); - - Index actualResponse = client.createIndexAsync(request).get(); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockService.getRequestPaths(); - Assert.assertEquals(1, actualRequests.size()); - - String apiClientHeaderKey = - mockService - .getRequestHeaders() - .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) - .iterator() - .next(); - Assert.assertTrue( - GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() - .matcher(apiClientHeaderKey) - .matches()); - } - - @Test - public void createIndexExceptionTest() throws Exception { - ApiException exception = - ApiExceptionFactory.createException( - new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); - mockService.addException(exception); - - try { - CreateIndexRequest request = - CreateIndexRequest.newBuilder() - .setProjectId("projectId-1530") - .setIndex(Index.newBuilder().build()) - .build(); - client.createIndexAsync(request).get(); - Assert.fail("No exception raised"); - } catch (ExecutionException e) { - } - } - - @Test - public void deleteIndexTest() throws Exception { - Index expectedResponse = - Index.newBuilder() - .setProjectId("projectId-894832108") - .setIndexId("indexId1943291277") - .setKind("kind3292052") - .addAllProperties(new ArrayList()) - .build(); - Operation resultOperation = - Operation.newBuilder() - .setName("deleteIndexTest") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockService.addResponse(resultOperation); - - DeleteIndexRequest request = - DeleteIndexRequest.newBuilder() - .setProjectId("projectId-1530") - .setIndexId("indexId-7485") - .build(); - - Index actualResponse = client.deleteIndexAsync(request).get(); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockService.getRequestPaths(); - Assert.assertEquals(1, actualRequests.size()); - - String apiClientHeaderKey = - mockService - .getRequestHeaders() - .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) - .iterator() - .next(); - Assert.assertTrue( - GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() - .matcher(apiClientHeaderKey) - .matches()); - } - - @Test - public void deleteIndexExceptionTest() throws Exception { - ApiException exception = - ApiExceptionFactory.createException( - new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); - mockService.addException(exception); - - try { - DeleteIndexRequest request = - DeleteIndexRequest.newBuilder() - .setProjectId("projectId-1530") - .setIndexId("indexId-7485") - .build(); - client.deleteIndexAsync(request).get(); - Assert.fail("No exception raised"); - } catch (ExecutionException e) { - } - } - - @Test - public void getIndexTest() throws Exception { - Index expectedResponse = - Index.newBuilder() - .setProjectId("projectId-894832108") - .setIndexId("indexId1943291277") - .setKind("kind3292052") - .addAllProperties(new ArrayList()) - .build(); - mockService.addResponse(expectedResponse); - - GetIndexRequest request = - GetIndexRequest.newBuilder() - .setProjectId("projectId-1530") - .setIndexId("indexId-7485") - .build(); - - Index actualResponse = client.getIndex(request); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockService.getRequestPaths(); - Assert.assertEquals(1, actualRequests.size()); - - String apiClientHeaderKey = - mockService - .getRequestHeaders() - .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) - .iterator() - .next(); - Assert.assertTrue( - GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() - .matcher(apiClientHeaderKey) - .matches()); - } - - @Test - public void getIndexExceptionTest() throws Exception { - ApiException exception = - ApiExceptionFactory.createException( - new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); - mockService.addException(exception); - - try { - GetIndexRequest request = - GetIndexRequest.newBuilder() - .setProjectId("projectId-1530") - .setIndexId("indexId-7485") - .build(); - client.getIndex(request); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void listIndexesTest() throws Exception { - Index responsesElement = Index.newBuilder().build(); - ListIndexesResponse expectedResponse = - ListIndexesResponse.newBuilder() - .setNextPageToken("") - .addAllIndexes(Arrays.asList(responsesElement)) - .build(); - mockService.addResponse(expectedResponse); - - ListIndexesRequest request = - ListIndexesRequest.newBuilder() - .setProjectId("projectId-1530") - .setFilter("filter-1274492040") - .setPageSize(883849137) - .setPageToken("pageToken873572522") - .build(); - - ListIndexesPagedResponse pagedListResponse = client.listIndexes(request); - - List resources = Lists.newArrayList(pagedListResponse.iterateAll()); - - Assert.assertEquals(1, resources.size()); - Assert.assertEquals(expectedResponse.getIndexesList().get(0), resources.get(0)); - - List actualRequests = mockService.getRequestPaths(); - Assert.assertEquals(1, actualRequests.size()); - - String apiClientHeaderKey = - mockService - .getRequestHeaders() - .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) - .iterator() - .next(); - Assert.assertTrue( - GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() - .matcher(apiClientHeaderKey) - .matches()); - } - - @Test - public void listIndexesExceptionTest() throws Exception { - ApiException exception = - ApiExceptionFactory.createException( - new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); - mockService.addException(exception); - - try { - ListIndexesRequest request = - ListIndexesRequest.newBuilder() - .setProjectId("projectId-1530") - .setFilter("filter-1274492040") - .setPageSize(883849137) - .setPageToken("pageToken873572522") - .build(); - client.listIndexes(request); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } -} diff --git a/owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/DatastoreAdminClientTest.java b/owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/DatastoreAdminClientTest.java deleted file mode 100644 index 0632151c6..000000000 --- a/owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/DatastoreAdminClientTest.java +++ /dev/null @@ -1,428 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.cloud.datastore.admin.v1; - -import static com.google.cloud.datastore.admin.v1.DatastoreAdminClient.ListIndexesPagedResponse; - -import com.google.api.gax.core.NoCredentialsProvider; -import com.google.api.gax.grpc.GaxGrpcProperties; -import com.google.api.gax.grpc.testing.LocalChannelProvider; -import com.google.api.gax.grpc.testing.MockGrpcService; -import com.google.api.gax.grpc.testing.MockServiceHelper; -import com.google.api.gax.rpc.ApiClientHeaderProvider; -import com.google.api.gax.rpc.InvalidArgumentException; -import com.google.api.gax.rpc.StatusCode; -import com.google.common.collect.Lists; -import com.google.datastore.admin.v1.CreateIndexRequest; -import com.google.datastore.admin.v1.DeleteIndexRequest; -import com.google.datastore.admin.v1.EntityFilter; -import com.google.datastore.admin.v1.ExportEntitiesRequest; -import com.google.datastore.admin.v1.ExportEntitiesResponse; -import com.google.datastore.admin.v1.GetIndexRequest; -import com.google.datastore.admin.v1.ImportEntitiesRequest; -import com.google.datastore.admin.v1.Index; -import com.google.datastore.admin.v1.ListIndexesRequest; -import com.google.datastore.admin.v1.ListIndexesResponse; -import com.google.longrunning.Operation; -import com.google.protobuf.AbstractMessage; -import com.google.protobuf.Any; -import com.google.protobuf.Empty; -import io.grpc.StatusRuntimeException; -import java.io.IOException; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.HashMap; -import java.util.List; -import java.util.Map; -import java.util.UUID; -import java.util.concurrent.ExecutionException; -import javax.annotation.Generated; -import org.junit.After; -import org.junit.AfterClass; -import org.junit.Assert; -import org.junit.Before; -import org.junit.BeforeClass; -import org.junit.Test; - -@Generated("by gapic-generator-java") -public class DatastoreAdminClientTest { - private static MockDatastoreAdmin mockDatastoreAdmin; - private static MockServiceHelper mockServiceHelper; - private LocalChannelProvider channelProvider; - private DatastoreAdminClient client; - - @BeforeClass - public static void startStaticServer() { - mockDatastoreAdmin = new MockDatastoreAdmin(); - mockServiceHelper = - new MockServiceHelper( - UUID.randomUUID().toString(), Arrays.asList(mockDatastoreAdmin)); - mockServiceHelper.start(); - } - - @AfterClass - public static void stopServer() { - mockServiceHelper.stop(); - } - - @Before - public void setUp() throws IOException { - mockServiceHelper.reset(); - channelProvider = mockServiceHelper.createChannelProvider(); - DatastoreAdminSettings settings = - DatastoreAdminSettings.newBuilder() - .setTransportChannelProvider(channelProvider) - .setCredentialsProvider(NoCredentialsProvider.create()) - .build(); - client = DatastoreAdminClient.create(settings); - } - - @After - public void tearDown() throws Exception { - client.close(); - } - - @Test - public void exportEntitiesTest() throws Exception { - ExportEntitiesResponse expectedResponse = - ExportEntitiesResponse.newBuilder().setOutputUrl("outputUrl-2119300946").build(); - Operation resultOperation = - Operation.newBuilder() - .setName("exportEntitiesTest") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockDatastoreAdmin.addResponse(resultOperation); - - String projectId = "projectId-894832108"; - Map labels = new HashMap<>(); - EntityFilter entityFilter = EntityFilter.newBuilder().build(); - String outputUrlPrefix = "outputUrlPrefix-1132598048"; - - ExportEntitiesResponse actualResponse = - client.exportEntitiesAsync(projectId, labels, entityFilter, outputUrlPrefix).get(); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockDatastoreAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - ExportEntitiesRequest actualRequest = ((ExportEntitiesRequest) actualRequests.get(0)); - - Assert.assertEquals(projectId, actualRequest.getProjectId()); - Assert.assertEquals(labels, actualRequest.getLabelsMap()); - Assert.assertEquals(entityFilter, actualRequest.getEntityFilter()); - Assert.assertEquals(outputUrlPrefix, actualRequest.getOutputUrlPrefix()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void exportEntitiesExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockDatastoreAdmin.addException(exception); - - try { - String projectId = "projectId-894832108"; - Map labels = new HashMap<>(); - EntityFilter entityFilter = EntityFilter.newBuilder().build(); - String outputUrlPrefix = "outputUrlPrefix-1132598048"; - client.exportEntitiesAsync(projectId, labels, entityFilter, outputUrlPrefix).get(); - Assert.fail("No exception raised"); - } catch (ExecutionException e) { - Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); - InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); - Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); - } - } - - @Test - public void importEntitiesTest() throws Exception { - Empty expectedResponse = Empty.newBuilder().build(); - Operation resultOperation = - Operation.newBuilder() - .setName("importEntitiesTest") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockDatastoreAdmin.addResponse(resultOperation); - - String projectId = "projectId-894832108"; - Map labels = new HashMap<>(); - String inputUrl = "inputUrl470706501"; - EntityFilter entityFilter = EntityFilter.newBuilder().build(); - - client.importEntitiesAsync(projectId, labels, inputUrl, entityFilter).get(); - - List actualRequests = mockDatastoreAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - ImportEntitiesRequest actualRequest = ((ImportEntitiesRequest) actualRequests.get(0)); - - Assert.assertEquals(projectId, actualRequest.getProjectId()); - Assert.assertEquals(labels, actualRequest.getLabelsMap()); - Assert.assertEquals(inputUrl, actualRequest.getInputUrl()); - Assert.assertEquals(entityFilter, actualRequest.getEntityFilter()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void importEntitiesExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockDatastoreAdmin.addException(exception); - - try { - String projectId = "projectId-894832108"; - Map labels = new HashMap<>(); - String inputUrl = "inputUrl470706501"; - EntityFilter entityFilter = EntityFilter.newBuilder().build(); - client.importEntitiesAsync(projectId, labels, inputUrl, entityFilter).get(); - Assert.fail("No exception raised"); - } catch (ExecutionException e) { - Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); - InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); - Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); - } - } - - @Test - public void createIndexTest() throws Exception { - Index expectedResponse = - Index.newBuilder() - .setProjectId("projectId-894832108") - .setIndexId("indexId1943291277") - .setKind("kind3292052") - .addAllProperties(new ArrayList()) - .build(); - Operation resultOperation = - Operation.newBuilder() - .setName("createIndexTest") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockDatastoreAdmin.addResponse(resultOperation); - - CreateIndexRequest request = - CreateIndexRequest.newBuilder() - .setProjectId("projectId-894832108") - .setIndex(Index.newBuilder().build()) - .build(); - - Index actualResponse = client.createIndexAsync(request).get(); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockDatastoreAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - CreateIndexRequest actualRequest = ((CreateIndexRequest) actualRequests.get(0)); - - Assert.assertEquals(request.getProjectId(), actualRequest.getProjectId()); - Assert.assertEquals(request.getIndex(), actualRequest.getIndex()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void createIndexExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockDatastoreAdmin.addException(exception); - - try { - CreateIndexRequest request = - CreateIndexRequest.newBuilder() - .setProjectId("projectId-894832108") - .setIndex(Index.newBuilder().build()) - .build(); - client.createIndexAsync(request).get(); - Assert.fail("No exception raised"); - } catch (ExecutionException e) { - Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); - InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); - Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); - } - } - - @Test - public void deleteIndexTest() throws Exception { - Index expectedResponse = - Index.newBuilder() - .setProjectId("projectId-894832108") - .setIndexId("indexId1943291277") - .setKind("kind3292052") - .addAllProperties(new ArrayList()) - .build(); - Operation resultOperation = - Operation.newBuilder() - .setName("deleteIndexTest") - .setDone(true) - .setResponse(Any.pack(expectedResponse)) - .build(); - mockDatastoreAdmin.addResponse(resultOperation); - - DeleteIndexRequest request = - DeleteIndexRequest.newBuilder() - .setProjectId("projectId-894832108") - .setIndexId("indexId1943291277") - .build(); - - Index actualResponse = client.deleteIndexAsync(request).get(); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockDatastoreAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - DeleteIndexRequest actualRequest = ((DeleteIndexRequest) actualRequests.get(0)); - - Assert.assertEquals(request.getProjectId(), actualRequest.getProjectId()); - Assert.assertEquals(request.getIndexId(), actualRequest.getIndexId()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void deleteIndexExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockDatastoreAdmin.addException(exception); - - try { - DeleteIndexRequest request = - DeleteIndexRequest.newBuilder() - .setProjectId("projectId-894832108") - .setIndexId("indexId1943291277") - .build(); - client.deleteIndexAsync(request).get(); - Assert.fail("No exception raised"); - } catch (ExecutionException e) { - Assert.assertEquals(InvalidArgumentException.class, e.getCause().getClass()); - InvalidArgumentException apiException = ((InvalidArgumentException) e.getCause()); - Assert.assertEquals(StatusCode.Code.INVALID_ARGUMENT, apiException.getStatusCode().getCode()); - } - } - - @Test - public void getIndexTest() throws Exception { - Index expectedResponse = - Index.newBuilder() - .setProjectId("projectId-894832108") - .setIndexId("indexId1943291277") - .setKind("kind3292052") - .addAllProperties(new ArrayList()) - .build(); - mockDatastoreAdmin.addResponse(expectedResponse); - - GetIndexRequest request = - GetIndexRequest.newBuilder() - .setProjectId("projectId-894832108") - .setIndexId("indexId1943291277") - .build(); - - Index actualResponse = client.getIndex(request); - Assert.assertEquals(expectedResponse, actualResponse); - - List actualRequests = mockDatastoreAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - GetIndexRequest actualRequest = ((GetIndexRequest) actualRequests.get(0)); - - Assert.assertEquals(request.getProjectId(), actualRequest.getProjectId()); - Assert.assertEquals(request.getIndexId(), actualRequest.getIndexId()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void getIndexExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockDatastoreAdmin.addException(exception); - - try { - GetIndexRequest request = - GetIndexRequest.newBuilder() - .setProjectId("projectId-894832108") - .setIndexId("indexId1943291277") - .build(); - client.getIndex(request); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } - - @Test - public void listIndexesTest() throws Exception { - Index responsesElement = Index.newBuilder().build(); - ListIndexesResponse expectedResponse = - ListIndexesResponse.newBuilder() - .setNextPageToken("") - .addAllIndexes(Arrays.asList(responsesElement)) - .build(); - mockDatastoreAdmin.addResponse(expectedResponse); - - ListIndexesRequest request = - ListIndexesRequest.newBuilder() - .setProjectId("projectId-894832108") - .setFilter("filter-1274492040") - .setPageSize(883849137) - .setPageToken("pageToken873572522") - .build(); - - ListIndexesPagedResponse pagedListResponse = client.listIndexes(request); - - List resources = Lists.newArrayList(pagedListResponse.iterateAll()); - - Assert.assertEquals(1, resources.size()); - Assert.assertEquals(expectedResponse.getIndexesList().get(0), resources.get(0)); - - List actualRequests = mockDatastoreAdmin.getRequests(); - Assert.assertEquals(1, actualRequests.size()); - ListIndexesRequest actualRequest = ((ListIndexesRequest) actualRequests.get(0)); - - Assert.assertEquals(request.getProjectId(), actualRequest.getProjectId()); - Assert.assertEquals(request.getFilter(), actualRequest.getFilter()); - Assert.assertEquals(request.getPageSize(), actualRequest.getPageSize()); - Assert.assertEquals(request.getPageToken(), actualRequest.getPageToken()); - Assert.assertTrue( - channelProvider.isHeaderSent( - ApiClientHeaderProvider.getDefaultApiClientHeaderKey(), - GaxGrpcProperties.getDefaultApiClientHeaderPattern())); - } - - @Test - public void listIndexesExceptionTest() throws Exception { - StatusRuntimeException exception = new StatusRuntimeException(io.grpc.Status.INVALID_ARGUMENT); - mockDatastoreAdmin.addException(exception); - - try { - ListIndexesRequest request = - ListIndexesRequest.newBuilder() - .setProjectId("projectId-894832108") - .setFilter("filter-1274492040") - .setPageSize(883849137) - .setPageToken("pageToken873572522") - .build(); - client.listIndexes(request); - Assert.fail("No exception raised"); - } catch (InvalidArgumentException e) { - // Expected exception. - } - } -} diff --git a/owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/MockDatastoreAdmin.java b/owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/MockDatastoreAdmin.java deleted file mode 100644 index ab9b5b1fb..000000000 --- a/owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/MockDatastoreAdmin.java +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.cloud.datastore.admin.v1; - -import com.google.api.core.BetaApi; -import com.google.api.gax.grpc.testing.MockGrpcService; -import com.google.protobuf.AbstractMessage; -import io.grpc.ServerServiceDefinition; -import java.util.List; -import javax.annotation.Generated; - -@BetaApi -@Generated("by gapic-generator-java") -public class MockDatastoreAdmin implements MockGrpcService { - private final MockDatastoreAdminImpl serviceImpl; - - public MockDatastoreAdmin() { - serviceImpl = new MockDatastoreAdminImpl(); - } - - @Override - public List getRequests() { - return serviceImpl.getRequests(); - } - - @Override - public void addResponse(AbstractMessage response) { - serviceImpl.addResponse(response); - } - - @Override - public void addException(Exception exception) { - serviceImpl.addException(exception); - } - - @Override - public ServerServiceDefinition getServiceDefinition() { - return serviceImpl.bindService(); - } - - @Override - public void reset() { - serviceImpl.reset(); - } -} diff --git a/owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/MockDatastoreAdminImpl.java b/owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/MockDatastoreAdminImpl.java deleted file mode 100644 index cc63d5248..000000000 --- a/owl-bot-staging/v1/google-cloud-datastore/src/test/java/com/google/cloud/datastore/admin/v1/MockDatastoreAdminImpl.java +++ /dev/null @@ -1,192 +0,0 @@ -/* - * Copyright 2024 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.cloud.datastore.admin.v1; - -import com.google.api.core.BetaApi; -import com.google.datastore.admin.v1.CreateIndexRequest; -import com.google.datastore.admin.v1.DatastoreAdminGrpc.DatastoreAdminImplBase; -import com.google.datastore.admin.v1.DeleteIndexRequest; -import com.google.datastore.admin.v1.ExportEntitiesRequest; -import com.google.datastore.admin.v1.GetIndexRequest; -import com.google.datastore.admin.v1.ImportEntitiesRequest; -import com.google.datastore.admin.v1.Index; -import com.google.datastore.admin.v1.ListIndexesRequest; -import com.google.datastore.admin.v1.ListIndexesResponse; -import com.google.longrunning.Operation; -import com.google.protobuf.AbstractMessage; -import io.grpc.stub.StreamObserver; -import java.util.ArrayList; -import java.util.LinkedList; -import java.util.List; -import java.util.Queue; -import javax.annotation.Generated; - -@BetaApi -@Generated("by gapic-generator-java") -public class MockDatastoreAdminImpl extends DatastoreAdminImplBase { - private List requests; - private Queue responses; - - public MockDatastoreAdminImpl() { - requests = new ArrayList<>(); - responses = new LinkedList<>(); - } - - public List getRequests() { - return requests; - } - - public void addResponse(AbstractMessage response) { - responses.add(response); - } - - public void setResponses(List responses) { - this.responses = new LinkedList(responses); - } - - public void addException(Exception exception) { - responses.add(exception); - } - - public void reset() { - requests = new ArrayList<>(); - responses = new LinkedList<>(); - } - - @Override - public void exportEntities( - ExportEntitiesRequest request, StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof Operation) { - requests.add(request); - responseObserver.onNext(((Operation) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method ExportEntities, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - Operation.class.getName(), - Exception.class.getName()))); - } - } - - @Override - public void importEntities( - ImportEntitiesRequest request, StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof Operation) { - requests.add(request); - responseObserver.onNext(((Operation) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method ImportEntities, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - Operation.class.getName(), - Exception.class.getName()))); - } - } - - @Override - public void createIndex(CreateIndexRequest request, StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof Operation) { - requests.add(request); - responseObserver.onNext(((Operation) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method CreateIndex, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - Operation.class.getName(), - Exception.class.getName()))); - } - } - - @Override - public void deleteIndex(DeleteIndexRequest request, StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof Operation) { - requests.add(request); - responseObserver.onNext(((Operation) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method DeleteIndex, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - Operation.class.getName(), - Exception.class.getName()))); - } - } - - @Override - public void getIndex(GetIndexRequest request, StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof Index) { - requests.add(request); - responseObserver.onNext(((Index) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method GetIndex, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - Index.class.getName(), - Exception.class.getName()))); - } - } - - @Override - public void listIndexes( - ListIndexesRequest request, StreamObserver responseObserver) { - Object response = responses.poll(); - if (response instanceof ListIndexesResponse) { - requests.add(request); - responseObserver.onNext(((ListIndexesResponse) response)); - responseObserver.onCompleted(); - } else if (response instanceof Exception) { - responseObserver.onError(((Exception) response)); - } else { - responseObserver.onError( - new IllegalArgumentException( - String.format( - "Unrecognized response type %s for method ListIndexes, expected %s or %s", - response == null ? "null" : response.getClass().getName(), - ListIndexesResponse.class.getName(), - Exception.class.getName()))); - } - } -} diff --git a/owl-bot-staging/v1/grpc-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreAdminGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreAdminGrpc.java deleted file mode 100644 index b60aa920c..000000000 --- a/owl-bot-staging/v1/grpc-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreAdminGrpc.java +++ /dev/null @@ -1,1101 +0,0 @@ -package com.google.datastore.admin.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Google Cloud Datastore Admin API
- * The Datastore Admin API provides several admin services for Cloud Datastore.
- * Concepts: Project, namespace, kind, and entity as defined in the Google Cloud
- * Datastore API.
- * Operation: An Operation represents work being performed in the background.
- * EntityFilter: Allows specifying a subset of entities in a project. This is
- * specified as a combination of kinds and namespaces (either or both of which
- * may be all).
- * Export/Import Service:
- * - The Export/Import service provides the ability to copy all or a subset of
- * entities to/from Google Cloud Storage.
- * - Exported data may be imported into Cloud Datastore for any Google Cloud
- * Platform project. It is not restricted to the export source project. It is
- * possible to export from one project and then import into another.
- * - Exported data can also be loaded into Google BigQuery for analysis.
- * - Exports and imports are performed asynchronously. An Operation resource is
- * created for each export/import. The state (including any errors encountered)
- * of the export/import may be queried via the Operation resource.
- * Index Service:
- * - The index service manages Cloud Datastore composite indexes.
- * - Index creation and deletion are performed asynchronously.
- * An Operation resource is created for each such asynchronous operation.
- * The state of the operation (including any errors encountered)
- * may be queried via the Operation resource.
- * Operation Service:
- * - The Operations collection provides a record of actions performed for the
- * specified project (including any operations in progress). Operations are not
- * created directly but through calls on other collections or resources.
- * - An operation that is not yet done may be cancelled. The request to cancel
- * is asynchronous and the operation may continue to run for some time after the
- * request to cancel is made.
- * - An operation that is done may be deleted so that it is no longer listed as
- * part of the Operation collection.
- * - ListOperations returns all pending operations, but not completed
- * operations.
- * - Operations are created by service DatastoreAdmin, but are accessed via
- * service google.longrunning.Operations.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/datastore/admin/v1/datastore_admin.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class DatastoreAdminGrpc { - - private DatastoreAdminGrpc() {} - - public static final java.lang.String SERVICE_NAME = "google.datastore.admin.v1.DatastoreAdmin"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getExportEntitiesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ExportEntities", - requestType = com.google.datastore.admin.v1.ExportEntitiesRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getExportEntitiesMethod() { - io.grpc.MethodDescriptor getExportEntitiesMethod; - if ((getExportEntitiesMethod = DatastoreAdminGrpc.getExportEntitiesMethod) == null) { - synchronized (DatastoreAdminGrpc.class) { - if ((getExportEntitiesMethod = DatastoreAdminGrpc.getExportEntitiesMethod) == null) { - DatastoreAdminGrpc.getExportEntitiesMethod = getExportEntitiesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ExportEntities")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.datastore.admin.v1.ExportEntitiesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DatastoreAdminMethodDescriptorSupplier("ExportEntities")) - .build(); - } - } - } - return getExportEntitiesMethod; - } - - private static volatile io.grpc.MethodDescriptor getImportEntitiesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ImportEntities", - requestType = com.google.datastore.admin.v1.ImportEntitiesRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getImportEntitiesMethod() { - io.grpc.MethodDescriptor getImportEntitiesMethod; - if ((getImportEntitiesMethod = DatastoreAdminGrpc.getImportEntitiesMethod) == null) { - synchronized (DatastoreAdminGrpc.class) { - if ((getImportEntitiesMethod = DatastoreAdminGrpc.getImportEntitiesMethod) == null) { - DatastoreAdminGrpc.getImportEntitiesMethod = getImportEntitiesMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ImportEntities")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.datastore.admin.v1.ImportEntitiesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DatastoreAdminMethodDescriptorSupplier("ImportEntities")) - .build(); - } - } - } - return getImportEntitiesMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateIndexMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateIndex", - requestType = com.google.datastore.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; - if ((getCreateIndexMethod = DatastoreAdminGrpc.getCreateIndexMethod) == null) { - synchronized (DatastoreAdminGrpc.class) { - if ((getCreateIndexMethod = DatastoreAdminGrpc.getCreateIndexMethod) == null) { - DatastoreAdminGrpc.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.datastore.admin.v1.CreateIndexRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DatastoreAdminMethodDescriptorSupplier("CreateIndex")) - .build(); - } - } - } - return getCreateIndexMethod; - } - - private static volatile io.grpc.MethodDescriptor getDeleteIndexMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "DeleteIndex", - requestType = com.google.datastore.admin.v1.DeleteIndexRequest.class, - responseType = com.google.longrunning.Operation.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getDeleteIndexMethod() { - io.grpc.MethodDescriptor getDeleteIndexMethod; - if ((getDeleteIndexMethod = DatastoreAdminGrpc.getDeleteIndexMethod) == null) { - synchronized (DatastoreAdminGrpc.class) { - if ((getDeleteIndexMethod = DatastoreAdminGrpc.getDeleteIndexMethod) == null) { - DatastoreAdminGrpc.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.datastore.admin.v1.DeleteIndexRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.longrunning.Operation.getDefaultInstance())) - .setSchemaDescriptor(new DatastoreAdminMethodDescriptorSupplier("DeleteIndex")) - .build(); - } - } - } - return getDeleteIndexMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetIndexMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetIndex", - requestType = com.google.datastore.admin.v1.GetIndexRequest.class, - responseType = com.google.datastore.admin.v1.Index.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetIndexMethod() { - io.grpc.MethodDescriptor getGetIndexMethod; - if ((getGetIndexMethod = DatastoreAdminGrpc.getGetIndexMethod) == null) { - synchronized (DatastoreAdminGrpc.class) { - if ((getGetIndexMethod = DatastoreAdminGrpc.getGetIndexMethod) == null) { - DatastoreAdminGrpc.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.datastore.admin.v1.GetIndexRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.datastore.admin.v1.Index.getDefaultInstance())) - .setSchemaDescriptor(new DatastoreAdminMethodDescriptorSupplier("GetIndex")) - .build(); - } - } - } - return getGetIndexMethod; - } - - private static volatile io.grpc.MethodDescriptor getListIndexesMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListIndexes", - requestType = com.google.datastore.admin.v1.ListIndexesRequest.class, - responseType = com.google.datastore.admin.v1.ListIndexesResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListIndexesMethod() { - io.grpc.MethodDescriptor getListIndexesMethod; - if ((getListIndexesMethod = DatastoreAdminGrpc.getListIndexesMethod) == null) { - synchronized (DatastoreAdminGrpc.class) { - if ((getListIndexesMethod = DatastoreAdminGrpc.getListIndexesMethod) == null) { - DatastoreAdminGrpc.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.datastore.admin.v1.ListIndexesRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.datastore.admin.v1.ListIndexesResponse.getDefaultInstance())) - .setSchemaDescriptor(new DatastoreAdminMethodDescriptorSupplier("ListIndexes")) - .build(); - } - } - } - return getListIndexesMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static DatastoreAdminStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DatastoreAdminStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DatastoreAdminStub(channel, callOptions); - } - }; - return DatastoreAdminStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static DatastoreAdminBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DatastoreAdminBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DatastoreAdminBlockingStub(channel, callOptions); - } - }; - return DatastoreAdminBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static DatastoreAdminFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public DatastoreAdminFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DatastoreAdminFutureStub(channel, callOptions); - } - }; - return DatastoreAdminFutureStub.newStub(factory, channel); - } - - /** - *
-   * Google Cloud Datastore Admin API
-   * The Datastore Admin API provides several admin services for Cloud Datastore.
-   * Concepts: Project, namespace, kind, and entity as defined in the Google Cloud
-   * Datastore API.
-   * Operation: An Operation represents work being performed in the background.
-   * EntityFilter: Allows specifying a subset of entities in a project. This is
-   * specified as a combination of kinds and namespaces (either or both of which
-   * may be all).
-   * Export/Import Service:
-   * - The Export/Import service provides the ability to copy all or a subset of
-   * entities to/from Google Cloud Storage.
-   * - Exported data may be imported into Cloud Datastore for any Google Cloud
-   * Platform project. It is not restricted to the export source project. It is
-   * possible to export from one project and then import into another.
-   * - Exported data can also be loaded into Google BigQuery for analysis.
-   * - Exports and imports are performed asynchronously. An Operation resource is
-   * created for each export/import. The state (including any errors encountered)
-   * of the export/import may be queried via the Operation resource.
-   * Index Service:
-   * - The index service manages Cloud Datastore composite indexes.
-   * - Index creation and deletion are performed asynchronously.
-   * An Operation resource is created for each such asynchronous operation.
-   * The state of the operation (including any errors encountered)
-   * may be queried via the Operation resource.
-   * Operation Service:
-   * - The Operations collection provides a record of actions performed for the
-   * specified project (including any operations in progress). Operations are not
-   * created directly but through calls on other collections or resources.
-   * - An operation that is not yet done may be cancelled. The request to cancel
-   * is asynchronous and the operation may continue to run for some time after the
-   * request to cancel is made.
-   * - An operation that is done may be deleted so that it is no longer listed as
-   * part of the Operation collection.
-   * - ListOperations returns all pending operations, but not completed
-   * operations.
-   * - Operations are created by service DatastoreAdmin, but are accessed via
-   * service google.longrunning.Operations.
-   * 
- */ - public interface AsyncService { - - /** - *
-     * Exports a copy of all or a subset of entities from Google Cloud Datastore
-     * to another storage system, such as Google Cloud Storage. Recent updates to
-     * entities may not be reflected in the export. The export occurs in the
-     * background and its progress can be monitored and managed via the
-     * Operation resource that is created. The output of an export may only be
-     * used once the associated operation is done. If an export operation is
-     * cancelled before completion it may leave partial data behind in Google
-     * Cloud Storage.
-     * 
- */ - default void exportEntities(com.google.datastore.admin.v1.ExportEntitiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getExportEntitiesMethod(), responseObserver); - } - - /** - *
-     * Imports entities into Google Cloud Datastore. Existing entities with the
-     * same key are overwritten. The import occurs in the background and its
-     * progress can be monitored and managed via the Operation resource that is
-     * created. If an ImportEntities operation is cancelled, it is possible
-     * that a subset of the data has already been imported to Cloud Datastore.
-     * 
- */ - default void importEntities(com.google.datastore.admin.v1.ImportEntitiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getImportEntitiesMethod(), responseObserver); - } - - /** - *
-     * Creates the specified index.
-     * A newly created index's initial state is `CREATING`. On completion of the
-     * returned [google.longrunning.Operation][google.longrunning.Operation], the
-     * state will be `READY`. If the index already exists, the call will return an
-     * `ALREADY_EXISTS` status.
-     * During index creation, the process could result in an error, in which
-     * case the index will move to the `ERROR` state. The process can be recovered
-     * by fixing the data that caused the error, removing the index with
-     * [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex], then
-     * re-creating the index with [create]
-     * [google.datastore.admin.v1.DatastoreAdmin.CreateIndex].
-     * Indexes with a single property cannot be created.
-     * 
- */ - default void createIndex(com.google.datastore.admin.v1.CreateIndexRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateIndexMethod(), responseObserver); - } - - /** - *
-     * Deletes an existing index.
-     * An index can only be deleted if it is in a `READY` or `ERROR` state. On
-     * successful execution of the request, the index will be in a `DELETING`
-     * [state][google.datastore.admin.v1.Index.State]. And on completion of the
-     * returned [google.longrunning.Operation][google.longrunning.Operation], the
-     * index will be removed.
-     * During index deletion, the process could result in an error, in which
-     * case the index will move to the `ERROR` state. The process can be recovered
-     * by fixing the data that caused the error, followed by calling
-     * [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex] again.
-     * 
- */ - default void deleteIndex(com.google.datastore.admin.v1.DeleteIndexRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getDeleteIndexMethod(), responseObserver); - } - - /** - *
-     * Gets an index.
-     * 
- */ - default void getIndex(com.google.datastore.admin.v1.GetIndexRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetIndexMethod(), responseObserver); - } - - /** - *
-     * Lists the indexes that match the specified filters.  Datastore uses an
-     * eventually consistent query to fetch the list of indexes and may
-     * occasionally return stale results.
-     * 
- */ - default void listIndexes(com.google.datastore.admin.v1.ListIndexesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListIndexesMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service DatastoreAdmin. - *
-   * Google Cloud Datastore Admin API
-   * The Datastore Admin API provides several admin services for Cloud Datastore.
-   * Concepts: Project, namespace, kind, and entity as defined in the Google Cloud
-   * Datastore API.
-   * Operation: An Operation represents work being performed in the background.
-   * EntityFilter: Allows specifying a subset of entities in a project. This is
-   * specified as a combination of kinds and namespaces (either or both of which
-   * may be all).
-   * Export/Import Service:
-   * - The Export/Import service provides the ability to copy all or a subset of
-   * entities to/from Google Cloud Storage.
-   * - Exported data may be imported into Cloud Datastore for any Google Cloud
-   * Platform project. It is not restricted to the export source project. It is
-   * possible to export from one project and then import into another.
-   * - Exported data can also be loaded into Google BigQuery for analysis.
-   * - Exports and imports are performed asynchronously. An Operation resource is
-   * created for each export/import. The state (including any errors encountered)
-   * of the export/import may be queried via the Operation resource.
-   * Index Service:
-   * - The index service manages Cloud Datastore composite indexes.
-   * - Index creation and deletion are performed asynchronously.
-   * An Operation resource is created for each such asynchronous operation.
-   * The state of the operation (including any errors encountered)
-   * may be queried via the Operation resource.
-   * Operation Service:
-   * - The Operations collection provides a record of actions performed for the
-   * specified project (including any operations in progress). Operations are not
-   * created directly but through calls on other collections or resources.
-   * - An operation that is not yet done may be cancelled. The request to cancel
-   * is asynchronous and the operation may continue to run for some time after the
-   * request to cancel is made.
-   * - An operation that is done may be deleted so that it is no longer listed as
-   * part of the Operation collection.
-   * - ListOperations returns all pending operations, but not completed
-   * operations.
-   * - Operations are created by service DatastoreAdmin, but are accessed via
-   * service google.longrunning.Operations.
-   * 
- */ - public static abstract class DatastoreAdminImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return DatastoreAdminGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service DatastoreAdmin. - *
-   * Google Cloud Datastore Admin API
-   * The Datastore Admin API provides several admin services for Cloud Datastore.
-   * Concepts: Project, namespace, kind, and entity as defined in the Google Cloud
-   * Datastore API.
-   * Operation: An Operation represents work being performed in the background.
-   * EntityFilter: Allows specifying a subset of entities in a project. This is
-   * specified as a combination of kinds and namespaces (either or both of which
-   * may be all).
-   * Export/Import Service:
-   * - The Export/Import service provides the ability to copy all or a subset of
-   * entities to/from Google Cloud Storage.
-   * - Exported data may be imported into Cloud Datastore for any Google Cloud
-   * Platform project. It is not restricted to the export source project. It is
-   * possible to export from one project and then import into another.
-   * - Exported data can also be loaded into Google BigQuery for analysis.
-   * - Exports and imports are performed asynchronously. An Operation resource is
-   * created for each export/import. The state (including any errors encountered)
-   * of the export/import may be queried via the Operation resource.
-   * Index Service:
-   * - The index service manages Cloud Datastore composite indexes.
-   * - Index creation and deletion are performed asynchronously.
-   * An Operation resource is created for each such asynchronous operation.
-   * The state of the operation (including any errors encountered)
-   * may be queried via the Operation resource.
-   * Operation Service:
-   * - The Operations collection provides a record of actions performed for the
-   * specified project (including any operations in progress). Operations are not
-   * created directly but through calls on other collections or resources.
-   * - An operation that is not yet done may be cancelled. The request to cancel
-   * is asynchronous and the operation may continue to run for some time after the
-   * request to cancel is made.
-   * - An operation that is done may be deleted so that it is no longer listed as
-   * part of the Operation collection.
-   * - ListOperations returns all pending operations, but not completed
-   * operations.
-   * - Operations are created by service DatastoreAdmin, but are accessed via
-   * service google.longrunning.Operations.
-   * 
- */ - public static final class DatastoreAdminStub - extends io.grpc.stub.AbstractAsyncStub { - private DatastoreAdminStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DatastoreAdminStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DatastoreAdminStub(channel, callOptions); - } - - /** - *
-     * Exports a copy of all or a subset of entities from Google Cloud Datastore
-     * to another storage system, such as Google Cloud Storage. Recent updates to
-     * entities may not be reflected in the export. The export occurs in the
-     * background and its progress can be monitored and managed via the
-     * Operation resource that is created. The output of an export may only be
-     * used once the associated operation is done. If an export operation is
-     * cancelled before completion it may leave partial data behind in Google
-     * Cloud Storage.
-     * 
- */ - public void exportEntities(com.google.datastore.admin.v1.ExportEntitiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getExportEntitiesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Imports entities into Google Cloud Datastore. Existing entities with the
-     * same key are overwritten. The import occurs in the background and its
-     * progress can be monitored and managed via the Operation resource that is
-     * created. If an ImportEntities operation is cancelled, it is possible
-     * that a subset of the data has already been imported to Cloud Datastore.
-     * 
- */ - public void importEntities(com.google.datastore.admin.v1.ImportEntitiesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getImportEntitiesMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates the specified index.
-     * A newly created index's initial state is `CREATING`. On completion of the
-     * returned [google.longrunning.Operation][google.longrunning.Operation], the
-     * state will be `READY`. If the index already exists, the call will return an
-     * `ALREADY_EXISTS` status.
-     * During index creation, the process could result in an error, in which
-     * case the index will move to the `ERROR` state. The process can be recovered
-     * by fixing the data that caused the error, removing the index with
-     * [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex], then
-     * re-creating the index with [create]
-     * [google.datastore.admin.v1.DatastoreAdmin.CreateIndex].
-     * Indexes with a single property cannot be created.
-     * 
- */ - public void createIndex(com.google.datastore.admin.v1.CreateIndexRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateIndexMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Deletes an existing index.
-     * An index can only be deleted if it is in a `READY` or `ERROR` state. On
-     * successful execution of the request, the index will be in a `DELETING`
-     * [state][google.datastore.admin.v1.Index.State]. And on completion of the
-     * returned [google.longrunning.Operation][google.longrunning.Operation], the
-     * index will be removed.
-     * During index deletion, the process could result in an error, in which
-     * case the index will move to the `ERROR` state. The process can be recovered
-     * by fixing the data that caused the error, followed by calling
-     * [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex] again.
-     * 
- */ - public void deleteIndex(com.google.datastore.admin.v1.DeleteIndexRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getDeleteIndexMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Gets an index.
-     * 
- */ - public void getIndex(com.google.datastore.admin.v1.GetIndexRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetIndexMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Lists the indexes that match the specified filters.  Datastore uses an
-     * eventually consistent query to fetch the list of indexes and may
-     * occasionally return stale results.
-     * 
- */ - public void listIndexes(com.google.datastore.admin.v1.ListIndexesRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListIndexesMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service DatastoreAdmin. - *
-   * Google Cloud Datastore Admin API
-   * The Datastore Admin API provides several admin services for Cloud Datastore.
-   * Concepts: Project, namespace, kind, and entity as defined in the Google Cloud
-   * Datastore API.
-   * Operation: An Operation represents work being performed in the background.
-   * EntityFilter: Allows specifying a subset of entities in a project. This is
-   * specified as a combination of kinds and namespaces (either or both of which
-   * may be all).
-   * Export/Import Service:
-   * - The Export/Import service provides the ability to copy all or a subset of
-   * entities to/from Google Cloud Storage.
-   * - Exported data may be imported into Cloud Datastore for any Google Cloud
-   * Platform project. It is not restricted to the export source project. It is
-   * possible to export from one project and then import into another.
-   * - Exported data can also be loaded into Google BigQuery for analysis.
-   * - Exports and imports are performed asynchronously. An Operation resource is
-   * created for each export/import. The state (including any errors encountered)
-   * of the export/import may be queried via the Operation resource.
-   * Index Service:
-   * - The index service manages Cloud Datastore composite indexes.
-   * - Index creation and deletion are performed asynchronously.
-   * An Operation resource is created for each such asynchronous operation.
-   * The state of the operation (including any errors encountered)
-   * may be queried via the Operation resource.
-   * Operation Service:
-   * - The Operations collection provides a record of actions performed for the
-   * specified project (including any operations in progress). Operations are not
-   * created directly but through calls on other collections or resources.
-   * - An operation that is not yet done may be cancelled. The request to cancel
-   * is asynchronous and the operation may continue to run for some time after the
-   * request to cancel is made.
-   * - An operation that is done may be deleted so that it is no longer listed as
-   * part of the Operation collection.
-   * - ListOperations returns all pending operations, but not completed
-   * operations.
-   * - Operations are created by service DatastoreAdmin, but are accessed via
-   * service google.longrunning.Operations.
-   * 
- */ - public static final class DatastoreAdminBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private DatastoreAdminBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DatastoreAdminBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DatastoreAdminBlockingStub(channel, callOptions); - } - - /** - *
-     * Exports a copy of all or a subset of entities from Google Cloud Datastore
-     * to another storage system, such as Google Cloud Storage. Recent updates to
-     * entities may not be reflected in the export. The export occurs in the
-     * background and its progress can be monitored and managed via the
-     * Operation resource that is created. The output of an export may only be
-     * used once the associated operation is done. If an export operation is
-     * cancelled before completion it may leave partial data behind in Google
-     * Cloud Storage.
-     * 
- */ - public com.google.longrunning.Operation exportEntities(com.google.datastore.admin.v1.ExportEntitiesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getExportEntitiesMethod(), getCallOptions(), request); - } - - /** - *
-     * Imports entities into Google Cloud Datastore. Existing entities with the
-     * same key are overwritten. The import occurs in the background and its
-     * progress can be monitored and managed via the Operation resource that is
-     * created. If an ImportEntities operation is cancelled, it is possible
-     * that a subset of the data has already been imported to Cloud Datastore.
-     * 
- */ - public com.google.longrunning.Operation importEntities(com.google.datastore.admin.v1.ImportEntitiesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getImportEntitiesMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates the specified index.
-     * A newly created index's initial state is `CREATING`. On completion of the
-     * returned [google.longrunning.Operation][google.longrunning.Operation], the
-     * state will be `READY`. If the index already exists, the call will return an
-     * `ALREADY_EXISTS` status.
-     * During index creation, the process could result in an error, in which
-     * case the index will move to the `ERROR` state. The process can be recovered
-     * by fixing the data that caused the error, removing the index with
-     * [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex], then
-     * re-creating the index with [create]
-     * [google.datastore.admin.v1.DatastoreAdmin.CreateIndex].
-     * Indexes with a single property cannot be created.
-     * 
- */ - public com.google.longrunning.Operation createIndex(com.google.datastore.admin.v1.CreateIndexRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateIndexMethod(), getCallOptions(), request); - } - - /** - *
-     * Deletes an existing index.
-     * An index can only be deleted if it is in a `READY` or `ERROR` state. On
-     * successful execution of the request, the index will be in a `DELETING`
-     * [state][google.datastore.admin.v1.Index.State]. And on completion of the
-     * returned [google.longrunning.Operation][google.longrunning.Operation], the
-     * index will be removed.
-     * During index deletion, the process could result in an error, in which
-     * case the index will move to the `ERROR` state. The process can be recovered
-     * by fixing the data that caused the error, followed by calling
-     * [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex] again.
-     * 
- */ - public com.google.longrunning.Operation deleteIndex(com.google.datastore.admin.v1.DeleteIndexRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getDeleteIndexMethod(), getCallOptions(), request); - } - - /** - *
-     * Gets an index.
-     * 
- */ - public com.google.datastore.admin.v1.Index getIndex(com.google.datastore.admin.v1.GetIndexRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetIndexMethod(), getCallOptions(), request); - } - - /** - *
-     * Lists the indexes that match the specified filters.  Datastore uses an
-     * eventually consistent query to fetch the list of indexes and may
-     * occasionally return stale results.
-     * 
- */ - public com.google.datastore.admin.v1.ListIndexesResponse listIndexes(com.google.datastore.admin.v1.ListIndexesRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListIndexesMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service DatastoreAdmin. - *
-   * Google Cloud Datastore Admin API
-   * The Datastore Admin API provides several admin services for Cloud Datastore.
-   * Concepts: Project, namespace, kind, and entity as defined in the Google Cloud
-   * Datastore API.
-   * Operation: An Operation represents work being performed in the background.
-   * EntityFilter: Allows specifying a subset of entities in a project. This is
-   * specified as a combination of kinds and namespaces (either or both of which
-   * may be all).
-   * Export/Import Service:
-   * - The Export/Import service provides the ability to copy all or a subset of
-   * entities to/from Google Cloud Storage.
-   * - Exported data may be imported into Cloud Datastore for any Google Cloud
-   * Platform project. It is not restricted to the export source project. It is
-   * possible to export from one project and then import into another.
-   * - Exported data can also be loaded into Google BigQuery for analysis.
-   * - Exports and imports are performed asynchronously. An Operation resource is
-   * created for each export/import. The state (including any errors encountered)
-   * of the export/import may be queried via the Operation resource.
-   * Index Service:
-   * - The index service manages Cloud Datastore composite indexes.
-   * - Index creation and deletion are performed asynchronously.
-   * An Operation resource is created for each such asynchronous operation.
-   * The state of the operation (including any errors encountered)
-   * may be queried via the Operation resource.
-   * Operation Service:
-   * - The Operations collection provides a record of actions performed for the
-   * specified project (including any operations in progress). Operations are not
-   * created directly but through calls on other collections or resources.
-   * - An operation that is not yet done may be cancelled. The request to cancel
-   * is asynchronous and the operation may continue to run for some time after the
-   * request to cancel is made.
-   * - An operation that is done may be deleted so that it is no longer listed as
-   * part of the Operation collection.
-   * - ListOperations returns all pending operations, but not completed
-   * operations.
-   * - Operations are created by service DatastoreAdmin, but are accessed via
-   * service google.longrunning.Operations.
-   * 
- */ - public static final class DatastoreAdminFutureStub - extends io.grpc.stub.AbstractFutureStub { - private DatastoreAdminFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected DatastoreAdminFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new DatastoreAdminFutureStub(channel, callOptions); - } - - /** - *
-     * Exports a copy of all or a subset of entities from Google Cloud Datastore
-     * to another storage system, such as Google Cloud Storage. Recent updates to
-     * entities may not be reflected in the export. The export occurs in the
-     * background and its progress can be monitored and managed via the
-     * Operation resource that is created. The output of an export may only be
-     * used once the associated operation is done. If an export operation is
-     * cancelled before completion it may leave partial data behind in Google
-     * Cloud Storage.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture exportEntities( - com.google.datastore.admin.v1.ExportEntitiesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getExportEntitiesMethod(), getCallOptions()), request); - } - - /** - *
-     * Imports entities into Google Cloud Datastore. Existing entities with the
-     * same key are overwritten. The import occurs in the background and its
-     * progress can be monitored and managed via the Operation resource that is
-     * created. If an ImportEntities operation is cancelled, it is possible
-     * that a subset of the data has already been imported to Cloud Datastore.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture importEntities( - com.google.datastore.admin.v1.ImportEntitiesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getImportEntitiesMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates the specified index.
-     * A newly created index's initial state is `CREATING`. On completion of the
-     * returned [google.longrunning.Operation][google.longrunning.Operation], the
-     * state will be `READY`. If the index already exists, the call will return an
-     * `ALREADY_EXISTS` status.
-     * During index creation, the process could result in an error, in which
-     * case the index will move to the `ERROR` state. The process can be recovered
-     * by fixing the data that caused the error, removing the index with
-     * [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex], then
-     * re-creating the index with [create]
-     * [google.datastore.admin.v1.DatastoreAdmin.CreateIndex].
-     * Indexes with a single property cannot be created.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createIndex( - com.google.datastore.admin.v1.CreateIndexRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateIndexMethod(), getCallOptions()), request); - } - - /** - *
-     * Deletes an existing index.
-     * An index can only be deleted if it is in a `READY` or `ERROR` state. On
-     * successful execution of the request, the index will be in a `DELETING`
-     * [state][google.datastore.admin.v1.Index.State]. And on completion of the
-     * returned [google.longrunning.Operation][google.longrunning.Operation], the
-     * index will be removed.
-     * During index deletion, the process could result in an error, in which
-     * case the index will move to the `ERROR` state. The process can be recovered
-     * by fixing the data that caused the error, followed by calling
-     * [delete][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex] again.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture deleteIndex( - com.google.datastore.admin.v1.DeleteIndexRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getDeleteIndexMethod(), getCallOptions()), request); - } - - /** - *
-     * Gets an index.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getIndex( - com.google.datastore.admin.v1.GetIndexRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetIndexMethod(), getCallOptions()), request); - } - - /** - *
-     * Lists the indexes that match the specified filters.  Datastore uses an
-     * eventually consistent query to fetch the list of indexes and may
-     * occasionally return stale results.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listIndexes( - com.google.datastore.admin.v1.ListIndexesRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListIndexesMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_EXPORT_ENTITIES = 0; - private static final int METHODID_IMPORT_ENTITIES = 1; - private static final int METHODID_CREATE_INDEX = 2; - private static final int METHODID_DELETE_INDEX = 3; - private static final int METHODID_GET_INDEX = 4; - private static final int METHODID_LIST_INDEXES = 5; - - private static final class MethodHandlers implements - io.grpc.stub.ServerCalls.UnaryMethod, - io.grpc.stub.ServerCalls.ServerStreamingMethod, - io.grpc.stub.ServerCalls.ClientStreamingMethod, - io.grpc.stub.ServerCalls.BidiStreamingMethod { - private final AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_EXPORT_ENTITIES: - serviceImpl.exportEntities((com.google.datastore.admin.v1.ExportEntitiesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_IMPORT_ENTITIES: - serviceImpl.importEntities((com.google.datastore.admin.v1.ImportEntitiesRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_INDEX: - serviceImpl.createIndex((com.google.datastore.admin.v1.CreateIndexRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_DELETE_INDEX: - serviceImpl.deleteIndex((com.google.datastore.admin.v1.DeleteIndexRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_INDEX: - serviceImpl.getIndex((com.google.datastore.admin.v1.GetIndexRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_LIST_INDEXES: - serviceImpl.listIndexes((com.google.datastore.admin.v1.ListIndexesRequest) 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) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getExportEntitiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.datastore.admin.v1.ExportEntitiesRequest, - com.google.longrunning.Operation>( - service, METHODID_EXPORT_ENTITIES))) - .addMethod( - getImportEntitiesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.datastore.admin.v1.ImportEntitiesRequest, - com.google.longrunning.Operation>( - service, METHODID_IMPORT_ENTITIES))) - .addMethod( - getCreateIndexMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.datastore.admin.v1.CreateIndexRequest, - com.google.longrunning.Operation>( - service, METHODID_CREATE_INDEX))) - .addMethod( - getDeleteIndexMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.datastore.admin.v1.DeleteIndexRequest, - com.google.longrunning.Operation>( - service, METHODID_DELETE_INDEX))) - .addMethod( - getGetIndexMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.datastore.admin.v1.GetIndexRequest, - com.google.datastore.admin.v1.Index>( - service, METHODID_GET_INDEX))) - .addMethod( - getListIndexesMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.datastore.admin.v1.ListIndexesRequest, - com.google.datastore.admin.v1.ListIndexesResponse>( - service, METHODID_LIST_INDEXES))) - .build(); - } - - private static abstract class DatastoreAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - DatastoreAdminBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.datastore.admin.v1.DatastoreAdminProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("DatastoreAdmin"); - } - } - - private static final class DatastoreAdminFileDescriptorSupplier - extends DatastoreAdminBaseDescriptorSupplier { - DatastoreAdminFileDescriptorSupplier() {} - } - - private static final class DatastoreAdminMethodDescriptorSupplier - extends DatastoreAdminBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final java.lang.String methodName; - - DatastoreAdminMethodDescriptorSupplier(java.lang.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 (DatastoreAdminGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new DatastoreAdminFileDescriptorSupplier()) - .addMethod(getExportEntitiesMethod()) - .addMethod(getImportEntitiesMethod()) - .addMethod(getCreateIndexMethod()) - .addMethod(getDeleteIndexMethod()) - .addMethod(getGetIndexMethod()) - .addMethod(getListIndexesMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreAdminProto.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreAdminProto.java deleted file mode 100644 index cb60d540d..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreAdminProto.java +++ /dev/null @@ -1,370 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/datastore/admin/v1/datastore_admin.proto - -// Protobuf Java Version: 3.25.3 -package com.google.datastore.admin.v1; - -public final class DatastoreAdminProto { - private DatastoreAdminProto() {} - 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_datastore_admin_v1_CommonMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_CommonMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_CommonMetadata_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_CommonMetadata_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_Progress_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_Progress_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_ExportEntitiesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_ExportEntitiesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_ExportEntitiesRequest_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_ExportEntitiesRequest_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_ImportEntitiesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_ImportEntitiesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_ImportEntitiesRequest_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_ImportEntitiesRequest_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_ExportEntitiesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_ExportEntitiesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_EntityFilter_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_EntityFilter_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_CreateIndexRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_CreateIndexRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_DeleteIndexRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_DeleteIndexRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_GetIndexRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_GetIndexRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_ListIndexesRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_ListIndexesRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_ListIndexesResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_ListIndexesResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_IndexOperationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_IndexOperationMetadata_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_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/datastore/admin/v1/datastore_ad" + - "min.proto\022\031google.datastore.admin.v1\032\034go" + - "ogle/api/annotations.proto\032\027google/api/c" + - "lient.proto\032\037google/api/field_behavior.p" + - "roto\032%google/datastore/admin/v1/index.pr" + - "oto\032)google/datastore/admin/v1/migration" + - ".proto\032#google/longrunning/operations.pr" + - "oto\032\037google/protobuf/timestamp.proto\"\364\003\n" + - "\016CommonMetadata\022.\n\nstart_time\030\001 \001(\0132\032.go" + - "ogle.protobuf.Timestamp\022,\n\010end_time\030\002 \001(" + - "\0132\032.google.protobuf.Timestamp\022@\n\016operati" + - "on_type\030\003 \001(\0162(.google.datastore.admin.v" + - "1.OperationType\022E\n\006labels\030\004 \003(\01325.google" + - ".datastore.admin.v1.CommonMetadata.Label" + - "sEntry\022>\n\005state\030\005 \001(\0162/.google.datastore" + - ".admin.v1.CommonMetadata.State\032-\n\013Labels" + - "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\213\001" + - "\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\020\n\014INITIA" + - "LIZING\020\001\022\016\n\nPROCESSING\020\002\022\016\n\nCANCELLING\020\003" + - "\022\016\n\nFINALIZING\020\004\022\016\n\nSUCCESSFUL\020\005\022\n\n\006FAIL" + - "ED\020\006\022\r\n\tCANCELLED\020\007\":\n\010Progress\022\026\n\016work_" + - "completed\030\001 \001(\003\022\026\n\016work_estimated\030\002 \001(\003\"" + - "\215\002\n\025ExportEntitiesRequest\022\027\n\nproject_id\030" + - "\001 \001(\tB\003\340A\002\022L\n\006labels\030\002 \003(\0132<.google.data" + - "store.admin.v1.ExportEntitiesRequest.Lab" + - "elsEntry\022>\n\rentity_filter\030\003 \001(\0132\'.google" + - ".datastore.admin.v1.EntityFilter\022\036\n\021outp" + - "ut_url_prefix\030\004 \001(\tB\003\340A\002\032-\n\013LabelsEntry\022" + - "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\205\002\n\025Impo" + - "rtEntitiesRequest\022\027\n\nproject_id\030\001 \001(\tB\003\340" + - "A\002\022L\n\006labels\030\002 \003(\0132<.google.datastore.ad" + - "min.v1.ImportEntitiesRequest.LabelsEntry" + - "\022\026\n\tinput_url\030\003 \001(\tB\003\340A\002\022>\n\rentity_filte" + - "r\030\004 \001(\0132\'.google.datastore.admin.v1.Enti" + - "tyFilter\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005" + - "value\030\002 \001(\t:\0028\001\",\n\026ExportEntitiesRespons" + - "e\022\022\n\noutput_url\030\001 \001(\t\"\253\002\n\026ExportEntities" + - "Metadata\0229\n\006common\030\001 \001(\0132).google.datast" + - "ore.admin.v1.CommonMetadata\022>\n\021progress_" + - "entities\030\002 \001(\0132#.google.datastore.admin." + - "v1.Progress\022;\n\016progress_bytes\030\003 \001(\0132#.go" + - "ogle.datastore.admin.v1.Progress\022>\n\renti" + - "ty_filter\030\004 \001(\0132\'.google.datastore.admin" + - ".v1.EntityFilter\022\031\n\021output_url_prefix\030\005 " + - "\001(\t\"\243\002\n\026ImportEntitiesMetadata\0229\n\006common" + - "\030\001 \001(\0132).google.datastore.admin.v1.Commo" + - "nMetadata\022>\n\021progress_entities\030\002 \001(\0132#.g" + - "oogle.datastore.admin.v1.Progress\022;\n\016pro" + - "gress_bytes\030\003 \001(\0132#.google.datastore.adm" + - "in.v1.Progress\022>\n\rentity_filter\030\004 \001(\0132\'." + - "google.datastore.admin.v1.EntityFilter\022\021" + - "\n\tinput_url\030\005 \001(\t\"4\n\014EntityFilter\022\r\n\005kin" + - "ds\030\001 \003(\t\022\025\n\rnamespace_ids\030\002 \003(\t\"Y\n\022Creat" + - "eIndexRequest\022\022\n\nproject_id\030\001 \001(\t\022/\n\005ind" + - "ex\030\003 \001(\0132 .google.datastore.admin.v1.Ind" + - "ex\":\n\022DeleteIndexRequest\022\022\n\nproject_id\030\001" + - " \001(\t\022\020\n\010index_id\030\003 \001(\t\"7\n\017GetIndexReques" + - "t\022\022\n\nproject_id\030\001 \001(\t\022\020\n\010index_id\030\003 \001(\t\"" + - "_\n\022ListIndexesRequest\022\022\n\nproject_id\030\001 \001(" + - "\t\022\016\n\006filter\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\022\022\n\n" + - "page_token\030\005 \001(\t\"a\n\023ListIndexesResponse\022" + - "1\n\007indexes\030\001 \003(\0132 .google.datastore.admi" + - "n.v1.Index\022\027\n\017next_page_token\030\002 \001(\t\"\245\001\n\026" + - "IndexOperationMetadata\0229\n\006common\030\001 \001(\0132)" + - ".google.datastore.admin.v1.CommonMetadat" + - "a\022>\n\021progress_entities\030\002 \001(\0132#.google.da" + - "tastore.admin.v1.Progress\022\020\n\010index_id\030\003 " + - "\001(\t\"\253\001\n#DatastoreFirestoreMigrationMetad" + - "ata\022B\n\017migration_state\030\001 \001(\0162).google.da" + - "tastore.admin.v1.MigrationState\022@\n\016migra" + - "tion_step\030\002 \001(\0162(.google.datastore.admin" + - ".v1.MigrationStep*}\n\rOperationType\022\036\n\032OP" + - "ERATION_TYPE_UNSPECIFIED\020\000\022\023\n\017EXPORT_ENT" + - "ITIES\020\001\022\023\n\017IMPORT_ENTITIES\020\002\022\020\n\014CREATE_I" + - "NDEX\020\003\022\020\n\014DELETE_INDEX\020\0042\204\n\n\016DatastoreAd" + - "min\022\366\001\n\016ExportEntities\0220.google.datastor" + - "e.admin.v1.ExportEntitiesRequest\032\035.googl" + - "e.longrunning.Operation\"\222\001\312A0\n\026ExportEnt" + - "itiesResponse\022\026ExportEntitiesMetadata\332A1" + - "project_id,labels,entity_filter,output_u" + - "rl_prefix\202\323\344\223\002%\" /v1/projects/{project_i" + - "d}:export:\001*\022\355\001\n\016ImportEntities\0220.google" + - ".datastore.admin.v1.ImportEntitiesReques" + - "t\032\035.google.longrunning.Operation\"\211\001\312A/\n\025" + - "google.protobuf.Empty\022\026ImportEntitiesMet" + - "adata\332A)project_id,labels,input_url,enti" + - "ty_filter\202\323\344\223\002%\" /v1/projects/{project_i" + - "d}:import:\001*\022\257\001\n\013CreateIndex\022-.google.da" + - "tastore.admin.v1.CreateIndexRequest\032\035.go" + - "ogle.longrunning.Operation\"R\312A\037\n\005Index\022\026" + - "IndexOperationMetadata\202\323\344\223\002*\"!/v1/projec" + - "ts/{project_id}/indexes:\005index\022\263\001\n\013Delet" + - "eIndex\022-.google.datastore.admin.v1.Delet" + - "eIndexRequest\032\035.google.longrunning.Opera" + - "tion\"V\312A\037\n\005Index\022\026IndexOperationMetadata" + - "\202\323\344\223\002.*,/v1/projects/{project_id}/indexe" + - "s/{index_id}\022\216\001\n\010GetIndex\022*.google.datas" + - "tore.admin.v1.GetIndexRequest\032 .google.d" + - "atastore.admin.v1.Index\"4\202\323\344\223\002.\022,/v1/pro" + - "jects/{project_id}/indexes/{index_id}\022\227\001" + - "\n\013ListIndexes\022-.google.datastore.admin.v" + - "1.ListIndexesRequest\032..google.datastore." + - "admin.v1.ListIndexesResponse\")\202\323\344\223\002#\022!/v" + - "1/projects/{project_id}/indexes\032v\312A\030data" + - "store.googleapis.com\322AXhttps://www.googl" + - "eapis.com/auth/cloud-platform,https://ww" + - "w.googleapis.com/auth/datastoreB\333\001\n\035com." + - "google.datastore.admin.v1B\023DatastoreAdmi" + - "nProtoP\001Z9cloud.google.com/go/datastore/" + - "admin/apiv1/adminpb;adminpb\252\002\037Google.Clo" + - "ud.Datastore.Admin.V1\312\002\037Google\\Cloud\\Dat" + - "astore\\Admin\\V1\352\002#Google::Cloud::Datasto" + - "re::Admin::V1b\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.datastore.admin.v1.IndexProto.getDescriptor(), - com.google.datastore.admin.v1.MigrationProto.getDescriptor(), - com.google.longrunning.OperationsProto.getDescriptor(), - com.google.protobuf.TimestampProto.getDescriptor(), - }); - internal_static_google_datastore_admin_v1_CommonMetadata_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_datastore_admin_v1_CommonMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_CommonMetadata_descriptor, - new java.lang.String[] { "StartTime", "EndTime", "OperationType", "Labels", "State", }); - internal_static_google_datastore_admin_v1_CommonMetadata_LabelsEntry_descriptor = - internal_static_google_datastore_admin_v1_CommonMetadata_descriptor.getNestedTypes().get(0); - internal_static_google_datastore_admin_v1_CommonMetadata_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_CommonMetadata_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_datastore_admin_v1_Progress_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_datastore_admin_v1_Progress_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_Progress_descriptor, - new java.lang.String[] { "WorkCompleted", "WorkEstimated", }); - internal_static_google_datastore_admin_v1_ExportEntitiesRequest_descriptor = - getDescriptor().getMessageTypes().get(2); - internal_static_google_datastore_admin_v1_ExportEntitiesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_ExportEntitiesRequest_descriptor, - new java.lang.String[] { "ProjectId", "Labels", "EntityFilter", "OutputUrlPrefix", }); - internal_static_google_datastore_admin_v1_ExportEntitiesRequest_LabelsEntry_descriptor = - internal_static_google_datastore_admin_v1_ExportEntitiesRequest_descriptor.getNestedTypes().get(0); - internal_static_google_datastore_admin_v1_ExportEntitiesRequest_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_ExportEntitiesRequest_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_datastore_admin_v1_ImportEntitiesRequest_descriptor = - getDescriptor().getMessageTypes().get(3); - internal_static_google_datastore_admin_v1_ImportEntitiesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_ImportEntitiesRequest_descriptor, - new java.lang.String[] { "ProjectId", "Labels", "InputUrl", "EntityFilter", }); - internal_static_google_datastore_admin_v1_ImportEntitiesRequest_LabelsEntry_descriptor = - internal_static_google_datastore_admin_v1_ImportEntitiesRequest_descriptor.getNestedTypes().get(0); - internal_static_google_datastore_admin_v1_ImportEntitiesRequest_LabelsEntry_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_ImportEntitiesRequest_LabelsEntry_descriptor, - new java.lang.String[] { "Key", "Value", }); - internal_static_google_datastore_admin_v1_ExportEntitiesResponse_descriptor = - getDescriptor().getMessageTypes().get(4); - internal_static_google_datastore_admin_v1_ExportEntitiesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_ExportEntitiesResponse_descriptor, - new java.lang.String[] { "OutputUrl", }); - internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_descriptor = - getDescriptor().getMessageTypes().get(5); - internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_descriptor, - new java.lang.String[] { "Common", "ProgressEntities", "ProgressBytes", "EntityFilter", "OutputUrlPrefix", }); - internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_descriptor = - getDescriptor().getMessageTypes().get(6); - internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_descriptor, - new java.lang.String[] { "Common", "ProgressEntities", "ProgressBytes", "EntityFilter", "InputUrl", }); - internal_static_google_datastore_admin_v1_EntityFilter_descriptor = - getDescriptor().getMessageTypes().get(7); - internal_static_google_datastore_admin_v1_EntityFilter_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_EntityFilter_descriptor, - new java.lang.String[] { "Kinds", "NamespaceIds", }); - internal_static_google_datastore_admin_v1_CreateIndexRequest_descriptor = - getDescriptor().getMessageTypes().get(8); - internal_static_google_datastore_admin_v1_CreateIndexRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_CreateIndexRequest_descriptor, - new java.lang.String[] { "ProjectId", "Index", }); - internal_static_google_datastore_admin_v1_DeleteIndexRequest_descriptor = - getDescriptor().getMessageTypes().get(9); - internal_static_google_datastore_admin_v1_DeleteIndexRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_DeleteIndexRequest_descriptor, - new java.lang.String[] { "ProjectId", "IndexId", }); - internal_static_google_datastore_admin_v1_GetIndexRequest_descriptor = - getDescriptor().getMessageTypes().get(10); - internal_static_google_datastore_admin_v1_GetIndexRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_GetIndexRequest_descriptor, - new java.lang.String[] { "ProjectId", "IndexId", }); - internal_static_google_datastore_admin_v1_ListIndexesRequest_descriptor = - getDescriptor().getMessageTypes().get(11); - internal_static_google_datastore_admin_v1_ListIndexesRequest_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_ListIndexesRequest_descriptor, - new java.lang.String[] { "ProjectId", "Filter", "PageSize", "PageToken", }); - internal_static_google_datastore_admin_v1_ListIndexesResponse_descriptor = - getDescriptor().getMessageTypes().get(12); - internal_static_google_datastore_admin_v1_ListIndexesResponse_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_ListIndexesResponse_descriptor, - new java.lang.String[] { "Indexes", "NextPageToken", }); - internal_static_google_datastore_admin_v1_IndexOperationMetadata_descriptor = - getDescriptor().getMessageTypes().get(13); - internal_static_google_datastore_admin_v1_IndexOperationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_IndexOperationMetadata_descriptor, - new java.lang.String[] { "Common", "ProgressEntities", "IndexId", }); - internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_descriptor = - getDescriptor().getMessageTypes().get(14); - internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_descriptor, - new java.lang.String[] { "MigrationState", "MigrationStep", }); - 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.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.datastore.admin.v1.IndexProto.getDescriptor(); - com.google.datastore.admin.v1.MigrationProto.getDescriptor(); - com.google.longrunning.OperationsProto.getDescriptor(); - com.google.protobuf.TimestampProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexProto.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexProto.java deleted file mode 100644 index b79346bb3..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexProto.java +++ /dev/null @@ -1,88 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/datastore/admin/v1/index.proto - -// Protobuf Java Version: 3.25.3 -package com.google.datastore.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_datastore_admin_v1_Index_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_Index_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_Index_IndexedProperty_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_Index_IndexedProperty_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/datastore/admin/v1/index.proto\022" + - "\031google.datastore.admin.v1\032\037google/api/f" + - "ield_behavior.proto\"\346\004\n\005Index\022\027\n\nproject" + - "_id\030\001 \001(\tB\003\340A\003\022\025\n\010index_id\030\003 \001(\tB\003\340A\003\022\021\n" + - "\004kind\030\004 \001(\tB\003\340A\002\022D\n\010ancestor\030\005 \001(\0162-.goo" + - "gle.datastore.admin.v1.Index.AncestorMod" + - "eB\003\340A\002\022I\n\nproperties\030\006 \003(\01320.google.data" + - "store.admin.v1.Index.IndexedPropertyB\003\340A" + - "\002\022:\n\005state\030\007 \001(\0162&.google.datastore.admi" + - "n.v1.Index.StateB\003\340A\003\032h\n\017IndexedProperty" + - "\022\021\n\004name\030\001 \001(\tB\003\340A\002\022B\n\tdirection\030\002 \001(\0162*" + - ".google.datastore.admin.v1.Index.Directi" + - "onB\003\340A\002\"J\n\014AncestorMode\022\035\n\031ANCESTOR_MODE" + - "_UNSPECIFIED\020\000\022\010\n\004NONE\020\001\022\021\n\rALL_ANCESTOR" + - "S\020\002\"E\n\tDirection\022\031\n\025DIRECTION_UNSPECIFIE" + - "D\020\000\022\r\n\tASCENDING\020\001\022\016\n\nDESCENDING\020\002\"P\n\005St" + - "ate\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001" + - "\022\t\n\005READY\020\002\022\014\n\010DELETING\020\003\022\t\n\005ERROR\020\004B\322\001\n" + - "\035com.google.datastore.admin.v1B\nIndexPro" + - "toP\001Z9cloud.google.com/go/datastore/admi" + - "n/apiv1/adminpb;adminpb\252\002\037Google.Cloud.D" + - "atastore.Admin.V1\312\002\037Google\\Cloud\\Datasto" + - "re\\Admin\\V1\352\002#Google::Cloud::Datastore::" + - "Admin::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.FieldBehaviorProto.getDescriptor(), - }); - internal_static_google_datastore_admin_v1_Index_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_datastore_admin_v1_Index_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_Index_descriptor, - new java.lang.String[] { "ProjectId", "IndexId", "Kind", "Ancestor", "Properties", "State", }); - internal_static_google_datastore_admin_v1_Index_IndexedProperty_descriptor = - internal_static_google_datastore_admin_v1_Index_descriptor.getNestedTypes().get(0); - internal_static_google_datastore_admin_v1_Index_IndexedProperty_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_Index_IndexedProperty_descriptor, - new java.lang.String[] { "Name", "Direction", }); - com.google.protobuf.ExtensionRegistry registry = - com.google.protobuf.ExtensionRegistry.newInstance(); - registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); - com.google.protobuf.Descriptors.FileDescriptor - .internalUpdateFileDescriptor(descriptor, registry); - com.google.api.FieldBehaviorProto.getDescriptor(); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProto.java b/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProto.java deleted file mode 100644 index 34c61b998..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProto.java +++ /dev/null @@ -1,114 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/datastore/admin/v1/migration.proto - -// Protobuf Java Version: 3.25.3 -package com.google.datastore.admin.v1; - -public final class MigrationProto { - private MigrationProto() {} - 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_datastore_admin_v1_MigrationStateEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_MigrationStateEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_MigrationProgressEvent_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_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/datastore/admin/v1/migration.pr" + - "oto\022\031google.datastore.admin.v1\"O\n\023Migrat" + - "ionStateEvent\0228\n\005state\030\001 \001(\0162).google.da" + - "tastore.admin.v1.MigrationState\"\241\005\n\026Migr" + - "ationProgressEvent\0226\n\004step\030\001 \001(\0162(.googl" + - "e.datastore.admin.v1.MigrationStep\022d\n\024pr" + - "epare_step_details\030\002 \001(\0132D.google.datast" + - "ore.admin.v1.MigrationProgressEvent.Prep" + - "areStepDetailsH\000\022s\n\034redirect_writes_step" + - "_details\030\003 \001(\0132K.google.datastore.admin." + - "v1.MigrationProgressEvent.RedirectWrites" + - "StepDetailsH\000\032q\n\022PrepareStepDetails\022[\n\020c" + - "oncurrency_mode\030\001 \001(\0162A.google.datastore" + - ".admin.v1.MigrationProgressEvent.Concurr" + - "encyMode\032x\n\031RedirectWritesStepDetails\022[\n" + - "\020concurrency_mode\030\001 \001(\0162A.google.datasto" + - "re.admin.v1.MigrationProgressEvent.Concu" + - "rrencyMode\"w\n\017ConcurrencyMode\022 \n\034CONCURR" + - "ENCY_MODE_UNSPECIFIED\020\000\022\017\n\013PESSIMISTIC\020\001" + - "\022\016\n\nOPTIMISTIC\020\002\022!\n\035OPTIMISTIC_WITH_ENTI" + - "TY_GROUPS\020\003B\016\n\014step_details*X\n\016Migration" + - "State\022\037\n\033MIGRATION_STATE_UNSPECIFIED\020\000\022\013" + - "\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014\n\010COMPLETE\020\003*\343\001" + - "\n\rMigrationStep\022\036\n\032MIGRATION_STEP_UNSPEC" + - "IFIED\020\000\022\013\n\007PREPARE\020\006\022\t\n\005START\020\001\022\036\n\032APPLY" + - "_WRITES_SYNCHRONOUSLY\020\007\022\023\n\017COPY_AND_VERI" + - "FY\020\002\022(\n$REDIRECT_EVENTUALLY_CONSISTENT_R" + - "EADS\020\003\022&\n\"REDIRECT_STRONGLY_CONSISTENT_R" + - "EADS\020\004\022\023\n\017REDIRECT_WRITES\020\005B\326\001\n\035com.goog" + - "le.datastore.admin.v1B\016MigrationProtoP\001Z" + - "9cloud.google.com/go/datastore/admin/api" + - "v1/adminpb;adminpb\252\002\037Google.Cloud.Datast" + - "ore.Admin.V1\312\002\037Google\\Cloud\\Datastore\\Ad" + - "min\\V1\352\002#Google::Cloud::Datastore::Admin" + - "::V1b\006proto3" - }; - descriptor = com.google.protobuf.Descriptors.FileDescriptor - .internalBuildGeneratedFileFrom(descriptorData, - new com.google.protobuf.Descriptors.FileDescriptor[] { - }); - internal_static_google_datastore_admin_v1_MigrationStateEvent_descriptor = - getDescriptor().getMessageTypes().get(0); - internal_static_google_datastore_admin_v1_MigrationStateEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_MigrationStateEvent_descriptor, - new java.lang.String[] { "State", }); - internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor = - getDescriptor().getMessageTypes().get(1); - internal_static_google_datastore_admin_v1_MigrationProgressEvent_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor, - new java.lang.String[] { "Step", "PrepareStepDetails", "RedirectWritesStepDetails", "StepDetails", }); - internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_descriptor = - internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor.getNestedTypes().get(0); - internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_descriptor, - new java.lang.String[] { "ConcurrencyMode", }); - internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_descriptor = - internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor.getNestedTypes().get(1); - internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_fieldAccessorTable = new - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_descriptor, - new java.lang.String[] { "ConcurrencyMode", }); - } - - // @@protoc_insertion_point(outer_class_scope) -} diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultProto.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultProto.java deleted file mode 100644 index 065594cf1..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultProto.java +++ /dev/null @@ -1,95 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/datastore/v1/aggregation_result.proto - -// Protobuf Java Version: 3.25.3 -package com.google.datastore.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_datastore_v1_AggregationResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_AggregationResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_AggregationResult_AggregatePropertiesEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_AggregationResult_AggregatePropertiesEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_AggregationResultBatch_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_AggregationResultBatch_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/datastore/v1/aggregation_result" + - ".proto\022\023google.datastore.v1\032 google/data" + - "store/v1/entity.proto\032\037google/datastore/" + - "v1/query.proto\032\037google/protobuf/timestam" + - "p.proto\"\312\001\n\021AggregationResult\022]\n\024aggrega" + - "te_properties\030\002 \003(\0132?.google.datastore.v" + - "1.AggregationResult.AggregatePropertiesE" + - "ntry\032V\n\030AggregatePropertiesEntry\022\013\n\003key\030" + - "\001 \001(\t\022)\n\005value\030\002 \001(\0132\032.google.datastore." + - "v1.Value:\0028\001\"\331\001\n\026AggregationResultBatch\022" + - "C\n\023aggregation_results\030\001 \003(\0132&.google.da" + - "tastore.v1.AggregationResult\022K\n\014more_res" + - "ults\030\002 \001(\01625.google.datastore.v1.QueryRe" + - "sultBatch.MoreResultsType\022-\n\tread_time\030\003" + - " \001(\0132\032.google.protobuf.TimestampB\310\001\n\027com" + - ".google.datastore.v1B\026AggregationResultP" + - "rotoP\001Z - * The transaction identifier (always present). - * - * - * bytes transaction = 1; - * @return The transaction. - */ - com.google.protobuf.ByteString getTransaction(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/DatastoreProto.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/DatastoreProto.java deleted file mode 100644 index 0a5ee664f..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/DatastoreProto.java +++ /dev/null @@ -1,459 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/datastore/v1/datastore.proto - -// Protobuf Java Version: 3.25.3 -package com.google.datastore.v1; - -public final class DatastoreProto { - private DatastoreProto() {} - 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_datastore_v1_LookupRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_LookupRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_LookupResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_LookupResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_RunQueryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_RunQueryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_RunQueryResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_RunQueryResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_RunAggregationQueryRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_RunAggregationQueryRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_RunAggregationQueryResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_RunAggregationQueryResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_BeginTransactionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_BeginTransactionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_BeginTransactionResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_BeginTransactionResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_RollbackRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_RollbackRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_RollbackResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_RollbackResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_CommitRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_CommitRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_CommitResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_CommitResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_AllocateIdsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_AllocateIdsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_AllocateIdsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_AllocateIdsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_ReserveIdsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_ReserveIdsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_ReserveIdsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_ReserveIdsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_Mutation_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_Mutation_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_MutationResult_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_MutationResult_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_ReadOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_ReadOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_TransactionOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_TransactionOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_TransactionOptions_ReadWrite_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_TransactionOptions_ReadWrite_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_TransactionOptions_ReadOnly_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_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/datastore/v1/datastore.proto\022\023g" + - "oogle.datastore.v1\032\034google/api/annotatio" + - "ns.proto\032\027google/api/client.proto\032\037googl" + - "e/api/field_behavior.proto\032\030google/api/r" + - "outing.proto\032,google/datastore/v1/aggreg" + - "ation_result.proto\032 google/datastore/v1/" + - "entity.proto\032\037google/datastore/v1/query." + - "proto\032\'google/datastore/v1/query_profile" + - ".proto\032\037google/protobuf/timestamp.proto\"" + - "\242\001\n\rLookupRequest\022\027\n\nproject_id\030\010 \001(\tB\003\340" + - "A\002\022\023\n\013database_id\030\t \001(\t\0226\n\014read_options\030" + - "\001 \001(\0132 .google.datastore.v1.ReadOptions\022" + - "+\n\004keys\030\003 \003(\0132\030.google.datastore.v1.KeyB" + - "\003\340A\002\"\346\001\n\016LookupResponse\0220\n\005found\030\001 \003(\0132!" + - ".google.datastore.v1.EntityResult\0222\n\007mis" + - "sing\030\002 \003(\0132!.google.datastore.v1.EntityR" + - "esult\022*\n\010deferred\030\003 \003(\0132\030.google.datasto" + - "re.v1.Key\022\023\n\013transaction\030\005 \001(\014\022-\n\tread_t" + - "ime\030\007 \001(\0132\032.google.protobuf.Timestamp\"\341\002" + - "\n\017RunQueryRequest\022\027\n\nproject_id\030\010 \001(\tB\003\340" + - "A\002\022\023\n\013database_id\030\t \001(\t\0226\n\014partition_id\030" + - "\002 \001(\0132 .google.datastore.v1.PartitionId\022" + - "6\n\014read_options\030\001 \001(\0132 .google.datastore" + - ".v1.ReadOptions\022+\n\005query\030\003 \001(\0132\032.google." + - "datastore.v1.QueryH\000\0222\n\tgql_query\030\007 \001(\0132" + - "\035.google.datastore.v1.GqlQueryH\000\022A\n\017expl" + - "ain_options\030\014 \001(\0132#.google.datastore.v1." + - "ExplainOptionsB\003\340A\001B\014\n\nquery_type\"\306\001\n\020Ru" + - "nQueryResponse\0224\n\005batch\030\001 \001(\0132%.google.d" + - "atastore.v1.QueryResultBatch\022)\n\005query\030\002 " + - "\001(\0132\032.google.datastore.v1.Query\022\023\n\013trans" + - "action\030\005 \001(\014\022<\n\017explain_metrics\030\t \001(\0132#." + - "google.datastore.v1.ExplainMetrics\"\203\003\n\032R" + - "unAggregationQueryRequest\022\027\n\nproject_id\030" + - "\010 \001(\tB\003\340A\002\022\023\n\013database_id\030\t \001(\t\0226\n\014parti" + - "tion_id\030\002 \001(\0132 .google.datastore.v1.Part" + - "itionId\0226\n\014read_options\030\001 \001(\0132 .google.d" + - "atastore.v1.ReadOptions\022B\n\021aggregation_q" + - "uery\030\003 \001(\0132%.google.datastore.v1.Aggrega" + - "tionQueryH\000\0222\n\tgql_query\030\007 \001(\0132\035.google." + - "datastore.v1.GqlQueryH\000\022A\n\017explain_optio" + - "ns\030\013 \001(\0132#.google.datastore.v1.ExplainOp" + - "tionsB\003\340A\001B\014\n\nquery_type\"\342\001\n\033RunAggregat" + - "ionQueryResponse\022:\n\005batch\030\001 \001(\0132+.google" + - ".datastore.v1.AggregationResultBatch\0224\n\005" + - "query\030\002 \001(\0132%.google.datastore.v1.Aggreg" + - "ationQuery\022\023\n\013transaction\030\005 \001(\014\022<\n\017expla" + - "in_metrics\030\t \001(\0132#.google.datastore.v1.E" + - "xplainMetrics\"\215\001\n\027BeginTransactionReques" + - "t\022\027\n\nproject_id\030\010 \001(\tB\003\340A\002\022\023\n\013database_i" + - "d\030\t \001(\t\022D\n\023transaction_options\030\n \001(\0132\'.g" + - "oogle.datastore.v1.TransactionOptions\"/\n" + - "\030BeginTransactionResponse\022\023\n\013transaction" + - "\030\001 \001(\014\"Y\n\017RollbackRequest\022\027\n\nproject_id\030" + - "\010 \001(\tB\003\340A\002\022\023\n\013database_id\030\t \001(\t\022\030\n\013trans" + - "action\030\001 \001(\014B\003\340A\002\"\022\n\020RollbackResponse\"\350\002" + - "\n\rCommitRequest\022\027\n\nproject_id\030\010 \001(\tB\003\340A\002" + - "\022\023\n\013database_id\030\t \001(\t\0225\n\004mode\030\005 \001(\0162\'.go" + - "ogle.datastore.v1.CommitRequest.Mode\022\025\n\013" + - "transaction\030\001 \001(\014H\000\022I\n\026single_use_transa" + - "ction\030\n \001(\0132\'.google.datastore.v1.Transa" + - "ctionOptionsH\000\0220\n\tmutations\030\006 \003(\0132\035.goog" + - "le.datastore.v1.Mutation\"F\n\004Mode\022\024\n\020MODE" + - "_UNSPECIFIED\020\000\022\021\n\rTRANSACTIONAL\020\001\022\025\n\021NON" + - "_TRANSACTIONAL\020\002B\026\n\024transaction_selector" + - "\"\227\001\n\016CommitResponse\022=\n\020mutation_results\030" + - "\003 \003(\0132#.google.datastore.v1.MutationResu" + - "lt\022\025\n\rindex_updates\030\004 \001(\005\022/\n\013commit_time" + - "\030\010 \001(\0132\032.google.protobuf.Timestamp\"o\n\022Al" + - "locateIdsRequest\022\027\n\nproject_id\030\010 \001(\tB\003\340A" + - "\002\022\023\n\013database_id\030\t \001(\t\022+\n\004keys\030\001 \003(\0132\030.g" + - "oogle.datastore.v1.KeyB\003\340A\002\"=\n\023AllocateI" + - "dsResponse\022&\n\004keys\030\001 \003(\0132\030.google.datast" + - "ore.v1.Key\"n\n\021ReserveIdsRequest\022\027\n\nproje" + - "ct_id\030\010 \001(\tB\003\340A\002\022\023\n\013database_id\030\t \001(\t\022+\n" + - "\004keys\030\001 \003(\0132\030.google.datastore.v1.KeyB\003\340" + - "A\002\"\024\n\022ReserveIdsResponse\"\272\002\n\010Mutation\022-\n" + - "\006insert\030\004 \001(\0132\033.google.datastore.v1.Enti" + - "tyH\000\022-\n\006update\030\005 \001(\0132\033.google.datastore." + - "v1.EntityH\000\022-\n\006upsert\030\006 \001(\0132\033.google.dat" + - "astore.v1.EntityH\000\022*\n\006delete\030\007 \001(\0132\030.goo" + - "gle.datastore.v1.KeyH\000\022\026\n\014base_version\030\010" + - " \001(\003H\001\0221\n\013update_time\030\013 \001(\0132\032.google.pro" + - "tobuf.TimestampH\001B\013\n\toperationB\035\n\033confli" + - "ct_detection_strategy\"\305\001\n\016MutationResult" + - "\022%\n\003key\030\003 \001(\0132\030.google.datastore.v1.Key\022" + - "\017\n\007version\030\004 \001(\003\022/\n\013create_time\030\007 \001(\0132\032." + - "google.protobuf.Timestamp\022/\n\013update_time" + - "\030\006 \001(\0132\032.google.protobuf.Timestamp\022\031\n\021co" + - "nflict_detected\030\005 \001(\010\"\312\002\n\013ReadOptions\022L\n" + - "\020read_consistency\030\001 \001(\01620.google.datasto" + - "re.v1.ReadOptions.ReadConsistencyH\000\022\025\n\013t" + - "ransaction\030\002 \001(\014H\000\022B\n\017new_transaction\030\003 " + - "\001(\0132\'.google.datastore.v1.TransactionOpt" + - "ionsH\000\022/\n\tread_time\030\004 \001(\0132\032.google.proto" + - "buf.TimestampH\000\"M\n\017ReadConsistency\022 \n\034RE" + - "AD_CONSISTENCY_UNSPECIFIED\020\000\022\n\n\006STRONG\020\001" + - "\022\014\n\010EVENTUAL\020\002B\022\n\020consistency_type\"\222\002\n\022T" + - "ransactionOptions\022G\n\nread_write\030\001 \001(\01321." + - "google.datastore.v1.TransactionOptions.R" + - "eadWriteH\000\022E\n\tread_only\030\002 \001(\01320.google.d" + - "atastore.v1.TransactionOptions.ReadOnlyH" + - "\000\032)\n\tReadWrite\022\034\n\024previous_transaction\030\001" + - " \001(\014\0329\n\010ReadOnly\022-\n\tread_time\030\001 \001(\0132\032.go" + - "ogle.protobuf.TimestampB\006\n\004mode2\341\r\n\tData" + - "store\022\300\001\n\006Lookup\022\".google.datastore.v1.L" + - "ookupRequest\032#.google.datastore.v1.Looku" + - "pResponse\"m\332A\034project_id,read_options,ke" + - "ys\202\323\344\223\002%\" /v1/projects/{project_id}:look" + - "up:\001*\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n\013database_id" + - "\022\251\001\n\010RunQuery\022$.google.datastore.v1.RunQ" + - "ueryRequest\032%.google.datastore.v1.RunQue" + - "ryResponse\"P\202\323\344\223\002\'\"\"/v1/projects/{projec" + - "t_id}:runQuery:\001*\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n" + - "\013database_id\022\325\001\n\023RunAggregationQuery\022/.g" + - "oogle.datastore.v1.RunAggregationQueryRe" + - "quest\0320.google.datastore.v1.RunAggregati" + - "onQueryResponse\"[\202\323\344\223\0022\"-/v1/projects/{p" + - "roject_id}:runAggregationQuery:\001*\212\323\344\223\002\035\022" + - "\014\n\nproject_id\022\r\n\013database_id\022\326\001\n\020BeginTr" + - "ansaction\022,.google.datastore.v1.BeginTra" + - "nsactionRequest\032-.google.datastore.v1.Be" + - "ginTransactionResponse\"e\332A\nproject_id\202\323\344" + - "\223\002/\"*/v1/projects/{project_id}:beginTran" + - "saction:\001*\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n\013databa" + - "se_id\022\346\001\n\006Commit\022\".google.datastore.v1.C" + - "ommitRequest\032#.google.datastore.v1.Commi" + - "tResponse\"\222\001\332A%project_id,mode,transacti" + - "on,mutations\332A\031project_id,mode,mutations" + - "\202\323\344\223\002%\" /v1/projects/{project_id}:commit" + - ":\001*\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n\013database_id\022\302" + - "\001\n\010Rollback\022$.google.datastore.v1.Rollba" + - "ckRequest\032%.google.datastore.v1.Rollback" + - "Response\"i\332A\026project_id,transaction\202\323\344\223\002" + - "\'\"\"/v1/projects/{project_id}:rollback:\001*" + - "\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n\013database_id\022\307\001\n\013" + - "AllocateIds\022\'.google.datastore.v1.Alloca" + - "teIdsRequest\032(.google.datastore.v1.Alloc" + - "ateIdsResponse\"e\332A\017project_id,keys\202\323\344\223\002*" + - "\"%/v1/projects/{project_id}:allocateIds:" + - "\001*\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n\013database_id\022\303\001" + - "\n\nReserveIds\022&.google.datastore.v1.Reser" + - "veIdsRequest\032\'.google.datastore.v1.Reser" + - "veIdsResponse\"d\332A\017project_id,keys\202\323\344\223\002)\"" + - "$/v1/projects/{project_id}:reserveIds:\001*" + - "\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n\013database_id\032v\312A\030" + - "datastore.googleapis.com\322AXhttps://www.g" + - "oogleapis.com/auth/cloud-platform,https:" + - "//www.googleapis.com/auth/datastoreB\300\001\n\027" + - "com.google.datastore.v1B\016DatastoreProtoP" + - "\001Z - * The name of the kind. - * - * - * string name = 1; - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * The name of the kind.
-   * 
- * - * string name = 1; - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryProfileProto.java b/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryProfileProto.java deleted file mode 100644 index c5b502ef6..000000000 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryProfileProto.java +++ /dev/null @@ -1,110 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/datastore/v1/query_profile.proto - -// Protobuf Java Version: 3.25.3 -package com.google.datastore.v1; - -public final class QueryProfileProto { - private QueryProfileProto() {} - 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_datastore_v1_ExplainOptions_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_ExplainOptions_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_ExplainMetrics_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_ExplainMetrics_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_PlanSummary_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_PlanSummary_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_datastore_v1_ExecutionStats_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_datastore_v1_ExecutionStats_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/datastore/v1/query_profile.prot" + - "o\022\023google.datastore.v1\032\037google/api/field" + - "_behavior.proto\032\036google/protobuf/duratio" + - "n.proto\032\034google/protobuf/struct.proto\"&\n" + - "\016ExplainOptions\022\024\n\007analyze\030\001 \001(\010B\003\340A\001\"\206\001" + - "\n\016ExplainMetrics\0226\n\014plan_summary\030\001 \001(\0132 " + - ".google.datastore.v1.PlanSummary\022<\n\017exec" + - "ution_stats\030\002 \001(\0132#.google.datastore.v1." + - "ExecutionStats\"<\n\013PlanSummary\022-\n\014indexes" + - "_used\030\001 \003(\0132\027.google.protobuf.Struct\"\250\001\n" + - "\016ExecutionStats\022\030\n\020results_returned\030\001 \001(" + - "\003\0225\n\022execution_duration\030\003 \001(\0132\031.google.p" + - "rotobuf.Duration\022\027\n\017read_operations\030\004 \001(" + - "\003\022,\n\013debug_stats\030\005 \001(\0132\027.google.protobuf" + - ".StructB\303\001\n\027com.google.datastore.v1B\021Que" + - "ryProfileProtoP\001Z" + - "\n\017property_filter\030\002 \001(\0132#.google.datasto" + - "re.v1.PropertyFilterH\000B\r\n\013filter_type\"\261\001" + - "\n\017CompositeFilter\0229\n\002op\030\001 \001(\0162-.google.d" + - "atastore.v1.CompositeFilter.Operator\022,\n\007" + - "filters\030\002 \003(\0132\033.google.datastore.v1.Filt" + - "er\"5\n\010Operator\022\030\n\024OPERATOR_UNSPECIFIED\020\000" + - "\022\007\n\003AND\020\001\022\006\n\002OR\020\002\"\352\002\n\016PropertyFilter\0228\n\010" + - "property\030\001 \001(\0132&.google.datastore.v1.Pro" + - "pertyReference\0228\n\002op\030\002 \001(\0162,.google.data" + - "store.v1.PropertyFilter.Operator\022)\n\005valu" + - "e\030\003 \001(\0132\032.google.datastore.v1.Value\"\270\001\n\010" + - "Operator\022\030\n\024OPERATOR_UNSPECIFIED\020\000\022\r\n\tLE" + - "SS_THAN\020\001\022\026\n\022LESS_THAN_OR_EQUAL\020\002\022\020\n\014GRE" + - "ATER_THAN\020\003\022\031\n\025GREATER_THAN_OR_EQUAL\020\004\022\t" + - "\n\005EQUAL\020\005\022\006\n\002IN\020\006\022\r\n\tNOT_EQUAL\020\t\022\020\n\014HAS_" + - "ANCESTOR\020\013\022\n\n\006NOT_IN\020\r\"\245\002\n\010GqlQuery\022\024\n\014q" + - "uery_string\030\001 \001(\t\022\026\n\016allow_literals\030\002 \001(" + - "\010\022H\n\016named_bindings\030\005 \003(\01320.google.datas" + - "tore.v1.GqlQuery.NamedBindingsEntry\022C\n\023p" + - "ositional_bindings\030\004 \003(\0132&.google.datast" + - "ore.v1.GqlQueryParameter\032\\\n\022NamedBinding" + - "sEntry\022\013\n\003key\030\001 \001(\t\0225\n\005value\030\002 \001(\0132&.goo" + - "gle.datastore.v1.GqlQueryParameter:\0028\001\"d" + - "\n\021GqlQueryParameter\022+\n\005value\030\002 \001(\0132\032.goo" + - "gle.datastore.v1.ValueH\000\022\020\n\006cursor\030\003 \001(\014" + - "H\000B\020\n\016parameter_type\"\215\004\n\020QueryResultBatc" + - "h\022\027\n\017skipped_results\030\006 \001(\005\022\026\n\016skipped_cu" + - "rsor\030\003 \001(\014\022H\n\022entity_result_type\030\001 \001(\0162," + - ".google.datastore.v1.EntityResult.Result" + - "Type\0229\n\016entity_results\030\002 \003(\0132!.google.da" + - "tastore.v1.EntityResult\022\022\n\nend_cursor\030\004 " + - "\001(\014\022K\n\014more_results\030\005 \001(\01625.google.datas" + - "tore.v1.QueryResultBatch.MoreResultsType" + - "\022\030\n\020snapshot_version\030\007 \001(\003\022-\n\tread_time\030" + - "\010 \001(\0132\032.google.protobuf.Timestamp\"\230\001\n\017Mo" + - "reResultsType\022!\n\035MORE_RESULTS_TYPE_UNSPE" + - "CIFIED\020\000\022\020\n\014NOT_FINISHED\020\001\022\034\n\030MORE_RESUL" + - "TS_AFTER_LIMIT\020\002\022\035\n\031MORE_RESULTS_AFTER_C" + - "URSOR\020\004\022\023\n\017NO_MORE_RESULTS\020\003B\274\001\n\027com.goo" + - "gle.datastore.v1B\nQueryProtoP\001Z * Metadata common to all Datastore Admin operations. * * * Protobuf type {@code google.datastore.admin.v1.CommonMetadata} */ -public final class CommonMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CommonMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.datastore.admin.v1.CommonMetadata) CommonMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CommonMetadata.newBuilder() to construct. private CommonMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private CommonMetadata() { operationType_ = 0; state_ = 0; @@ -27,14 +45,13 @@ private CommonMetadata() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CommonMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_CommonMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.admin.v1.DatastoreAdminProto + .internal_static_google_datastore_admin_v1_CommonMetadata_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -45,28 +62,33 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl 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.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_CommonMetadata_fieldAccessorTable + return com.google.datastore.admin.v1.DatastoreAdminProto + .internal_static_google_datastore_admin_v1_CommonMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.CommonMetadata.class, com.google.datastore.admin.v1.CommonMetadata.Builder.class); + com.google.datastore.admin.v1.CommonMetadata.class, + com.google.datastore.admin.v1.CommonMetadata.Builder.class); } /** + * + * *
    * The various possible states for an ongoing Operation.
    * 
* * Protobuf enum {@code google.datastore.admin.v1.CommonMetadata.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified.
      * 
@@ -75,6 +97,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * Request is being prepared for processing.
      * 
@@ -83,6 +107,8 @@ public enum State */ INITIALIZING(1), /** + * + * *
      * Request is actively being processed.
      * 
@@ -91,6 +117,8 @@ public enum State */ PROCESSING(2), /** + * + * *
      * Request is in the process of being cancelled after user called
      * google.longrunning.Operations.CancelOperation on the operation.
@@ -100,6 +128,8 @@ public enum State
      */
     CANCELLING(3),
     /**
+     *
+     *
      * 
      * Request has been processed and is in its finalization stage.
      * 
@@ -108,6 +138,8 @@ public enum State */ FINALIZING(4), /** + * + * *
      * Request has completed successfully.
      * 
@@ -116,6 +148,8 @@ public enum State */ SUCCESSFUL(5), /** + * + * *
      * Request has finished being processed, but encountered an error.
      * 
@@ -124,6 +158,8 @@ public enum State */ FAILED(6), /** + * + * *
      * Request has finished being cancelled after user called
      * google.longrunning.Operations.CancelOperation.
@@ -136,6 +172,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified.
      * 
@@ -144,6 +182,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Request is being prepared for processing.
      * 
@@ -152,6 +192,8 @@ public enum State */ public static final int INITIALIZING_VALUE = 1; /** + * + * *
      * Request is actively being processed.
      * 
@@ -160,6 +202,8 @@ public enum State */ 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.
@@ -169,6 +213,8 @@ public enum State
      */
     public static final int CANCELLING_VALUE = 3;
     /**
+     *
+     *
      * 
      * Request has been processed and is in its finalization stage.
      * 
@@ -177,6 +223,8 @@ public enum State */ public static final int FINALIZING_VALUE = 4; /** + * + * *
      * Request has completed successfully.
      * 
@@ -185,6 +233,8 @@ public enum State */ public static final int SUCCESSFUL_VALUE = 5; /** + * + * *
      * Request has finished being processed, but encountered an error.
      * 
@@ -193,6 +243,8 @@ public enum State */ public static final int FAILED_VALUE = 6; /** + * + * *
      * Request has finished being cancelled after user called
      * google.longrunning.Operations.CancelOperation.
@@ -202,7 +254,6 @@ public enum State
      */
     public static final int CANCELLED_VALUE = 7;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -227,54 +278,59 @@ public static State valueOf(int value) {
      */
     public static State forNumber(int value) {
       switch (value) {
-        case 0: return 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 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<
-        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.datastore.admin.v1.CommonMetadata.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;
@@ -295,11 +351,14 @@ private State(int value) {
   public static final int START_TIME_FIELD_NUMBER = 1;
   private com.google.protobuf.Timestamp startTime_;
   /**
+   *
+   *
    * 
    * The time that work began on the operation.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -307,11 +366,14 @@ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The time that work began on the operation.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ @java.lang.Override @@ -319,6 +381,8 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * The time that work began on the operation.
    * 
@@ -333,11 +397,14 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * The time the operation ended, either successfully or otherwise.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -345,11 +412,14 @@ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * The time the operation ended, either successfully or otherwise.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ @java.lang.Override @@ -357,6 +427,8 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * The time the operation ended, either successfully or otherwise.
    * 
@@ -371,58 +443,69 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int OPERATION_TYPE_FIELD_NUMBER = 3; private int operationType_ = 0; /** + * + * *
    * The type of the operation. Can be used as a filter in
    * ListOperationsRequest.
    * 
* * .google.datastore.admin.v1.OperationType operation_type = 3; + * * @return The enum numeric value on the wire for operationType. */ - @java.lang.Override public int getOperationTypeValue() { + @java.lang.Override + public int getOperationTypeValue() { return operationType_; } /** + * + * *
    * The type of the operation. Can be used as a filter in
    * ListOperationsRequest.
    * 
* * .google.datastore.admin.v1.OperationType operation_type = 3; + * * @return The operationType. */ - @java.lang.Override public com.google.datastore.admin.v1.OperationType getOperationType() { - com.google.datastore.admin.v1.OperationType result = com.google.datastore.admin.v1.OperationType.forNumber(operationType_); + @java.lang.Override + public com.google.datastore.admin.v1.OperationType getOperationType() { + com.google.datastore.admin.v1.OperationType result = + com.google.datastore.admin.v1.OperationType.forNumber(operationType_); return result == null ? com.google.datastore.admin.v1.OperationType.UNRECOGNIZED : result; } 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.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_CommonMetadata_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.datastore.admin.v1.DatastoreAdminProto + .internal_static_google_datastore_admin_v1_CommonMetadata_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * The client-assigned labels which were provided when the operation was
    * created. May also include additional labels.
@@ -431,20 +514,21 @@ public int getLabelsCount() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-  public boolean containsLabels(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsLabels(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
+   *
+   *
    * 
    * The client-assigned labels which were provided when the operation was
    * created. May also include additional labels.
@@ -457,6 +541,8 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * The client-assigned labels which were provided when the operation was
    * created. May also include additional labels.
@@ -465,17 +551,19 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getLabelsOrDefault(
+  public /* nullable */ java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * The client-assigned labels which were provided when the operation was
    * created. May also include additional labels.
@@ -484,11 +572,11 @@ java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 4;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -498,30 +586,42 @@ public java.lang.String getLabelsOrThrow(
   public static final int STATE_FIELD_NUMBER = 5;
   private int state_ = 0;
   /**
+   *
+   *
    * 
    * The current state of the Operation.
    * 
* * .google.datastore.admin.v1.CommonMetadata.State 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 current state of the Operation.
    * 
* * .google.datastore.admin.v1.CommonMetadata.State state = 5; + * * @return The state. */ - @java.lang.Override public com.google.datastore.admin.v1.CommonMetadata.State getState() { - com.google.datastore.admin.v1.CommonMetadata.State result = com.google.datastore.admin.v1.CommonMetadata.State.forNumber(state_); - return result == null ? com.google.datastore.admin.v1.CommonMetadata.State.UNRECOGNIZED : result; + @java.lang.Override + public com.google.datastore.admin.v1.CommonMetadata.State getState() { + com.google.datastore.admin.v1.CommonMetadata.State result = + com.google.datastore.admin.v1.CommonMetadata.State.forNumber(state_); + return result == null + ? com.google.datastore.admin.v1.CommonMetadata.State.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -533,24 +633,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getStartTime()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getEndTime()); } - if (operationType_ != com.google.datastore.admin.v1.OperationType.OPERATION_TYPE_UNSPECIFIED.getNumber()) { + if (operationType_ + != com.google.datastore.admin.v1.OperationType.OPERATION_TYPE_UNSPECIFIED.getNumber()) { output.writeEnum(3, operationType_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 4); - if (state_ != com.google.datastore.admin.v1.CommonMetadata.State.STATE_UNSPECIFIED.getNumber()) { + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 4); + if (state_ + != com.google.datastore.admin.v1.CommonMetadata.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(5, state_); } getUnknownFields().writeTo(output); @@ -563,30 +660,28 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getStartTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getEndTime()); - } - if (operationType_ != com.google.datastore.admin.v1.OperationType.OPERATION_TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(3, operationType_); - } - 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__); - } - if (state_ != com.google.datastore.admin.v1.CommonMetadata.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, state_); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getEndTime()); + } + if (operationType_ + != com.google.datastore.admin.v1.OperationType.OPERATION_TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, operationType_); + } + 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__); + } + if (state_ + != com.google.datastore.admin.v1.CommonMetadata.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, state_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -596,26 +691,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.datastore.admin.v1.CommonMetadata)) { return super.equals(obj); } - com.google.datastore.admin.v1.CommonMetadata other = (com.google.datastore.admin.v1.CommonMetadata) obj; + com.google.datastore.admin.v1.CommonMetadata other = + (com.google.datastore.admin.v1.CommonMetadata) 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 (operationType_ != other.operationType_) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (state_ != other.state_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -649,112 +742,117 @@ public int hashCode() { return hash; } - public static com.google.datastore.admin.v1.CommonMetadata parseFrom( - java.nio.ByteBuffer data) + public static com.google.datastore.admin.v1.CommonMetadata parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.admin.v1.CommonMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.admin.v1.CommonMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.admin.v1.CommonMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.admin.v1.CommonMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.admin.v1.CommonMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.admin.v1.CommonMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.admin.v1.CommonMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.CommonMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.CommonMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.admin.v1.CommonMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.datastore.admin.v1.CommonMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.admin.v1.CommonMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.datastore.admin.v1.CommonMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 common to all Datastore Admin operations.
    * 
* * Protobuf type {@code google.datastore.admin.v1.CommonMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.datastore.admin.v1.CommonMetadata) com.google.datastore.admin.v1.CommonMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_CommonMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.admin.v1.DatastoreAdminProto + .internal_static_google_datastore_admin_v1_CommonMetadata_descriptor; } @SuppressWarnings({"rawtypes"}) @@ -764,10 +862,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl 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.MapFieldReflectionAccessor internalGetMutableMapFieldReflection( int number) { @@ -775,16 +873,18 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi 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.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_CommonMetadata_fieldAccessorTable + return com.google.datastore.admin.v1.DatastoreAdminProto + .internal_static_google_datastore_admin_v1_CommonMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.CommonMetadata.class, com.google.datastore.admin.v1.CommonMetadata.Builder.class); + com.google.datastore.admin.v1.CommonMetadata.class, + com.google.datastore.admin.v1.CommonMetadata.Builder.class); } // Construct using com.google.datastore.admin.v1.CommonMetadata.newBuilder() @@ -792,18 +892,18 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getStartTimeFieldBuilder(); getEndTimeFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -825,9 +925,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_CommonMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.admin.v1.DatastoreAdminProto + .internal_static_google_datastore_admin_v1_CommonMetadata_descriptor; } @java.lang.Override @@ -846,8 +946,11 @@ public com.google.datastore.admin.v1.CommonMetadata build() { @java.lang.Override public com.google.datastore.admin.v1.CommonMetadata buildPartial() { - com.google.datastore.admin.v1.CommonMetadata result = new com.google.datastore.admin.v1.CommonMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.datastore.admin.v1.CommonMetadata result = + new com.google.datastore.admin.v1.CommonMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -856,15 +959,11 @@ private void buildPartial0(com.google.datastore.admin.v1.CommonMetadata result) int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.startTime_ = startTimeBuilder_ == null - ? startTime_ - : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { @@ -884,38 +983,39 @@ private void buildPartial0(com.google.datastore.admin.v1.CommonMetadata result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.admin.v1.CommonMetadata) { - return mergeFrom((com.google.datastore.admin.v1.CommonMetadata)other); + return mergeFrom((com.google.datastore.admin.v1.CommonMetadata) other); } else { super.mergeFrom(other); return this; @@ -933,8 +1033,7 @@ public Builder mergeFrom(com.google.datastore.admin.v1.CommonMetadata other) { if (other.operationType_ != 0) { setOperationTypeValue(other.getOperationTypeValue()); } - internalGetMutableLabels().mergeFrom( - other.internalGetLabels()); + internalGetMutableLabels().mergeFrom(other.internalGetLabels()); bitField0_ |= 0x00000008; if (other.state_ != 0) { setStateValue(other.getStateValue()); @@ -965,45 +1064,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getStartTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - operationType_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - com.google.protobuf.MapEntry - labels__ = input.readMessage( - LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); - internalGetMutableLabels().getMutableMap().put( - labels__.getKey(), labels__.getValue()); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - state_ = input.readEnum(); - bitField0_ |= 0x00000010; - break; - } // case 40 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + operationType_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + com.google.protobuf.MapEntry labels__ = + input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), + extensionRegistry); + internalGetMutableLabels() + .getMutableMap() + .put(labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 40 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1013,28 +1116,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 that work began on the operation.
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The time that work began on the operation.
      * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -1045,6 +1158,8 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * The time that work began on the operation.
      * 
@@ -1065,14 +1180,15 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time that work began on the operation.
      * 
* * .google.protobuf.Timestamp start_time = 1; */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -1083,6 +1199,8 @@ public Builder setStartTime( return this; } /** + * + * *
      * The time that work began on the operation.
      * 
@@ -1091,9 +1209,9 @@ public Builder setStartTime( */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - startTime_ != null && - startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -1108,6 +1226,8 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time that work began on the operation.
      * 
@@ -1125,6 +1245,8 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * The time that work began on the operation.
      * 
@@ -1137,6 +1259,8 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time that work began on the operation.
      * 
@@ -1147,11 +1271,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 that work began on the operation.
      * 
@@ -1159,14 +1284,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_; @@ -1174,24 +1302,33 @@ 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 the operation ended, either successfully or otherwise.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The time the operation ended, either successfully or otherwise.
      * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -1202,6 +1339,8 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * The time the operation ended, either successfully or otherwise.
      * 
@@ -1222,14 +1361,15 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation ended, either successfully or otherwise.
      * 
* * .google.protobuf.Timestamp end_time = 2; */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -1240,6 +1380,8 @@ public Builder setEndTime( return this; } /** + * + * *
      * The time the operation ended, either successfully or otherwise.
      * 
@@ -1248,9 +1390,9 @@ public Builder setEndTime( */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -1265,6 +1407,8 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time the operation ended, either successfully or otherwise.
      * 
@@ -1282,6 +1426,8 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * The time the operation ended, either successfully or otherwise.
      * 
@@ -1294,6 +1440,8 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time the operation ended, either successfully or otherwise.
      * 
@@ -1304,11 +1452,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 the operation ended, either successfully or otherwise.
      * 
@@ -1316,14 +1465,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_; @@ -1331,24 +1483,31 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private int operationType_ = 0; /** + * + * *
      * The type of the operation. Can be used as a filter in
      * ListOperationsRequest.
      * 
* * .google.datastore.admin.v1.OperationType operation_type = 3; + * * @return The enum numeric value on the wire for operationType. */ - @java.lang.Override public int getOperationTypeValue() { + @java.lang.Override + public int getOperationTypeValue() { return operationType_; } /** + * + * *
      * The type of the operation. Can be used as a filter in
      * ListOperationsRequest.
      * 
* * .google.datastore.admin.v1.OperationType operation_type = 3; + * * @param value The enum numeric value on the wire for operationType to set. * @return This builder for chaining. */ @@ -1359,26 +1518,33 @@ public Builder setOperationTypeValue(int value) { return this; } /** + * + * *
      * The type of the operation. Can be used as a filter in
      * ListOperationsRequest.
      * 
* * .google.datastore.admin.v1.OperationType operation_type = 3; + * * @return The operationType. */ @java.lang.Override public com.google.datastore.admin.v1.OperationType getOperationType() { - com.google.datastore.admin.v1.OperationType result = com.google.datastore.admin.v1.OperationType.forNumber(operationType_); + com.google.datastore.admin.v1.OperationType result = + com.google.datastore.admin.v1.OperationType.forNumber(operationType_); return result == null ? com.google.datastore.admin.v1.OperationType.UNRECOGNIZED : result; } /** + * + * *
      * The type of the operation. Can be used as a filter in
      * ListOperationsRequest.
      * 
* * .google.datastore.admin.v1.OperationType operation_type = 3; + * * @param value The operationType to set. * @return This builder for chaining. */ @@ -1392,12 +1558,15 @@ public Builder setOperationType(com.google.datastore.admin.v1.OperationType valu return this; } /** + * + * *
      * The type of the operation. Can be used as a filter in
      * ListOperationsRequest.
      * 
* * .google.datastore.admin.v1.OperationType operation_type = 3; + * * @return This builder for chaining. */ public Builder clearOperationType() { @@ -1407,21 +1576,19 @@ public Builder clearOperationType() { return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -1430,10 +1597,13 @@ public Builder clearOperationType() { onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * The client-assigned labels which were provided when the operation was
      * created. May also include additional labels.
@@ -1442,20 +1612,21 @@ public int getLabelsCount() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
-    public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getLabelsMap()} instead.
-     */
+    /** Use {@link #getLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
+     *
+     *
      * 
      * The client-assigned labels which were provided when the operation was
      * created. May also include additional labels.
@@ -1468,6 +1639,8 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * The client-assigned labels which were provided when the operation was
      * created. May also include additional labels.
@@ -1476,17 +1649,19 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 4;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getLabelsOrDefault(
+    public /* nullable */ java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The client-assigned labels which were provided when the operation was
      * created. May also include additional labels.
@@ -1495,23 +1670,25 @@ java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 4;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000008);
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * The client-assigned labels which were provided when the operation was
      * created. May also include additional labels.
@@ -1519,23 +1696,22 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 4;
      */
-    public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableLabels() {
+    public java.util.Map getMutableLabels() {
       bitField0_ |= 0x00000008;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * The client-assigned labels which were provided when the operation was
      * created. May also include additional labels.
@@ -1543,17 +1719,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 4;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableLabels().getMutableMap().put(key, value);
       bitField0_ |= 0x00000008;
       return this;
     }
     /**
+     *
+     *
      * 
      * The client-assigned labels which were provided when the operation was
      * created. May also include additional labels.
@@ -1561,32 +1740,37 @@ public Builder putLabels(
      *
      * map<string, string> labels = 4;
      */
-    public Builder putAllLabels(
-        java.util.Map values) {
-      internalGetMutableLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllLabels(java.util.Map values) {
+      internalGetMutableLabels().getMutableMap().putAll(values);
       bitField0_ |= 0x00000008;
       return this;
     }
 
     private int state_ = 0;
     /**
+     *
+     *
      * 
      * The current state of the Operation.
      * 
* * .google.datastore.admin.v1.CommonMetadata.State 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 current state of the Operation.
      * 
* * .google.datastore.admin.v1.CommonMetadata.State state = 5; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -1597,24 +1781,33 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * The current state of the Operation.
      * 
* * .google.datastore.admin.v1.CommonMetadata.State state = 5; + * * @return The state. */ @java.lang.Override public com.google.datastore.admin.v1.CommonMetadata.State getState() { - com.google.datastore.admin.v1.CommonMetadata.State result = com.google.datastore.admin.v1.CommonMetadata.State.forNumber(state_); - return result == null ? com.google.datastore.admin.v1.CommonMetadata.State.UNRECOGNIZED : result; + com.google.datastore.admin.v1.CommonMetadata.State result = + com.google.datastore.admin.v1.CommonMetadata.State.forNumber(state_); + return result == null + ? com.google.datastore.admin.v1.CommonMetadata.State.UNRECOGNIZED + : result; } /** + * + * *
      * The current state of the Operation.
      * 
* * .google.datastore.admin.v1.CommonMetadata.State state = 5; + * * @param value The state to set. * @return This builder for chaining. */ @@ -1628,11 +1821,14 @@ public Builder setState(com.google.datastore.admin.v1.CommonMetadata.State value return this; } /** + * + * *
      * The current state of the Operation.
      * 
* * .google.datastore.admin.v1.CommonMetadata.State state = 5; + * * @return This builder for chaining. */ public Builder clearState() { @@ -1641,9 +1837,9 @@ public Builder clearState() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1653,12 +1849,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.CommonMetadata) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.CommonMetadata) private static final com.google.datastore.admin.v1.CommonMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.CommonMetadata(); } @@ -1667,27 +1863,27 @@ public static com.google.datastore.admin.v1.CommonMetadata getDefaultInstance() return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CommonMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CommonMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1702,6 +1898,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.CommonMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CommonMetadataOrBuilder.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CommonMetadataOrBuilder.java similarity index 77% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CommonMetadataOrBuilder.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CommonMetadataOrBuilder.java index 50da49cfb..fa127dc7c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CommonMetadataOrBuilder.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CommonMetadataOrBuilder.java @@ -1,32 +1,56 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface CommonMetadataOrBuilder extends +public interface CommonMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.CommonMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The time that work began on the operation.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * The time that work began on the operation.
    * 
* * .google.protobuf.Timestamp start_time = 1; + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * The time that work began on the operation.
    * 
@@ -36,24 +60,32 @@ public interface CommonMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * The time the operation ended, either successfully or otherwise.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * The time the operation ended, either successfully or otherwise.
    * 
* * .google.protobuf.Timestamp end_time = 2; + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * The time the operation ended, either successfully or otherwise.
    * 
@@ -63,27 +95,35 @@ public interface CommonMetadataOrBuilder extends com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * The type of the operation. Can be used as a filter in
    * ListOperationsRequest.
    * 
* * .google.datastore.admin.v1.OperationType operation_type = 3; + * * @return The enum numeric value on the wire for operationType. */ int getOperationTypeValue(); /** + * + * *
    * The type of the operation. Can be used as a filter in
    * ListOperationsRequest.
    * 
* * .google.datastore.admin.v1.OperationType operation_type = 3; + * * @return The operationType. */ com.google.datastore.admin.v1.OperationType getOperationType(); /** + * + * *
    * The client-assigned labels which were provided when the operation was
    * created. May also include additional labels.
@@ -93,6 +133,8 @@ public interface CommonMetadataOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * The client-assigned labels which were provided when the operation was
    * created. May also include additional labels.
@@ -100,15 +142,13 @@ public interface CommonMetadataOrBuilder extends
    *
    * 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();
   /**
+   *
+   *
    * 
    * The client-assigned labels which were provided when the operation was
    * created. May also include additional labels.
@@ -116,9 +156,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 4;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * The client-assigned labels which were provided when the operation was
    * created. May also include additional labels.
@@ -127,11 +168,13 @@ boolean containsLabels(
    * map<string, string> labels = 4;
    */
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * The client-assigned labels which were provided when the operation was
    * created. May also include additional labels.
@@ -139,24 +182,29 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 4;
    */
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * The current state of the Operation.
    * 
* * .google.datastore.admin.v1.CommonMetadata.State state = 5; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * The current state of the Operation.
    * 
* * .google.datastore.admin.v1.CommonMetadata.State state = 5; + * * @return The state. */ com.google.datastore.admin.v1.CommonMetadata.State getState(); diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CreateIndexRequest.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CreateIndexRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CreateIndexRequest.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CreateIndexRequest.java index 41e9dc522..c86b9a967 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CreateIndexRequest.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CreateIndexRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto @@ -5,6 +20,8 @@ package com.google.datastore.admin.v1; /** + * + * *
  * The request for
  * [google.datastore.admin.v1.DatastoreAdmin.CreateIndex][google.datastore.admin.v1.DatastoreAdmin.CreateIndex].
@@ -12,49 +29,55 @@
  *
  * Protobuf type {@code google.datastore.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.datastore.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() {
     projectId_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateIndexRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_CreateIndexRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.datastore.admin.v1.DatastoreAdminProto
+        .internal_static_google_datastore_admin_v1_CreateIndexRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_CreateIndexRequest_fieldAccessorTable
+    return com.google.datastore.admin.v1.DatastoreAdminProto
+        .internal_static_google_datastore_admin_v1_CreateIndexRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.admin.v1.CreateIndexRequest.class, com.google.datastore.admin.v1.CreateIndexRequest.Builder.class);
+            com.google.datastore.admin.v1.CreateIndexRequest.class,
+            com.google.datastore.admin.v1.CreateIndexRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object projectId_ = "";
   /**
+   *
+   *
    * 
    * Project ID against which to make the request.
    * 
* * string project_id = 1; + * * @return The projectId. */ @java.lang.Override @@ -63,29 +86,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Project ID against which to make the request.
    * 
* * string project_id = 1; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -96,12 +119,15 @@ public java.lang.String getProjectId() { public static final int INDEX_FIELD_NUMBER = 3; private com.google.datastore.admin.v1.Index index_; /** + * + * *
    * The index to create. The name and state fields are output only and will be
    * ignored. Single property indexes cannot be created or deleted.
    * 
* * .google.datastore.admin.v1.Index index = 3; + * * @return Whether the index field is set. */ @java.lang.Override @@ -109,12 +135,15 @@ public boolean hasIndex() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The index to create. The name and state fields are output only and will be
    * ignored. Single property indexes cannot be created or deleted.
    * 
* * .google.datastore.admin.v1.Index index = 3; + * * @return The index. */ @java.lang.Override @@ -122,6 +151,8 @@ public com.google.datastore.admin.v1.Index getIndex() { return index_ == null ? com.google.datastore.admin.v1.Index.getDefaultInstance() : index_; } /** + * + * *
    * The index to create. The name and state fields are output only and will be
    * ignored. Single property indexes cannot be created or deleted.
@@ -135,6 +166,7 @@ public com.google.datastore.admin.v1.IndexOrBuilder getIndexOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -146,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_);
     }
@@ -167,8 +198,7 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, projectId_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getIndex());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getIndex());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -178,19 +208,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.datastore.admin.v1.CreateIndexRequest)) {
       return super.equals(obj);
     }
-    com.google.datastore.admin.v1.CreateIndexRequest other = (com.google.datastore.admin.v1.CreateIndexRequest) obj;
+    com.google.datastore.admin.v1.CreateIndexRequest other =
+        (com.google.datastore.admin.v1.CreateIndexRequest) obj;
 
-    if (!getProjectId()
-        .equals(other.getProjectId())) return false;
+    if (!getProjectId().equals(other.getProjectId())) 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,99 +243,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.admin.v1.CreateIndexRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.datastore.admin.v1.CreateIndexRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.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.datastore.admin.v1.CreateIndexRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.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.datastore.admin.v1.CreateIndexRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.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.datastore.admin.v1.CreateIndexRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.datastore.admin.v1.CreateIndexRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.datastore.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.datastore.admin.v1.CreateIndexRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.datastore.admin.v1.CreateIndexRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.datastore.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.datastore.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.datastore.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.datastore.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
    * [google.datastore.admin.v1.DatastoreAdmin.CreateIndex][google.datastore.admin.v1.DatastoreAdmin.CreateIndex].
@@ -314,21 +348,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.datastore.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.datastore.admin.v1.CreateIndexRequest)
       com.google.datastore.admin.v1.CreateIndexRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_CreateIndexRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto
+          .internal_static_google_datastore_admin_v1_CreateIndexRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_CreateIndexRequest_fieldAccessorTable
+      return com.google.datastore.admin.v1.DatastoreAdminProto
+          .internal_static_google_datastore_admin_v1_CreateIndexRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.admin.v1.CreateIndexRequest.class, com.google.datastore.admin.v1.CreateIndexRequest.Builder.class);
+              com.google.datastore.admin.v1.CreateIndexRequest.class,
+              com.google.datastore.admin.v1.CreateIndexRequest.Builder.class);
     }
 
     // Construct using com.google.datastore.admin.v1.CreateIndexRequest.newBuilder()
@@ -336,17 +372,17 @@ 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) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getIndexFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -361,9 +397,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_CreateIndexRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto
+          .internal_static_google_datastore_admin_v1_CreateIndexRequest_descriptor;
     }
 
     @java.lang.Override
@@ -382,8 +418,11 @@ public com.google.datastore.admin.v1.CreateIndexRequest build() {
 
     @java.lang.Override
     public com.google.datastore.admin.v1.CreateIndexRequest buildPartial() {
-      com.google.datastore.admin.v1.CreateIndexRequest result = new com.google.datastore.admin.v1.CreateIndexRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.datastore.admin.v1.CreateIndexRequest result =
+          new com.google.datastore.admin.v1.CreateIndexRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -395,9 +434,7 @@ private void buildPartial0(com.google.datastore.admin.v1.CreateIndexRequest resu
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.index_ = indexBuilder_ == null
-            ? index_
-            : indexBuilder_.build();
+        result.index_ = indexBuilder_ == null ? index_ : indexBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -407,38 +444,39 @@ private void buildPartial0(com.google.datastore.admin.v1.CreateIndexRequest resu
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.admin.v1.CreateIndexRequest) {
-        return mergeFrom((com.google.datastore.admin.v1.CreateIndexRequest)other);
+        return mergeFrom((com.google.datastore.admin.v1.CreateIndexRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -446,7 +484,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.datastore.admin.v1.CreateIndexRequest other) {
-      if (other == com.google.datastore.admin.v1.CreateIndexRequest.getDefaultInstance()) return this;
+      if (other == com.google.datastore.admin.v1.CreateIndexRequest.getDefaultInstance())
+        return this;
       if (!other.getProjectId().isEmpty()) {
         projectId_ = other.projectId_;
         bitField0_ |= 0x00000001;
@@ -481,24 +520,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              projectId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 26: {
-              input.readMessage(
-                  getIndexFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                projectId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 26:
+              {
+                input.readMessage(getIndexFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                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) {
@@ -508,22 +548,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object projectId_ = "";
     /**
+     *
+     *
      * 
      * Project ID against which to make the request.
      * 
* * string project_id = 1; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -532,20 +575,21 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -553,28 +597,35 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; + * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -584,17 +635,21 @@ public Builder clearProjectId() { return this; } /** + * + * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -604,26 +659,35 @@ public Builder setProjectIdBytes( private com.google.datastore.admin.v1.Index index_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Index, com.google.datastore.admin.v1.Index.Builder, com.google.datastore.admin.v1.IndexOrBuilder> indexBuilder_; + com.google.datastore.admin.v1.Index, + com.google.datastore.admin.v1.Index.Builder, + com.google.datastore.admin.v1.IndexOrBuilder> + indexBuilder_; /** + * + * *
      * The index to create. The name and state fields are output only and will be
      * ignored. Single property indexes cannot be created or deleted.
      * 
* * .google.datastore.admin.v1.Index index = 3; + * * @return Whether the index field is set. */ public boolean hasIndex() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The index to create. The name and state fields are output only and will be
      * ignored. Single property indexes cannot be created or deleted.
      * 
* * .google.datastore.admin.v1.Index index = 3; + * * @return The index. */ public com.google.datastore.admin.v1.Index getIndex() { @@ -634,6 +698,8 @@ public com.google.datastore.admin.v1.Index getIndex() { } } /** + * + * *
      * The index to create. The name and state fields are output only and will be
      * ignored. Single property indexes cannot be created or deleted.
@@ -655,6 +721,8 @@ public Builder setIndex(com.google.datastore.admin.v1.Index value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The index to create. The name and state fields are output only and will be
      * ignored. Single property indexes cannot be created or deleted.
@@ -662,8 +730,7 @@ public Builder setIndex(com.google.datastore.admin.v1.Index value) {
      *
      * .google.datastore.admin.v1.Index index = 3;
      */
-    public Builder setIndex(
-        com.google.datastore.admin.v1.Index.Builder builderForValue) {
+    public Builder setIndex(com.google.datastore.admin.v1.Index.Builder builderForValue) {
       if (indexBuilder_ == null) {
         index_ = builderForValue.build();
       } else {
@@ -674,6 +741,8 @@ public Builder setIndex(
       return this;
     }
     /**
+     *
+     *
      * 
      * The index to create. The name and state fields are output only and will be
      * ignored. Single property indexes cannot be created or deleted.
@@ -683,9 +752,9 @@ public Builder setIndex(
      */
     public Builder mergeIndex(com.google.datastore.admin.v1.Index value) {
       if (indexBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          index_ != null &&
-          index_ != com.google.datastore.admin.v1.Index.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && index_ != null
+            && index_ != com.google.datastore.admin.v1.Index.getDefaultInstance()) {
           getIndexBuilder().mergeFrom(value);
         } else {
           index_ = value;
@@ -700,6 +769,8 @@ public Builder mergeIndex(com.google.datastore.admin.v1.Index value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The index to create. The name and state fields are output only and will be
      * ignored. Single property indexes cannot be created or deleted.
@@ -718,6 +789,8 @@ public Builder clearIndex() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The index to create. The name and state fields are output only and will be
      * ignored. Single property indexes cannot be created or deleted.
@@ -731,6 +804,8 @@ public com.google.datastore.admin.v1.Index.Builder getIndexBuilder() {
       return getIndexFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The index to create. The name and state fields are output only and will be
      * ignored. Single property indexes cannot be created or deleted.
@@ -742,11 +817,12 @@ public com.google.datastore.admin.v1.IndexOrBuilder getIndexOrBuilder() {
       if (indexBuilder_ != null) {
         return indexBuilder_.getMessageOrBuilder();
       } else {
-        return index_ == null ?
-            com.google.datastore.admin.v1.Index.getDefaultInstance() : index_;
+        return index_ == null ? com.google.datastore.admin.v1.Index.getDefaultInstance() : index_;
       }
     }
     /**
+     *
+     *
      * 
      * The index to create. The name and state fields are output only and will be
      * ignored. Single property indexes cannot be created or deleted.
@@ -755,21 +831,24 @@ public com.google.datastore.admin.v1.IndexOrBuilder getIndexOrBuilder() {
      * .google.datastore.admin.v1.Index index = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.admin.v1.Index, com.google.datastore.admin.v1.Index.Builder, com.google.datastore.admin.v1.IndexOrBuilder> 
+            com.google.datastore.admin.v1.Index,
+            com.google.datastore.admin.v1.Index.Builder,
+            com.google.datastore.admin.v1.IndexOrBuilder>
         getIndexFieldBuilder() {
       if (indexBuilder_ == null) {
-        indexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.admin.v1.Index, com.google.datastore.admin.v1.Index.Builder, com.google.datastore.admin.v1.IndexOrBuilder>(
-                getIndex(),
-                getParentForChildren(),
-                isClean());
+        indexBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.datastore.admin.v1.Index,
+                com.google.datastore.admin.v1.Index.Builder,
+                com.google.datastore.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);
     }
 
@@ -779,12 +858,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.CreateIndexRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.CreateIndexRequest)
   private static final com.google.datastore.admin.v1.CreateIndexRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.datastore.admin.v1.CreateIndexRequest();
   }
@@ -793,27 +872,27 @@ public static com.google.datastore.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;
@@ -828,6 +907,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.admin.v1.CreateIndexRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CreateIndexRequestOrBuilder.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CreateIndexRequestOrBuilder.java
similarity index 68%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CreateIndexRequestOrBuilder.java
rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CreateIndexRequestOrBuilder.java
index 9f829b7b3..537fb10b9 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CreateIndexRequestOrBuilder.java
+++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/CreateIndexRequestOrBuilder.java
@@ -1,54 +1,83 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/admin/v1/datastore_admin.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.admin.v1;
 
-public interface CreateIndexRequestOrBuilder extends
+public interface CreateIndexRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.CreateIndexRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Project ID against which to make the request.
    * 
* * string project_id = 1; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
    * Project ID against which to make the request.
    * 
* * string project_id = 1; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * The index to create. The name and state fields are output only and will be
    * ignored. Single property indexes cannot be created or deleted.
    * 
* * .google.datastore.admin.v1.Index index = 3; + * * @return Whether the index field is set. */ boolean hasIndex(); /** + * + * *
    * The index to create. The name and state fields are output only and will be
    * ignored. Single property indexes cannot be created or deleted.
    * 
* * .google.datastore.admin.v1.Index index = 3; + * * @return The index. */ com.google.datastore.admin.v1.Index getIndex(); /** + * + * *
    * The index to create. The name and state fields are output only and will be
    * ignored. Single property indexes cannot be created or deleted.
diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreAdminProto.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreAdminProto.java
new file mode 100644
index 000000000..9a4bb925f
--- /dev/null
+++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreAdminProto.java
@@ -0,0 +1,406 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/datastore/admin/v1/datastore_admin.proto
+
+// Protobuf Java Version: 3.25.3
+package com.google.datastore.admin.v1;
+
+public final class DatastoreAdminProto {
+  private DatastoreAdminProto() {}
+
+  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_datastore_admin_v1_CommonMetadata_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_CommonMetadata_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_admin_v1_CommonMetadata_LabelsEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_CommonMetadata_LabelsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_admin_v1_Progress_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_Progress_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_admin_v1_ExportEntitiesRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_ExportEntitiesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_admin_v1_ExportEntitiesRequest_LabelsEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_ExportEntitiesRequest_LabelsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_admin_v1_ImportEntitiesRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_ImportEntitiesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_admin_v1_ImportEntitiesRequest_LabelsEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_ImportEntitiesRequest_LabelsEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_admin_v1_ExportEntitiesResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_ExportEntitiesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_admin_v1_EntityFilter_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_EntityFilter_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_admin_v1_CreateIndexRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_CreateIndexRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_admin_v1_DeleteIndexRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_DeleteIndexRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_admin_v1_GetIndexRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_GetIndexRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_admin_v1_ListIndexesRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_ListIndexesRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_admin_v1_ListIndexesResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_ListIndexesResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_admin_v1_IndexOperationMetadata_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_IndexOperationMetadata_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_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/datastore/admin/v1/datastore_ad"
+          + "min.proto\022\031google.datastore.admin.v1\032\034go"
+          + "ogle/api/annotations.proto\032\027google/api/c"
+          + "lient.proto\032\037google/api/field_behavior.p"
+          + "roto\032%google/datastore/admin/v1/index.pr"
+          + "oto\032)google/datastore/admin/v1/migration"
+          + ".proto\032#google/longrunning/operations.pr"
+          + "oto\032\037google/protobuf/timestamp.proto\"\364\003\n"
+          + "\016CommonMetadata\022.\n\nstart_time\030\001 \001(\0132\032.go"
+          + "ogle.protobuf.Timestamp\022,\n\010end_time\030\002 \001("
+          + "\0132\032.google.protobuf.Timestamp\022@\n\016operati"
+          + "on_type\030\003 \001(\0162(.google.datastore.admin.v"
+          + "1.OperationType\022E\n\006labels\030\004 \003(\01325.google"
+          + ".datastore.admin.v1.CommonMetadata.Label"
+          + "sEntry\022>\n\005state\030\005 \001(\0162/.google.datastore"
+          + ".admin.v1.CommonMetadata.State\032-\n\013Labels"
+          + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\213\001"
+          + "\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\020\n\014INITIA"
+          + "LIZING\020\001\022\016\n\nPROCESSING\020\002\022\016\n\nCANCELLING\020\003"
+          + "\022\016\n\nFINALIZING\020\004\022\016\n\nSUCCESSFUL\020\005\022\n\n\006FAIL"
+          + "ED\020\006\022\r\n\tCANCELLED\020\007\":\n\010Progress\022\026\n\016work_"
+          + "completed\030\001 \001(\003\022\026\n\016work_estimated\030\002 \001(\003\""
+          + "\215\002\n\025ExportEntitiesRequest\022\027\n\nproject_id\030"
+          + "\001 \001(\tB\003\340A\002\022L\n\006labels\030\002 \003(\0132<.google.data"
+          + "store.admin.v1.ExportEntitiesRequest.Lab"
+          + "elsEntry\022>\n\rentity_filter\030\003 \001(\0132\'.google"
+          + ".datastore.admin.v1.EntityFilter\022\036\n\021outp"
+          + "ut_url_prefix\030\004 \001(\tB\003\340A\002\032-\n\013LabelsEntry\022"
+          + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\205\002\n\025Impo"
+          + "rtEntitiesRequest\022\027\n\nproject_id\030\001 \001(\tB\003\340"
+          + "A\002\022L\n\006labels\030\002 \003(\0132<.google.datastore.ad"
+          + "min.v1.ImportEntitiesRequest.LabelsEntry"
+          + "\022\026\n\tinput_url\030\003 \001(\tB\003\340A\002\022>\n\rentity_filte"
+          + "r\030\004 \001(\0132\'.google.datastore.admin.v1.Enti"
+          + "tyFilter\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005"
+          + "value\030\002 \001(\t:\0028\001\",\n\026ExportEntitiesRespons"
+          + "e\022\022\n\noutput_url\030\001 \001(\t\"\253\002\n\026ExportEntities"
+          + "Metadata\0229\n\006common\030\001 \001(\0132).google.datast"
+          + "ore.admin.v1.CommonMetadata\022>\n\021progress_"
+          + "entities\030\002 \001(\0132#.google.datastore.admin."
+          + "v1.Progress\022;\n\016progress_bytes\030\003 \001(\0132#.go"
+          + "ogle.datastore.admin.v1.Progress\022>\n\renti"
+          + "ty_filter\030\004 \001(\0132\'.google.datastore.admin"
+          + ".v1.EntityFilter\022\031\n\021output_url_prefix\030\005 "
+          + "\001(\t\"\243\002\n\026ImportEntitiesMetadata\0229\n\006common"
+          + "\030\001 \001(\0132).google.datastore.admin.v1.Commo"
+          + "nMetadata\022>\n\021progress_entities\030\002 \001(\0132#.g"
+          + "oogle.datastore.admin.v1.Progress\022;\n\016pro"
+          + "gress_bytes\030\003 \001(\0132#.google.datastore.adm"
+          + "in.v1.Progress\022>\n\rentity_filter\030\004 \001(\0132\'."
+          + "google.datastore.admin.v1.EntityFilter\022\021"
+          + "\n\tinput_url\030\005 \001(\t\"4\n\014EntityFilter\022\r\n\005kin"
+          + "ds\030\001 \003(\t\022\025\n\rnamespace_ids\030\002 \003(\t\"Y\n\022Creat"
+          + "eIndexRequest\022\022\n\nproject_id\030\001 \001(\t\022/\n\005ind"
+          + "ex\030\003 \001(\0132 .google.datastore.admin.v1.Ind"
+          + "ex\":\n\022DeleteIndexRequest\022\022\n\nproject_id\030\001"
+          + " \001(\t\022\020\n\010index_id\030\003 \001(\t\"7\n\017GetIndexReques"
+          + "t\022\022\n\nproject_id\030\001 \001(\t\022\020\n\010index_id\030\003 \001(\t\""
+          + "_\n\022ListIndexesRequest\022\022\n\nproject_id\030\001 \001("
+          + "\t\022\016\n\006filter\030\003 \001(\t\022\021\n\tpage_size\030\004 \001(\005\022\022\n\n"
+          + "page_token\030\005 \001(\t\"a\n\023ListIndexesResponse\022"
+          + "1\n\007indexes\030\001 \003(\0132 .google.datastore.admi"
+          + "n.v1.Index\022\027\n\017next_page_token\030\002 \001(\t\"\245\001\n\026"
+          + "IndexOperationMetadata\0229\n\006common\030\001 \001(\0132)"
+          + ".google.datastore.admin.v1.CommonMetadat"
+          + "a\022>\n\021progress_entities\030\002 \001(\0132#.google.da"
+          + "tastore.admin.v1.Progress\022\020\n\010index_id\030\003 "
+          + "\001(\t\"\253\001\n#DatastoreFirestoreMigrationMetad"
+          + "ata\022B\n\017migration_state\030\001 \001(\0162).google.da"
+          + "tastore.admin.v1.MigrationState\022@\n\016migra"
+          + "tion_step\030\002 \001(\0162(.google.datastore.admin"
+          + ".v1.MigrationStep*}\n\rOperationType\022\036\n\032OP"
+          + "ERATION_TYPE_UNSPECIFIED\020\000\022\023\n\017EXPORT_ENT"
+          + "ITIES\020\001\022\023\n\017IMPORT_ENTITIES\020\002\022\020\n\014CREATE_I"
+          + "NDEX\020\003\022\020\n\014DELETE_INDEX\020\0042\204\n\n\016DatastoreAd"
+          + "min\022\366\001\n\016ExportEntities\0220.google.datastor"
+          + "e.admin.v1.ExportEntitiesRequest\032\035.googl"
+          + "e.longrunning.Operation\"\222\001\312A0\n\026ExportEnt"
+          + "itiesResponse\022\026ExportEntitiesMetadata\332A1"
+          + "project_id,labels,entity_filter,output_u"
+          + "rl_prefix\202\323\344\223\002%\" /v1/projects/{project_i"
+          + "d}:export:\001*\022\355\001\n\016ImportEntities\0220.google"
+          + ".datastore.admin.v1.ImportEntitiesReques"
+          + "t\032\035.google.longrunning.Operation\"\211\001\312A/\n\025"
+          + "google.protobuf.Empty\022\026ImportEntitiesMet"
+          + "adata\332A)project_id,labels,input_url,enti"
+          + "ty_filter\202\323\344\223\002%\" /v1/projects/{project_i"
+          + "d}:import:\001*\022\257\001\n\013CreateIndex\022-.google.da"
+          + "tastore.admin.v1.CreateIndexRequest\032\035.go"
+          + "ogle.longrunning.Operation\"R\312A\037\n\005Index\022\026"
+          + "IndexOperationMetadata\202\323\344\223\002*\"!/v1/projec"
+          + "ts/{project_id}/indexes:\005index\022\263\001\n\013Delet"
+          + "eIndex\022-.google.datastore.admin.v1.Delet"
+          + "eIndexRequest\032\035.google.longrunning.Opera"
+          + "tion\"V\312A\037\n\005Index\022\026IndexOperationMetadata"
+          + "\202\323\344\223\002.*,/v1/projects/{project_id}/indexe"
+          + "s/{index_id}\022\216\001\n\010GetIndex\022*.google.datas"
+          + "tore.admin.v1.GetIndexRequest\032 .google.d"
+          + "atastore.admin.v1.Index\"4\202\323\344\223\002.\022,/v1/pro"
+          + "jects/{project_id}/indexes/{index_id}\022\227\001"
+          + "\n\013ListIndexes\022-.google.datastore.admin.v"
+          + "1.ListIndexesRequest\032..google.datastore."
+          + "admin.v1.ListIndexesResponse\")\202\323\344\223\002#\022!/v"
+          + "1/projects/{project_id}/indexes\032v\312A\030data"
+          + "store.googleapis.com\322AXhttps://www.googl"
+          + "eapis.com/auth/cloud-platform,https://ww"
+          + "w.googleapis.com/auth/datastoreB\333\001\n\035com."
+          + "google.datastore.admin.v1B\023DatastoreAdmi"
+          + "nProtoP\001Z9cloud.google.com/go/datastore/"
+          + "admin/apiv1/adminpb;adminpb\252\002\037Google.Clo"
+          + "ud.Datastore.Admin.V1\312\002\037Google\\Cloud\\Dat"
+          + "astore\\Admin\\V1\352\002#Google::Cloud::Datasto"
+          + "re::Admin::V1b\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.datastore.admin.v1.IndexProto.getDescriptor(),
+              com.google.datastore.admin.v1.MigrationProto.getDescriptor(),
+              com.google.longrunning.OperationsProto.getDescriptor(),
+              com.google.protobuf.TimestampProto.getDescriptor(),
+            });
+    internal_static_google_datastore_admin_v1_CommonMetadata_descriptor =
+        getDescriptor().getMessageTypes().get(0);
+    internal_static_google_datastore_admin_v1_CommonMetadata_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_datastore_admin_v1_CommonMetadata_descriptor,
+            new java.lang.String[] {
+              "StartTime", "EndTime", "OperationType", "Labels", "State",
+            });
+    internal_static_google_datastore_admin_v1_CommonMetadata_LabelsEntry_descriptor =
+        internal_static_google_datastore_admin_v1_CommonMetadata_descriptor.getNestedTypes().get(0);
+    internal_static_google_datastore_admin_v1_CommonMetadata_LabelsEntry_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_datastore_admin_v1_CommonMetadata_LabelsEntry_descriptor,
+            new java.lang.String[] {
+              "Key", "Value",
+            });
+    internal_static_google_datastore_admin_v1_Progress_descriptor =
+        getDescriptor().getMessageTypes().get(1);
+    internal_static_google_datastore_admin_v1_Progress_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_datastore_admin_v1_Progress_descriptor,
+            new java.lang.String[] {
+              "WorkCompleted", "WorkEstimated",
+            });
+    internal_static_google_datastore_admin_v1_ExportEntitiesRequest_descriptor =
+        getDescriptor().getMessageTypes().get(2);
+    internal_static_google_datastore_admin_v1_ExportEntitiesRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_datastore_admin_v1_ExportEntitiesRequest_descriptor,
+            new java.lang.String[] {
+              "ProjectId", "Labels", "EntityFilter", "OutputUrlPrefix",
+            });
+    internal_static_google_datastore_admin_v1_ExportEntitiesRequest_LabelsEntry_descriptor =
+        internal_static_google_datastore_admin_v1_ExportEntitiesRequest_descriptor
+            .getNestedTypes()
+            .get(0);
+    internal_static_google_datastore_admin_v1_ExportEntitiesRequest_LabelsEntry_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_datastore_admin_v1_ExportEntitiesRequest_LabelsEntry_descriptor,
+            new java.lang.String[] {
+              "Key", "Value",
+            });
+    internal_static_google_datastore_admin_v1_ImportEntitiesRequest_descriptor =
+        getDescriptor().getMessageTypes().get(3);
+    internal_static_google_datastore_admin_v1_ImportEntitiesRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_datastore_admin_v1_ImportEntitiesRequest_descriptor,
+            new java.lang.String[] {
+              "ProjectId", "Labels", "InputUrl", "EntityFilter",
+            });
+    internal_static_google_datastore_admin_v1_ImportEntitiesRequest_LabelsEntry_descriptor =
+        internal_static_google_datastore_admin_v1_ImportEntitiesRequest_descriptor
+            .getNestedTypes()
+            .get(0);
+    internal_static_google_datastore_admin_v1_ImportEntitiesRequest_LabelsEntry_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_datastore_admin_v1_ImportEntitiesRequest_LabelsEntry_descriptor,
+            new java.lang.String[] {
+              "Key", "Value",
+            });
+    internal_static_google_datastore_admin_v1_ExportEntitiesResponse_descriptor =
+        getDescriptor().getMessageTypes().get(4);
+    internal_static_google_datastore_admin_v1_ExportEntitiesResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_datastore_admin_v1_ExportEntitiesResponse_descriptor,
+            new java.lang.String[] {
+              "OutputUrl",
+            });
+    internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_descriptor =
+        getDescriptor().getMessageTypes().get(5);
+    internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_descriptor,
+            new java.lang.String[] {
+              "Common", "ProgressEntities", "ProgressBytes", "EntityFilter", "OutputUrlPrefix",
+            });
+    internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_descriptor =
+        getDescriptor().getMessageTypes().get(6);
+    internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_descriptor,
+            new java.lang.String[] {
+              "Common", "ProgressEntities", "ProgressBytes", "EntityFilter", "InputUrl",
+            });
+    internal_static_google_datastore_admin_v1_EntityFilter_descriptor =
+        getDescriptor().getMessageTypes().get(7);
+    internal_static_google_datastore_admin_v1_EntityFilter_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_datastore_admin_v1_EntityFilter_descriptor,
+            new java.lang.String[] {
+              "Kinds", "NamespaceIds",
+            });
+    internal_static_google_datastore_admin_v1_CreateIndexRequest_descriptor =
+        getDescriptor().getMessageTypes().get(8);
+    internal_static_google_datastore_admin_v1_CreateIndexRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_datastore_admin_v1_CreateIndexRequest_descriptor,
+            new java.lang.String[] {
+              "ProjectId", "Index",
+            });
+    internal_static_google_datastore_admin_v1_DeleteIndexRequest_descriptor =
+        getDescriptor().getMessageTypes().get(9);
+    internal_static_google_datastore_admin_v1_DeleteIndexRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_datastore_admin_v1_DeleteIndexRequest_descriptor,
+            new java.lang.String[] {
+              "ProjectId", "IndexId",
+            });
+    internal_static_google_datastore_admin_v1_GetIndexRequest_descriptor =
+        getDescriptor().getMessageTypes().get(10);
+    internal_static_google_datastore_admin_v1_GetIndexRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_datastore_admin_v1_GetIndexRequest_descriptor,
+            new java.lang.String[] {
+              "ProjectId", "IndexId",
+            });
+    internal_static_google_datastore_admin_v1_ListIndexesRequest_descriptor =
+        getDescriptor().getMessageTypes().get(11);
+    internal_static_google_datastore_admin_v1_ListIndexesRequest_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_datastore_admin_v1_ListIndexesRequest_descriptor,
+            new java.lang.String[] {
+              "ProjectId", "Filter", "PageSize", "PageToken",
+            });
+    internal_static_google_datastore_admin_v1_ListIndexesResponse_descriptor =
+        getDescriptor().getMessageTypes().get(12);
+    internal_static_google_datastore_admin_v1_ListIndexesResponse_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_datastore_admin_v1_ListIndexesResponse_descriptor,
+            new java.lang.String[] {
+              "Indexes", "NextPageToken",
+            });
+    internal_static_google_datastore_admin_v1_IndexOperationMetadata_descriptor =
+        getDescriptor().getMessageTypes().get(13);
+    internal_static_google_datastore_admin_v1_IndexOperationMetadata_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_datastore_admin_v1_IndexOperationMetadata_descriptor,
+            new java.lang.String[] {
+              "Common", "ProgressEntities", "IndexId",
+            });
+    internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_descriptor =
+        getDescriptor().getMessageTypes().get(14);
+    internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_fieldAccessorTable =
+        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+            internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_descriptor,
+            new java.lang.String[] {
+              "MigrationState", "MigrationStep",
+            });
+    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.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.datastore.admin.v1.IndexProto.getDescriptor();
+    com.google.datastore.admin.v1.MigrationProto.getDescriptor();
+    com.google.longrunning.OperationsProto.getDescriptor();
+    com.google.protobuf.TimestampProto.getDescriptor();
+  }
+
+  // @@protoc_insertion_point(outer_class_scope)
+}
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreFirestoreMigrationMetadata.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreFirestoreMigrationMetadata.java
similarity index 64%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreFirestoreMigrationMetadata.java
rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreFirestoreMigrationMetadata.java
index e2812558d..a0695ffd0 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreFirestoreMigrationMetadata.java
+++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreFirestoreMigrationMetadata.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/admin/v1/datastore_admin.proto
 
@@ -5,6 +20,8 @@
 package com.google.datastore.admin.v1;
 
 /**
+ *
+ *
  * 
  * Metadata for Datastore to Firestore migration operations.
  *
@@ -18,15 +35,18 @@
  *
  * Protobuf type {@code google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata}
  */
-public final class DatastoreFirestoreMigrationMetadata extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class DatastoreFirestoreMigrationMetadata
+    extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata)
     DatastoreFirestoreMigrationMetadataOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use DatastoreFirestoreMigrationMetadata.newBuilder() to construct.
-  private DatastoreFirestoreMigrationMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) {
+  private DatastoreFirestoreMigrationMetadata(
+      com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private DatastoreFirestoreMigrationMetadata() {
     migrationState_ = 0;
     migrationStep_ = 0;
@@ -34,81 +54,101 @@ private DatastoreFirestoreMigrationMetadata() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DatastoreFirestoreMigrationMetadata();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.datastore.admin.v1.DatastoreAdminProto
+        .internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_fieldAccessorTable
+    return com.google.datastore.admin.v1.DatastoreAdminProto
+        .internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata.class, com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata.Builder.class);
+            com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata.class,
+            com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata.Builder.class);
   }
 
   public static final int MIGRATION_STATE_FIELD_NUMBER = 1;
   private int migrationState_ = 0;
   /**
+   *
+   *
    * 
    * The current state of migration from Cloud Datastore to Cloud Firestore in
    * Datastore mode.
    * 
* * .google.datastore.admin.v1.MigrationState migration_state = 1; + * * @return The enum numeric value on the wire for migrationState. */ - @java.lang.Override public int getMigrationStateValue() { + @java.lang.Override + public int getMigrationStateValue() { return migrationState_; } /** + * + * *
    * The current state of migration from Cloud Datastore to Cloud Firestore in
    * Datastore mode.
    * 
* * .google.datastore.admin.v1.MigrationState migration_state = 1; + * * @return The migrationState. */ - @java.lang.Override public com.google.datastore.admin.v1.MigrationState getMigrationState() { - com.google.datastore.admin.v1.MigrationState result = com.google.datastore.admin.v1.MigrationState.forNumber(migrationState_); + @java.lang.Override + public com.google.datastore.admin.v1.MigrationState getMigrationState() { + com.google.datastore.admin.v1.MigrationState result = + com.google.datastore.admin.v1.MigrationState.forNumber(migrationState_); return result == null ? com.google.datastore.admin.v1.MigrationState.UNRECOGNIZED : result; } public static final int MIGRATION_STEP_FIELD_NUMBER = 2; private int migrationStep_ = 0; /** + * + * *
    * The current step of migration from Cloud Datastore to Cloud Firestore in
    * Datastore mode.
    * 
* * .google.datastore.admin.v1.MigrationStep migration_step = 2; + * * @return The enum numeric value on the wire for migrationStep. */ - @java.lang.Override public int getMigrationStepValue() { + @java.lang.Override + public int getMigrationStepValue() { return migrationStep_; } /** + * + * *
    * The current step of migration from Cloud Datastore to Cloud Firestore in
    * Datastore mode.
    * 
* * .google.datastore.admin.v1.MigrationStep migration_step = 2; + * * @return The migrationStep. */ - @java.lang.Override public com.google.datastore.admin.v1.MigrationStep getMigrationStep() { - com.google.datastore.admin.v1.MigrationStep result = com.google.datastore.admin.v1.MigrationStep.forNumber(migrationStep_); + @java.lang.Override + public com.google.datastore.admin.v1.MigrationStep getMigrationStep() { + com.google.datastore.admin.v1.MigrationStep result = + com.google.datastore.admin.v1.MigrationStep.forNumber(migrationStep_); return result == null ? com.google.datastore.admin.v1.MigrationStep.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -120,12 +160,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (migrationState_ != com.google.datastore.admin.v1.MigrationState.MIGRATION_STATE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (migrationState_ + != com.google.datastore.admin.v1.MigrationState.MIGRATION_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(1, migrationState_); } - if (migrationStep_ != com.google.datastore.admin.v1.MigrationStep.MIGRATION_STEP_UNSPECIFIED.getNumber()) { + if (migrationStep_ + != com.google.datastore.admin.v1.MigrationStep.MIGRATION_STEP_UNSPECIFIED.getNumber()) { output.writeEnum(2, migrationStep_); } getUnknownFields().writeTo(output); @@ -137,13 +178,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (migrationState_ != com.google.datastore.admin.v1.MigrationState.MIGRATION_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, migrationState_); + if (migrationState_ + != com.google.datastore.admin.v1.MigrationState.MIGRATION_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, migrationState_); } - if (migrationStep_ != com.google.datastore.admin.v1.MigrationStep.MIGRATION_STEP_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, migrationStep_); + if (migrationStep_ + != com.google.datastore.admin.v1.MigrationStep.MIGRATION_STEP_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, migrationStep_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -153,12 +194,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.datastore.admin.v1.DatastoreFirestoreMigrationMetadata)) { return super.equals(obj); } - com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata other = (com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata) obj; + com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata other = + (com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata) obj; if (migrationState_ != other.migrationState_) return false; if (migrationStep_ != other.migrationStep_) return false; @@ -183,98 +225,105 @@ public int hashCode() { } public static com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata 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.datastore.admin.v1.DatastoreFirestoreMigrationMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata 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.datastore.admin.v1.DatastoreFirestoreMigrationMetadata + 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.datastore.admin.v1.DatastoreFirestoreMigrationMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata prototype) { + + public static Builder newBuilder( + com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 Datastore to Firestore migration operations.
    *
@@ -288,33 +337,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata)
       com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadataOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto
+          .internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_fieldAccessorTable
+      return com.google.datastore.admin.v1.DatastoreAdminProto
+          .internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata.class, com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata.Builder.class);
+              com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata.class,
+              com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata.Builder.class);
     }
 
-    // Construct using com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata.newBuilder()
-    private Builder() {
-
-    }
+    // Construct using
+    // com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata.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();
@@ -325,13 +374,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto
+          .internal_static_google_datastore_admin_v1_DatastoreFirestoreMigrationMetadata_descriptor;
     }
 
     @java.lang.Override
-    public com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata getDefaultInstanceForType() {
+    public com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata
+        getDefaultInstanceForType() {
       return com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata.getDefaultInstance();
     }
 
@@ -346,13 +396,17 @@ public com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata build()
 
     @java.lang.Override
     public com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata buildPartial() {
-      com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata result = new com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata result =
+          new com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata result) {
+    private void buildPartial0(
+        com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.migrationState_ = migrationState_;
@@ -366,46 +420,50 @@ private void buildPartial0(com.google.datastore.admin.v1.DatastoreFirestoreMigra
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata) {
-        return mergeFrom((com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata)other);
+        return mergeFrom((com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata other) {
-      if (other == com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata other) {
+      if (other
+          == com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata.getDefaultInstance())
+        return this;
       if (other.migrationState_ != 0) {
         setMigrationStateValue(other.getMigrationStateValue());
       }
@@ -438,22 +496,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              migrationState_ = input.readEnum();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 16: {
-              migrationStep_ = input.readEnum();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                migrationState_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 16:
+              {
+                migrationStep_ = input.readEnum();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -463,28 +524,36 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private int migrationState_ = 0;
     /**
+     *
+     *
      * 
      * The current state of migration from Cloud Datastore to Cloud Firestore in
      * Datastore mode.
      * 
* * .google.datastore.admin.v1.MigrationState migration_state = 1; + * * @return The enum numeric value on the wire for migrationState. */ - @java.lang.Override public int getMigrationStateValue() { + @java.lang.Override + public int getMigrationStateValue() { return migrationState_; } /** + * + * *
      * The current state of migration from Cloud Datastore to Cloud Firestore in
      * Datastore mode.
      * 
* * .google.datastore.admin.v1.MigrationState migration_state = 1; + * * @param value The enum numeric value on the wire for migrationState to set. * @return This builder for chaining. */ @@ -495,26 +564,33 @@ public Builder setMigrationStateValue(int value) { return this; } /** + * + * *
      * The current state of migration from Cloud Datastore to Cloud Firestore in
      * Datastore mode.
      * 
* * .google.datastore.admin.v1.MigrationState migration_state = 1; + * * @return The migrationState. */ @java.lang.Override public com.google.datastore.admin.v1.MigrationState getMigrationState() { - com.google.datastore.admin.v1.MigrationState result = com.google.datastore.admin.v1.MigrationState.forNumber(migrationState_); + com.google.datastore.admin.v1.MigrationState result = + com.google.datastore.admin.v1.MigrationState.forNumber(migrationState_); return result == null ? com.google.datastore.admin.v1.MigrationState.UNRECOGNIZED : result; } /** + * + * *
      * The current state of migration from Cloud Datastore to Cloud Firestore in
      * Datastore mode.
      * 
* * .google.datastore.admin.v1.MigrationState migration_state = 1; + * * @param value The migrationState to set. * @return This builder for chaining. */ @@ -528,12 +604,15 @@ public Builder setMigrationState(com.google.datastore.admin.v1.MigrationState va return this; } /** + * + * *
      * The current state of migration from Cloud Datastore to Cloud Firestore in
      * Datastore mode.
      * 
* * .google.datastore.admin.v1.MigrationState migration_state = 1; + * * @return This builder for chaining. */ public Builder clearMigrationState() { @@ -545,24 +624,31 @@ public Builder clearMigrationState() { private int migrationStep_ = 0; /** + * + * *
      * The current step of migration from Cloud Datastore to Cloud Firestore in
      * Datastore mode.
      * 
* * .google.datastore.admin.v1.MigrationStep migration_step = 2; + * * @return The enum numeric value on the wire for migrationStep. */ - @java.lang.Override public int getMigrationStepValue() { + @java.lang.Override + public int getMigrationStepValue() { return migrationStep_; } /** + * + * *
      * The current step of migration from Cloud Datastore to Cloud Firestore in
      * Datastore mode.
      * 
* * .google.datastore.admin.v1.MigrationStep migration_step = 2; + * * @param value The enum numeric value on the wire for migrationStep to set. * @return This builder for chaining. */ @@ -573,26 +659,33 @@ public Builder setMigrationStepValue(int value) { return this; } /** + * + * *
      * The current step of migration from Cloud Datastore to Cloud Firestore in
      * Datastore mode.
      * 
* * .google.datastore.admin.v1.MigrationStep migration_step = 2; + * * @return The migrationStep. */ @java.lang.Override public com.google.datastore.admin.v1.MigrationStep getMigrationStep() { - com.google.datastore.admin.v1.MigrationStep result = com.google.datastore.admin.v1.MigrationStep.forNumber(migrationStep_); + com.google.datastore.admin.v1.MigrationStep result = + com.google.datastore.admin.v1.MigrationStep.forNumber(migrationStep_); return result == null ? com.google.datastore.admin.v1.MigrationStep.UNRECOGNIZED : result; } /** + * + * *
      * The current step of migration from Cloud Datastore to Cloud Firestore in
      * Datastore mode.
      * 
* * .google.datastore.admin.v1.MigrationStep migration_step = 2; + * * @param value The migrationStep to set. * @return This builder for chaining. */ @@ -606,12 +699,15 @@ public Builder setMigrationStep(com.google.datastore.admin.v1.MigrationStep valu return this; } /** + * + * *
      * The current step of migration from Cloud Datastore to Cloud Firestore in
      * Datastore mode.
      * 
* * .google.datastore.admin.v1.MigrationStep migration_step = 2; + * * @return This builder for chaining. */ public Builder clearMigrationStep() { @@ -620,9 +716,9 @@ public Builder clearMigrationStep() { 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); } @@ -632,41 +728,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata) - private static final com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata DEFAULT_INSTANCE; + private static final com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata(); } - public static com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata getDefaultInstance() { + public static com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public DatastoreFirestoreMigrationMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public DatastoreFirestoreMigrationMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -678,9 +776,8 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata getDefaultInstanceForType() { + public com.google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreFirestoreMigrationMetadataOrBuilder.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreFirestoreMigrationMetadataOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreFirestoreMigrationMetadataOrBuilder.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreFirestoreMigrationMetadataOrBuilder.java index 19053b4ab..3bf3c03f8 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreFirestoreMigrationMetadataOrBuilder.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DatastoreFirestoreMigrationMetadataOrBuilder.java @@ -1,51 +1,79 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface DatastoreFirestoreMigrationMetadataOrBuilder extends +public interface DatastoreFirestoreMigrationMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The current state of migration from Cloud Datastore to Cloud Firestore in
    * Datastore mode.
    * 
* * .google.datastore.admin.v1.MigrationState migration_state = 1; + * * @return The enum numeric value on the wire for migrationState. */ int getMigrationStateValue(); /** + * + * *
    * The current state of migration from Cloud Datastore to Cloud Firestore in
    * Datastore mode.
    * 
* * .google.datastore.admin.v1.MigrationState migration_state = 1; + * * @return The migrationState. */ com.google.datastore.admin.v1.MigrationState getMigrationState(); /** + * + * *
    * The current step of migration from Cloud Datastore to Cloud Firestore in
    * Datastore mode.
    * 
* * .google.datastore.admin.v1.MigrationStep migration_step = 2; + * * @return The enum numeric value on the wire for migrationStep. */ int getMigrationStepValue(); /** + * + * *
    * The current step of migration from Cloud Datastore to Cloud Firestore in
    * Datastore mode.
    * 
* * .google.datastore.admin.v1.MigrationStep migration_step = 2; + * * @return The migrationStep. */ com.google.datastore.admin.v1.MigrationStep getMigrationStep(); diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DeleteIndexRequest.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DeleteIndexRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DeleteIndexRequest.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DeleteIndexRequest.java index 19d52cc12..0b82ce7cc 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DeleteIndexRequest.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DeleteIndexRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto @@ -5,6 +20,8 @@ package com.google.datastore.admin.v1; /** + * + * *
  * The request for
  * [google.datastore.admin.v1.DatastoreAdmin.DeleteIndex][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex].
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.datastore.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.datastore.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() {
     projectId_ = "";
     indexId_ = "";
@@ -28,33 +46,38 @@ private DeleteIndexRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new DeleteIndexRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_DeleteIndexRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.datastore.admin.v1.DatastoreAdminProto
+        .internal_static_google_datastore_admin_v1_DeleteIndexRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_DeleteIndexRequest_fieldAccessorTable
+    return com.google.datastore.admin.v1.DatastoreAdminProto
+        .internal_static_google_datastore_admin_v1_DeleteIndexRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.admin.v1.DeleteIndexRequest.class, com.google.datastore.admin.v1.DeleteIndexRequest.Builder.class);
+            com.google.datastore.admin.v1.DeleteIndexRequest.class,
+            com.google.datastore.admin.v1.DeleteIndexRequest.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object projectId_ = "";
   /**
+   *
+   *
    * 
    * Project ID against which to make the request.
    * 
* * string project_id = 1; + * * @return The projectId. */ @java.lang.Override @@ -63,29 +86,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Project ID against which to make the request.
    * 
* * string project_id = 1; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -94,14 +117,18 @@ public java.lang.String getProjectId() { } public static final int INDEX_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object indexId_ = ""; /** + * + * *
    * The resource ID of the index to delete.
    * 
* * string index_id = 3; + * * @return The indexId. */ @java.lang.Override @@ -110,29 +137,29 @@ public java.lang.String getIndexId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); indexId_ = s; return s; } } /** + * + * *
    * The resource ID of the index to delete.
    * 
* * string index_id = 3; + * * @return The bytes for indexId. */ @java.lang.Override - public com.google.protobuf.ByteString - getIndexIdBytes() { + public com.google.protobuf.ByteString getIndexIdBytes() { java.lang.Object ref = indexId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); indexId_ = b; return b; } else { @@ -141,6 +168,7 @@ public java.lang.String getIndexId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -152,8 +180,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -183,17 +210,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.datastore.admin.v1.DeleteIndexRequest)) { return super.equals(obj); } - com.google.datastore.admin.v1.DeleteIndexRequest other = (com.google.datastore.admin.v1.DeleteIndexRequest) obj; + com.google.datastore.admin.v1.DeleteIndexRequest other = + (com.google.datastore.admin.v1.DeleteIndexRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getIndexId() - .equals(other.getIndexId())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getIndexId().equals(other.getIndexId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -214,99 +240,104 @@ public int hashCode() { return hash; } - public static com.google.datastore.admin.v1.DeleteIndexRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.datastore.admin.v1.DeleteIndexRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.admin.v1.DeleteIndexRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.admin.v1.DeleteIndexRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.admin.v1.DeleteIndexRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.datastore.admin.v1.DeleteIndexRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.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.datastore.admin.v1.DeleteIndexRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.DeleteIndexRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.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.datastore.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.datastore.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.datastore.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
    * [google.datastore.admin.v1.DatastoreAdmin.DeleteIndex][google.datastore.admin.v1.DatastoreAdmin.DeleteIndex].
@@ -314,33 +345,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.datastore.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.datastore.admin.v1.DeleteIndexRequest)
       com.google.datastore.admin.v1.DeleteIndexRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_DeleteIndexRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto
+          .internal_static_google_datastore_admin_v1_DeleteIndexRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_DeleteIndexRequest_fieldAccessorTable
+      return com.google.datastore.admin.v1.DatastoreAdminProto
+          .internal_static_google_datastore_admin_v1_DeleteIndexRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.admin.v1.DeleteIndexRequest.class, com.google.datastore.admin.v1.DeleteIndexRequest.Builder.class);
+              com.google.datastore.admin.v1.DeleteIndexRequest.class,
+              com.google.datastore.admin.v1.DeleteIndexRequest.Builder.class);
     }
 
     // Construct using com.google.datastore.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();
@@ -351,9 +381,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_DeleteIndexRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto
+          .internal_static_google_datastore_admin_v1_DeleteIndexRequest_descriptor;
     }
 
     @java.lang.Override
@@ -372,8 +402,11 @@ public com.google.datastore.admin.v1.DeleteIndexRequest build() {
 
     @java.lang.Override
     public com.google.datastore.admin.v1.DeleteIndexRequest buildPartial() {
-      com.google.datastore.admin.v1.DeleteIndexRequest result = new com.google.datastore.admin.v1.DeleteIndexRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.datastore.admin.v1.DeleteIndexRequest result =
+          new com.google.datastore.admin.v1.DeleteIndexRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -392,38 +425,39 @@ private void buildPartial0(com.google.datastore.admin.v1.DeleteIndexRequest resu
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.admin.v1.DeleteIndexRequest) {
-        return mergeFrom((com.google.datastore.admin.v1.DeleteIndexRequest)other);
+        return mergeFrom((com.google.datastore.admin.v1.DeleteIndexRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -431,7 +465,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.datastore.admin.v1.DeleteIndexRequest other) {
-      if (other == com.google.datastore.admin.v1.DeleteIndexRequest.getDefaultInstance()) return this;
+      if (other == com.google.datastore.admin.v1.DeleteIndexRequest.getDefaultInstance())
+        return this;
       if (!other.getProjectId().isEmpty()) {
         projectId_ = other.projectId_;
         bitField0_ |= 0x00000001;
@@ -468,22 +503,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              projectId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 26: {
-              indexId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                projectId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 26:
+              {
+                indexId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                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) {
@@ -493,22 +531,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object projectId_ = "";
     /**
+     *
+     *
      * 
      * Project ID against which to make the request.
      * 
* * string project_id = 1; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -517,20 +558,21 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -538,28 +580,35 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; + * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -569,17 +618,21 @@ public Builder clearProjectId() { return this; } /** + * + * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -589,18 +642,20 @@ public Builder setProjectIdBytes( private java.lang.Object indexId_ = ""; /** + * + * *
      * The resource ID of the index to delete.
      * 
* * string index_id = 3; + * * @return The indexId. */ public java.lang.String getIndexId() { java.lang.Object ref = indexId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); indexId_ = s; return s; @@ -609,20 +664,21 @@ public java.lang.String getIndexId() { } } /** + * + * *
      * The resource ID of the index to delete.
      * 
* * string index_id = 3; + * * @return The bytes for indexId. */ - public com.google.protobuf.ByteString - getIndexIdBytes() { + public com.google.protobuf.ByteString getIndexIdBytes() { java.lang.Object ref = indexId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); indexId_ = b; return b; } else { @@ -630,28 +686,35 @@ public java.lang.String getIndexId() { } } /** + * + * *
      * The resource ID of the index to delete.
      * 
* * string index_id = 3; + * * @param value The indexId to set. * @return This builder for chaining. */ - public Builder setIndexId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIndexId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } indexId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The resource ID of the index to delete.
      * 
* * string index_id = 3; + * * @return This builder for chaining. */ public Builder clearIndexId() { @@ -661,26 +724,30 @@ public Builder clearIndexId() { return this; } /** + * + * *
      * The resource ID of the index to delete.
      * 
* * string index_id = 3; + * * @param value The bytes for indexId to set. * @return This builder for chaining. */ - public Builder setIndexIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIndexIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); indexId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -690,12 +757,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.DeleteIndexRequest) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.DeleteIndexRequest) private static final com.google.datastore.admin.v1.DeleteIndexRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.DeleteIndexRequest(); } @@ -704,27 +771,27 @@ public static com.google.datastore.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; @@ -739,6 +806,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.DeleteIndexRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DeleteIndexRequestOrBuilder.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DeleteIndexRequestOrBuilder.java similarity index 56% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DeleteIndexRequestOrBuilder.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DeleteIndexRequestOrBuilder.java index 8c60a0884..9ac5d5411 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DeleteIndexRequestOrBuilder.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/DeleteIndexRequestOrBuilder.java @@ -1,50 +1,76 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface DeleteIndexRequestOrBuilder extends +public interface DeleteIndexRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.DeleteIndexRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Project ID against which to make the request.
    * 
* * string project_id = 1; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
    * Project ID against which to make the request.
    * 
* * string project_id = 1; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * The resource ID of the index to delete.
    * 
* * string index_id = 3; + * * @return The indexId. */ java.lang.String getIndexId(); /** + * + * *
    * The resource ID of the index to delete.
    * 
* * string index_id = 3; + * * @return The bytes for indexId. */ - com.google.protobuf.ByteString - getIndexIdBytes(); + com.google.protobuf.ByteString getIndexIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/EntityFilter.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/EntityFilter.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/EntityFilter.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/EntityFilter.java index 82c0389a9..a4c6617c3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/EntityFilter.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/EntityFilter.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto @@ -5,6 +20,8 @@ package com.google.datastore.admin.v1; /** + * + * *
  * Identifies a subset of entities in a project. This is specified as
  * combinations of kinds and namespaces (either or both of which may be all, as
@@ -29,75 +46,84 @@
  *
  * Protobuf type {@code google.datastore.admin.v1.EntityFilter}
  */
-public final class EntityFilter extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class EntityFilter extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.datastore.admin.v1.EntityFilter)
     EntityFilterOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use EntityFilter.newBuilder() to construct.
   private EntityFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private EntityFilter() {
-    kinds_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
-    namespaceIds_ =
-        com.google.protobuf.LazyStringArrayList.emptyList();
+    kinds_ = com.google.protobuf.LazyStringArrayList.emptyList();
+    namespaceIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new EntityFilter();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_EntityFilter_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.datastore.admin.v1.DatastoreAdminProto
+        .internal_static_google_datastore_admin_v1_EntityFilter_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_EntityFilter_fieldAccessorTable
+    return com.google.datastore.admin.v1.DatastoreAdminProto
+        .internal_static_google_datastore_admin_v1_EntityFilter_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.admin.v1.EntityFilter.class, com.google.datastore.admin.v1.EntityFilter.Builder.class);
+            com.google.datastore.admin.v1.EntityFilter.class,
+            com.google.datastore.admin.v1.EntityFilter.Builder.class);
   }
 
   public static final int KINDS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private com.google.protobuf.LazyStringArrayList kinds_ =
       com.google.protobuf.LazyStringArrayList.emptyList();
   /**
+   *
+   *
    * 
    * If empty, then this represents all kinds.
    * 
* * repeated string kinds = 1; + * * @return A list containing the kinds. */ - public com.google.protobuf.ProtocolStringList - getKindsList() { + public com.google.protobuf.ProtocolStringList getKindsList() { return kinds_; } /** + * + * *
    * If empty, then this represents all kinds.
    * 
* * repeated string kinds = 1; + * * @return The count of kinds. */ public int getKindsCount() { return kinds_.size(); } /** + * + * *
    * If empty, then this represents all kinds.
    * 
* * repeated string kinds = 1; + * * @param index The index of the element to return. * @return The kinds at the given index. */ @@ -105,24 +131,29 @@ public java.lang.String getKinds(int index) { return kinds_.get(index); } /** + * + * *
    * If empty, then this represents all kinds.
    * 
* * repeated string kinds = 1; + * * @param index The index of the value to return. * @return The bytes of the kinds at the given index. */ - public com.google.protobuf.ByteString - getKindsBytes(int index) { + public com.google.protobuf.ByteString getKindsBytes(int index) { return kinds_.getByteString(index); } public static final int NAMESPACE_IDS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList namespaceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * *
    * An empty list represents all namespaces. This is the preferred
    * usage for projects that don't use namespaces.
@@ -134,13 +165,15 @@ public java.lang.String getKinds(int index) {
    * 
* * repeated string namespace_ids = 2; + * * @return A list containing the namespaceIds. */ - public com.google.protobuf.ProtocolStringList - getNamespaceIdsList() { + public com.google.protobuf.ProtocolStringList getNamespaceIdsList() { return namespaceIds_; } /** + * + * *
    * An empty list represents all namespaces. This is the preferred
    * usage for projects that don't use namespaces.
@@ -152,12 +185,15 @@ public java.lang.String getKinds(int index) {
    * 
* * repeated string namespace_ids = 2; + * * @return The count of namespaceIds. */ public int getNamespaceIdsCount() { return namespaceIds_.size(); } /** + * + * *
    * An empty list represents all namespaces. This is the preferred
    * usage for projects that don't use namespaces.
@@ -169,6 +205,7 @@ public int getNamespaceIdsCount() {
    * 
* * repeated string namespace_ids = 2; + * * @param index The index of the element to return. * @return The namespaceIds at the given index. */ @@ -176,6 +213,8 @@ public java.lang.String getNamespaceIds(int index) { return namespaceIds_.get(index); } /** + * + * *
    * An empty list represents all namespaces. This is the preferred
    * usage for projects that don't use namespaces.
@@ -187,15 +226,16 @@ public java.lang.String getNamespaceIds(int index) {
    * 
* * repeated string namespace_ids = 2; + * * @param index The index of the value to return. * @return The bytes of the namespaceIds at the given index. */ - public com.google.protobuf.ByteString - getNamespaceIdsBytes(int index) { + public com.google.protobuf.ByteString getNamespaceIdsBytes(int index) { return namespaceIds_.getByteString(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -207,8 +247,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 < kinds_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kinds_.getRaw(i)); } @@ -248,17 +287,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.datastore.admin.v1.EntityFilter)) { return super.equals(obj); } - com.google.datastore.admin.v1.EntityFilter other = (com.google.datastore.admin.v1.EntityFilter) obj; + com.google.datastore.admin.v1.EntityFilter other = + (com.google.datastore.admin.v1.EntityFilter) obj; - if (!getKindsList() - .equals(other.getKindsList())) return false; - if (!getNamespaceIdsList() - .equals(other.getNamespaceIdsList())) return false; + if (!getKindsList().equals(other.getKindsList())) return false; + if (!getNamespaceIdsList().equals(other.getNamespaceIdsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -283,99 +321,104 @@ public int hashCode() { return hash; } - public static com.google.datastore.admin.v1.EntityFilter parseFrom( - java.nio.ByteBuffer data) + public static com.google.datastore.admin.v1.EntityFilter parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.admin.v1.EntityFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.admin.v1.EntityFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.admin.v1.EntityFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.admin.v1.EntityFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.admin.v1.EntityFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.admin.v1.EntityFilter parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.admin.v1.EntityFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.EntityFilter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.EntityFilter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.admin.v1.EntityFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.datastore.admin.v1.EntityFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.admin.v1.EntityFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.datastore.admin.v1.EntityFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Identifies a subset of entities in a project. This is specified as
    * combinations of kinds and namespaces (either or both of which may be all, as
@@ -400,48 +443,45 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.datastore.admin.v1.EntityFilter}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.datastore.admin.v1.EntityFilter)
       com.google.datastore.admin.v1.EntityFilterOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_EntityFilter_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto
+          .internal_static_google_datastore_admin_v1_EntityFilter_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_EntityFilter_fieldAccessorTable
+      return com.google.datastore.admin.v1.DatastoreAdminProto
+          .internal_static_google_datastore_admin_v1_EntityFilter_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.admin.v1.EntityFilter.class, com.google.datastore.admin.v1.EntityFilter.Builder.class);
+              com.google.datastore.admin.v1.EntityFilter.class,
+              com.google.datastore.admin.v1.EntityFilter.Builder.class);
     }
 
     // Construct using com.google.datastore.admin.v1.EntityFilter.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
       bitField0_ = 0;
-      kinds_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
-      namespaceIds_ =
-          com.google.protobuf.LazyStringArrayList.emptyList();
+      kinds_ = com.google.protobuf.LazyStringArrayList.emptyList();
+      namespaceIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
       return this;
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_EntityFilter_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto
+          .internal_static_google_datastore_admin_v1_EntityFilter_descriptor;
     }
 
     @java.lang.Override
@@ -460,8 +500,11 @@ public com.google.datastore.admin.v1.EntityFilter build() {
 
     @java.lang.Override
     public com.google.datastore.admin.v1.EntityFilter buildPartial() {
-      com.google.datastore.admin.v1.EntityFilter result = new com.google.datastore.admin.v1.EntityFilter(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.datastore.admin.v1.EntityFilter result =
+          new com.google.datastore.admin.v1.EntityFilter(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -482,38 +525,39 @@ private void buildPartial0(com.google.datastore.admin.v1.EntityFilter result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.admin.v1.EntityFilter) {
-        return mergeFrom((com.google.datastore.admin.v1.EntityFilter)other);
+        return mergeFrom((com.google.datastore.admin.v1.EntityFilter) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -568,24 +612,27 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureKindsIsMutable();
-              kinds_.add(s);
-              break;
-            } // case 10
-            case 18: {
-              java.lang.String s = input.readStringRequireUtf8();
-              ensureNamespaceIdsIsMutable();
-              namespaceIds_.add(s);
-              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();
+                ensureKindsIsMutable();
+                kinds_.add(s);
+                break;
+              } // case 10
+            case 18:
+              {
+                java.lang.String s = input.readStringRequireUtf8();
+                ensureNamespaceIdsIsMutable();
+                namespaceIds_.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) {
@@ -595,10 +642,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.protobuf.LazyStringArrayList kinds_ =
         com.google.protobuf.LazyStringArrayList.emptyList();
+
     private void ensureKindsIsMutable() {
       if (!kinds_.isModifiable()) {
         kinds_ = new com.google.protobuf.LazyStringArrayList(kinds_);
@@ -606,35 +655,43 @@ private void ensureKindsIsMutable() {
       bitField0_ |= 0x00000001;
     }
     /**
+     *
+     *
      * 
      * If empty, then this represents all kinds.
      * 
* * repeated string kinds = 1; + * * @return A list containing the kinds. */ - public com.google.protobuf.ProtocolStringList - getKindsList() { + public com.google.protobuf.ProtocolStringList getKindsList() { kinds_.makeImmutable(); return kinds_; } /** + * + * *
      * If empty, then this represents all kinds.
      * 
* * repeated string kinds = 1; + * * @return The count of kinds. */ public int getKindsCount() { return kinds_.size(); } /** + * + * *
      * If empty, then this represents all kinds.
      * 
* * repeated string kinds = 1; + * * @param index The index of the element to return. * @return The kinds at the given index. */ @@ -642,31 +699,37 @@ public java.lang.String getKinds(int index) { return kinds_.get(index); } /** + * + * *
      * If empty, then this represents all kinds.
      * 
* * repeated string kinds = 1; + * * @param index The index of the value to return. * @return The bytes of the kinds at the given index. */ - public com.google.protobuf.ByteString - getKindsBytes(int index) { + public com.google.protobuf.ByteString getKindsBytes(int index) { return kinds_.getByteString(index); } /** + * + * *
      * If empty, then this represents all kinds.
      * 
* * repeated string kinds = 1; + * * @param index The index to set the value at. * @param value The kinds to set. * @return This builder for chaining. */ - public Builder setKinds( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKinds(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureKindsIsMutable(); kinds_.set(index, value); bitField0_ |= 0x00000001; @@ -674,17 +737,21 @@ public Builder setKinds( return this; } /** + * + * *
      * If empty, then this represents all kinds.
      * 
* * repeated string kinds = 1; + * * @param value The kinds to add. * @return This builder for chaining. */ - public Builder addKinds( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addKinds(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureKindsIsMutable(); kinds_.add(value); bitField0_ |= 0x00000001; @@ -692,50 +759,58 @@ public Builder addKinds( return this; } /** + * + * *
      * If empty, then this represents all kinds.
      * 
* * repeated string kinds = 1; + * * @param values The kinds to add. * @return This builder for chaining. */ - public Builder addAllKinds( - java.lang.Iterable values) { + public Builder addAllKinds(java.lang.Iterable values) { ensureKindsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, kinds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, kinds_); bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * If empty, then this represents all kinds.
      * 
* * repeated string kinds = 1; + * * @return This builder for chaining. */ public Builder clearKinds() { - kinds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001);; + kinds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + ; onChanged(); return this; } /** + * + * *
      * If empty, then this represents all kinds.
      * 
* * repeated string kinds = 1; + * * @param value The bytes of the kinds to add. * @return This builder for chaining. */ - public Builder addKindsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addKindsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureKindsIsMutable(); kinds_.add(value); @@ -746,6 +821,7 @@ public Builder addKindsBytes( private com.google.protobuf.LazyStringArrayList namespaceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureNamespaceIdsIsMutable() { if (!namespaceIds_.isModifiable()) { namespaceIds_ = new com.google.protobuf.LazyStringArrayList(namespaceIds_); @@ -753,6 +829,8 @@ private void ensureNamespaceIdsIsMutable() { bitField0_ |= 0x00000002; } /** + * + * *
      * An empty list represents all namespaces. This is the preferred
      * usage for projects that don't use namespaces.
@@ -764,14 +842,16 @@ private void ensureNamespaceIdsIsMutable() {
      * 
* * repeated string namespace_ids = 2; + * * @return A list containing the namespaceIds. */ - public com.google.protobuf.ProtocolStringList - getNamespaceIdsList() { + public com.google.protobuf.ProtocolStringList getNamespaceIdsList() { namespaceIds_.makeImmutable(); return namespaceIds_; } /** + * + * *
      * An empty list represents all namespaces. This is the preferred
      * usage for projects that don't use namespaces.
@@ -783,12 +863,15 @@ private void ensureNamespaceIdsIsMutable() {
      * 
* * repeated string namespace_ids = 2; + * * @return The count of namespaceIds. */ public int getNamespaceIdsCount() { return namespaceIds_.size(); } /** + * + * *
      * An empty list represents all namespaces. This is the preferred
      * usage for projects that don't use namespaces.
@@ -800,6 +883,7 @@ public int getNamespaceIdsCount() {
      * 
* * repeated string namespace_ids = 2; + * * @param index The index of the element to return. * @return The namespaceIds at the given index. */ @@ -807,6 +891,8 @@ public java.lang.String getNamespaceIds(int index) { return namespaceIds_.get(index); } /** + * + * *
      * An empty list represents all namespaces. This is the preferred
      * usage for projects that don't use namespaces.
@@ -818,14 +904,16 @@ public java.lang.String getNamespaceIds(int index) {
      * 
* * repeated string namespace_ids = 2; + * * @param index The index of the value to return. * @return The bytes of the namespaceIds at the given index. */ - public com.google.protobuf.ByteString - getNamespaceIdsBytes(int index) { + public com.google.protobuf.ByteString getNamespaceIdsBytes(int index) { return namespaceIds_.getByteString(index); } /** + * + * *
      * An empty list represents all namespaces. This is the preferred
      * usage for projects that don't use namespaces.
@@ -837,13 +925,15 @@ public java.lang.String getNamespaceIds(int index) {
      * 
* * repeated string namespace_ids = 2; + * * @param index The index to set the value at. * @param value The namespaceIds to set. * @return This builder for chaining. */ - public Builder setNamespaceIds( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNamespaceIds(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureNamespaceIdsIsMutable(); namespaceIds_.set(index, value); bitField0_ |= 0x00000002; @@ -851,6 +941,8 @@ public Builder setNamespaceIds( return this; } /** + * + * *
      * An empty list represents all namespaces. This is the preferred
      * usage for projects that don't use namespaces.
@@ -862,12 +954,14 @@ public Builder setNamespaceIds(
      * 
* * repeated string namespace_ids = 2; + * * @param value The namespaceIds to add. * @return This builder for chaining. */ - public Builder addNamespaceIds( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addNamespaceIds(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureNamespaceIdsIsMutable(); namespaceIds_.add(value); bitField0_ |= 0x00000002; @@ -875,6 +969,8 @@ public Builder addNamespaceIds( return this; } /** + * + * *
      * An empty list represents all namespaces. This is the preferred
      * usage for projects that don't use namespaces.
@@ -886,19 +982,20 @@ public Builder addNamespaceIds(
      * 
* * repeated string namespace_ids = 2; + * * @param values The namespaceIds to add. * @return This builder for chaining. */ - public Builder addAllNamespaceIds( - java.lang.Iterable values) { + public Builder addAllNamespaceIds(java.lang.Iterable values) { ensureNamespaceIdsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, namespaceIds_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, namespaceIds_); bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * An empty list represents all namespaces. This is the preferred
      * usage for projects that don't use namespaces.
@@ -910,16 +1007,19 @@ public Builder addAllNamespaceIds(
      * 
* * repeated string namespace_ids = 2; + * * @return This builder for chaining. */ public Builder clearNamespaceIds() { - namespaceIds_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00000002);; + namespaceIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00000002); + ; onChanged(); return this; } /** + * + * *
      * An empty list represents all namespaces. This is the preferred
      * usage for projects that don't use namespaces.
@@ -931,12 +1031,14 @@ public Builder clearNamespaceIds() {
      * 
* * repeated string namespace_ids = 2; + * * @param value The bytes of the namespaceIds to add. * @return This builder for chaining. */ - public Builder addNamespaceIdsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addNamespaceIdsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureNamespaceIdsIsMutable(); namespaceIds_.add(value); @@ -944,9 +1046,9 @@ public Builder addNamespaceIdsBytes( 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); } @@ -956,12 +1058,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.EntityFilter) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.EntityFilter) private static final com.google.datastore.admin.v1.EntityFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.EntityFilter(); } @@ -970,27 +1072,27 @@ public static com.google.datastore.admin.v1.EntityFilter getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EntityFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EntityFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1005,6 +1107,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.EntityFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/EntityFilterOrBuilder.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/EntityFilterOrBuilder.java similarity index 77% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/EntityFilterOrBuilder.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/EntityFilterOrBuilder.java index 24beed369..59fff0657 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/EntityFilterOrBuilder.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/EntityFilterOrBuilder.java @@ -1,55 +1,83 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface EntityFilterOrBuilder extends +public interface EntityFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.EntityFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * If empty, then this represents all kinds.
    * 
* * repeated string kinds = 1; + * * @return A list containing the kinds. */ - java.util.List - getKindsList(); + java.util.List getKindsList(); /** + * + * *
    * If empty, then this represents all kinds.
    * 
* * repeated string kinds = 1; + * * @return The count of kinds. */ int getKindsCount(); /** + * + * *
    * If empty, then this represents all kinds.
    * 
* * repeated string kinds = 1; + * * @param index The index of the element to return. * @return The kinds at the given index. */ java.lang.String getKinds(int index); /** + * + * *
    * If empty, then this represents all kinds.
    * 
* * repeated string kinds = 1; + * * @param index The index of the value to return. * @return The bytes of the kinds at the given index. */ - com.google.protobuf.ByteString - getKindsBytes(int index); + com.google.protobuf.ByteString getKindsBytes(int index); /** + * + * *
    * An empty list represents all namespaces. This is the preferred
    * usage for projects that don't use namespaces.
@@ -61,11 +89,13 @@ public interface EntityFilterOrBuilder extends
    * 
* * repeated string namespace_ids = 2; + * * @return A list containing the namespaceIds. */ - java.util.List - getNamespaceIdsList(); + java.util.List getNamespaceIdsList(); /** + * + * *
    * An empty list represents all namespaces. This is the preferred
    * usage for projects that don't use namespaces.
@@ -77,10 +107,13 @@ public interface EntityFilterOrBuilder extends
    * 
* * repeated string namespace_ids = 2; + * * @return The count of namespaceIds. */ int getNamespaceIdsCount(); /** + * + * *
    * An empty list represents all namespaces. This is the preferred
    * usage for projects that don't use namespaces.
@@ -92,11 +125,14 @@ public interface EntityFilterOrBuilder extends
    * 
* * repeated string namespace_ids = 2; + * * @param index The index of the element to return. * @return The namespaceIds at the given index. */ java.lang.String getNamespaceIds(int index); /** + * + * *
    * An empty list represents all namespaces. This is the preferred
    * usage for projects that don't use namespaces.
@@ -108,9 +144,9 @@ public interface EntityFilterOrBuilder extends
    * 
* * repeated string namespace_ids = 2; + * * @param index The index of the value to return. * @return The bytes of the namespaceIds at the given index. */ - com.google.protobuf.ByteString - getNamespaceIdsBytes(int index); + com.google.protobuf.ByteString getNamespaceIdsBytes(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesMetadata.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesMetadata.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesMetadata.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesMetadata.java index e1150e423..360a2c5c6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesMetadata.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesMetadata.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto @@ -5,54 +20,61 @@ package com.google.datastore.admin.v1; /** + * + * *
  * Metadata for ExportEntities operations.
  * 
* * Protobuf type {@code google.datastore.admin.v1.ExportEntitiesMetadata} */ -public final class ExportEntitiesMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExportEntitiesMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.datastore.admin.v1.ExportEntitiesMetadata) ExportEntitiesMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExportEntitiesMetadata.newBuilder() to construct. private ExportEntitiesMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ExportEntitiesMetadata() { outputUrlPrefix_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExportEntitiesMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.admin.v1.DatastoreAdminProto + .internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_fieldAccessorTable + return com.google.datastore.admin.v1.DatastoreAdminProto + .internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.ExportEntitiesMetadata.class, com.google.datastore.admin.v1.ExportEntitiesMetadata.Builder.class); + com.google.datastore.admin.v1.ExportEntitiesMetadata.class, + com.google.datastore.admin.v1.ExportEntitiesMetadata.Builder.class); } private int bitField0_; public static final int COMMON_FIELD_NUMBER = 1; private com.google.datastore.admin.v1.CommonMetadata common_; /** + * + * *
    * Metadata common to all Datastore Admin operations.
    * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; + * * @return Whether the common field is set. */ @java.lang.Override @@ -60,18 +82,25 @@ public boolean hasCommon() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Metadata common to all Datastore Admin operations.
    * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; + * * @return The common. */ @java.lang.Override public com.google.datastore.admin.v1.CommonMetadata getCommon() { - return common_ == null ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() : common_; + return common_ == null + ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() + : common_; } /** + * + * *
    * Metadata common to all Datastore Admin operations.
    * 
@@ -80,17 +109,22 @@ public com.google.datastore.admin.v1.CommonMetadata getCommon() { */ @java.lang.Override public com.google.datastore.admin.v1.CommonMetadataOrBuilder getCommonOrBuilder() { - return common_ == null ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() : common_; + return common_ == null + ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() + : common_; } public static final int PROGRESS_ENTITIES_FIELD_NUMBER = 2; private com.google.datastore.admin.v1.Progress progressEntities_; /** + * + * *
    * An estimate of the number of entities processed.
    * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; + * * @return Whether the progressEntities field is set. */ @java.lang.Override @@ -98,18 +132,25 @@ public boolean hasProgressEntities() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * An estimate of the number of entities processed.
    * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; + * * @return The progressEntities. */ @java.lang.Override public com.google.datastore.admin.v1.Progress getProgressEntities() { - return progressEntities_ == null ? com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressEntities_; + return progressEntities_ == null + ? com.google.datastore.admin.v1.Progress.getDefaultInstance() + : progressEntities_; } /** + * + * *
    * An estimate of the number of entities processed.
    * 
@@ -118,17 +159,22 @@ public com.google.datastore.admin.v1.Progress getProgressEntities() { */ @java.lang.Override public com.google.datastore.admin.v1.ProgressOrBuilder getProgressEntitiesOrBuilder() { - return progressEntities_ == null ? com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressEntities_; + return progressEntities_ == null + ? com.google.datastore.admin.v1.Progress.getDefaultInstance() + : progressEntities_; } public static final int PROGRESS_BYTES_FIELD_NUMBER = 3; private com.google.datastore.admin.v1.Progress progressBytes_; /** + * + * *
    * An estimate of the number of bytes processed.
    * 
* * .google.datastore.admin.v1.Progress progress_bytes = 3; + * * @return Whether the progressBytes field is set. */ @java.lang.Override @@ -136,18 +182,25 @@ public boolean hasProgressBytes() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
    * An estimate of the number of bytes processed.
    * 
* * .google.datastore.admin.v1.Progress progress_bytes = 3; + * * @return The progressBytes. */ @java.lang.Override public com.google.datastore.admin.v1.Progress getProgressBytes() { - return progressBytes_ == null ? com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressBytes_; + return progressBytes_ == null + ? com.google.datastore.admin.v1.Progress.getDefaultInstance() + : progressBytes_; } /** + * + * *
    * An estimate of the number of bytes processed.
    * 
@@ -156,17 +209,22 @@ public com.google.datastore.admin.v1.Progress getProgressBytes() { */ @java.lang.Override public com.google.datastore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder() { - return progressBytes_ == null ? com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressBytes_; + return progressBytes_ == null + ? com.google.datastore.admin.v1.Progress.getDefaultInstance() + : progressBytes_; } public static final int ENTITY_FILTER_FIELD_NUMBER = 4; private com.google.datastore.admin.v1.EntityFilter entityFilter_; /** + * + * *
    * Description of which entities are being exported.
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; + * * @return Whether the entityFilter field is set. */ @java.lang.Override @@ -174,18 +232,25 @@ public boolean hasEntityFilter() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
    * Description of which entities are being exported.
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; + * * @return The entityFilter. */ @java.lang.Override public com.google.datastore.admin.v1.EntityFilter getEntityFilter() { - return entityFilter_ == null ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_; + return entityFilter_ == null + ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() + : entityFilter_; } /** + * + * *
    * Description of which entities are being exported.
    * 
@@ -194,13 +259,18 @@ public com.google.datastore.admin.v1.EntityFilter getEntityFilter() { */ @java.lang.Override public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuilder() { - return entityFilter_ == null ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_; + return entityFilter_ == null + ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() + : entityFilter_; } public static final int OUTPUT_URL_PREFIX_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object outputUrlPrefix_ = ""; /** + * + * *
    * Location for the export metadata and data files. This will be the same
    * value as the
@@ -210,6 +280,7 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil
    * 
* * string output_url_prefix = 5; + * * @return The outputUrlPrefix. */ @java.lang.Override @@ -218,14 +289,15 @@ public java.lang.String getOutputUrlPrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputUrlPrefix_ = s; return s; } } /** + * + * *
    * Location for the export metadata and data files. This will be the same
    * value as the
@@ -235,16 +307,15 @@ public java.lang.String getOutputUrlPrefix() {
    * 
* * string output_url_prefix = 5; + * * @return The bytes for outputUrlPrefix. */ @java.lang.Override - public com.google.protobuf.ByteString - getOutputUrlPrefixBytes() { + public com.google.protobuf.ByteString getOutputUrlPrefixBytes() { java.lang.Object ref = outputUrlPrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); outputUrlPrefix_ = b; return b; } else { @@ -253,6 +324,7 @@ public java.lang.String getOutputUrlPrefix() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -264,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getCommon()); } @@ -291,20 +362,16 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCommon()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCommon()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getProgressEntities()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProgressEntities()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getProgressBytes()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getProgressBytes()); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getEntityFilter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEntityFilter()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputUrlPrefix_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, outputUrlPrefix_); @@ -317,35 +384,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.datastore.admin.v1.ExportEntitiesMetadata)) { return super.equals(obj); } - com.google.datastore.admin.v1.ExportEntitiesMetadata other = (com.google.datastore.admin.v1.ExportEntitiesMetadata) obj; + com.google.datastore.admin.v1.ExportEntitiesMetadata other = + (com.google.datastore.admin.v1.ExportEntitiesMetadata) obj; if (hasCommon() != other.hasCommon()) return false; if (hasCommon()) { - if (!getCommon() - .equals(other.getCommon())) return false; + if (!getCommon().equals(other.getCommon())) return false; } if (hasProgressEntities() != other.hasProgressEntities()) return false; if (hasProgressEntities()) { - if (!getProgressEntities() - .equals(other.getProgressEntities())) return false; + if (!getProgressEntities().equals(other.getProgressEntities())) 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 (hasEntityFilter() != other.hasEntityFilter()) return false; if (hasEntityFilter()) { - if (!getEntityFilter() - .equals(other.getEntityFilter())) return false; + if (!getEntityFilter().equals(other.getEntityFilter())) return false; } - if (!getOutputUrlPrefix() - .equals(other.getOutputUrlPrefix())) return false; + if (!getOutputUrlPrefix().equals(other.getOutputUrlPrefix())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -381,119 +444,126 @@ public int hashCode() { } public static com.google.datastore.admin.v1.ExportEntitiesMetadata 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.datastore.admin.v1.ExportEntitiesMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.admin.v1.ExportEntitiesMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.admin.v1.ExportEntitiesMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.admin.v1.ExportEntitiesMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.admin.v1.ExportEntitiesMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.ExportEntitiesMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.datastore.admin.v1.ExportEntitiesMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.admin.v1.ExportEntitiesMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.ExportEntitiesMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.ExportEntitiesMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.admin.v1.ExportEntitiesMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.datastore.admin.v1.ExportEntitiesMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.admin.v1.ExportEntitiesMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.datastore.admin.v1.ExportEntitiesMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ExportEntities operations.
    * 
* * Protobuf type {@code google.datastore.admin.v1.ExportEntitiesMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.datastore.admin.v1.ExportEntitiesMetadata) com.google.datastore.admin.v1.ExportEntitiesMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.admin.v1.DatastoreAdminProto + .internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_fieldAccessorTable + return com.google.datastore.admin.v1.DatastoreAdminProto + .internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.ExportEntitiesMetadata.class, com.google.datastore.admin.v1.ExportEntitiesMetadata.Builder.class); + com.google.datastore.admin.v1.ExportEntitiesMetadata.class, + com.google.datastore.admin.v1.ExportEntitiesMetadata.Builder.class); } // Construct using com.google.datastore.admin.v1.ExportEntitiesMetadata.newBuilder() @@ -501,20 +571,20 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getCommonFieldBuilder(); getProgressEntitiesFieldBuilder(); getProgressBytesFieldBuilder(); getEntityFilterFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -544,9 +614,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.admin.v1.DatastoreAdminProto + .internal_static_google_datastore_admin_v1_ExportEntitiesMetadata_descriptor; } @java.lang.Override @@ -565,8 +635,11 @@ public com.google.datastore.admin.v1.ExportEntitiesMetadata build() { @java.lang.Override public com.google.datastore.admin.v1.ExportEntitiesMetadata buildPartial() { - com.google.datastore.admin.v1.ExportEntitiesMetadata result = new com.google.datastore.admin.v1.ExportEntitiesMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.datastore.admin.v1.ExportEntitiesMetadata result = + new com.google.datastore.admin.v1.ExportEntitiesMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -575,27 +648,22 @@ private void buildPartial0(com.google.datastore.admin.v1.ExportEntitiesMetadata int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.common_ = commonBuilder_ == null - ? common_ - : commonBuilder_.build(); + result.common_ = commonBuilder_ == null ? common_ : commonBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.progressEntities_ = progressEntitiesBuilder_ == null - ? progressEntities_ - : progressEntitiesBuilder_.build(); + result.progressEntities_ = + progressEntitiesBuilder_ == null ? progressEntities_ : progressEntitiesBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.progressBytes_ = progressBytesBuilder_ == null - ? progressBytes_ - : progressBytesBuilder_.build(); + result.progressBytes_ = + progressBytesBuilder_ == null ? progressBytes_ : progressBytesBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.entityFilter_ = entityFilterBuilder_ == null - ? entityFilter_ - : entityFilterBuilder_.build(); + result.entityFilter_ = + entityFilterBuilder_ == null ? entityFilter_ : entityFilterBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { @@ -608,38 +676,39 @@ private void buildPartial0(com.google.datastore.admin.v1.ExportEntitiesMetadata public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.admin.v1.ExportEntitiesMetadata) { - return mergeFrom((com.google.datastore.admin.v1.ExportEntitiesMetadata)other); + return mergeFrom((com.google.datastore.admin.v1.ExportEntitiesMetadata) other); } else { super.mergeFrom(other); return this; @@ -647,7 +716,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.datastore.admin.v1.ExportEntitiesMetadata other) { - if (other == com.google.datastore.admin.v1.ExportEntitiesMetadata.getDefaultInstance()) return this; + if (other == com.google.datastore.admin.v1.ExportEntitiesMetadata.getDefaultInstance()) + return this; if (other.hasCommon()) { mergeCommon(other.getCommon()); } @@ -691,45 +761,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCommonFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getProgressEntitiesFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getProgressBytesFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getEntityFilterFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - outputUrlPrefix_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCommonFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + getProgressEntitiesFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getProgressBytesFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getEntityFilterFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + outputUrlPrefix_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -739,38 +808,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.datastore.admin.v1.CommonMetadata common_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.CommonMetadata, com.google.datastore.admin.v1.CommonMetadata.Builder, com.google.datastore.admin.v1.CommonMetadataOrBuilder> commonBuilder_; + com.google.datastore.admin.v1.CommonMetadata, + com.google.datastore.admin.v1.CommonMetadata.Builder, + com.google.datastore.admin.v1.CommonMetadataOrBuilder> + commonBuilder_; /** + * + * *
      * Metadata common to all Datastore Admin operations.
      * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; + * * @return Whether the common field is set. */ public boolean hasCommon() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Metadata common to all Datastore Admin operations.
      * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; + * * @return The common. */ public com.google.datastore.admin.v1.CommonMetadata getCommon() { if (commonBuilder_ == null) { - return common_ == null ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() : common_; + return common_ == null + ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() + : common_; } else { return commonBuilder_.getMessage(); } } /** + * + * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -791,14 +874,15 @@ public Builder setCommon(com.google.datastore.admin.v1.CommonMetadata value) { return this; } /** + * + * *
      * Metadata common to all Datastore Admin operations.
      * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; */ - public Builder setCommon( - com.google.datastore.admin.v1.CommonMetadata.Builder builderForValue) { + public Builder setCommon(com.google.datastore.admin.v1.CommonMetadata.Builder builderForValue) { if (commonBuilder_ == null) { common_ = builderForValue.build(); } else { @@ -809,6 +893,8 @@ public Builder setCommon( return this; } /** + * + * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -817,9 +903,9 @@ public Builder setCommon( */ public Builder mergeCommon(com.google.datastore.admin.v1.CommonMetadata value) { if (commonBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - common_ != null && - common_ != com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && common_ != null + && common_ != com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance()) { getCommonBuilder().mergeFrom(value); } else { common_ = value; @@ -834,6 +920,8 @@ public Builder mergeCommon(com.google.datastore.admin.v1.CommonMetadata value) { return this; } /** + * + * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -851,6 +939,8 @@ public Builder clearCommon() { return this; } /** + * + * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -863,6 +953,8 @@ public com.google.datastore.admin.v1.CommonMetadata.Builder getCommonBuilder() { return getCommonFieldBuilder().getBuilder(); } /** + * + * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -873,11 +965,14 @@ public com.google.datastore.admin.v1.CommonMetadataOrBuilder getCommonOrBuilder( if (commonBuilder_ != null) { return commonBuilder_.getMessageOrBuilder(); } else { - return common_ == null ? - com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() : common_; + return common_ == null + ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() + : common_; } } /** + * + * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -885,14 +980,17 @@ public com.google.datastore.admin.v1.CommonMetadataOrBuilder getCommonOrBuilder( * .google.datastore.admin.v1.CommonMetadata common = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.CommonMetadata, com.google.datastore.admin.v1.CommonMetadata.Builder, com.google.datastore.admin.v1.CommonMetadataOrBuilder> + com.google.datastore.admin.v1.CommonMetadata, + com.google.datastore.admin.v1.CommonMetadata.Builder, + com.google.datastore.admin.v1.CommonMetadataOrBuilder> getCommonFieldBuilder() { if (commonBuilder_ == null) { - commonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.CommonMetadata, com.google.datastore.admin.v1.CommonMetadata.Builder, com.google.datastore.admin.v1.CommonMetadataOrBuilder>( - getCommon(), - getParentForChildren(), - isClean()); + commonBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.admin.v1.CommonMetadata, + com.google.datastore.admin.v1.CommonMetadata.Builder, + com.google.datastore.admin.v1.CommonMetadataOrBuilder>( + getCommon(), getParentForChildren(), isClean()); common_ = null; } return commonBuilder_; @@ -900,34 +998,47 @@ public com.google.datastore.admin.v1.CommonMetadataOrBuilder getCommonOrBuilder( private com.google.datastore.admin.v1.Progress progressEntities_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Progress, com.google.datastore.admin.v1.Progress.Builder, com.google.datastore.admin.v1.ProgressOrBuilder> progressEntitiesBuilder_; + com.google.datastore.admin.v1.Progress, + com.google.datastore.admin.v1.Progress.Builder, + com.google.datastore.admin.v1.ProgressOrBuilder> + progressEntitiesBuilder_; /** + * + * *
      * An estimate of the number of entities processed.
      * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; + * * @return Whether the progressEntities field is set. */ public boolean hasProgressEntities() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * An estimate of the number of entities processed.
      * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; + * * @return The progressEntities. */ public com.google.datastore.admin.v1.Progress getProgressEntities() { if (progressEntitiesBuilder_ == null) { - return progressEntities_ == null ? com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressEntities_; + return progressEntities_ == null + ? com.google.datastore.admin.v1.Progress.getDefaultInstance() + : progressEntities_; } else { return progressEntitiesBuilder_.getMessage(); } } /** + * + * *
      * An estimate of the number of entities processed.
      * 
@@ -948,6 +1059,8 @@ public Builder setProgressEntities(com.google.datastore.admin.v1.Progress value) return this; } /** + * + * *
      * An estimate of the number of entities processed.
      * 
@@ -966,6 +1079,8 @@ public Builder setProgressEntities( return this; } /** + * + * *
      * An estimate of the number of entities processed.
      * 
@@ -974,9 +1089,9 @@ public Builder setProgressEntities( */ public Builder mergeProgressEntities(com.google.datastore.admin.v1.Progress value) { if (progressEntitiesBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - progressEntities_ != null && - progressEntities_ != com.google.datastore.admin.v1.Progress.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && progressEntities_ != null + && progressEntities_ != com.google.datastore.admin.v1.Progress.getDefaultInstance()) { getProgressEntitiesBuilder().mergeFrom(value); } else { progressEntities_ = value; @@ -991,6 +1106,8 @@ public Builder mergeProgressEntities(com.google.datastore.admin.v1.Progress valu return this; } /** + * + * *
      * An estimate of the number of entities processed.
      * 
@@ -1008,6 +1125,8 @@ public Builder clearProgressEntities() { return this; } /** + * + * *
      * An estimate of the number of entities processed.
      * 
@@ -1020,6 +1139,8 @@ public com.google.datastore.admin.v1.Progress.Builder getProgressEntitiesBuilder return getProgressEntitiesFieldBuilder().getBuilder(); } /** + * + * *
      * An estimate of the number of entities processed.
      * 
@@ -1030,11 +1151,14 @@ public com.google.datastore.admin.v1.ProgressOrBuilder getProgressEntitiesOrBuil if (progressEntitiesBuilder_ != null) { return progressEntitiesBuilder_.getMessageOrBuilder(); } else { - return progressEntities_ == null ? - com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressEntities_; + return progressEntities_ == null + ? com.google.datastore.admin.v1.Progress.getDefaultInstance() + : progressEntities_; } } /** + * + * *
      * An estimate of the number of entities processed.
      * 
@@ -1042,14 +1166,17 @@ public com.google.datastore.admin.v1.ProgressOrBuilder getProgressEntitiesOrBuil * .google.datastore.admin.v1.Progress progress_entities = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Progress, com.google.datastore.admin.v1.Progress.Builder, com.google.datastore.admin.v1.ProgressOrBuilder> + com.google.datastore.admin.v1.Progress, + com.google.datastore.admin.v1.Progress.Builder, + com.google.datastore.admin.v1.ProgressOrBuilder> getProgressEntitiesFieldBuilder() { if (progressEntitiesBuilder_ == null) { - progressEntitiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Progress, com.google.datastore.admin.v1.Progress.Builder, com.google.datastore.admin.v1.ProgressOrBuilder>( - getProgressEntities(), - getParentForChildren(), - isClean()); + progressEntitiesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.admin.v1.Progress, + com.google.datastore.admin.v1.Progress.Builder, + com.google.datastore.admin.v1.ProgressOrBuilder>( + getProgressEntities(), getParentForChildren(), isClean()); progressEntities_ = null; } return progressEntitiesBuilder_; @@ -1057,34 +1184,47 @@ public com.google.datastore.admin.v1.ProgressOrBuilder getProgressEntitiesOrBuil private com.google.datastore.admin.v1.Progress progressBytes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Progress, com.google.datastore.admin.v1.Progress.Builder, com.google.datastore.admin.v1.ProgressOrBuilder> progressBytesBuilder_; + com.google.datastore.admin.v1.Progress, + com.google.datastore.admin.v1.Progress.Builder, + com.google.datastore.admin.v1.ProgressOrBuilder> + progressBytesBuilder_; /** + * + * *
      * An estimate of the number of bytes processed.
      * 
* * .google.datastore.admin.v1.Progress progress_bytes = 3; + * * @return Whether the progressBytes field is set. */ public boolean hasProgressBytes() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * An estimate of the number of bytes processed.
      * 
* * .google.datastore.admin.v1.Progress progress_bytes = 3; + * * @return The progressBytes. */ public com.google.datastore.admin.v1.Progress getProgressBytes() { if (progressBytesBuilder_ == null) { - return progressBytes_ == null ? com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressBytes_; + return progressBytes_ == null + ? com.google.datastore.admin.v1.Progress.getDefaultInstance() + : progressBytes_; } else { return progressBytesBuilder_.getMessage(); } } /** + * + * *
      * An estimate of the number of bytes processed.
      * 
@@ -1105,6 +1245,8 @@ public Builder setProgressBytes(com.google.datastore.admin.v1.Progress value) { return this; } /** + * + * *
      * An estimate of the number of bytes processed.
      * 
@@ -1123,6 +1265,8 @@ public Builder setProgressBytes( return this; } /** + * + * *
      * An estimate of the number of bytes processed.
      * 
@@ -1131,9 +1275,9 @@ public Builder setProgressBytes( */ public Builder mergeProgressBytes(com.google.datastore.admin.v1.Progress value) { if (progressBytesBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - progressBytes_ != null && - progressBytes_ != com.google.datastore.admin.v1.Progress.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && progressBytes_ != null + && progressBytes_ != com.google.datastore.admin.v1.Progress.getDefaultInstance()) { getProgressBytesBuilder().mergeFrom(value); } else { progressBytes_ = value; @@ -1148,6 +1292,8 @@ public Builder mergeProgressBytes(com.google.datastore.admin.v1.Progress value) return this; } /** + * + * *
      * An estimate of the number of bytes processed.
      * 
@@ -1165,6 +1311,8 @@ public Builder clearProgressBytes() { return this; } /** + * + * *
      * An estimate of the number of bytes processed.
      * 
@@ -1177,6 +1325,8 @@ public com.google.datastore.admin.v1.Progress.Builder getProgressBytesBuilder() return getProgressBytesFieldBuilder().getBuilder(); } /** + * + * *
      * An estimate of the number of bytes processed.
      * 
@@ -1187,11 +1337,14 @@ public com.google.datastore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder if (progressBytesBuilder_ != null) { return progressBytesBuilder_.getMessageOrBuilder(); } else { - return progressBytes_ == null ? - com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressBytes_; + return progressBytes_ == null + ? com.google.datastore.admin.v1.Progress.getDefaultInstance() + : progressBytes_; } } /** + * + * *
      * An estimate of the number of bytes processed.
      * 
@@ -1199,14 +1352,17 @@ public com.google.datastore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder * .google.datastore.admin.v1.Progress progress_bytes = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Progress, com.google.datastore.admin.v1.Progress.Builder, com.google.datastore.admin.v1.ProgressOrBuilder> + com.google.datastore.admin.v1.Progress, + com.google.datastore.admin.v1.Progress.Builder, + com.google.datastore.admin.v1.ProgressOrBuilder> getProgressBytesFieldBuilder() { if (progressBytesBuilder_ == null) { - progressBytesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Progress, com.google.datastore.admin.v1.Progress.Builder, com.google.datastore.admin.v1.ProgressOrBuilder>( - getProgressBytes(), - getParentForChildren(), - isClean()); + progressBytesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.admin.v1.Progress, + com.google.datastore.admin.v1.Progress.Builder, + com.google.datastore.admin.v1.ProgressOrBuilder>( + getProgressBytes(), getParentForChildren(), isClean()); progressBytes_ = null; } return progressBytesBuilder_; @@ -1214,34 +1370,47 @@ public com.google.datastore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder private com.google.datastore.admin.v1.EntityFilter entityFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.EntityFilter, com.google.datastore.admin.v1.EntityFilter.Builder, com.google.datastore.admin.v1.EntityFilterOrBuilder> entityFilterBuilder_; + com.google.datastore.admin.v1.EntityFilter, + com.google.datastore.admin.v1.EntityFilter.Builder, + com.google.datastore.admin.v1.EntityFilterOrBuilder> + entityFilterBuilder_; /** + * + * *
      * Description of which entities are being exported.
      * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; + * * @return Whether the entityFilter field is set. */ public boolean hasEntityFilter() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Description of which entities are being exported.
      * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; + * * @return The entityFilter. */ public com.google.datastore.admin.v1.EntityFilter getEntityFilter() { if (entityFilterBuilder_ == null) { - return entityFilter_ == null ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_; + return entityFilter_ == null + ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() + : entityFilter_; } else { return entityFilterBuilder_.getMessage(); } } /** + * + * *
      * Description of which entities are being exported.
      * 
@@ -1262,6 +1431,8 @@ public Builder setEntityFilter(com.google.datastore.admin.v1.EntityFilter value) return this; } /** + * + * *
      * Description of which entities are being exported.
      * 
@@ -1280,6 +1451,8 @@ public Builder setEntityFilter( return this; } /** + * + * *
      * Description of which entities are being exported.
      * 
@@ -1288,9 +1461,9 @@ public Builder setEntityFilter( */ public Builder mergeEntityFilter(com.google.datastore.admin.v1.EntityFilter value) { if (entityFilterBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - entityFilter_ != null && - entityFilter_ != com.google.datastore.admin.v1.EntityFilter.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && entityFilter_ != null + && entityFilter_ != com.google.datastore.admin.v1.EntityFilter.getDefaultInstance()) { getEntityFilterBuilder().mergeFrom(value); } else { entityFilter_ = value; @@ -1305,6 +1478,8 @@ public Builder mergeEntityFilter(com.google.datastore.admin.v1.EntityFilter valu return this; } /** + * + * *
      * Description of which entities are being exported.
      * 
@@ -1322,6 +1497,8 @@ public Builder clearEntityFilter() { return this; } /** + * + * *
      * Description of which entities are being exported.
      * 
@@ -1334,6 +1511,8 @@ public com.google.datastore.admin.v1.EntityFilter.Builder getEntityFilterBuilder return getEntityFilterFieldBuilder().getBuilder(); } /** + * + * *
      * Description of which entities are being exported.
      * 
@@ -1344,11 +1523,14 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil if (entityFilterBuilder_ != null) { return entityFilterBuilder_.getMessageOrBuilder(); } else { - return entityFilter_ == null ? - com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_; + return entityFilter_ == null + ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() + : entityFilter_; } } /** + * + * *
      * Description of which entities are being exported.
      * 
@@ -1356,14 +1538,17 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil * .google.datastore.admin.v1.EntityFilter entity_filter = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.EntityFilter, com.google.datastore.admin.v1.EntityFilter.Builder, com.google.datastore.admin.v1.EntityFilterOrBuilder> + com.google.datastore.admin.v1.EntityFilter, + com.google.datastore.admin.v1.EntityFilter.Builder, + com.google.datastore.admin.v1.EntityFilterOrBuilder> getEntityFilterFieldBuilder() { if (entityFilterBuilder_ == null) { - entityFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.EntityFilter, com.google.datastore.admin.v1.EntityFilter.Builder, com.google.datastore.admin.v1.EntityFilterOrBuilder>( - getEntityFilter(), - getParentForChildren(), - isClean()); + entityFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.admin.v1.EntityFilter, + com.google.datastore.admin.v1.EntityFilter.Builder, + com.google.datastore.admin.v1.EntityFilterOrBuilder>( + getEntityFilter(), getParentForChildren(), isClean()); entityFilter_ = null; } return entityFilterBuilder_; @@ -1371,6 +1556,8 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil private java.lang.Object outputUrlPrefix_ = ""; /** + * + * *
      * Location for the export metadata and data files. This will be the same
      * value as the
@@ -1380,13 +1567,13 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil
      * 
* * string output_url_prefix = 5; + * * @return The outputUrlPrefix. */ public java.lang.String getOutputUrlPrefix() { java.lang.Object ref = outputUrlPrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputUrlPrefix_ = s; return s; @@ -1395,6 +1582,8 @@ public java.lang.String getOutputUrlPrefix() { } } /** + * + * *
      * Location for the export metadata and data files. This will be the same
      * value as the
@@ -1404,15 +1593,14 @@ public java.lang.String getOutputUrlPrefix() {
      * 
* * string output_url_prefix = 5; + * * @return The bytes for outputUrlPrefix. */ - public com.google.protobuf.ByteString - getOutputUrlPrefixBytes() { + public com.google.protobuf.ByteString getOutputUrlPrefixBytes() { java.lang.Object ref = outputUrlPrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); outputUrlPrefix_ = b; return b; } else { @@ -1420,6 +1608,8 @@ public java.lang.String getOutputUrlPrefix() { } } /** + * + * *
      * Location for the export metadata and data files. This will be the same
      * value as the
@@ -1429,18 +1619,22 @@ public java.lang.String getOutputUrlPrefix() {
      * 
* * string output_url_prefix = 5; + * * @param value The outputUrlPrefix to set. * @return This builder for chaining. */ - public Builder setOutputUrlPrefix( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOutputUrlPrefix(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } outputUrlPrefix_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Location for the export metadata and data files. This will be the same
      * value as the
@@ -1450,6 +1644,7 @@ public Builder setOutputUrlPrefix(
      * 
* * string output_url_prefix = 5; + * * @return This builder for chaining. */ public Builder clearOutputUrlPrefix() { @@ -1459,6 +1654,8 @@ public Builder clearOutputUrlPrefix() { return this; } /** + * + * *
      * Location for the export metadata and data files. This will be the same
      * value as the
@@ -1468,21 +1665,23 @@ public Builder clearOutputUrlPrefix() {
      * 
* * string output_url_prefix = 5; + * * @param value The bytes for outputUrlPrefix to set. * @return This builder for chaining. */ - public Builder setOutputUrlPrefixBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOutputUrlPrefixBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); outputUrlPrefix_ = value; bitField0_ |= 0x00000010; 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); } @@ -1492,12 +1691,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.ExportEntitiesMetadata) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.ExportEntitiesMetadata) private static final com.google.datastore.admin.v1.ExportEntitiesMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.ExportEntitiesMetadata(); } @@ -1506,27 +1705,27 @@ public static com.google.datastore.admin.v1.ExportEntitiesMetadata getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportEntitiesMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportEntitiesMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1541,6 +1740,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.ExportEntitiesMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesMetadataOrBuilder.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesMetadataOrBuilder.java similarity index 83% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesMetadataOrBuilder.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesMetadataOrBuilder.java index 097627da6..a65dedc9c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesMetadataOrBuilder.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesMetadataOrBuilder.java @@ -1,32 +1,56 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface ExportEntitiesMetadataOrBuilder extends +public interface ExportEntitiesMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.ExportEntitiesMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Metadata common to all Datastore Admin operations.
    * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; + * * @return Whether the common field is set. */ boolean hasCommon(); /** + * + * *
    * Metadata common to all Datastore Admin operations.
    * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; + * * @return The common. */ com.google.datastore.admin.v1.CommonMetadata getCommon(); /** + * + * *
    * Metadata common to all Datastore Admin operations.
    * 
@@ -36,24 +60,32 @@ public interface ExportEntitiesMetadataOrBuilder extends com.google.datastore.admin.v1.CommonMetadataOrBuilder getCommonOrBuilder(); /** + * + * *
    * An estimate of the number of entities processed.
    * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; + * * @return Whether the progressEntities field is set. */ boolean hasProgressEntities(); /** + * + * *
    * An estimate of the number of entities processed.
    * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; + * * @return The progressEntities. */ com.google.datastore.admin.v1.Progress getProgressEntities(); /** + * + * *
    * An estimate of the number of entities processed.
    * 
@@ -63,24 +95,32 @@ public interface ExportEntitiesMetadataOrBuilder extends com.google.datastore.admin.v1.ProgressOrBuilder getProgressEntitiesOrBuilder(); /** + * + * *
    * An estimate of the number of bytes processed.
    * 
* * .google.datastore.admin.v1.Progress progress_bytes = 3; + * * @return Whether the progressBytes field is set. */ boolean hasProgressBytes(); /** + * + * *
    * An estimate of the number of bytes processed.
    * 
* * .google.datastore.admin.v1.Progress progress_bytes = 3; + * * @return The progressBytes. */ com.google.datastore.admin.v1.Progress getProgressBytes(); /** + * + * *
    * An estimate of the number of bytes processed.
    * 
@@ -90,24 +130,32 @@ public interface ExportEntitiesMetadataOrBuilder extends com.google.datastore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder(); /** + * + * *
    * Description of which entities are being exported.
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; + * * @return Whether the entityFilter field is set. */ boolean hasEntityFilter(); /** + * + * *
    * Description of which entities are being exported.
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; + * * @return The entityFilter. */ com.google.datastore.admin.v1.EntityFilter getEntityFilter(); /** + * + * *
    * Description of which entities are being exported.
    * 
@@ -117,6 +165,8 @@ public interface ExportEntitiesMetadataOrBuilder extends com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuilder(); /** + * + * *
    * Location for the export metadata and data files. This will be the same
    * value as the
@@ -126,10 +176,13 @@ public interface ExportEntitiesMetadataOrBuilder extends
    * 
* * string output_url_prefix = 5; + * * @return The outputUrlPrefix. */ java.lang.String getOutputUrlPrefix(); /** + * + * *
    * Location for the export metadata and data files. This will be the same
    * value as the
@@ -139,8 +192,8 @@ public interface ExportEntitiesMetadataOrBuilder extends
    * 
* * string output_url_prefix = 5; + * * @return The bytes for outputUrlPrefix. */ - com.google.protobuf.ByteString - getOutputUrlPrefixBytes(); + com.google.protobuf.ByteString getOutputUrlPrefixBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesRequest.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesRequest.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesRequest.java index 41d5d7cd9..acad36a3e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesRequest.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto @@ -5,6 +20,8 @@ package com.google.datastore.admin.v1; /** + * + * *
  * The request for
  * [google.datastore.admin.v1.DatastoreAdmin.ExportEntities][google.datastore.admin.v1.DatastoreAdmin.ExportEntities].
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.datastore.admin.v1.ExportEntitiesRequest}
  */
-public final class ExportEntitiesRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ExportEntitiesRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.datastore.admin.v1.ExportEntitiesRequest)
     ExportEntitiesRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ExportEntitiesRequest.newBuilder() to construct.
   private ExportEntitiesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ExportEntitiesRequest() {
     projectId_ = "";
     outputUrlPrefix_ = "";
@@ -28,14 +46,13 @@ private ExportEntitiesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ExportEntitiesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.datastore.admin.v1.DatastoreAdminProto
+        .internal_static_google_datastore_admin_v1_ExportEntitiesRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
@@ -46,28 +63,34 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
       case 2:
         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.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesRequest_fieldAccessorTable
+    return com.google.datastore.admin.v1.DatastoreAdminProto
+        .internal_static_google_datastore_admin_v1_ExportEntitiesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.admin.v1.ExportEntitiesRequest.class, com.google.datastore.admin.v1.ExportEntitiesRequest.Builder.class);
+            com.google.datastore.admin.v1.ExportEntitiesRequest.class,
+            com.google.datastore.admin.v1.ExportEntitiesRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object projectId_ = "";
   /**
+   *
+   *
    * 
    * Required. Project ID against which to make the request.
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ @java.lang.Override @@ -76,29 +99,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. Project ID against which to make the request.
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -107,32 +130,34 @@ public java.lang.String getProjectId() { } public static final int LABELS_FIELD_NUMBER = 2; + 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.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesRequest_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.datastore.admin.v1.DatastoreAdminProto + .internal_static_google_datastore_admin_v1_ExportEntitiesRequest_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Client-assigned labels.
    * 
@@ -140,20 +165,21 @@ public int getLabelsCount() { * map<string, string> labels = 2; */ @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(); } /** + * + * *
    * Client-assigned labels.
    * 
@@ -165,6 +191,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Client-assigned labels.
    * 
@@ -172,17 +200,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 2; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Client-assigned labels.
    * 
@@ -190,11 +220,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 2; */ @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(); } @@ -204,11 +234,14 @@ public java.lang.String getLabelsOrThrow( public static final int ENTITY_FILTER_FIELD_NUMBER = 3; private com.google.datastore.admin.v1.EntityFilter entityFilter_; /** + * + * *
    * Description of what data from the project is included in the export.
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 3; + * * @return Whether the entityFilter field is set. */ @java.lang.Override @@ -216,18 +249,25 @@ public boolean hasEntityFilter() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Description of what data from the project is included in the export.
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 3; + * * @return The entityFilter. */ @java.lang.Override public com.google.datastore.admin.v1.EntityFilter getEntityFilter() { - return entityFilter_ == null ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_; + return entityFilter_ == null + ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() + : entityFilter_; } /** + * + * *
    * Description of what data from the project is included in the export.
    * 
@@ -236,13 +276,18 @@ public com.google.datastore.admin.v1.EntityFilter getEntityFilter() { */ @java.lang.Override public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuilder() { - return entityFilter_ == null ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_; + return entityFilter_ == null + ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() + : entityFilter_; } public static final int OUTPUT_URL_PREFIX_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object outputUrlPrefix_ = ""; /** + * + * *
    * Required. Location for the export metadata and data files.
    *
@@ -265,6 +310,7 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil
    * 
* * string output_url_prefix = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The outputUrlPrefix. */ @java.lang.Override @@ -273,14 +319,15 @@ public java.lang.String getOutputUrlPrefix() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputUrlPrefix_ = s; return s; } } /** + * + * *
    * Required. Location for the export metadata and data files.
    *
@@ -303,16 +350,15 @@ public java.lang.String getOutputUrlPrefix() {
    * 
* * string output_url_prefix = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for outputUrlPrefix. */ @java.lang.Override - public com.google.protobuf.ByteString - getOutputUrlPrefixBytes() { + public com.google.protobuf.ByteString getOutputUrlPrefixBytes() { java.lang.Object ref = outputUrlPrefix_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); outputUrlPrefix_ = b; return b; } else { @@ -321,6 +367,7 @@ public java.lang.String getOutputUrlPrefix() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -332,17 +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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 2); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 2); if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getEntityFilter()); } @@ -361,19 +403,18 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, projectId_); } - 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(2, labels__); + 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(2, labels__); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getEntityFilter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEntityFilter()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(outputUrlPrefix_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, outputUrlPrefix_); @@ -386,24 +427,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.datastore.admin.v1.ExportEntitiesRequest)) { return super.equals(obj); } - com.google.datastore.admin.v1.ExportEntitiesRequest other = (com.google.datastore.admin.v1.ExportEntitiesRequest) obj; + com.google.datastore.admin.v1.ExportEntitiesRequest other = + (com.google.datastore.admin.v1.ExportEntitiesRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (hasEntityFilter() != other.hasEntityFilter()) return false; if (hasEntityFilter()) { - if (!getEntityFilter() - .equals(other.getEntityFilter())) return false; + if (!getEntityFilter().equals(other.getEntityFilter())) return false; } - if (!getOutputUrlPrefix() - .equals(other.getOutputUrlPrefix())) return false; + if (!getOutputUrlPrefix().equals(other.getOutputUrlPrefix())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -433,98 +471,103 @@ public int hashCode() { } public static com.google.datastore.admin.v1.ExportEntitiesRequest 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.datastore.admin.v1.ExportEntitiesRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.admin.v1.ExportEntitiesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.admin.v1.ExportEntitiesRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.admin.v1.ExportEntitiesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.admin.v1.ExportEntitiesRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.ExportEntitiesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.datastore.admin.v1.ExportEntitiesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.admin.v1.ExportEntitiesRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.ExportEntitiesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.ExportEntitiesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.admin.v1.ExportEntitiesRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.datastore.admin.v1.ExportEntitiesRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.admin.v1.ExportEntitiesRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.datastore.admin.v1.ExportEntitiesRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [google.datastore.admin.v1.DatastoreAdmin.ExportEntities][google.datastore.admin.v1.DatastoreAdmin.ExportEntities].
@@ -532,13 +575,13 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.datastore.admin.v1.ExportEntitiesRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.datastore.admin.v1.ExportEntitiesRequest)
       com.google.datastore.admin.v1.ExportEntitiesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto
+          .internal_static_google_datastore_admin_v1_ExportEntitiesRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
@@ -548,10 +591,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
         case 2:
           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.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
         int number) {
@@ -559,16 +602,18 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi
         case 2:
           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.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesRequest_fieldAccessorTable
+      return com.google.datastore.admin.v1.DatastoreAdminProto
+          .internal_static_google_datastore_admin_v1_ExportEntitiesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.admin.v1.ExportEntitiesRequest.class, com.google.datastore.admin.v1.ExportEntitiesRequest.Builder.class);
+              com.google.datastore.admin.v1.ExportEntitiesRequest.class,
+              com.google.datastore.admin.v1.ExportEntitiesRequest.Builder.class);
     }
 
     // Construct using com.google.datastore.admin.v1.ExportEntitiesRequest.newBuilder()
@@ -576,17 +621,17 @@ 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) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getEntityFilterFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -603,9 +648,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto
+          .internal_static_google_datastore_admin_v1_ExportEntitiesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -624,8 +669,11 @@ public com.google.datastore.admin.v1.ExportEntitiesRequest build() {
 
     @java.lang.Override
     public com.google.datastore.admin.v1.ExportEntitiesRequest buildPartial() {
-      com.google.datastore.admin.v1.ExportEntitiesRequest result = new com.google.datastore.admin.v1.ExportEntitiesRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.datastore.admin.v1.ExportEntitiesRequest result =
+          new com.google.datastore.admin.v1.ExportEntitiesRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -641,9 +689,8 @@ private void buildPartial0(com.google.datastore.admin.v1.ExportEntitiesRequest r
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.entityFilter_ = entityFilterBuilder_ == null
-            ? entityFilter_
-            : entityFilterBuilder_.build();
+        result.entityFilter_ =
+            entityFilterBuilder_ == null ? entityFilter_ : entityFilterBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
@@ -656,38 +703,39 @@ private void buildPartial0(com.google.datastore.admin.v1.ExportEntitiesRequest r
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.admin.v1.ExportEntitiesRequest) {
-        return mergeFrom((com.google.datastore.admin.v1.ExportEntitiesRequest)other);
+        return mergeFrom((com.google.datastore.admin.v1.ExportEntitiesRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -695,14 +743,14 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.datastore.admin.v1.ExportEntitiesRequest other) {
-      if (other == com.google.datastore.admin.v1.ExportEntitiesRequest.getDefaultInstance()) return this;
+      if (other == com.google.datastore.admin.v1.ExportEntitiesRequest.getDefaultInstance())
+        return this;
       if (!other.getProjectId().isEmpty()) {
         projectId_ = other.projectId_;
         bitField0_ |= 0x00000001;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000002;
       if (other.hasEntityFilter()) {
         mergeEntityFilter(other.getEntityFilter());
@@ -738,38 +786,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              projectId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getEntityFilterFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              outputUrlPrefix_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                projectId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getEntityFilterFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                outputUrlPrefix_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -779,22 +832,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object projectId_ = "";
     /**
+     *
+     *
      * 
      * Required. Project ID against which to make the request.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -803,20 +859,21 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Required. Project ID against which to make the request.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -824,28 +881,35 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Required. Project ID against which to make the request.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Project ID against which to make the request.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -855,17 +919,21 @@ public Builder clearProjectId() { return this; } /** + * + * *
      * Required. Project ID against which to make the request.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -873,21 +941,19 @@ public Builder setProjectIdBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -896,10 +962,13 @@ public Builder setProjectIdBytes( onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Client-assigned labels.
      * 
@@ -907,20 +976,21 @@ public int getLabelsCount() { * map<string, string> labels = 2; */ @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(); } /** + * + * *
      * Client-assigned labels.
      * 
@@ -932,6 +1002,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Client-assigned labels.
      * 
@@ -939,17 +1011,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 2; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Client-assigned labels.
      * 
@@ -957,107 +1031,122 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 2; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000002); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Client-assigned labels.
      * 
* * map<string, string> labels = 2; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000002; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Client-assigned labels.
      * 
* * map<string, string> labels = 2; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000002; return this; } /** + * + * *
      * Client-assigned labels.
      * 
* * map<string, string> labels = 2; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000002; return this; } private com.google.datastore.admin.v1.EntityFilter entityFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.EntityFilter, com.google.datastore.admin.v1.EntityFilter.Builder, com.google.datastore.admin.v1.EntityFilterOrBuilder> entityFilterBuilder_; + com.google.datastore.admin.v1.EntityFilter, + com.google.datastore.admin.v1.EntityFilter.Builder, + com.google.datastore.admin.v1.EntityFilterOrBuilder> + entityFilterBuilder_; /** + * + * *
      * Description of what data from the project is included in the export.
      * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 3; + * * @return Whether the entityFilter field is set. */ public boolean hasEntityFilter() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Description of what data from the project is included in the export.
      * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 3; + * * @return The entityFilter. */ public com.google.datastore.admin.v1.EntityFilter getEntityFilter() { if (entityFilterBuilder_ == null) { - return entityFilter_ == null ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_; + return entityFilter_ == null + ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() + : entityFilter_; } else { return entityFilterBuilder_.getMessage(); } } /** + * + * *
      * Description of what data from the project is included in the export.
      * 
@@ -1078,6 +1167,8 @@ public Builder setEntityFilter(com.google.datastore.admin.v1.EntityFilter value) return this; } /** + * + * *
      * Description of what data from the project is included in the export.
      * 
@@ -1096,6 +1187,8 @@ public Builder setEntityFilter( return this; } /** + * + * *
      * Description of what data from the project is included in the export.
      * 
@@ -1104,9 +1197,9 @@ public Builder setEntityFilter( */ public Builder mergeEntityFilter(com.google.datastore.admin.v1.EntityFilter value) { if (entityFilterBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - entityFilter_ != null && - entityFilter_ != com.google.datastore.admin.v1.EntityFilter.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && entityFilter_ != null + && entityFilter_ != com.google.datastore.admin.v1.EntityFilter.getDefaultInstance()) { getEntityFilterBuilder().mergeFrom(value); } else { entityFilter_ = value; @@ -1121,6 +1214,8 @@ public Builder mergeEntityFilter(com.google.datastore.admin.v1.EntityFilter valu return this; } /** + * + * *
      * Description of what data from the project is included in the export.
      * 
@@ -1138,6 +1233,8 @@ public Builder clearEntityFilter() { return this; } /** + * + * *
      * Description of what data from the project is included in the export.
      * 
@@ -1150,6 +1247,8 @@ public com.google.datastore.admin.v1.EntityFilter.Builder getEntityFilterBuilder return getEntityFilterFieldBuilder().getBuilder(); } /** + * + * *
      * Description of what data from the project is included in the export.
      * 
@@ -1160,11 +1259,14 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil if (entityFilterBuilder_ != null) { return entityFilterBuilder_.getMessageOrBuilder(); } else { - return entityFilter_ == null ? - com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_; + return entityFilter_ == null + ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() + : entityFilter_; } } /** + * + * *
      * Description of what data from the project is included in the export.
      * 
@@ -1172,14 +1274,17 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil * .google.datastore.admin.v1.EntityFilter entity_filter = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.EntityFilter, com.google.datastore.admin.v1.EntityFilter.Builder, com.google.datastore.admin.v1.EntityFilterOrBuilder> + com.google.datastore.admin.v1.EntityFilter, + com.google.datastore.admin.v1.EntityFilter.Builder, + com.google.datastore.admin.v1.EntityFilterOrBuilder> getEntityFilterFieldBuilder() { if (entityFilterBuilder_ == null) { - entityFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.EntityFilter, com.google.datastore.admin.v1.EntityFilter.Builder, com.google.datastore.admin.v1.EntityFilterOrBuilder>( - getEntityFilter(), - getParentForChildren(), - isClean()); + entityFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.admin.v1.EntityFilter, + com.google.datastore.admin.v1.EntityFilter.Builder, + com.google.datastore.admin.v1.EntityFilterOrBuilder>( + getEntityFilter(), getParentForChildren(), isClean()); entityFilter_ = null; } return entityFilterBuilder_; @@ -1187,6 +1292,8 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil private java.lang.Object outputUrlPrefix_ = ""; /** + * + * *
      * Required. Location for the export metadata and data files.
      *
@@ -1209,13 +1316,13 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil
      * 
* * string output_url_prefix = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The outputUrlPrefix. */ public java.lang.String getOutputUrlPrefix() { java.lang.Object ref = outputUrlPrefix_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputUrlPrefix_ = s; return s; @@ -1224,6 +1331,8 @@ public java.lang.String getOutputUrlPrefix() { } } /** + * + * *
      * Required. Location for the export metadata and data files.
      *
@@ -1246,15 +1355,14 @@ public java.lang.String getOutputUrlPrefix() {
      * 
* * string output_url_prefix = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for outputUrlPrefix. */ - public com.google.protobuf.ByteString - getOutputUrlPrefixBytes() { + public com.google.protobuf.ByteString getOutputUrlPrefixBytes() { java.lang.Object ref = outputUrlPrefix_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); outputUrlPrefix_ = b; return b; } else { @@ -1262,6 +1370,8 @@ public java.lang.String getOutputUrlPrefix() { } } /** + * + * *
      * Required. Location for the export metadata and data files.
      *
@@ -1284,18 +1394,22 @@ public java.lang.String getOutputUrlPrefix() {
      * 
* * string output_url_prefix = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The outputUrlPrefix to set. * @return This builder for chaining. */ - public Builder setOutputUrlPrefix( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOutputUrlPrefix(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } outputUrlPrefix_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * Required. Location for the export metadata and data files.
      *
@@ -1318,6 +1432,7 @@ public Builder setOutputUrlPrefix(
      * 
* * string output_url_prefix = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearOutputUrlPrefix() { @@ -1327,6 +1442,8 @@ public Builder clearOutputUrlPrefix() { return this; } /** + * + * *
      * Required. Location for the export metadata and data files.
      *
@@ -1349,21 +1466,23 @@ public Builder clearOutputUrlPrefix() {
      * 
* * string output_url_prefix = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for outputUrlPrefix to set. * @return This builder for chaining. */ - public Builder setOutputUrlPrefixBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOutputUrlPrefixBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); outputUrlPrefix_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1373,12 +1492,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.ExportEntitiesRequest) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.ExportEntitiesRequest) private static final com.google.datastore.admin.v1.ExportEntitiesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.ExportEntitiesRequest(); } @@ -1387,27 +1506,27 @@ public static com.google.datastore.admin.v1.ExportEntitiesRequest getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportEntitiesRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportEntitiesRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1422,6 +1541,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.ExportEntitiesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesRequestOrBuilder.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesRequestOrBuilder.java similarity index 79% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesRequestOrBuilder.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesRequestOrBuilder.java index f275b08a5..01f5ec35d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesRequestOrBuilder.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesRequestOrBuilder.java @@ -1,34 +1,57 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface ExportEntitiesRequestOrBuilder extends +public interface ExportEntitiesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.ExportEntitiesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Project ID against which to make the request.
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
    * Required. Project ID against which to make the request.
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Client-assigned labels.
    * 
@@ -37,30 +60,31 @@ public interface ExportEntitiesRequestOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Client-assigned labels.
    * 
* * map<string, string> labels = 2; */ - 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(); /** + * + * *
    * Client-assigned labels.
    * 
* * map<string, string> labels = 2; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Client-assigned labels.
    * 
@@ -68,39 +92,48 @@ boolean containsLabels( * map<string, string> labels = 2; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Client-assigned labels.
    * 
* * map<string, string> labels = 2; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Description of what data from the project is included in the export.
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 3; + * * @return Whether the entityFilter field is set. */ boolean hasEntityFilter(); /** + * + * *
    * Description of what data from the project is included in the export.
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 3; + * * @return The entityFilter. */ com.google.datastore.admin.v1.EntityFilter getEntityFilter(); /** + * + * *
    * Description of what data from the project is included in the export.
    * 
@@ -110,6 +143,8 @@ java.lang.String getLabelsOrThrow( com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuilder(); /** + * + * *
    * Required. Location for the export metadata and data files.
    *
@@ -132,10 +167,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * string output_url_prefix = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The outputUrlPrefix. */ java.lang.String getOutputUrlPrefix(); /** + * + * *
    * Required. Location for the export metadata and data files.
    *
@@ -158,8 +196,8 @@ java.lang.String getLabelsOrThrow(
    * 
* * string output_url_prefix = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for outputUrlPrefix. */ - com.google.protobuf.ByteString - getOutputUrlPrefixBytes(); + com.google.protobuf.ByteString getOutputUrlPrefixBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesResponse.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesResponse.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesResponse.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesResponse.java index adc01ddec..fd3350685 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesResponse.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesResponse.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto @@ -5,6 +20,8 @@ package com.google.datastore.admin.v1; /** + * + * *
  * The response for
  * [google.datastore.admin.v1.DatastoreAdmin.ExportEntities][google.datastore.admin.v1.DatastoreAdmin.ExportEntities].
@@ -12,43 +29,48 @@
  *
  * Protobuf type {@code google.datastore.admin.v1.ExportEntitiesResponse}
  */
-public final class ExportEntitiesResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ExportEntitiesResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.datastore.admin.v1.ExportEntitiesResponse)
     ExportEntitiesResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ExportEntitiesResponse.newBuilder() to construct.
   private ExportEntitiesResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ExportEntitiesResponse() {
     outputUrl_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ExportEntitiesResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.datastore.admin.v1.DatastoreAdminProto
+        .internal_static_google_datastore_admin_v1_ExportEntitiesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesResponse_fieldAccessorTable
+    return com.google.datastore.admin.v1.DatastoreAdminProto
+        .internal_static_google_datastore_admin_v1_ExportEntitiesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.admin.v1.ExportEntitiesResponse.class, com.google.datastore.admin.v1.ExportEntitiesResponse.Builder.class);
+            com.google.datastore.admin.v1.ExportEntitiesResponse.class,
+            com.google.datastore.admin.v1.ExportEntitiesResponse.Builder.class);
   }
 
   public static final int OUTPUT_URL_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object outputUrl_ = "";
   /**
+   *
+   *
    * 
    * Location of the output metadata file. This can be used to begin an import
    * into Cloud Datastore (this project or another project). See
@@ -57,6 +79,7 @@ protected java.lang.Object newInstance(
    * 
* * string output_url = 1; + * * @return The outputUrl. */ @java.lang.Override @@ -65,14 +88,15 @@ public java.lang.String getOutputUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputUrl_ = s; return s; } } /** + * + * *
    * Location of the output metadata file. This can be used to begin an import
    * into Cloud Datastore (this project or another project). See
@@ -81,16 +105,15 @@ public java.lang.String getOutputUrl() {
    * 
* * string output_url = 1; + * * @return The bytes for outputUrl. */ @java.lang.Override - public com.google.protobuf.ByteString - getOutputUrlBytes() { + public com.google.protobuf.ByteString getOutputUrlBytes() { java.lang.Object ref = outputUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); outputUrl_ = b; return b; } else { @@ -99,6 +122,7 @@ public java.lang.String getOutputUrl() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -110,8 +134,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(outputUrl_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, outputUrl_); } @@ -135,15 +158,15 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.datastore.admin.v1.ExportEntitiesResponse)) { return super.equals(obj); } - com.google.datastore.admin.v1.ExportEntitiesResponse other = (com.google.datastore.admin.v1.ExportEntitiesResponse) obj; + com.google.datastore.admin.v1.ExportEntitiesResponse other = + (com.google.datastore.admin.v1.ExportEntitiesResponse) obj; - if (!getOutputUrl() - .equals(other.getOutputUrl())) return false; + if (!getOutputUrl().equals(other.getOutputUrl())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -163,98 +186,103 @@ public int hashCode() { } public static com.google.datastore.admin.v1.ExportEntitiesResponse 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.datastore.admin.v1.ExportEntitiesResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.admin.v1.ExportEntitiesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.admin.v1.ExportEntitiesResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.admin.v1.ExportEntitiesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.admin.v1.ExportEntitiesResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.ExportEntitiesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.datastore.admin.v1.ExportEntitiesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.admin.v1.ExportEntitiesResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.ExportEntitiesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.ExportEntitiesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.admin.v1.ExportEntitiesResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.datastore.admin.v1.ExportEntitiesResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.admin.v1.ExportEntitiesResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.datastore.admin.v1.ExportEntitiesResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [google.datastore.admin.v1.DatastoreAdmin.ExportEntities][google.datastore.admin.v1.DatastoreAdmin.ExportEntities].
@@ -262,33 +290,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.datastore.admin.v1.ExportEntitiesResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.datastore.admin.v1.ExportEntitiesResponse)
       com.google.datastore.admin.v1.ExportEntitiesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto
+          .internal_static_google_datastore_admin_v1_ExportEntitiesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesResponse_fieldAccessorTable
+      return com.google.datastore.admin.v1.DatastoreAdminProto
+          .internal_static_google_datastore_admin_v1_ExportEntitiesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.admin.v1.ExportEntitiesResponse.class, com.google.datastore.admin.v1.ExportEntitiesResponse.Builder.class);
+              com.google.datastore.admin.v1.ExportEntitiesResponse.class,
+              com.google.datastore.admin.v1.ExportEntitiesResponse.Builder.class);
     }
 
     // Construct using com.google.datastore.admin.v1.ExportEntitiesResponse.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -298,9 +325,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ExportEntitiesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto
+          .internal_static_google_datastore_admin_v1_ExportEntitiesResponse_descriptor;
     }
 
     @java.lang.Override
@@ -319,8 +346,11 @@ public com.google.datastore.admin.v1.ExportEntitiesResponse build() {
 
     @java.lang.Override
     public com.google.datastore.admin.v1.ExportEntitiesResponse buildPartial() {
-      com.google.datastore.admin.v1.ExportEntitiesResponse result = new com.google.datastore.admin.v1.ExportEntitiesResponse(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.datastore.admin.v1.ExportEntitiesResponse result =
+          new com.google.datastore.admin.v1.ExportEntitiesResponse(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -336,38 +366,39 @@ private void buildPartial0(com.google.datastore.admin.v1.ExportEntitiesResponse
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.admin.v1.ExportEntitiesResponse) {
-        return mergeFrom((com.google.datastore.admin.v1.ExportEntitiesResponse)other);
+        return mergeFrom((com.google.datastore.admin.v1.ExportEntitiesResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -375,7 +406,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.datastore.admin.v1.ExportEntitiesResponse other) {
-      if (other == com.google.datastore.admin.v1.ExportEntitiesResponse.getDefaultInstance()) return this;
+      if (other == com.google.datastore.admin.v1.ExportEntitiesResponse.getDefaultInstance())
+        return this;
       if (!other.getOutputUrl().isEmpty()) {
         outputUrl_ = other.outputUrl_;
         bitField0_ |= 0x00000001;
@@ -407,17 +439,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              outputUrl_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                outputUrl_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -427,10 +461,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object outputUrl_ = "";
     /**
+     *
+     *
      * 
      * Location of the output metadata file. This can be used to begin an import
      * into Cloud Datastore (this project or another project). See
@@ -439,13 +476,13 @@ public Builder mergeFrom(
      * 
* * string output_url = 1; + * * @return The outputUrl. */ public java.lang.String getOutputUrl() { java.lang.Object ref = outputUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); outputUrl_ = s; return s; @@ -454,6 +491,8 @@ public java.lang.String getOutputUrl() { } } /** + * + * *
      * Location of the output metadata file. This can be used to begin an import
      * into Cloud Datastore (this project or another project). See
@@ -462,15 +501,14 @@ public java.lang.String getOutputUrl() {
      * 
* * string output_url = 1; + * * @return The bytes for outputUrl. */ - public com.google.protobuf.ByteString - getOutputUrlBytes() { + public com.google.protobuf.ByteString getOutputUrlBytes() { java.lang.Object ref = outputUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); outputUrl_ = b; return b; } else { @@ -478,6 +516,8 @@ public java.lang.String getOutputUrl() { } } /** + * + * *
      * Location of the output metadata file. This can be used to begin an import
      * into Cloud Datastore (this project or another project). See
@@ -486,18 +526,22 @@ public java.lang.String getOutputUrl() {
      * 
* * string output_url = 1; + * * @param value The outputUrl to set. * @return This builder for chaining. */ - public Builder setOutputUrl( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOutputUrl(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } outputUrl_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Location of the output metadata file. This can be used to begin an import
      * into Cloud Datastore (this project or another project). See
@@ -506,6 +550,7 @@ public Builder setOutputUrl(
      * 
* * string output_url = 1; + * * @return This builder for chaining. */ public Builder clearOutputUrl() { @@ -515,6 +560,8 @@ public Builder clearOutputUrl() { return this; } /** + * + * *
      * Location of the output metadata file. This can be used to begin an import
      * into Cloud Datastore (this project or another project). See
@@ -523,21 +570,23 @@ public Builder clearOutputUrl() {
      * 
* * string output_url = 1; + * * @param value The bytes for outputUrl to set. * @return This builder for chaining. */ - public Builder setOutputUrlBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOutputUrlBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); outputUrl_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -547,12 +596,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.ExportEntitiesResponse) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.ExportEntitiesResponse) private static final com.google.datastore.admin.v1.ExportEntitiesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.ExportEntitiesResponse(); } @@ -561,27 +610,27 @@ public static com.google.datastore.admin.v1.ExportEntitiesResponse getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExportEntitiesResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExportEntitiesResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -596,6 +645,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.ExportEntitiesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesResponseOrBuilder.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesResponseOrBuilder.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesResponseOrBuilder.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesResponseOrBuilder.java index cf1f08178..77bf913fb 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesResponseOrBuilder.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ExportEntitiesResponseOrBuilder.java @@ -1,14 +1,32 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface ExportEntitiesResponseOrBuilder extends +public interface ExportEntitiesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.ExportEntitiesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Location of the output metadata file. This can be used to begin an import
    * into Cloud Datastore (this project or another project). See
@@ -17,10 +35,13 @@ public interface ExportEntitiesResponseOrBuilder extends
    * 
* * string output_url = 1; + * * @return The outputUrl. */ java.lang.String getOutputUrl(); /** + * + * *
    * Location of the output metadata file. This can be used to begin an import
    * into Cloud Datastore (this project or another project). See
@@ -29,8 +50,8 @@ public interface ExportEntitiesResponseOrBuilder extends
    * 
* * string output_url = 1; + * * @return The bytes for outputUrl. */ - com.google.protobuf.ByteString - getOutputUrlBytes(); + com.google.protobuf.ByteString getOutputUrlBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/GetIndexRequest.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/GetIndexRequest.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/GetIndexRequest.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/GetIndexRequest.java index a07db893c..00fb79822 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/GetIndexRequest.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/GetIndexRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto @@ -5,6 +20,8 @@ package com.google.datastore.admin.v1; /** + * + * *
  * The request for
  * [google.datastore.admin.v1.DatastoreAdmin.GetIndex][google.datastore.admin.v1.DatastoreAdmin.GetIndex].
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.datastore.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.datastore.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() {
     projectId_ = "";
     indexId_ = "";
@@ -28,33 +46,38 @@ private GetIndexRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GetIndexRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_GetIndexRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.datastore.admin.v1.DatastoreAdminProto
+        .internal_static_google_datastore_admin_v1_GetIndexRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_GetIndexRequest_fieldAccessorTable
+    return com.google.datastore.admin.v1.DatastoreAdminProto
+        .internal_static_google_datastore_admin_v1_GetIndexRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.admin.v1.GetIndexRequest.class, com.google.datastore.admin.v1.GetIndexRequest.Builder.class);
+            com.google.datastore.admin.v1.GetIndexRequest.class,
+            com.google.datastore.admin.v1.GetIndexRequest.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object projectId_ = "";
   /**
+   *
+   *
    * 
    * Project ID against which to make the request.
    * 
* * string project_id = 1; + * * @return The projectId. */ @java.lang.Override @@ -63,29 +86,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Project ID against which to make the request.
    * 
* * string project_id = 1; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -94,14 +117,18 @@ public java.lang.String getProjectId() { } public static final int INDEX_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object indexId_ = ""; /** + * + * *
    * The resource ID of the index to get.
    * 
* * string index_id = 3; + * * @return The indexId. */ @java.lang.Override @@ -110,29 +137,29 @@ public java.lang.String getIndexId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); indexId_ = s; return s; } } /** + * + * *
    * The resource ID of the index to get.
    * 
* * string index_id = 3; + * * @return The bytes for indexId. */ @java.lang.Override - public com.google.protobuf.ByteString - getIndexIdBytes() { + public com.google.protobuf.ByteString getIndexIdBytes() { java.lang.Object ref = indexId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); indexId_ = b; return b; } else { @@ -141,6 +168,7 @@ public java.lang.String getIndexId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -152,8 +180,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -183,17 +210,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.datastore.admin.v1.GetIndexRequest)) { return super.equals(obj); } - com.google.datastore.admin.v1.GetIndexRequest other = (com.google.datastore.admin.v1.GetIndexRequest) obj; + com.google.datastore.admin.v1.GetIndexRequest other = + (com.google.datastore.admin.v1.GetIndexRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getIndexId() - .equals(other.getIndexId())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getIndexId().equals(other.getIndexId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -214,99 +240,104 @@ public int hashCode() { return hash; } - public static com.google.datastore.admin.v1.GetIndexRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.datastore.admin.v1.GetIndexRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.admin.v1.GetIndexRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.admin.v1.GetIndexRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.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.datastore.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.datastore.admin.v1.GetIndexRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.GetIndexRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.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.datastore.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.datastore.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.datastore.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
    * [google.datastore.admin.v1.DatastoreAdmin.GetIndex][google.datastore.admin.v1.DatastoreAdmin.GetIndex].
@@ -314,33 +345,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.datastore.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.datastore.admin.v1.GetIndexRequest)
       com.google.datastore.admin.v1.GetIndexRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_GetIndexRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto
+          .internal_static_google_datastore_admin_v1_GetIndexRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_GetIndexRequest_fieldAccessorTable
+      return com.google.datastore.admin.v1.DatastoreAdminProto
+          .internal_static_google_datastore_admin_v1_GetIndexRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.admin.v1.GetIndexRequest.class, com.google.datastore.admin.v1.GetIndexRequest.Builder.class);
+              com.google.datastore.admin.v1.GetIndexRequest.class,
+              com.google.datastore.admin.v1.GetIndexRequest.Builder.class);
     }
 
     // Construct using com.google.datastore.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();
@@ -351,9 +381,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_GetIndexRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto
+          .internal_static_google_datastore_admin_v1_GetIndexRequest_descriptor;
     }
 
     @java.lang.Override
@@ -372,8 +402,11 @@ public com.google.datastore.admin.v1.GetIndexRequest build() {
 
     @java.lang.Override
     public com.google.datastore.admin.v1.GetIndexRequest buildPartial() {
-      com.google.datastore.admin.v1.GetIndexRequest result = new com.google.datastore.admin.v1.GetIndexRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.datastore.admin.v1.GetIndexRequest result =
+          new com.google.datastore.admin.v1.GetIndexRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -392,38 +425,39 @@ private void buildPartial0(com.google.datastore.admin.v1.GetIndexRequest result)
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.admin.v1.GetIndexRequest) {
-        return mergeFrom((com.google.datastore.admin.v1.GetIndexRequest)other);
+        return mergeFrom((com.google.datastore.admin.v1.GetIndexRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -468,22 +502,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              projectId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 26: {
-              indexId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                projectId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 26:
+              {
+                indexId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                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) {
@@ -493,22 +530,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object projectId_ = "";
     /**
+     *
+     *
      * 
      * Project ID against which to make the request.
      * 
* * string project_id = 1; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -517,20 +557,21 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -538,28 +579,35 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; + * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -569,17 +617,21 @@ public Builder clearProjectId() { return this; } /** + * + * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -589,18 +641,20 @@ public Builder setProjectIdBytes( private java.lang.Object indexId_ = ""; /** + * + * *
      * The resource ID of the index to get.
      * 
* * string index_id = 3; + * * @return The indexId. */ public java.lang.String getIndexId() { java.lang.Object ref = indexId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); indexId_ = s; return s; @@ -609,20 +663,21 @@ public java.lang.String getIndexId() { } } /** + * + * *
      * The resource ID of the index to get.
      * 
* * string index_id = 3; + * * @return The bytes for indexId. */ - public com.google.protobuf.ByteString - getIndexIdBytes() { + public com.google.protobuf.ByteString getIndexIdBytes() { java.lang.Object ref = indexId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); indexId_ = b; return b; } else { @@ -630,28 +685,35 @@ public java.lang.String getIndexId() { } } /** + * + * *
      * The resource ID of the index to get.
      * 
* * string index_id = 3; + * * @param value The indexId to set. * @return This builder for chaining. */ - public Builder setIndexId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIndexId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } indexId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The resource ID of the index to get.
      * 
* * string index_id = 3; + * * @return This builder for chaining. */ public Builder clearIndexId() { @@ -661,26 +723,30 @@ public Builder clearIndexId() { return this; } /** + * + * *
      * The resource ID of the index to get.
      * 
* * string index_id = 3; + * * @param value The bytes for indexId to set. * @return This builder for chaining. */ - public Builder setIndexIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIndexIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); indexId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -690,12 +756,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.GetIndexRequest) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.GetIndexRequest) private static final com.google.datastore.admin.v1.GetIndexRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.GetIndexRequest(); } @@ -704,27 +770,27 @@ public static com.google.datastore.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; @@ -739,6 +805,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.GetIndexRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/GetIndexRequestOrBuilder.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/GetIndexRequestOrBuilder.java similarity index 55% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/GetIndexRequestOrBuilder.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/GetIndexRequestOrBuilder.java index b3600519b..e33a2bd2e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/GetIndexRequestOrBuilder.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/GetIndexRequestOrBuilder.java @@ -1,50 +1,76 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface GetIndexRequestOrBuilder extends +public interface GetIndexRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.GetIndexRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Project ID against which to make the request.
    * 
* * string project_id = 1; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
    * Project ID against which to make the request.
    * 
* * string project_id = 1; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * The resource ID of the index to get.
    * 
* * string index_id = 3; + * * @return The indexId. */ java.lang.String getIndexId(); /** + * + * *
    * The resource ID of the index to get.
    * 
* * string index_id = 3; + * * @return The bytes for indexId. */ - com.google.protobuf.ByteString - getIndexIdBytes(); + com.google.protobuf.ByteString getIndexIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesMetadata.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesMetadata.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesMetadata.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesMetadata.java index 9d2180cba..f89135ebd 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesMetadata.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesMetadata.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto @@ -5,54 +20,61 @@ package com.google.datastore.admin.v1; /** + * + * *
  * Metadata for ImportEntities operations.
  * 
* * Protobuf type {@code google.datastore.admin.v1.ImportEntitiesMetadata} */ -public final class ImportEntitiesMetadata extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ImportEntitiesMetadata extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.datastore.admin.v1.ImportEntitiesMetadata) ImportEntitiesMetadataOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ImportEntitiesMetadata.newBuilder() to construct. private ImportEntitiesMetadata(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ImportEntitiesMetadata() { inputUrl_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ImportEntitiesMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.admin.v1.DatastoreAdminProto + .internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_fieldAccessorTable + return com.google.datastore.admin.v1.DatastoreAdminProto + .internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.ImportEntitiesMetadata.class, com.google.datastore.admin.v1.ImportEntitiesMetadata.Builder.class); + com.google.datastore.admin.v1.ImportEntitiesMetadata.class, + com.google.datastore.admin.v1.ImportEntitiesMetadata.Builder.class); } private int bitField0_; public static final int COMMON_FIELD_NUMBER = 1; private com.google.datastore.admin.v1.CommonMetadata common_; /** + * + * *
    * Metadata common to all Datastore Admin operations.
    * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; + * * @return Whether the common field is set. */ @java.lang.Override @@ -60,18 +82,25 @@ public boolean hasCommon() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Metadata common to all Datastore Admin operations.
    * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; + * * @return The common. */ @java.lang.Override public com.google.datastore.admin.v1.CommonMetadata getCommon() { - return common_ == null ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() : common_; + return common_ == null + ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() + : common_; } /** + * + * *
    * Metadata common to all Datastore Admin operations.
    * 
@@ -80,17 +109,22 @@ public com.google.datastore.admin.v1.CommonMetadata getCommon() { */ @java.lang.Override public com.google.datastore.admin.v1.CommonMetadataOrBuilder getCommonOrBuilder() { - return common_ == null ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() : common_; + return common_ == null + ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() + : common_; } public static final int PROGRESS_ENTITIES_FIELD_NUMBER = 2; private com.google.datastore.admin.v1.Progress progressEntities_; /** + * + * *
    * An estimate of the number of entities processed.
    * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; + * * @return Whether the progressEntities field is set. */ @java.lang.Override @@ -98,18 +132,25 @@ public boolean hasProgressEntities() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * An estimate of the number of entities processed.
    * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; + * * @return The progressEntities. */ @java.lang.Override public com.google.datastore.admin.v1.Progress getProgressEntities() { - return progressEntities_ == null ? com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressEntities_; + return progressEntities_ == null + ? com.google.datastore.admin.v1.Progress.getDefaultInstance() + : progressEntities_; } /** + * + * *
    * An estimate of the number of entities processed.
    * 
@@ -118,17 +159,22 @@ public com.google.datastore.admin.v1.Progress getProgressEntities() { */ @java.lang.Override public com.google.datastore.admin.v1.ProgressOrBuilder getProgressEntitiesOrBuilder() { - return progressEntities_ == null ? com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressEntities_; + return progressEntities_ == null + ? com.google.datastore.admin.v1.Progress.getDefaultInstance() + : progressEntities_; } public static final int PROGRESS_BYTES_FIELD_NUMBER = 3; private com.google.datastore.admin.v1.Progress progressBytes_; /** + * + * *
    * An estimate of the number of bytes processed.
    * 
* * .google.datastore.admin.v1.Progress progress_bytes = 3; + * * @return Whether the progressBytes field is set. */ @java.lang.Override @@ -136,18 +182,25 @@ public boolean hasProgressBytes() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
    * An estimate of the number of bytes processed.
    * 
* * .google.datastore.admin.v1.Progress progress_bytes = 3; + * * @return The progressBytes. */ @java.lang.Override public com.google.datastore.admin.v1.Progress getProgressBytes() { - return progressBytes_ == null ? com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressBytes_; + return progressBytes_ == null + ? com.google.datastore.admin.v1.Progress.getDefaultInstance() + : progressBytes_; } /** + * + * *
    * An estimate of the number of bytes processed.
    * 
@@ -156,17 +209,22 @@ public com.google.datastore.admin.v1.Progress getProgressBytes() { */ @java.lang.Override public com.google.datastore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder() { - return progressBytes_ == null ? com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressBytes_; + return progressBytes_ == null + ? com.google.datastore.admin.v1.Progress.getDefaultInstance() + : progressBytes_; } public static final int ENTITY_FILTER_FIELD_NUMBER = 4; private com.google.datastore.admin.v1.EntityFilter entityFilter_; /** + * + * *
    * Description of which entities are being imported.
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; + * * @return Whether the entityFilter field is set. */ @java.lang.Override @@ -174,18 +232,25 @@ public boolean hasEntityFilter() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
    * Description of which entities are being imported.
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; + * * @return The entityFilter. */ @java.lang.Override public com.google.datastore.admin.v1.EntityFilter getEntityFilter() { - return entityFilter_ == null ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_; + return entityFilter_ == null + ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() + : entityFilter_; } /** + * + * *
    * Description of which entities are being imported.
    * 
@@ -194,13 +259,18 @@ public com.google.datastore.admin.v1.EntityFilter getEntityFilter() { */ @java.lang.Override public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuilder() { - return entityFilter_ == null ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_; + return entityFilter_ == null + ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() + : entityFilter_; } public static final int INPUT_URL_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object inputUrl_ = ""; /** + * + * *
    * The location of the import metadata file. This will be the same value as
    * the
@@ -209,6 +279,7 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil
    * 
* * string input_url = 5; + * * @return The inputUrl. */ @java.lang.Override @@ -217,14 +288,15 @@ public java.lang.String getInputUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputUrl_ = s; return s; } } /** + * + * *
    * The location of the import metadata file. This will be the same value as
    * the
@@ -233,16 +305,15 @@ public java.lang.String getInputUrl() {
    * 
* * string input_url = 5; + * * @return The bytes for inputUrl. */ @java.lang.Override - public com.google.protobuf.ByteString - getInputUrlBytes() { + public com.google.protobuf.ByteString getInputUrlBytes() { java.lang.Object ref = inputUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); inputUrl_ = b; return b; } else { @@ -251,6 +322,7 @@ public java.lang.String getInputUrl() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -262,8 +334,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getCommon()); } @@ -289,20 +360,16 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCommon()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCommon()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getProgressEntities()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProgressEntities()); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getProgressBytes()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getProgressBytes()); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(4, getEntityFilter()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEntityFilter()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputUrl_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, inputUrl_); @@ -315,35 +382,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.datastore.admin.v1.ImportEntitiesMetadata)) { return super.equals(obj); } - com.google.datastore.admin.v1.ImportEntitiesMetadata other = (com.google.datastore.admin.v1.ImportEntitiesMetadata) obj; + com.google.datastore.admin.v1.ImportEntitiesMetadata other = + (com.google.datastore.admin.v1.ImportEntitiesMetadata) obj; if (hasCommon() != other.hasCommon()) return false; if (hasCommon()) { - if (!getCommon() - .equals(other.getCommon())) return false; + if (!getCommon().equals(other.getCommon())) return false; } if (hasProgressEntities() != other.hasProgressEntities()) return false; if (hasProgressEntities()) { - if (!getProgressEntities() - .equals(other.getProgressEntities())) return false; + if (!getProgressEntities().equals(other.getProgressEntities())) 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 (hasEntityFilter() != other.hasEntityFilter()) return false; if (hasEntityFilter()) { - if (!getEntityFilter() - .equals(other.getEntityFilter())) return false; + if (!getEntityFilter().equals(other.getEntityFilter())) return false; } - if (!getInputUrl() - .equals(other.getInputUrl())) return false; + if (!getInputUrl().equals(other.getInputUrl())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -379,119 +442,126 @@ public int hashCode() { } public static com.google.datastore.admin.v1.ImportEntitiesMetadata 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.datastore.admin.v1.ImportEntitiesMetadata parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.admin.v1.ImportEntitiesMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.admin.v1.ImportEntitiesMetadata parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.admin.v1.ImportEntitiesMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.admin.v1.ImportEntitiesMetadata parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.ImportEntitiesMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.datastore.admin.v1.ImportEntitiesMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.admin.v1.ImportEntitiesMetadata parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.ImportEntitiesMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.ImportEntitiesMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.admin.v1.ImportEntitiesMetadata parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.datastore.admin.v1.ImportEntitiesMetadata parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.admin.v1.ImportEntitiesMetadata parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.datastore.admin.v1.ImportEntitiesMetadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 ImportEntities operations.
    * 
* * Protobuf type {@code google.datastore.admin.v1.ImportEntitiesMetadata} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.datastore.admin.v1.ImportEntitiesMetadata) com.google.datastore.admin.v1.ImportEntitiesMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.admin.v1.DatastoreAdminProto + .internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_fieldAccessorTable + return com.google.datastore.admin.v1.DatastoreAdminProto + .internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.ImportEntitiesMetadata.class, com.google.datastore.admin.v1.ImportEntitiesMetadata.Builder.class); + com.google.datastore.admin.v1.ImportEntitiesMetadata.class, + com.google.datastore.admin.v1.ImportEntitiesMetadata.Builder.class); } // Construct using com.google.datastore.admin.v1.ImportEntitiesMetadata.newBuilder() @@ -499,20 +569,20 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getCommonFieldBuilder(); getProgressEntitiesFieldBuilder(); getProgressBytesFieldBuilder(); getEntityFilterFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -542,9 +612,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.admin.v1.DatastoreAdminProto + .internal_static_google_datastore_admin_v1_ImportEntitiesMetadata_descriptor; } @java.lang.Override @@ -563,8 +633,11 @@ public com.google.datastore.admin.v1.ImportEntitiesMetadata build() { @java.lang.Override public com.google.datastore.admin.v1.ImportEntitiesMetadata buildPartial() { - com.google.datastore.admin.v1.ImportEntitiesMetadata result = new com.google.datastore.admin.v1.ImportEntitiesMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.datastore.admin.v1.ImportEntitiesMetadata result = + new com.google.datastore.admin.v1.ImportEntitiesMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -573,27 +646,22 @@ private void buildPartial0(com.google.datastore.admin.v1.ImportEntitiesMetadata int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.common_ = commonBuilder_ == null - ? common_ - : commonBuilder_.build(); + result.common_ = commonBuilder_ == null ? common_ : commonBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.progressEntities_ = progressEntitiesBuilder_ == null - ? progressEntities_ - : progressEntitiesBuilder_.build(); + result.progressEntities_ = + progressEntitiesBuilder_ == null ? progressEntities_ : progressEntitiesBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.progressBytes_ = progressBytesBuilder_ == null - ? progressBytes_ - : progressBytesBuilder_.build(); + result.progressBytes_ = + progressBytesBuilder_ == null ? progressBytes_ : progressBytesBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.entityFilter_ = entityFilterBuilder_ == null - ? entityFilter_ - : entityFilterBuilder_.build(); + result.entityFilter_ = + entityFilterBuilder_ == null ? entityFilter_ : entityFilterBuilder_.build(); to_bitField0_ |= 0x00000008; } if (((from_bitField0_ & 0x00000010) != 0)) { @@ -606,38 +674,39 @@ private void buildPartial0(com.google.datastore.admin.v1.ImportEntitiesMetadata public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.admin.v1.ImportEntitiesMetadata) { - return mergeFrom((com.google.datastore.admin.v1.ImportEntitiesMetadata)other); + return mergeFrom((com.google.datastore.admin.v1.ImportEntitiesMetadata) other); } else { super.mergeFrom(other); return this; @@ -645,7 +714,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.datastore.admin.v1.ImportEntitiesMetadata other) { - if (other == com.google.datastore.admin.v1.ImportEntitiesMetadata.getDefaultInstance()) return this; + if (other == com.google.datastore.admin.v1.ImportEntitiesMetadata.getDefaultInstance()) + return this; if (other.hasCommon()) { mergeCommon(other.getCommon()); } @@ -689,45 +759,44 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCommonFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getProgressEntitiesFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getProgressBytesFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - input.readMessage( - getEntityFilterFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - inputUrl_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCommonFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + getProgressEntitiesFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getProgressBytesFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + input.readMessage(getEntityFilterFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + inputUrl_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -737,38 +806,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.datastore.admin.v1.CommonMetadata common_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.CommonMetadata, com.google.datastore.admin.v1.CommonMetadata.Builder, com.google.datastore.admin.v1.CommonMetadataOrBuilder> commonBuilder_; + com.google.datastore.admin.v1.CommonMetadata, + com.google.datastore.admin.v1.CommonMetadata.Builder, + com.google.datastore.admin.v1.CommonMetadataOrBuilder> + commonBuilder_; /** + * + * *
      * Metadata common to all Datastore Admin operations.
      * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; + * * @return Whether the common field is set. */ public boolean hasCommon() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Metadata common to all Datastore Admin operations.
      * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; + * * @return The common. */ public com.google.datastore.admin.v1.CommonMetadata getCommon() { if (commonBuilder_ == null) { - return common_ == null ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() : common_; + return common_ == null + ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() + : common_; } else { return commonBuilder_.getMessage(); } } /** + * + * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -789,14 +872,15 @@ public Builder setCommon(com.google.datastore.admin.v1.CommonMetadata value) { return this; } /** + * + * *
      * Metadata common to all Datastore Admin operations.
      * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; */ - public Builder setCommon( - com.google.datastore.admin.v1.CommonMetadata.Builder builderForValue) { + public Builder setCommon(com.google.datastore.admin.v1.CommonMetadata.Builder builderForValue) { if (commonBuilder_ == null) { common_ = builderForValue.build(); } else { @@ -807,6 +891,8 @@ public Builder setCommon( return this; } /** + * + * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -815,9 +901,9 @@ public Builder setCommon( */ public Builder mergeCommon(com.google.datastore.admin.v1.CommonMetadata value) { if (commonBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - common_ != null && - common_ != com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && common_ != null + && common_ != com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance()) { getCommonBuilder().mergeFrom(value); } else { common_ = value; @@ -832,6 +918,8 @@ public Builder mergeCommon(com.google.datastore.admin.v1.CommonMetadata value) { return this; } /** + * + * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -849,6 +937,8 @@ public Builder clearCommon() { return this; } /** + * + * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -861,6 +951,8 @@ public com.google.datastore.admin.v1.CommonMetadata.Builder getCommonBuilder() { return getCommonFieldBuilder().getBuilder(); } /** + * + * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -871,11 +963,14 @@ public com.google.datastore.admin.v1.CommonMetadataOrBuilder getCommonOrBuilder( if (commonBuilder_ != null) { return commonBuilder_.getMessageOrBuilder(); } else { - return common_ == null ? - com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() : common_; + return common_ == null + ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() + : common_; } } /** + * + * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -883,14 +978,17 @@ public com.google.datastore.admin.v1.CommonMetadataOrBuilder getCommonOrBuilder( * .google.datastore.admin.v1.CommonMetadata common = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.CommonMetadata, com.google.datastore.admin.v1.CommonMetadata.Builder, com.google.datastore.admin.v1.CommonMetadataOrBuilder> + com.google.datastore.admin.v1.CommonMetadata, + com.google.datastore.admin.v1.CommonMetadata.Builder, + com.google.datastore.admin.v1.CommonMetadataOrBuilder> getCommonFieldBuilder() { if (commonBuilder_ == null) { - commonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.CommonMetadata, com.google.datastore.admin.v1.CommonMetadata.Builder, com.google.datastore.admin.v1.CommonMetadataOrBuilder>( - getCommon(), - getParentForChildren(), - isClean()); + commonBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.admin.v1.CommonMetadata, + com.google.datastore.admin.v1.CommonMetadata.Builder, + com.google.datastore.admin.v1.CommonMetadataOrBuilder>( + getCommon(), getParentForChildren(), isClean()); common_ = null; } return commonBuilder_; @@ -898,34 +996,47 @@ public com.google.datastore.admin.v1.CommonMetadataOrBuilder getCommonOrBuilder( private com.google.datastore.admin.v1.Progress progressEntities_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Progress, com.google.datastore.admin.v1.Progress.Builder, com.google.datastore.admin.v1.ProgressOrBuilder> progressEntitiesBuilder_; + com.google.datastore.admin.v1.Progress, + com.google.datastore.admin.v1.Progress.Builder, + com.google.datastore.admin.v1.ProgressOrBuilder> + progressEntitiesBuilder_; /** + * + * *
      * An estimate of the number of entities processed.
      * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; + * * @return Whether the progressEntities field is set. */ public boolean hasProgressEntities() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * An estimate of the number of entities processed.
      * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; + * * @return The progressEntities. */ public com.google.datastore.admin.v1.Progress getProgressEntities() { if (progressEntitiesBuilder_ == null) { - return progressEntities_ == null ? com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressEntities_; + return progressEntities_ == null + ? com.google.datastore.admin.v1.Progress.getDefaultInstance() + : progressEntities_; } else { return progressEntitiesBuilder_.getMessage(); } } /** + * + * *
      * An estimate of the number of entities processed.
      * 
@@ -946,6 +1057,8 @@ public Builder setProgressEntities(com.google.datastore.admin.v1.Progress value) return this; } /** + * + * *
      * An estimate of the number of entities processed.
      * 
@@ -964,6 +1077,8 @@ public Builder setProgressEntities( return this; } /** + * + * *
      * An estimate of the number of entities processed.
      * 
@@ -972,9 +1087,9 @@ public Builder setProgressEntities( */ public Builder mergeProgressEntities(com.google.datastore.admin.v1.Progress value) { if (progressEntitiesBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - progressEntities_ != null && - progressEntities_ != com.google.datastore.admin.v1.Progress.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && progressEntities_ != null + && progressEntities_ != com.google.datastore.admin.v1.Progress.getDefaultInstance()) { getProgressEntitiesBuilder().mergeFrom(value); } else { progressEntities_ = value; @@ -989,6 +1104,8 @@ public Builder mergeProgressEntities(com.google.datastore.admin.v1.Progress valu return this; } /** + * + * *
      * An estimate of the number of entities processed.
      * 
@@ -1006,6 +1123,8 @@ public Builder clearProgressEntities() { return this; } /** + * + * *
      * An estimate of the number of entities processed.
      * 
@@ -1018,6 +1137,8 @@ public com.google.datastore.admin.v1.Progress.Builder getProgressEntitiesBuilder return getProgressEntitiesFieldBuilder().getBuilder(); } /** + * + * *
      * An estimate of the number of entities processed.
      * 
@@ -1028,11 +1149,14 @@ public com.google.datastore.admin.v1.ProgressOrBuilder getProgressEntitiesOrBuil if (progressEntitiesBuilder_ != null) { return progressEntitiesBuilder_.getMessageOrBuilder(); } else { - return progressEntities_ == null ? - com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressEntities_; + return progressEntities_ == null + ? com.google.datastore.admin.v1.Progress.getDefaultInstance() + : progressEntities_; } } /** + * + * *
      * An estimate of the number of entities processed.
      * 
@@ -1040,14 +1164,17 @@ public com.google.datastore.admin.v1.ProgressOrBuilder getProgressEntitiesOrBuil * .google.datastore.admin.v1.Progress progress_entities = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Progress, com.google.datastore.admin.v1.Progress.Builder, com.google.datastore.admin.v1.ProgressOrBuilder> + com.google.datastore.admin.v1.Progress, + com.google.datastore.admin.v1.Progress.Builder, + com.google.datastore.admin.v1.ProgressOrBuilder> getProgressEntitiesFieldBuilder() { if (progressEntitiesBuilder_ == null) { - progressEntitiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Progress, com.google.datastore.admin.v1.Progress.Builder, com.google.datastore.admin.v1.ProgressOrBuilder>( - getProgressEntities(), - getParentForChildren(), - isClean()); + progressEntitiesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.admin.v1.Progress, + com.google.datastore.admin.v1.Progress.Builder, + com.google.datastore.admin.v1.ProgressOrBuilder>( + getProgressEntities(), getParentForChildren(), isClean()); progressEntities_ = null; } return progressEntitiesBuilder_; @@ -1055,34 +1182,47 @@ public com.google.datastore.admin.v1.ProgressOrBuilder getProgressEntitiesOrBuil private com.google.datastore.admin.v1.Progress progressBytes_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Progress, com.google.datastore.admin.v1.Progress.Builder, com.google.datastore.admin.v1.ProgressOrBuilder> progressBytesBuilder_; + com.google.datastore.admin.v1.Progress, + com.google.datastore.admin.v1.Progress.Builder, + com.google.datastore.admin.v1.ProgressOrBuilder> + progressBytesBuilder_; /** + * + * *
      * An estimate of the number of bytes processed.
      * 
* * .google.datastore.admin.v1.Progress progress_bytes = 3; + * * @return Whether the progressBytes field is set. */ public boolean hasProgressBytes() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * An estimate of the number of bytes processed.
      * 
* * .google.datastore.admin.v1.Progress progress_bytes = 3; + * * @return The progressBytes. */ public com.google.datastore.admin.v1.Progress getProgressBytes() { if (progressBytesBuilder_ == null) { - return progressBytes_ == null ? com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressBytes_; + return progressBytes_ == null + ? com.google.datastore.admin.v1.Progress.getDefaultInstance() + : progressBytes_; } else { return progressBytesBuilder_.getMessage(); } } /** + * + * *
      * An estimate of the number of bytes processed.
      * 
@@ -1103,6 +1243,8 @@ public Builder setProgressBytes(com.google.datastore.admin.v1.Progress value) { return this; } /** + * + * *
      * An estimate of the number of bytes processed.
      * 
@@ -1121,6 +1263,8 @@ public Builder setProgressBytes( return this; } /** + * + * *
      * An estimate of the number of bytes processed.
      * 
@@ -1129,9 +1273,9 @@ public Builder setProgressBytes( */ public Builder mergeProgressBytes(com.google.datastore.admin.v1.Progress value) { if (progressBytesBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - progressBytes_ != null && - progressBytes_ != com.google.datastore.admin.v1.Progress.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && progressBytes_ != null + && progressBytes_ != com.google.datastore.admin.v1.Progress.getDefaultInstance()) { getProgressBytesBuilder().mergeFrom(value); } else { progressBytes_ = value; @@ -1146,6 +1290,8 @@ public Builder mergeProgressBytes(com.google.datastore.admin.v1.Progress value) return this; } /** + * + * *
      * An estimate of the number of bytes processed.
      * 
@@ -1163,6 +1309,8 @@ public Builder clearProgressBytes() { return this; } /** + * + * *
      * An estimate of the number of bytes processed.
      * 
@@ -1175,6 +1323,8 @@ public com.google.datastore.admin.v1.Progress.Builder getProgressBytesBuilder() return getProgressBytesFieldBuilder().getBuilder(); } /** + * + * *
      * An estimate of the number of bytes processed.
      * 
@@ -1185,11 +1335,14 @@ public com.google.datastore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder if (progressBytesBuilder_ != null) { return progressBytesBuilder_.getMessageOrBuilder(); } else { - return progressBytes_ == null ? - com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressBytes_; + return progressBytes_ == null + ? com.google.datastore.admin.v1.Progress.getDefaultInstance() + : progressBytes_; } } /** + * + * *
      * An estimate of the number of bytes processed.
      * 
@@ -1197,14 +1350,17 @@ public com.google.datastore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder * .google.datastore.admin.v1.Progress progress_bytes = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Progress, com.google.datastore.admin.v1.Progress.Builder, com.google.datastore.admin.v1.ProgressOrBuilder> + com.google.datastore.admin.v1.Progress, + com.google.datastore.admin.v1.Progress.Builder, + com.google.datastore.admin.v1.ProgressOrBuilder> getProgressBytesFieldBuilder() { if (progressBytesBuilder_ == null) { - progressBytesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Progress, com.google.datastore.admin.v1.Progress.Builder, com.google.datastore.admin.v1.ProgressOrBuilder>( - getProgressBytes(), - getParentForChildren(), - isClean()); + progressBytesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.admin.v1.Progress, + com.google.datastore.admin.v1.Progress.Builder, + com.google.datastore.admin.v1.ProgressOrBuilder>( + getProgressBytes(), getParentForChildren(), isClean()); progressBytes_ = null; } return progressBytesBuilder_; @@ -1212,34 +1368,47 @@ public com.google.datastore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder private com.google.datastore.admin.v1.EntityFilter entityFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.EntityFilter, com.google.datastore.admin.v1.EntityFilter.Builder, com.google.datastore.admin.v1.EntityFilterOrBuilder> entityFilterBuilder_; + com.google.datastore.admin.v1.EntityFilter, + com.google.datastore.admin.v1.EntityFilter.Builder, + com.google.datastore.admin.v1.EntityFilterOrBuilder> + entityFilterBuilder_; /** + * + * *
      * Description of which entities are being imported.
      * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; + * * @return Whether the entityFilter field is set. */ public boolean hasEntityFilter() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Description of which entities are being imported.
      * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; + * * @return The entityFilter. */ public com.google.datastore.admin.v1.EntityFilter getEntityFilter() { if (entityFilterBuilder_ == null) { - return entityFilter_ == null ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_; + return entityFilter_ == null + ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() + : entityFilter_; } else { return entityFilterBuilder_.getMessage(); } } /** + * + * *
      * Description of which entities are being imported.
      * 
@@ -1260,6 +1429,8 @@ public Builder setEntityFilter(com.google.datastore.admin.v1.EntityFilter value) return this; } /** + * + * *
      * Description of which entities are being imported.
      * 
@@ -1278,6 +1449,8 @@ public Builder setEntityFilter( return this; } /** + * + * *
      * Description of which entities are being imported.
      * 
@@ -1286,9 +1459,9 @@ public Builder setEntityFilter( */ public Builder mergeEntityFilter(com.google.datastore.admin.v1.EntityFilter value) { if (entityFilterBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - entityFilter_ != null && - entityFilter_ != com.google.datastore.admin.v1.EntityFilter.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && entityFilter_ != null + && entityFilter_ != com.google.datastore.admin.v1.EntityFilter.getDefaultInstance()) { getEntityFilterBuilder().mergeFrom(value); } else { entityFilter_ = value; @@ -1303,6 +1476,8 @@ public Builder mergeEntityFilter(com.google.datastore.admin.v1.EntityFilter valu return this; } /** + * + * *
      * Description of which entities are being imported.
      * 
@@ -1320,6 +1495,8 @@ public Builder clearEntityFilter() { return this; } /** + * + * *
      * Description of which entities are being imported.
      * 
@@ -1332,6 +1509,8 @@ public com.google.datastore.admin.v1.EntityFilter.Builder getEntityFilterBuilder return getEntityFilterFieldBuilder().getBuilder(); } /** + * + * *
      * Description of which entities are being imported.
      * 
@@ -1342,11 +1521,14 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil if (entityFilterBuilder_ != null) { return entityFilterBuilder_.getMessageOrBuilder(); } else { - return entityFilter_ == null ? - com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_; + return entityFilter_ == null + ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() + : entityFilter_; } } /** + * + * *
      * Description of which entities are being imported.
      * 
@@ -1354,14 +1536,17 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil * .google.datastore.admin.v1.EntityFilter entity_filter = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.EntityFilter, com.google.datastore.admin.v1.EntityFilter.Builder, com.google.datastore.admin.v1.EntityFilterOrBuilder> + com.google.datastore.admin.v1.EntityFilter, + com.google.datastore.admin.v1.EntityFilter.Builder, + com.google.datastore.admin.v1.EntityFilterOrBuilder> getEntityFilterFieldBuilder() { if (entityFilterBuilder_ == null) { - entityFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.EntityFilter, com.google.datastore.admin.v1.EntityFilter.Builder, com.google.datastore.admin.v1.EntityFilterOrBuilder>( - getEntityFilter(), - getParentForChildren(), - isClean()); + entityFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.admin.v1.EntityFilter, + com.google.datastore.admin.v1.EntityFilter.Builder, + com.google.datastore.admin.v1.EntityFilterOrBuilder>( + getEntityFilter(), getParentForChildren(), isClean()); entityFilter_ = null; } return entityFilterBuilder_; @@ -1369,6 +1554,8 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil private java.lang.Object inputUrl_ = ""; /** + * + * *
      * The location of the import metadata file. This will be the same value as
      * the
@@ -1377,13 +1564,13 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil
      * 
* * string input_url = 5; + * * @return The inputUrl. */ public java.lang.String getInputUrl() { java.lang.Object ref = inputUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputUrl_ = s; return s; @@ -1392,6 +1579,8 @@ public java.lang.String getInputUrl() { } } /** + * + * *
      * The location of the import metadata file. This will be the same value as
      * the
@@ -1400,15 +1589,14 @@ public java.lang.String getInputUrl() {
      * 
* * string input_url = 5; + * * @return The bytes for inputUrl. */ - public com.google.protobuf.ByteString - getInputUrlBytes() { + public com.google.protobuf.ByteString getInputUrlBytes() { java.lang.Object ref = inputUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); inputUrl_ = b; return b; } else { @@ -1416,6 +1604,8 @@ public java.lang.String getInputUrl() { } } /** + * + * *
      * The location of the import metadata file. This will be the same value as
      * the
@@ -1424,18 +1614,22 @@ public java.lang.String getInputUrl() {
      * 
* * string input_url = 5; + * * @param value The inputUrl to set. * @return This builder for chaining. */ - public Builder setInputUrl( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInputUrl(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } inputUrl_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * The location of the import metadata file. This will be the same value as
      * the
@@ -1444,6 +1638,7 @@ public Builder setInputUrl(
      * 
* * string input_url = 5; + * * @return This builder for chaining. */ public Builder clearInputUrl() { @@ -1453,6 +1648,8 @@ public Builder clearInputUrl() { return this; } /** + * + * *
      * The location of the import metadata file. This will be the same value as
      * the
@@ -1461,21 +1658,23 @@ public Builder clearInputUrl() {
      * 
* * string input_url = 5; + * * @param value The bytes for inputUrl to set. * @return This builder for chaining. */ - public Builder setInputUrlBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInputUrlBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); inputUrl_ = value; bitField0_ |= 0x00000010; 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); } @@ -1485,12 +1684,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.ImportEntitiesMetadata) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.ImportEntitiesMetadata) private static final com.google.datastore.admin.v1.ImportEntitiesMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.ImportEntitiesMetadata(); } @@ -1499,27 +1698,27 @@ public static com.google.datastore.admin.v1.ImportEntitiesMetadata getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ImportEntitiesMetadata parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ImportEntitiesMetadata parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1534,6 +1733,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.ImportEntitiesMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesMetadataOrBuilder.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesMetadataOrBuilder.java similarity index 82% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesMetadataOrBuilder.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesMetadataOrBuilder.java index ec3bf5a9f..71c6928af 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesMetadataOrBuilder.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesMetadataOrBuilder.java @@ -1,32 +1,56 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface ImportEntitiesMetadataOrBuilder extends +public interface ImportEntitiesMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.ImportEntitiesMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Metadata common to all Datastore Admin operations.
    * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; + * * @return Whether the common field is set. */ boolean hasCommon(); /** + * + * *
    * Metadata common to all Datastore Admin operations.
    * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; + * * @return The common. */ com.google.datastore.admin.v1.CommonMetadata getCommon(); /** + * + * *
    * Metadata common to all Datastore Admin operations.
    * 
@@ -36,24 +60,32 @@ public interface ImportEntitiesMetadataOrBuilder extends com.google.datastore.admin.v1.CommonMetadataOrBuilder getCommonOrBuilder(); /** + * + * *
    * An estimate of the number of entities processed.
    * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; + * * @return Whether the progressEntities field is set. */ boolean hasProgressEntities(); /** + * + * *
    * An estimate of the number of entities processed.
    * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; + * * @return The progressEntities. */ com.google.datastore.admin.v1.Progress getProgressEntities(); /** + * + * *
    * An estimate of the number of entities processed.
    * 
@@ -63,24 +95,32 @@ public interface ImportEntitiesMetadataOrBuilder extends com.google.datastore.admin.v1.ProgressOrBuilder getProgressEntitiesOrBuilder(); /** + * + * *
    * An estimate of the number of bytes processed.
    * 
* * .google.datastore.admin.v1.Progress progress_bytes = 3; + * * @return Whether the progressBytes field is set. */ boolean hasProgressBytes(); /** + * + * *
    * An estimate of the number of bytes processed.
    * 
* * .google.datastore.admin.v1.Progress progress_bytes = 3; + * * @return The progressBytes. */ com.google.datastore.admin.v1.Progress getProgressBytes(); /** + * + * *
    * An estimate of the number of bytes processed.
    * 
@@ -90,24 +130,32 @@ public interface ImportEntitiesMetadataOrBuilder extends com.google.datastore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder(); /** + * + * *
    * Description of which entities are being imported.
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; + * * @return Whether the entityFilter field is set. */ boolean hasEntityFilter(); /** + * + * *
    * Description of which entities are being imported.
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; + * * @return The entityFilter. */ com.google.datastore.admin.v1.EntityFilter getEntityFilter(); /** + * + * *
    * Description of which entities are being imported.
    * 
@@ -117,6 +165,8 @@ public interface ImportEntitiesMetadataOrBuilder extends com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuilder(); /** + * + * *
    * The location of the import metadata file. This will be the same value as
    * the
@@ -125,10 +175,13 @@ public interface ImportEntitiesMetadataOrBuilder extends
    * 
* * string input_url = 5; + * * @return The inputUrl. */ java.lang.String getInputUrl(); /** + * + * *
    * The location of the import metadata file. This will be the same value as
    * the
@@ -137,8 +190,8 @@ public interface ImportEntitiesMetadataOrBuilder extends
    * 
* * string input_url = 5; + * * @return The bytes for inputUrl. */ - com.google.protobuf.ByteString - getInputUrlBytes(); + com.google.protobuf.ByteString getInputUrlBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesRequest.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesRequest.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesRequest.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesRequest.java index 3da172467..596bbfa1a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesRequest.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto @@ -5,6 +20,8 @@ package com.google.datastore.admin.v1; /** + * + * *
  * The request for
  * [google.datastore.admin.v1.DatastoreAdmin.ImportEntities][google.datastore.admin.v1.DatastoreAdmin.ImportEntities].
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.datastore.admin.v1.ImportEntitiesRequest}
  */
-public final class ImportEntitiesRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ImportEntitiesRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.datastore.admin.v1.ImportEntitiesRequest)
     ImportEntitiesRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ImportEntitiesRequest.newBuilder() to construct.
   private ImportEntitiesRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ImportEntitiesRequest() {
     projectId_ = "";
     inputUrl_ = "";
@@ -28,14 +46,13 @@ private ImportEntitiesRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ImportEntitiesRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ImportEntitiesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.datastore.admin.v1.DatastoreAdminProto
+        .internal_static_google_datastore_admin_v1_ImportEntitiesRequest_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
@@ -46,28 +63,34 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
       case 2:
         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.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ImportEntitiesRequest_fieldAccessorTable
+    return com.google.datastore.admin.v1.DatastoreAdminProto
+        .internal_static_google_datastore_admin_v1_ImportEntitiesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.admin.v1.ImportEntitiesRequest.class, com.google.datastore.admin.v1.ImportEntitiesRequest.Builder.class);
+            com.google.datastore.admin.v1.ImportEntitiesRequest.class,
+            com.google.datastore.admin.v1.ImportEntitiesRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object projectId_ = "";
   /**
+   *
+   *
    * 
    * Required. Project ID against which to make the request.
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ @java.lang.Override @@ -76,29 +99,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. Project ID against which to make the request.
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -107,32 +130,34 @@ public java.lang.String getProjectId() { } public static final int LABELS_FIELD_NUMBER = 2; + 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.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ImportEntitiesRequest_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.datastore.admin.v1.DatastoreAdminProto + .internal_static_google_datastore_admin_v1_ImportEntitiesRequest_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Client-assigned labels.
    * 
@@ -140,20 +165,21 @@ public int getLabelsCount() { * map<string, string> labels = 2; */ @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(); } /** + * + * *
    * Client-assigned labels.
    * 
@@ -165,6 +191,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
    * Client-assigned labels.
    * 
@@ -172,17 +200,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 2; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
    * Client-assigned labels.
    * 
@@ -190,11 +220,11 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 2; */ @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(); } @@ -202,9 +232,12 @@ public java.lang.String getLabelsOrThrow( } public static final int INPUT_URL_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object inputUrl_ = ""; /** + * + * *
    * Required. The full resource URL of the external storage location.
    * Currently, only Google Cloud Storage is supported. So input_url should be
@@ -223,6 +256,7 @@ public java.lang.String getLabelsOrThrow(
    * 
* * string input_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The inputUrl. */ @java.lang.Override @@ -231,14 +265,15 @@ public java.lang.String getInputUrl() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputUrl_ = s; return s; } } /** + * + * *
    * Required. The full resource URL of the external storage location.
    * Currently, only Google Cloud Storage is supported. So input_url should be
@@ -257,16 +292,15 @@ public java.lang.String getInputUrl() {
    * 
* * string input_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for inputUrl. */ @java.lang.Override - public com.google.protobuf.ByteString - getInputUrlBytes() { + public com.google.protobuf.ByteString getInputUrlBytes() { java.lang.Object ref = inputUrl_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); inputUrl_ = b; return b; } else { @@ -277,6 +311,8 @@ public java.lang.String getInputUrl() { public static final int ENTITY_FILTER_FIELD_NUMBER = 4; private com.google.datastore.admin.v1.EntityFilter entityFilter_; /** + * + * *
    * Optionally specify which kinds/namespaces are to be imported. If provided,
    * the list must be a subset of the EntityFilter used in creating the export,
@@ -285,6 +321,7 @@ public java.lang.String getInputUrl() {
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; + * * @return Whether the entityFilter field is set. */ @java.lang.Override @@ -292,6 +329,8 @@ public boolean hasEntityFilter() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Optionally specify which kinds/namespaces are to be imported. If provided,
    * the list must be a subset of the EntityFilter used in creating the export,
@@ -300,13 +339,18 @@ public boolean hasEntityFilter() {
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; + * * @return The entityFilter. */ @java.lang.Override public com.google.datastore.admin.v1.EntityFilter getEntityFilter() { - return entityFilter_ == null ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_; + return entityFilter_ == null + ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() + : entityFilter_; } /** + * + * *
    * Optionally specify which kinds/namespaces are to be imported. If provided,
    * the list must be a subset of the EntityFilter used in creating the export,
@@ -318,10 +362,13 @@ public com.google.datastore.admin.v1.EntityFilter getEntityFilter() {
    */
   @java.lang.Override
   public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuilder() {
-    return entityFilter_ == null ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_;
+    return entityFilter_ == null
+        ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance()
+        : entityFilter_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -333,17 +380,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(projectId_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_);
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetLabels(),
-        LabelsDefaultEntryHolder.defaultEntry,
-        2);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 2);
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputUrl_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 3, inputUrl_);
     }
@@ -362,22 +404,21 @@ public int getSerializedSize() {
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, projectId_);
     }
-    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(2, labels__);
+    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(2, labels__);
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(inputUrl_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, inputUrl_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getEntityFilter());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getEntityFilter());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -387,23 +428,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.datastore.admin.v1.ImportEntitiesRequest)) {
       return super.equals(obj);
     }
-    com.google.datastore.admin.v1.ImportEntitiesRequest other = (com.google.datastore.admin.v1.ImportEntitiesRequest) obj;
+    com.google.datastore.admin.v1.ImportEntitiesRequest other =
+        (com.google.datastore.admin.v1.ImportEntitiesRequest) obj;
 
-    if (!getProjectId()
-        .equals(other.getProjectId())) return false;
-    if (!internalGetLabels().equals(
-        other.internalGetLabels())) return false;
-    if (!getInputUrl()
-        .equals(other.getInputUrl())) return false;
+    if (!getProjectId().equals(other.getProjectId())) return false;
+    if (!internalGetLabels().equals(other.internalGetLabels())) return false;
+    if (!getInputUrl().equals(other.getInputUrl())) return false;
     if (hasEntityFilter() != other.hasEntityFilter()) return false;
     if (hasEntityFilter()) {
-      if (!getEntityFilter()
-          .equals(other.getEntityFilter())) return false;
+      if (!getEntityFilter().equals(other.getEntityFilter())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -434,98 +472,103 @@ public int hashCode() {
   }
 
   public static com.google.datastore.admin.v1.ImportEntitiesRequest 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.datastore.admin.v1.ImportEntitiesRequest parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.admin.v1.ImportEntitiesRequest parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.admin.v1.ImportEntitiesRequest parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.admin.v1.ImportEntitiesRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.admin.v1.ImportEntitiesRequest parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.datastore.admin.v1.ImportEntitiesRequest parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.datastore.admin.v1.ImportEntitiesRequest parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.datastore.admin.v1.ImportEntitiesRequest parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.datastore.admin.v1.ImportEntitiesRequest parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.datastore.admin.v1.ImportEntitiesRequest parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.datastore.admin.v1.ImportEntitiesRequest parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.datastore.admin.v1.ImportEntitiesRequest parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.datastore.admin.v1.ImportEntitiesRequest parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.datastore.admin.v1.ImportEntitiesRequest prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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
    * [google.datastore.admin.v1.DatastoreAdmin.ImportEntities][google.datastore.admin.v1.DatastoreAdmin.ImportEntities].
@@ -533,13 +576,13 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.datastore.admin.v1.ImportEntitiesRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.datastore.admin.v1.ImportEntitiesRequest)
       com.google.datastore.admin.v1.ImportEntitiesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ImportEntitiesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto
+          .internal_static_google_datastore_admin_v1_ImportEntitiesRequest_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
@@ -549,10 +592,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
         case 2:
           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.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
         int number) {
@@ -560,16 +603,18 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi
         case 2:
           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.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ImportEntitiesRequest_fieldAccessorTable
+      return com.google.datastore.admin.v1.DatastoreAdminProto
+          .internal_static_google_datastore_admin_v1_ImportEntitiesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.admin.v1.ImportEntitiesRequest.class, com.google.datastore.admin.v1.ImportEntitiesRequest.Builder.class);
+              com.google.datastore.admin.v1.ImportEntitiesRequest.class,
+              com.google.datastore.admin.v1.ImportEntitiesRequest.Builder.class);
     }
 
     // Construct using com.google.datastore.admin.v1.ImportEntitiesRequest.newBuilder()
@@ -577,17 +622,17 @@ 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) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getEntityFilterFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -604,9 +649,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ImportEntitiesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto
+          .internal_static_google_datastore_admin_v1_ImportEntitiesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -625,8 +670,11 @@ public com.google.datastore.admin.v1.ImportEntitiesRequest build() {
 
     @java.lang.Override
     public com.google.datastore.admin.v1.ImportEntitiesRequest buildPartial() {
-      com.google.datastore.admin.v1.ImportEntitiesRequest result = new com.google.datastore.admin.v1.ImportEntitiesRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.datastore.admin.v1.ImportEntitiesRequest result =
+          new com.google.datastore.admin.v1.ImportEntitiesRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -645,9 +693,8 @@ private void buildPartial0(com.google.datastore.admin.v1.ImportEntitiesRequest r
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.entityFilter_ = entityFilterBuilder_ == null
-            ? entityFilter_
-            : entityFilterBuilder_.build();
+        result.entityFilter_ =
+            entityFilterBuilder_ == null ? entityFilter_ : entityFilterBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -657,38 +704,39 @@ private void buildPartial0(com.google.datastore.admin.v1.ImportEntitiesRequest r
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.admin.v1.ImportEntitiesRequest) {
-        return mergeFrom((com.google.datastore.admin.v1.ImportEntitiesRequest)other);
+        return mergeFrom((com.google.datastore.admin.v1.ImportEntitiesRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -696,14 +744,14 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.datastore.admin.v1.ImportEntitiesRequest other) {
-      if (other == com.google.datastore.admin.v1.ImportEntitiesRequest.getDefaultInstance()) return this;
+      if (other == com.google.datastore.admin.v1.ImportEntitiesRequest.getDefaultInstance())
+        return this;
       if (!other.getProjectId().isEmpty()) {
         projectId_ = other.projectId_;
         bitField0_ |= 0x00000001;
         onChanged();
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000002;
       if (!other.getInputUrl().isEmpty()) {
         inputUrl_ = other.inputUrl_;
@@ -739,38 +787,43 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              projectId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              inputUrl_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 34: {
-              input.readMessage(
-                  getEntityFilterFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                projectId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                inputUrl_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 34:
+              {
+                input.readMessage(getEntityFilterFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -780,22 +833,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object projectId_ = "";
     /**
+     *
+     *
      * 
      * Required. Project ID against which to make the request.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -804,20 +860,21 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Required. Project ID against which to make the request.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -825,28 +882,35 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Required. Project ID against which to make the request.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Project ID against which to make the request.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -856,17 +920,21 @@ public Builder clearProjectId() { return this; } /** + * + * *
      * Required. Project ID against which to make the request.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -874,21 +942,19 @@ public Builder setProjectIdBytes( return this; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -897,10 +963,13 @@ public Builder setProjectIdBytes( onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Client-assigned labels.
      * 
@@ -908,20 +977,21 @@ public int getLabelsCount() { * map<string, string> labels = 2; */ @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(); } /** + * + * *
      * Client-assigned labels.
      * 
@@ -933,6 +1003,8 @@ public java.util.Map getLabelsMap() { return internalGetLabels().getMap(); } /** + * + * *
      * Client-assigned labels.
      * 
@@ -940,17 +1012,19 @@ public java.util.Map getLabelsMap() { * map<string, string> labels = 2; */ @java.lang.Override - public /* nullable */ -java.lang.String getLabelsOrDefault( + public /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + java.lang.String defaultValue) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** + * + * *
      * Client-assigned labels.
      * 
@@ -958,79 +1032,83 @@ java.lang.String getLabelsOrDefault( * map<string, string> labels = 2; */ @java.lang.Override - public java.lang.String getLabelsOrThrow( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - java.util.Map map = - internalGetLabels().getMap(); + public java.lang.String getLabelsOrThrow(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + java.util.Map map = internalGetLabels().getMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } + public Builder clearLabels() { bitField0_ = (bitField0_ & ~0x00000002); - internalGetMutableLabels().getMutableMap() - .clear(); + internalGetMutableLabels().getMutableMap().clear(); return this; } /** + * + * *
      * Client-assigned labels.
      * 
* * map<string, string> labels = 2; */ - public Builder removeLabels( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } - internalGetMutableLabels().getMutableMap() - .remove(key); + public Builder removeLabels(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } + internalGetMutableLabels().getMutableMap().remove(key); return this; } - /** - * Use alternate mutation accessors instead. - */ + /** Use alternate mutation accessors instead. */ @java.lang.Deprecated - public java.util.Map - getMutableLabels() { + public java.util.Map getMutableLabels() { bitField0_ |= 0x00000002; return internalGetMutableLabels().getMutableMap(); } /** + * + * *
      * Client-assigned labels.
      * 
* * map<string, string> labels = 2; */ - public Builder putLabels( - java.lang.String key, - java.lang.String value) { - if (key == null) { throw new NullPointerException("map key"); } - if (value == null) { throw new NullPointerException("map value"); } - internalGetMutableLabels().getMutableMap() - .put(key, value); + public Builder putLabels(java.lang.String key, java.lang.String value) { + if (key == null) { + throw new NullPointerException("map key"); + } + if (value == null) { + throw new NullPointerException("map value"); + } + internalGetMutableLabels().getMutableMap().put(key, value); bitField0_ |= 0x00000002; return this; } /** + * + * *
      * Client-assigned labels.
      * 
* * map<string, string> labels = 2; */ - public Builder putAllLabels( - java.util.Map values) { - internalGetMutableLabels().getMutableMap() - .putAll(values); + public Builder putAllLabels(java.util.Map values) { + internalGetMutableLabels().getMutableMap().putAll(values); bitField0_ |= 0x00000002; return this; } private java.lang.Object inputUrl_ = ""; /** + * + * *
      * Required. The full resource URL of the external storage location.
      * Currently, only Google Cloud Storage is supported. So input_url should be
@@ -1049,13 +1127,13 @@ public Builder putAllLabels(
      * 
* * string input_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The inputUrl. */ public java.lang.String getInputUrl() { java.lang.Object ref = inputUrl_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); inputUrl_ = s; return s; @@ -1064,6 +1142,8 @@ public java.lang.String getInputUrl() { } } /** + * + * *
      * Required. The full resource URL of the external storage location.
      * Currently, only Google Cloud Storage is supported. So input_url should be
@@ -1082,15 +1162,14 @@ public java.lang.String getInputUrl() {
      * 
* * string input_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for inputUrl. */ - public com.google.protobuf.ByteString - getInputUrlBytes() { + public com.google.protobuf.ByteString getInputUrlBytes() { java.lang.Object ref = inputUrl_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); inputUrl_ = b; return b; } else { @@ -1098,6 +1177,8 @@ public java.lang.String getInputUrl() { } } /** + * + * *
      * Required. The full resource URL of the external storage location.
      * Currently, only Google Cloud Storage is supported. So input_url should be
@@ -1116,18 +1197,22 @@ public java.lang.String getInputUrl() {
      * 
* * string input_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The inputUrl to set. * @return This builder for chaining. */ - public Builder setInputUrl( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInputUrl(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } inputUrl_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. The full resource URL of the external storage location.
      * Currently, only Google Cloud Storage is supported. So input_url should be
@@ -1146,6 +1231,7 @@ public Builder setInputUrl(
      * 
* * string input_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearInputUrl() { @@ -1155,6 +1241,8 @@ public Builder clearInputUrl() { return this; } /** + * + * *
      * Required. The full resource URL of the external storage location.
      * Currently, only Google Cloud Storage is supported. So input_url should be
@@ -1173,12 +1261,14 @@ public Builder clearInputUrl() {
      * 
* * string input_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for inputUrl to set. * @return This builder for chaining. */ - public Builder setInputUrlBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setInputUrlBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); inputUrl_ = value; bitField0_ |= 0x00000004; @@ -1188,8 +1278,13 @@ public Builder setInputUrlBytes( private com.google.datastore.admin.v1.EntityFilter entityFilter_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.EntityFilter, com.google.datastore.admin.v1.EntityFilter.Builder, com.google.datastore.admin.v1.EntityFilterOrBuilder> entityFilterBuilder_; + com.google.datastore.admin.v1.EntityFilter, + com.google.datastore.admin.v1.EntityFilter.Builder, + com.google.datastore.admin.v1.EntityFilterOrBuilder> + entityFilterBuilder_; /** + * + * *
      * Optionally specify which kinds/namespaces are to be imported. If provided,
      * the list must be a subset of the EntityFilter used in creating the export,
@@ -1198,12 +1293,15 @@ public Builder setInputUrlBytes(
      * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; + * * @return Whether the entityFilter field is set. */ public boolean hasEntityFilter() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Optionally specify which kinds/namespaces are to be imported. If provided,
      * the list must be a subset of the EntityFilter used in creating the export,
@@ -1212,16 +1310,21 @@ public boolean hasEntityFilter() {
      * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; + * * @return The entityFilter. */ public com.google.datastore.admin.v1.EntityFilter getEntityFilter() { if (entityFilterBuilder_ == null) { - return entityFilter_ == null ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_; + return entityFilter_ == null + ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() + : entityFilter_; } else { return entityFilterBuilder_.getMessage(); } } /** + * + * *
      * Optionally specify which kinds/namespaces are to be imported. If provided,
      * the list must be a subset of the EntityFilter used in creating the export,
@@ -1245,6 +1348,8 @@ public Builder setEntityFilter(com.google.datastore.admin.v1.EntityFilter value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Optionally specify which kinds/namespaces are to be imported. If provided,
      * the list must be a subset of the EntityFilter used in creating the export,
@@ -1266,6 +1371,8 @@ public Builder setEntityFilter(
       return this;
     }
     /**
+     *
+     *
      * 
      * Optionally specify which kinds/namespaces are to be imported. If provided,
      * the list must be a subset of the EntityFilter used in creating the export,
@@ -1277,9 +1384,9 @@ public Builder setEntityFilter(
      */
     public Builder mergeEntityFilter(com.google.datastore.admin.v1.EntityFilter value) {
       if (entityFilterBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0) &&
-          entityFilter_ != null &&
-          entityFilter_ != com.google.datastore.admin.v1.EntityFilter.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && entityFilter_ != null
+            && entityFilter_ != com.google.datastore.admin.v1.EntityFilter.getDefaultInstance()) {
           getEntityFilterBuilder().mergeFrom(value);
         } else {
           entityFilter_ = value;
@@ -1294,6 +1401,8 @@ public Builder mergeEntityFilter(com.google.datastore.admin.v1.EntityFilter valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Optionally specify which kinds/namespaces are to be imported. If provided,
      * the list must be a subset of the EntityFilter used in creating the export,
@@ -1314,6 +1423,8 @@ public Builder clearEntityFilter() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Optionally specify which kinds/namespaces are to be imported. If provided,
      * the list must be a subset of the EntityFilter used in creating the export,
@@ -1329,6 +1440,8 @@ public com.google.datastore.admin.v1.EntityFilter.Builder getEntityFilterBuilder
       return getEntityFilterFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Optionally specify which kinds/namespaces are to be imported. If provided,
      * the list must be a subset of the EntityFilter used in creating the export,
@@ -1342,11 +1455,14 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil
       if (entityFilterBuilder_ != null) {
         return entityFilterBuilder_.getMessageOrBuilder();
       } else {
-        return entityFilter_ == null ?
-            com.google.datastore.admin.v1.EntityFilter.getDefaultInstance() : entityFilter_;
+        return entityFilter_ == null
+            ? com.google.datastore.admin.v1.EntityFilter.getDefaultInstance()
+            : entityFilter_;
       }
     }
     /**
+     *
+     *
      * 
      * Optionally specify which kinds/namespaces are to be imported. If provided,
      * the list must be a subset of the EntityFilter used in creating the export,
@@ -1357,21 +1473,24 @@ public com.google.datastore.admin.v1.EntityFilterOrBuilder getEntityFilterOrBuil
      * .google.datastore.admin.v1.EntityFilter entity_filter = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.admin.v1.EntityFilter, com.google.datastore.admin.v1.EntityFilter.Builder, com.google.datastore.admin.v1.EntityFilterOrBuilder> 
+            com.google.datastore.admin.v1.EntityFilter,
+            com.google.datastore.admin.v1.EntityFilter.Builder,
+            com.google.datastore.admin.v1.EntityFilterOrBuilder>
         getEntityFilterFieldBuilder() {
       if (entityFilterBuilder_ == null) {
-        entityFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.admin.v1.EntityFilter, com.google.datastore.admin.v1.EntityFilter.Builder, com.google.datastore.admin.v1.EntityFilterOrBuilder>(
-                getEntityFilter(),
-                getParentForChildren(),
-                isClean());
+        entityFilterBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.datastore.admin.v1.EntityFilter,
+                com.google.datastore.admin.v1.EntityFilter.Builder,
+                com.google.datastore.admin.v1.EntityFilterOrBuilder>(
+                getEntityFilter(), getParentForChildren(), isClean());
         entityFilter_ = null;
       }
       return entityFilterBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1381,12 +1500,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.ImportEntitiesRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.ImportEntitiesRequest)
   private static final com.google.datastore.admin.v1.ImportEntitiesRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.datastore.admin.v1.ImportEntitiesRequest();
   }
@@ -1395,27 +1514,27 @@ public static com.google.datastore.admin.v1.ImportEntitiesRequest getDefaultInst
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ImportEntitiesRequest parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ImportEntitiesRequest parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1430,6 +1549,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.admin.v1.ImportEntitiesRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesRequestOrBuilder.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesRequestOrBuilder.java
similarity index 80%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesRequestOrBuilder.java
rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesRequestOrBuilder.java
index 274b716e0..922616586 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesRequestOrBuilder.java
+++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ImportEntitiesRequestOrBuilder.java
@@ -1,34 +1,57 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/admin/v1/datastore_admin.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.admin.v1;
 
-public interface ImportEntitiesRequestOrBuilder extends
+public interface ImportEntitiesRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.ImportEntitiesRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. Project ID against which to make the request.
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
    * Required. Project ID against which to make the request.
    * 
* * string project_id = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Client-assigned labels.
    * 
@@ -37,30 +60,31 @@ public interface ImportEntitiesRequestOrBuilder extends */ int getLabelsCount(); /** + * + * *
    * Client-assigned labels.
    * 
* * map<string, string> labels = 2; */ - 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(); /** + * + * *
    * Client-assigned labels.
    * 
* * map<string, string> labels = 2; */ - java.util.Map - getLabelsMap(); + java.util.Map getLabelsMap(); /** + * + * *
    * Client-assigned labels.
    * 
@@ -68,21 +92,24 @@ boolean containsLabels( * map<string, string> labels = 2; */ /* nullable */ -java.lang.String getLabelsOrDefault( + java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ -java.lang.String defaultValue); + java.lang.String defaultValue); /** + * + * *
    * Client-assigned labels.
    * 
* * map<string, string> labels = 2; */ - java.lang.String getLabelsOrThrow( - java.lang.String key); + java.lang.String getLabelsOrThrow(java.lang.String key); /** + * + * *
    * Required. The full resource URL of the external storage location.
    * Currently, only Google Cloud Storage is supported. So input_url should be
@@ -101,10 +128,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * string input_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The inputUrl. */ java.lang.String getInputUrl(); /** + * + * *
    * Required. The full resource URL of the external storage location.
    * Currently, only Google Cloud Storage is supported. So input_url should be
@@ -123,12 +153,14 @@ java.lang.String getLabelsOrThrow(
    * 
* * string input_url = 3 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for inputUrl. */ - com.google.protobuf.ByteString - getInputUrlBytes(); + com.google.protobuf.ByteString getInputUrlBytes(); /** + * + * *
    * Optionally specify which kinds/namespaces are to be imported. If provided,
    * the list must be a subset of the EntityFilter used in creating the export,
@@ -137,10 +169,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; + * * @return Whether the entityFilter field is set. */ boolean hasEntityFilter(); /** + * + * *
    * Optionally specify which kinds/namespaces are to be imported. If provided,
    * the list must be a subset of the EntityFilter used in creating the export,
@@ -149,10 +184,13 @@ java.lang.String getLabelsOrThrow(
    * 
* * .google.datastore.admin.v1.EntityFilter entity_filter = 4; + * * @return The entityFilter. */ com.google.datastore.admin.v1.EntityFilter getEntityFilter(); /** + * + * *
    * Optionally specify which kinds/namespaces are to be imported. If provided,
    * the list must be a subset of the EntityFilter used in creating the export,
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/Index.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/Index.java
similarity index 69%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/Index.java
rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/Index.java
index 9cef365f9..7244182dc 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/Index.java
+++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/Index.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/admin/v1/index.proto
 
@@ -5,21 +20,24 @@
 package com.google.datastore.admin.v1;
 
 /**
+ *
+ *
  * 
  * Datastore composite index definition.
  * 
* * Protobuf type {@code google.datastore.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.datastore.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() { projectId_ = ""; indexId_ = ""; @@ -31,25 +49,28 @@ private Index() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Index(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.admin.v1.IndexProto.internal_static_google_datastore_admin_v1_Index_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.admin.v1.IndexProto + .internal_static_google_datastore_admin_v1_Index_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.IndexProto.internal_static_google_datastore_admin_v1_Index_fieldAccessorTable + return com.google.datastore.admin.v1.IndexProto + .internal_static_google_datastore_admin_v1_Index_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.Index.class, com.google.datastore.admin.v1.Index.Builder.class); + com.google.datastore.admin.v1.Index.class, + com.google.datastore.admin.v1.Index.Builder.class); } /** + * + * *
    * For an ordered index, specifies whether each of the entity's ancestors
    * will be included.
@@ -57,9 +78,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.datastore.admin.v1.Index.AncestorMode}
    */
-  public enum AncestorMode
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum AncestorMode implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * The ancestor mode is unspecified.
      * 
@@ -68,6 +90,8 @@ public enum AncestorMode */ ANCESTOR_MODE_UNSPECIFIED(0), /** + * + * *
      * Do not include the entity's ancestors in the index.
      * 
@@ -76,6 +100,8 @@ public enum AncestorMode */ NONE(1), /** + * + * *
      * Include all the entity's ancestors in the index.
      * 
@@ -87,6 +113,8 @@ public enum AncestorMode ; /** + * + * *
      * The ancestor mode is unspecified.
      * 
@@ -95,6 +123,8 @@ public enum AncestorMode */ public static final int ANCESTOR_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Do not include the entity's ancestors in the index.
      * 
@@ -103,6 +133,8 @@ public enum AncestorMode */ public static final int NONE_VALUE = 1; /** + * + * *
      * Include all the entity's ancestors in the index.
      * 
@@ -111,7 +143,6 @@ public enum AncestorMode */ public static final int ALL_ANCESTORS_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -136,49 +167,49 @@ public static AncestorMode valueOf(int value) { */ public static AncestorMode forNumber(int value) { switch (value) { - case 0: return ANCESTOR_MODE_UNSPECIFIED; - case 1: return NONE; - case 2: return ALL_ANCESTORS; - default: return null; + case 0: + return ANCESTOR_MODE_UNSPECIFIED; + case 1: + return NONE; + case 2: + return ALL_ANCESTORS; + 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< - AncestorMode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AncestorMode findValueByNumber(int number) { - return AncestorMode.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 AncestorMode findValueByNumber(int number) { + return AncestorMode.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.datastore.admin.v1.Index.getDescriptor().getEnumTypes().get(0); } private static final AncestorMode[] VALUES = values(); - public static AncestorMode valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static AncestorMode 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; @@ -196,15 +227,18 @@ private AncestorMode(int value) { } /** + * + * *
    * The direction determines how a property is indexed.
    * 
* * Protobuf enum {@code google.datastore.admin.v1.Index.Direction} */ - public enum Direction - implements com.google.protobuf.ProtocolMessageEnum { + public enum Direction implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The direction is unspecified.
      * 
@@ -213,6 +247,8 @@ public enum Direction */ DIRECTION_UNSPECIFIED(0), /** + * + * *
      * The property's values are indexed so as to support sequencing in
      * ascending order and also query by <, >, <=, >=, and =.
@@ -222,6 +258,8 @@ public enum Direction
      */
     ASCENDING(1),
     /**
+     *
+     *
      * 
      * The property's values are indexed so as to support sequencing in
      * descending order and also query by <, >, <=, >=, and =.
@@ -234,6 +272,8 @@ public enum Direction
     ;
 
     /**
+     *
+     *
      * 
      * The direction is unspecified.
      * 
@@ -242,6 +282,8 @@ public enum Direction */ public static final int DIRECTION_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The property's values are indexed so as to support sequencing in
      * ascending order and also query by <, >, <=, >=, and =.
@@ -251,6 +293,8 @@ public enum Direction
      */
     public static final int ASCENDING_VALUE = 1;
     /**
+     *
+     *
      * 
      * The property's values are indexed so as to support sequencing in
      * descending order and also query by <, >, <=, >=, and =.
@@ -260,7 +304,6 @@ public enum Direction
      */
     public static final int DESCENDING_VALUE = 2;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -285,49 +328,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.datastore.admin.v1.Index.getDescriptor().getEnumTypes().get(1);
     }
 
     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;
@@ -345,15 +388,18 @@ private Direction(int value) {
   }
 
   /**
+   *
+   *
    * 
    * The possible set of states of an index.
    * 
* * Protobuf enum {@code google.datastore.admin.v1.Index.State} */ - public enum State - implements com.google.protobuf.ProtocolMessageEnum { + public enum State implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * The state is unspecified.
      * 
@@ -362,6 +408,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The index is being created, and cannot be used by queries.
      * There is an active long-running operation for the index.
@@ -373,6 +421,8 @@ public enum State
      */
     CREATING(1),
     /**
+     *
+     *
      * 
      * The index is ready to be used.
      * The index is updated when writing an entity.
@@ -383,6 +433,8 @@ public enum State
      */
     READY(2),
     /**
+     *
+     *
      * 
      * The index is being deleted, and cannot be used by queries.
      * There is an active long-running operation for the index.
@@ -394,6 +446,8 @@ public enum State
      */
     DELETING(3),
     /**
+     *
+     *
      * 
      * The index was being created or deleted, but something went wrong.
      * The index cannot by used by queries.
@@ -410,6 +464,8 @@ public enum State
     ;
 
     /**
+     *
+     *
      * 
      * The state is unspecified.
      * 
@@ -418,6 +474,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The index is being created, and cannot be used by queries.
      * There is an active long-running operation for the index.
@@ -429,6 +487,8 @@ public enum State
      */
     public static final int CREATING_VALUE = 1;
     /**
+     *
+     *
      * 
      * The index is ready to be used.
      * The index is updated when writing an entity.
@@ -439,6 +499,8 @@ public enum State
      */
     public static final int READY_VALUE = 2;
     /**
+     *
+     *
      * 
      * The index is being deleted, and cannot be used by queries.
      * There is an active long-running operation for the index.
@@ -450,6 +512,8 @@ public enum State
      */
     public static final int DELETING_VALUE = 3;
     /**
+     *
+     *
      * 
      * The index was being created or deleted, but something went wrong.
      * The index cannot by used by queries.
@@ -463,7 +527,6 @@ public enum State
      */
     public static final int ERROR_VALUE = 4;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -488,51 +551,53 @@ 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 DELETING;
-        case 4: return ERROR;
-        default: return null;
-      }
-    }
-
-    public static com.google.protobuf.Internal.EnumLiteMap
-        internalGetValueMap() {
+        case 0:
+          return STATE_UNSPECIFIED;
+        case 1:
+          return CREATING;
+        case 2:
+          return READY;
+        case 3:
+          return DELETING;
+        case 4:
+          return ERROR;
+        default:
+          return null;
+      }
+    }
+
+    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.datastore.admin.v1.Index.getDescriptor().getEnumTypes().get(2);
     }
 
     private static final State[] VALUES = values();
 
-    public static State valueOf(
-        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
       if (desc.getType() != getDescriptor()) {
-        throw new java.lang.IllegalArgumentException(
-          "EnumValueDescriptor is not for this type.");
+        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
       }
       if (desc.getIndex() == -1) {
         return UNRECOGNIZED;
@@ -549,67 +614,86 @@ private State(int value) {
     // @@protoc_insertion_point(enum_scope:google.datastore.admin.v1.Index.State)
   }
 
-  public interface IndexedPropertyOrBuilder extends
+  public interface IndexedPropertyOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.Index.IndexedProperty)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Required. The property name to index.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * Required. The property name to index.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
      * Required. The indexed property's direction.  Must not be
      * DIRECTION_UNSPECIFIED.
      * 
* - * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for direction. */ int getDirectionValue(); /** + * + * *
      * Required. The indexed property's direction.  Must not be
      * DIRECTION_UNSPECIFIED.
      * 
* - * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The direction. */ com.google.datastore.admin.v1.Index.Direction getDirection(); } /** + * + * *
    * A property of an index.
    * 
* * Protobuf type {@code google.datastore.admin.v1.Index.IndexedProperty} */ - public static final class IndexedProperty extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class IndexedProperty extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.datastore.admin.v1.Index.IndexedProperty) IndexedPropertyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use IndexedProperty.newBuilder() to construct. private IndexedProperty(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private IndexedProperty() { name_ = ""; direction_ = 0; @@ -617,33 +701,38 @@ private IndexedProperty() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IndexedProperty(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.admin.v1.IndexProto.internal_static_google_datastore_admin_v1_Index_IndexedProperty_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.admin.v1.IndexProto + .internal_static_google_datastore_admin_v1_Index_IndexedProperty_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.IndexProto.internal_static_google_datastore_admin_v1_Index_IndexedProperty_fieldAccessorTable + return com.google.datastore.admin.v1.IndexProto + .internal_static_google_datastore_admin_v1_Index_IndexedProperty_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.Index.IndexedProperty.class, com.google.datastore.admin.v1.Index.IndexedProperty.Builder.class); + com.google.datastore.admin.v1.Index.IndexedProperty.class, + com.google.datastore.admin.v1.Index.IndexedProperty.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
      * Required. The property name to index.
      * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The name. */ @java.lang.Override @@ -652,29 +741,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; } } /** + * + * *
      * Required. The property name to index.
      * 
* * 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 { @@ -685,32 +774,46 @@ public java.lang.String getName() { public static final int DIRECTION_FIELD_NUMBER = 2; private int direction_ = 0; /** + * + * *
      * Required. The indexed property's direction.  Must not be
      * DIRECTION_UNSPECIFIED.
      * 
* - * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for direction. */ - @java.lang.Override public int getDirectionValue() { + @java.lang.Override + public int getDirectionValue() { return direction_; } /** + * + * *
      * Required. The indexed property's direction.  Must not be
      * DIRECTION_UNSPECIFIED.
      * 
* - * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The direction. */ - @java.lang.Override public com.google.datastore.admin.v1.Index.Direction getDirection() { - com.google.datastore.admin.v1.Index.Direction result = com.google.datastore.admin.v1.Index.Direction.forNumber(direction_); + @java.lang.Override + public com.google.datastore.admin.v1.Index.Direction getDirection() { + com.google.datastore.admin.v1.Index.Direction result = + com.google.datastore.admin.v1.Index.Direction.forNumber(direction_); return result == null ? com.google.datastore.admin.v1.Index.Direction.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -722,12 +825,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 (direction_ != com.google.datastore.admin.v1.Index.Direction.DIRECTION_UNSPECIFIED.getNumber()) { + if (direction_ + != com.google.datastore.admin.v1.Index.Direction.DIRECTION_UNSPECIFIED.getNumber()) { output.writeEnum(2, direction_); } getUnknownFields().writeTo(output); @@ -742,9 +845,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (direction_ != com.google.datastore.admin.v1.Index.Direction.DIRECTION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, direction_); + if (direction_ + != com.google.datastore.admin.v1.Index.Direction.DIRECTION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, direction_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -754,15 +857,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.datastore.admin.v1.Index.IndexedProperty)) { return super.equals(obj); } - com.google.datastore.admin.v1.Index.IndexedProperty other = (com.google.datastore.admin.v1.Index.IndexedProperty) obj; + com.google.datastore.admin.v1.Index.IndexedProperty other = + (com.google.datastore.admin.v1.Index.IndexedProperty) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (direction_ != other.direction_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -785,89 +888,94 @@ public int hashCode() { } public static com.google.datastore.admin.v1.Index.IndexedProperty 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.datastore.admin.v1.Index.IndexedProperty parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.admin.v1.Index.IndexedProperty parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.admin.v1.Index.IndexedProperty parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.admin.v1.Index.IndexedProperty parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.admin.v1.Index.IndexedProperty parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.Index.IndexedProperty parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.datastore.admin.v1.Index.IndexedProperty parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.admin.v1.Index.IndexedProperty parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.Index.IndexedProperty parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.Index.IndexedProperty parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.admin.v1.Index.IndexedProperty parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.datastore.admin.v1.Index.IndexedProperty parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.admin.v1.Index.IndexedProperty parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.datastore.admin.v1.Index.IndexedProperty prototype) { + + public static Builder newBuilder( + com.google.datastore.admin.v1.Index.IndexedProperty prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -877,39 +985,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A property of an index.
      * 
* * Protobuf type {@code google.datastore.admin.v1.Index.IndexedProperty} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.datastore.admin.v1.Index.IndexedProperty) com.google.datastore.admin.v1.Index.IndexedPropertyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.admin.v1.IndexProto.internal_static_google_datastore_admin_v1_Index_IndexedProperty_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.admin.v1.IndexProto + .internal_static_google_datastore_admin_v1_Index_IndexedProperty_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.IndexProto.internal_static_google_datastore_admin_v1_Index_IndexedProperty_fieldAccessorTable + return com.google.datastore.admin.v1.IndexProto + .internal_static_google_datastore_admin_v1_Index_IndexedProperty_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.Index.IndexedProperty.class, com.google.datastore.admin.v1.Index.IndexedProperty.Builder.class); + com.google.datastore.admin.v1.Index.IndexedProperty.class, + com.google.datastore.admin.v1.Index.IndexedProperty.Builder.class); } // Construct using com.google.datastore.admin.v1.Index.IndexedProperty.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -920,9 +1030,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.admin.v1.IndexProto.internal_static_google_datastore_admin_v1_Index_IndexedProperty_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.admin.v1.IndexProto + .internal_static_google_datastore_admin_v1_Index_IndexedProperty_descriptor; } @java.lang.Override @@ -941,8 +1051,11 @@ public com.google.datastore.admin.v1.Index.IndexedProperty build() { @java.lang.Override public com.google.datastore.admin.v1.Index.IndexedProperty buildPartial() { - com.google.datastore.admin.v1.Index.IndexedProperty result = new com.google.datastore.admin.v1.Index.IndexedProperty(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.datastore.admin.v1.Index.IndexedProperty result = + new com.google.datastore.admin.v1.Index.IndexedProperty(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -961,38 +1074,41 @@ private void buildPartial0(com.google.datastore.admin.v1.Index.IndexedProperty r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.admin.v1.Index.IndexedProperty) { - return mergeFrom((com.google.datastore.admin.v1.Index.IndexedProperty)other); + return mergeFrom((com.google.datastore.admin.v1.Index.IndexedProperty) other); } else { super.mergeFrom(other); return this; @@ -1000,7 +1116,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.datastore.admin.v1.Index.IndexedProperty other) { - if (other == com.google.datastore.admin.v1.Index.IndexedProperty.getDefaultInstance()) return this; + if (other == com.google.datastore.admin.v1.Index.IndexedProperty.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1035,22 +1152,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - direction_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + direction_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1060,22 +1180,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
        * Required. The property name to index.
        * 
* * 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; @@ -1084,20 +1207,21 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The property name to index.
        * 
* * 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 { @@ -1105,28 +1229,35 @@ public java.lang.String getName() { } } /** + * + * *
        * Required. The property name to index.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Required. The property name to index.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1136,17 +1267,21 @@ public Builder clearName() { return this; } /** + * + * *
        * Required. The property name to index.
        * 
* * string name = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1156,24 +1291,35 @@ public Builder setNameBytes( private int direction_ = 0; /** + * + * *
        * Required. The indexed property's direction.  Must not be
        * DIRECTION_UNSPECIFIED.
        * 
* - * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for direction. */ - @java.lang.Override public int getDirectionValue() { + @java.lang.Override + public int getDirectionValue() { return direction_; } /** + * + * *
        * Required. The indexed property's direction.  Must not be
        * DIRECTION_UNSPECIFIED.
        * 
* - * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for direction to set. * @return This builder for chaining. */ @@ -1184,26 +1330,37 @@ public Builder setDirectionValue(int value) { return this; } /** + * + * *
        * Required. The indexed property's direction.  Must not be
        * DIRECTION_UNSPECIFIED.
        * 
* - * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The direction. */ @java.lang.Override public com.google.datastore.admin.v1.Index.Direction getDirection() { - com.google.datastore.admin.v1.Index.Direction result = com.google.datastore.admin.v1.Index.Direction.forNumber(direction_); + com.google.datastore.admin.v1.Index.Direction result = + com.google.datastore.admin.v1.Index.Direction.forNumber(direction_); return result == null ? com.google.datastore.admin.v1.Index.Direction.UNRECOGNIZED : result; } /** + * + * *
        * Required. The indexed property's direction.  Must not be
        * DIRECTION_UNSPECIFIED.
        * 
* - * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The direction to set. * @return This builder for chaining. */ @@ -1217,12 +1374,17 @@ public Builder setDirection(com.google.datastore.admin.v1.Index.Direction value) return this; } /** + * + * *
        * Required. The indexed property's direction.  Must not be
        * DIRECTION_UNSPECIFIED.
        * 
* - * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearDirection() { @@ -1231,6 +1393,7 @@ public Builder clearDirection() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1243,12 +1406,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.Index.IndexedProperty) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.Index.IndexedProperty) private static final com.google.datastore.admin.v1.Index.IndexedProperty DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.Index.IndexedProperty(); } @@ -1257,27 +1420,28 @@ public static com.google.datastore.admin.v1.Index.IndexedProperty getDefaultInst return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public IndexedProperty parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public IndexedProperty parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1292,18 +1456,21 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.Index.IndexedProperty getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int PROJECT_ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** + * + * *
    * Output only. Project ID.
    * 
* * string project_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The projectId. */ @java.lang.Override @@ -1312,29 +1479,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Output only. Project ID.
    * 
* * string project_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -1343,14 +1510,18 @@ public java.lang.String getProjectId() { } public static final int INDEX_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object indexId_ = ""; /** + * + * *
    * Output only. The resource ID of the index.
    * 
* * string index_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The indexId. */ @java.lang.Override @@ -1359,29 +1530,29 @@ public java.lang.String getIndexId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); indexId_ = s; return s; } } /** + * + * *
    * Output only. The resource ID of the index.
    * 
* * string index_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for indexId. */ @java.lang.Override - public com.google.protobuf.ByteString - getIndexIdBytes() { + public com.google.protobuf.ByteString getIndexIdBytes() { java.lang.Object ref = indexId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); indexId_ = b; return b; } else { @@ -1390,14 +1561,18 @@ public java.lang.String getIndexId() { } public static final int KIND_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object kind_ = ""; /** + * + * *
    * Required. The entity kind to which this index applies.
    * 
* * string kind = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The kind. */ @java.lang.Override @@ -1406,29 +1581,29 @@ public java.lang.String getKind() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; } } /** + * + * *
    * Required. The entity kind to which this index applies.
    * 
* * string kind = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for kind. */ @java.lang.Override - public com.google.protobuf.ByteString - getKindBytes() { + public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kind_ = b; return b; } else { @@ -1439,35 +1614,51 @@ public java.lang.String getKind() { public static final int ANCESTOR_FIELD_NUMBER = 5; private int ancestor_ = 0; /** + * + * *
    * Required. The index's ancestor mode.  Must not be
    * ANCESTOR_MODE_UNSPECIFIED.
    * 
* - * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for ancestor. */ - @java.lang.Override public int getAncestorValue() { + @java.lang.Override + public int getAncestorValue() { return ancestor_; } /** + * + * *
    * Required. The index's ancestor mode.  Must not be
    * ANCESTOR_MODE_UNSPECIFIED.
    * 
* - * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The ancestor. */ - @java.lang.Override public com.google.datastore.admin.v1.Index.AncestorMode getAncestor() { - com.google.datastore.admin.v1.Index.AncestorMode result = com.google.datastore.admin.v1.Index.AncestorMode.forNumber(ancestor_); + @java.lang.Override + public com.google.datastore.admin.v1.Index.AncestorMode getAncestor() { + com.google.datastore.admin.v1.Index.AncestorMode result = + com.google.datastore.admin.v1.Index.AncestorMode.forNumber(ancestor_); return result == null ? com.google.datastore.admin.v1.Index.AncestorMode.UNRECOGNIZED : result; } public static final int PROPERTIES_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private java.util.List properties_; /** + * + * *
    * Required. An ordered sequence of property names and their index attributes.
    *
@@ -1476,13 +1667,17 @@ public java.lang.String getKind() {
    * * A maximum of 100 properties.
    * 
* - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getPropertiesList() { return properties_; } /** + * + * *
    * Required. An ordered sequence of property names and their index attributes.
    *
@@ -1491,14 +1686,18 @@ public java.util.List getPr
    * * A maximum of 100 properties.
    * 
* - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List + public java.util.List getPropertiesOrBuilderList() { return properties_; } /** + * + * *
    * Required. An ordered sequence of property names and their index attributes.
    *
@@ -1507,13 +1706,17 @@ public java.util.List getPr
    * * A maximum of 100 properties.
    * 
* - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getPropertiesCount() { return properties_.size(); } /** + * + * *
    * Required. An ordered sequence of property names and their index attributes.
    *
@@ -1522,13 +1725,17 @@ public int getPropertiesCount() {
    * * A maximum of 100 properties.
    * 
* - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.datastore.admin.v1.Index.IndexedProperty getProperties(int index) { return properties_.get(index); } /** + * + * *
    * Required. An ordered sequence of property names and their index attributes.
    *
@@ -1537,7 +1744,9 @@ public com.google.datastore.admin.v1.Index.IndexedProperty getProperties(int ind
    * * A maximum of 100 properties.
    * 
* - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.datastore.admin.v1.Index.IndexedPropertyOrBuilder getPropertiesOrBuilder( @@ -1548,30 +1757,44 @@ public com.google.datastore.admin.v1.Index.IndexedPropertyOrBuilder getPropertie public static final int STATE_FIELD_NUMBER = 7; private int state_ = 0; /** + * + * *
    * Output only. The state of the index.
    * 
* - * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.datastore.admin.v1.Index.State state = 7 [(.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 index.
    * 
* - * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.datastore.admin.v1.Index.State getState() { - com.google.datastore.admin.v1.Index.State result = com.google.datastore.admin.v1.Index.State.forNumber(state_); + @java.lang.Override + public com.google.datastore.admin.v1.Index.State getState() { + com.google.datastore.admin.v1.Index.State result = + com.google.datastore.admin.v1.Index.State.forNumber(state_); return result == null ? com.google.datastore.admin.v1.Index.State.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1583,8 +1806,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(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -1594,7 +1816,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, kind_); } - if (ancestor_ != com.google.datastore.admin.v1.Index.AncestorMode.ANCESTOR_MODE_UNSPECIFIED.getNumber()) { + if (ancestor_ + != com.google.datastore.admin.v1.Index.AncestorMode.ANCESTOR_MODE_UNSPECIFIED.getNumber()) { output.writeEnum(5, ancestor_); } for (int i = 0; i < properties_.size(); i++) { @@ -1621,17 +1844,15 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(kind_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, kind_); } - if (ancestor_ != com.google.datastore.admin.v1.Index.AncestorMode.ANCESTOR_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(5, ancestor_); + if (ancestor_ + != com.google.datastore.admin.v1.Index.AncestorMode.ANCESTOR_MODE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, ancestor_); } for (int i = 0; i < properties_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, properties_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, properties_.get(i)); } if (state_ != com.google.datastore.admin.v1.Index.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(7, state_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, state_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1641,22 +1862,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.datastore.admin.v1.Index)) { return super.equals(obj); } com.google.datastore.admin.v1.Index other = (com.google.datastore.admin.v1.Index) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getIndexId() - .equals(other.getIndexId())) return false; - if (!getKind() - .equals(other.getKind())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getIndexId().equals(other.getIndexId())) return false; + if (!getKind().equals(other.getKind())) return false; if (ancestor_ != other.ancestor_) return false; - if (!getPropertiesList() - .equals(other.getPropertiesList())) return false; + if (!getPropertiesList().equals(other.getPropertiesList())) return false; if (state_ != other.state_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1688,132 +1905,135 @@ public int hashCode() { return hash; } - public static com.google.datastore.admin.v1.Index parseFrom( - java.nio.ByteBuffer data) + public static com.google.datastore.admin.v1.Index parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.admin.v1.Index parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.datastore.admin.v1.Index parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.admin.v1.Index parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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; } /** + * + * *
    * Datastore composite index definition.
    * 
* * Protobuf type {@code google.datastore.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.datastore.admin.v1.Index) com.google.datastore.admin.v1.IndexOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.admin.v1.IndexProto.internal_static_google_datastore_admin_v1_Index_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.admin.v1.IndexProto + .internal_static_google_datastore_admin_v1_Index_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.IndexProto.internal_static_google_datastore_admin_v1_Index_fieldAccessorTable + return com.google.datastore.admin.v1.IndexProto + .internal_static_google_datastore_admin_v1_Index_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.Index.class, com.google.datastore.admin.v1.Index.Builder.class); + com.google.datastore.admin.v1.Index.class, + com.google.datastore.admin.v1.Index.Builder.class); } // Construct using com.google.datastore.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(); @@ -1834,9 +2054,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.admin.v1.IndexProto.internal_static_google_datastore_admin_v1_Index_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.admin.v1.IndexProto + .internal_static_google_datastore_admin_v1_Index_descriptor; } @java.lang.Override @@ -1857,7 +2077,9 @@ public com.google.datastore.admin.v1.Index build() { public com.google.datastore.admin.v1.Index buildPartial() { com.google.datastore.admin.v1.Index result = new com.google.datastore.admin.v1.Index(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1897,38 +2119,39 @@ private void buildPartial0(com.google.datastore.admin.v1.Index result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.admin.v1.Index) { - return mergeFrom((com.google.datastore.admin.v1.Index)other); + return mergeFrom((com.google.datastore.admin.v1.Index) other); } else { super.mergeFrom(other); return this; @@ -1973,9 +2196,10 @@ public Builder mergeFrom(com.google.datastore.admin.v1.Index other) { propertiesBuilder_ = null; properties_ = other.properties_; bitField0_ = (bitField0_ & ~0x00000010); - propertiesBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getPropertiesFieldBuilder() : null; + propertiesBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getPropertiesFieldBuilder() + : null; } else { propertiesBuilder_.addAllMessages(other.properties_); } @@ -2010,50 +2234,57 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: { - indexId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 34: { - kind_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 34 - case 40: { - ancestor_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 40 - case 50: { - com.google.datastore.admin.v1.Index.IndexedProperty m = - input.readMessage( - com.google.datastore.admin.v1.Index.IndexedProperty.parser(), - extensionRegistry); - if (propertiesBuilder_ == null) { - ensurePropertiesIsMutable(); - properties_.add(m); - } else { - propertiesBuilder_.addMessage(m); - } - break; - } // case 50 - case 56: { - state_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 56 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: + { + indexId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 34: + { + kind_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 34 + case 40: + { + ancestor_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 40 + case 50: + { + com.google.datastore.admin.v1.Index.IndexedProperty m = + input.readMessage( + com.google.datastore.admin.v1.Index.IndexedProperty.parser(), + extensionRegistry); + if (propertiesBuilder_ == null) { + ensurePropertiesIsMutable(); + properties_.add(m); + } else { + propertiesBuilder_.addMessage(m); + } + break; + } // case 50 + case 56: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 56 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2063,22 +2294,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object projectId_ = ""; /** + * + * *
      * Output only. Project ID.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -2087,20 +2321,21 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Output only. Project ID.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -2108,28 +2343,35 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Output only. Project ID.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. Project ID.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -2139,17 +2381,21 @@ public Builder clearProjectId() { return this; } /** + * + * *
      * Output only. Project ID.
      * 
* * string project_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -2159,18 +2405,20 @@ public Builder setProjectIdBytes( private java.lang.Object indexId_ = ""; /** + * + * *
      * Output only. The resource ID of the index.
      * 
* * string index_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The indexId. */ public java.lang.String getIndexId() { java.lang.Object ref = indexId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); indexId_ = s; return s; @@ -2179,20 +2427,21 @@ public java.lang.String getIndexId() { } } /** + * + * *
      * Output only. The resource ID of the index.
      * 
* * string index_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for indexId. */ - public com.google.protobuf.ByteString - getIndexIdBytes() { + public com.google.protobuf.ByteString getIndexIdBytes() { java.lang.Object ref = indexId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); indexId_ = b; return b; } else { @@ -2200,28 +2449,35 @@ public java.lang.String getIndexId() { } } /** + * + * *
      * Output only. The resource ID of the index.
      * 
* * string index_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The indexId to set. * @return This builder for chaining. */ - public Builder setIndexId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIndexId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } indexId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * Output only. The resource ID of the index.
      * 
* * string index_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearIndexId() { @@ -2231,17 +2487,21 @@ public Builder clearIndexId() { return this; } /** + * + * *
      * Output only. The resource ID of the index.
      * 
* * string index_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for indexId to set. * @return This builder for chaining. */ - public Builder setIndexIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIndexIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); indexId_ = value; bitField0_ |= 0x00000002; @@ -2251,18 +2511,20 @@ public Builder setIndexIdBytes( private java.lang.Object kind_ = ""; /** + * + * *
      * Required. The entity kind to which this index applies.
      * 
* * string kind = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The kind. */ public java.lang.String getKind() { java.lang.Object ref = kind_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; @@ -2271,20 +2533,21 @@ public java.lang.String getKind() { } } /** + * + * *
      * Required. The entity kind to which this index applies.
      * 
* * string kind = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for kind. */ - public com.google.protobuf.ByteString - getKindBytes() { + public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kind_ = b; return b; } else { @@ -2292,28 +2555,35 @@ public java.lang.String getKind() { } } /** + * + * *
      * Required. The entity kind to which this index applies.
      * 
* * string kind = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The kind to set. * @return This builder for chaining. */ - public Builder setKind( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKind(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } kind_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. The entity kind to which this index applies.
      * 
* * string kind = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearKind() { @@ -2323,17 +2593,21 @@ public Builder clearKind() { return this; } /** + * + * *
      * Required. The entity kind to which this index applies.
      * 
* * string kind = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for kind to set. * @return This builder for chaining. */ - public Builder setKindBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKindBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); kind_ = value; bitField0_ |= 0x00000004; @@ -2343,24 +2617,35 @@ public Builder setKindBytes( private int ancestor_ = 0; /** + * + * *
      * Required. The index's ancestor mode.  Must not be
      * ANCESTOR_MODE_UNSPECIFIED.
      * 
* - * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for ancestor. */ - @java.lang.Override public int getAncestorValue() { + @java.lang.Override + public int getAncestorValue() { return ancestor_; } /** + * + * *
      * Required. The index's ancestor mode.  Must not be
      * ANCESTOR_MODE_UNSPECIFIED.
      * 
* - * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The enum numeric value on the wire for ancestor to set. * @return This builder for chaining. */ @@ -2371,26 +2656,39 @@ public Builder setAncestorValue(int value) { return this; } /** + * + * *
      * Required. The index's ancestor mode.  Must not be
      * ANCESTOR_MODE_UNSPECIFIED.
      * 
* - * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The ancestor. */ @java.lang.Override public com.google.datastore.admin.v1.Index.AncestorMode getAncestor() { - com.google.datastore.admin.v1.Index.AncestorMode result = com.google.datastore.admin.v1.Index.AncestorMode.forNumber(ancestor_); - return result == null ? com.google.datastore.admin.v1.Index.AncestorMode.UNRECOGNIZED : result; + com.google.datastore.admin.v1.Index.AncestorMode result = + com.google.datastore.admin.v1.Index.AncestorMode.forNumber(ancestor_); + return result == null + ? com.google.datastore.admin.v1.Index.AncestorMode.UNRECOGNIZED + : result; } /** + * + * *
      * Required. The index's ancestor mode.  Must not be
      * ANCESTOR_MODE_UNSPECIFIED.
      * 
* - * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @param value The ancestor to set. * @return This builder for chaining. */ @@ -2404,12 +2702,17 @@ public Builder setAncestor(com.google.datastore.admin.v1.Index.AncestorMode valu return this; } /** + * + * *
      * Required. The index's ancestor mode.  Must not be
      * ANCESTOR_MODE_UNSPECIFIED.
      * 
* - * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return This builder for chaining. */ public Builder clearAncestor() { @@ -2420,18 +2723,26 @@ public Builder clearAncestor() { } private java.util.List properties_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensurePropertiesIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - properties_ = new java.util.ArrayList(properties_); + properties_ = + new java.util.ArrayList( + properties_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.admin.v1.Index.IndexedProperty, com.google.datastore.admin.v1.Index.IndexedProperty.Builder, com.google.datastore.admin.v1.Index.IndexedPropertyOrBuilder> propertiesBuilder_; + com.google.datastore.admin.v1.Index.IndexedProperty, + com.google.datastore.admin.v1.Index.IndexedProperty.Builder, + com.google.datastore.admin.v1.Index.IndexedPropertyOrBuilder> + propertiesBuilder_; /** + * + * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -2440,7 +2751,9 @@ private void ensurePropertiesIsMutable() {
      * * A maximum of 100 properties.
      * 
* - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getPropertiesList() { if (propertiesBuilder_ == null) { @@ -2450,6 +2763,8 @@ public java.util.List getPr } } /** + * + * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -2458,7 +2773,9 @@ public java.util.List getPr
      * * A maximum of 100 properties.
      * 
* - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getPropertiesCount() { if (propertiesBuilder_ == null) { @@ -2468,6 +2785,8 @@ public int getPropertiesCount() { } } /** + * + * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -2476,7 +2795,9 @@ public int getPropertiesCount() {
      * * A maximum of 100 properties.
      * 
* - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.datastore.admin.v1.Index.IndexedProperty getProperties(int index) { if (propertiesBuilder_ == null) { @@ -2486,6 +2807,8 @@ public com.google.datastore.admin.v1.Index.IndexedProperty getProperties(int ind } } /** + * + * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -2494,7 +2817,9 @@ public com.google.datastore.admin.v1.Index.IndexedProperty getProperties(int ind
      * * A maximum of 100 properties.
      * 
* - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setProperties( int index, com.google.datastore.admin.v1.Index.IndexedProperty value) { @@ -2511,6 +2836,8 @@ public Builder setProperties( return this; } /** + * + * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -2519,7 +2846,9 @@ public Builder setProperties(
      * * A maximum of 100 properties.
      * 
* - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setProperties( int index, com.google.datastore.admin.v1.Index.IndexedProperty.Builder builderForValue) { @@ -2533,6 +2862,8 @@ public Builder setProperties( return this; } /** + * + * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -2541,7 +2872,9 @@ public Builder setProperties(
      * * A maximum of 100 properties.
      * 
* - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addProperties(com.google.datastore.admin.v1.Index.IndexedProperty value) { if (propertiesBuilder_ == null) { @@ -2557,6 +2890,8 @@ public Builder addProperties(com.google.datastore.admin.v1.Index.IndexedProperty return this; } /** + * + * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -2565,7 +2900,9 @@ public Builder addProperties(com.google.datastore.admin.v1.Index.IndexedProperty
      * * A maximum of 100 properties.
      * 
* - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addProperties( int index, com.google.datastore.admin.v1.Index.IndexedProperty value) { @@ -2582,6 +2919,8 @@ public Builder addProperties( return this; } /** + * + * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -2590,7 +2929,9 @@ public Builder addProperties(
      * * A maximum of 100 properties.
      * 
* - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addProperties( com.google.datastore.admin.v1.Index.IndexedProperty.Builder builderForValue) { @@ -2604,6 +2945,8 @@ public Builder addProperties( return this; } /** + * + * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -2612,7 +2955,9 @@ public Builder addProperties(
      * * A maximum of 100 properties.
      * 
* - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addProperties( int index, com.google.datastore.admin.v1.Index.IndexedProperty.Builder builderForValue) { @@ -2626,6 +2971,8 @@ public Builder addProperties( return this; } /** + * + * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -2634,14 +2981,15 @@ public Builder addProperties(
      * * A maximum of 100 properties.
      * 
* - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addAllProperties( java.lang.Iterable values) { if (propertiesBuilder_ == null) { ensurePropertiesIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, properties_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, properties_); onChanged(); } else { propertiesBuilder_.addAllMessages(values); @@ -2649,6 +2997,8 @@ public Builder addAllProperties( return this; } /** + * + * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -2657,7 +3007,9 @@ public Builder addAllProperties(
      * * A maximum of 100 properties.
      * 
* - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearProperties() { if (propertiesBuilder_ == null) { @@ -2670,6 +3022,8 @@ public Builder clearProperties() { return this; } /** + * + * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -2678,7 +3032,9 @@ public Builder clearProperties() {
      * * A maximum of 100 properties.
      * 
* - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeProperties(int index) { if (propertiesBuilder_ == null) { @@ -2691,6 +3047,8 @@ public Builder removeProperties(int index) { return this; } /** + * + * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -2699,13 +3057,17 @@ public Builder removeProperties(int index) {
      * * A maximum of 100 properties.
      * 
* - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.datastore.admin.v1.Index.IndexedProperty.Builder getPropertiesBuilder( int index) { return getPropertiesFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -2714,16 +3076,21 @@ public com.google.datastore.admin.v1.Index.IndexedProperty.Builder getProperties
      * * A maximum of 100 properties.
      * 
* - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.datastore.admin.v1.Index.IndexedPropertyOrBuilder getPropertiesOrBuilder( int index) { if (propertiesBuilder_ == null) { - return properties_.get(index); } else { + return properties_.get(index); + } else { return propertiesBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -2732,10 +3099,12 @@ public com.google.datastore.admin.v1.Index.IndexedPropertyOrBuilder getPropertie
      * * A maximum of 100 properties.
      * 
* - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getPropertiesOrBuilderList() { + public java.util.List + getPropertiesOrBuilderList() { if (propertiesBuilder_ != null) { return propertiesBuilder_.getMessageOrBuilderList(); } else { @@ -2743,6 +3112,8 @@ public com.google.datastore.admin.v1.Index.IndexedPropertyOrBuilder getPropertie } } /** + * + * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -2751,13 +3122,17 @@ public com.google.datastore.admin.v1.Index.IndexedPropertyOrBuilder getPropertie
      * * A maximum of 100 properties.
      * 
* - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.datastore.admin.v1.Index.IndexedProperty.Builder addPropertiesBuilder() { - return getPropertiesFieldBuilder().addBuilder( - com.google.datastore.admin.v1.Index.IndexedProperty.getDefaultInstance()); + return getPropertiesFieldBuilder() + .addBuilder(com.google.datastore.admin.v1.Index.IndexedProperty.getDefaultInstance()); } /** + * + * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -2766,14 +3141,19 @@ public com.google.datastore.admin.v1.Index.IndexedProperty.Builder addProperties
      * * A maximum of 100 properties.
      * 
* - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.datastore.admin.v1.Index.IndexedProperty.Builder addPropertiesBuilder( int index) { - return getPropertiesFieldBuilder().addBuilder( - index, com.google.datastore.admin.v1.Index.IndexedProperty.getDefaultInstance()); + return getPropertiesFieldBuilder() + .addBuilder( + index, com.google.datastore.admin.v1.Index.IndexedProperty.getDefaultInstance()); } /** + * + * *
      * Required. An ordered sequence of property names and their index attributes.
      *
@@ -2782,22 +3162,27 @@ public com.google.datastore.admin.v1.Index.IndexedProperty.Builder addProperties
      * * A maximum of 100 properties.
      * 
* - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getPropertiesBuilderList() { + public java.util.List + getPropertiesBuilderList() { return getPropertiesFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.admin.v1.Index.IndexedProperty, com.google.datastore.admin.v1.Index.IndexedProperty.Builder, com.google.datastore.admin.v1.Index.IndexedPropertyOrBuilder> + com.google.datastore.admin.v1.Index.IndexedProperty, + com.google.datastore.admin.v1.Index.IndexedProperty.Builder, + com.google.datastore.admin.v1.Index.IndexedPropertyOrBuilder> getPropertiesFieldBuilder() { if (propertiesBuilder_ == null) { - propertiesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.admin.v1.Index.IndexedProperty, com.google.datastore.admin.v1.Index.IndexedProperty.Builder, com.google.datastore.admin.v1.Index.IndexedPropertyOrBuilder>( - properties_, - ((bitField0_ & 0x00000010) != 0), - getParentForChildren(), - isClean()); + propertiesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.datastore.admin.v1.Index.IndexedProperty, + com.google.datastore.admin.v1.Index.IndexedProperty.Builder, + com.google.datastore.admin.v1.Index.IndexedPropertyOrBuilder>( + properties_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean()); properties_ = null; } return propertiesBuilder_; @@ -2805,22 +3190,33 @@ public com.google.datastore.admin.v1.Index.IndexedProperty.Builder addProperties private int state_ = 0; /** + * + * *
      * Output only. The state of the index.
      * 
* - * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.datastore.admin.v1.Index.State state = 7 [(.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 index.
      * 
* - * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2831,24 +3227,35 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. The state of the index.
      * 
* - * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.datastore.admin.v1.Index.State getState() { - com.google.datastore.admin.v1.Index.State result = com.google.datastore.admin.v1.Index.State.forNumber(state_); + com.google.datastore.admin.v1.Index.State result = + com.google.datastore.admin.v1.Index.State.forNumber(state_); return result == null ? com.google.datastore.admin.v1.Index.State.UNRECOGNIZED : result; } /** + * + * *
      * Output only. The state of the index.
      * 
* - * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -2862,11 +3269,16 @@ public Builder setState(com.google.datastore.admin.v1.Index.State value) { return this; } /** + * + * *
      * Output only. The state of the index.
      * 
* - * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -2875,9 +3287,9 @@ public Builder clearState() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2887,12 +3299,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.Index) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.Index) private static final com.google.datastore.admin.v1.Index DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.Index(); } @@ -2901,27 +3313,27 @@ public static com.google.datastore.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; @@ -2936,6 +3348,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.Index getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOperationMetadata.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOperationMetadata.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOperationMetadata.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOperationMetadata.java index d6ae23618..96b2a12ac 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOperationMetadata.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOperationMetadata.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto @@ -5,54 +20,61 @@ package com.google.datastore.admin.v1; /** + * + * *
  * Metadata for Index operations.
  * 
* * Protobuf type {@code google.datastore.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.datastore.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() { indexId_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IndexOperationMetadata(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_IndexOperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.admin.v1.DatastoreAdminProto + .internal_static_google_datastore_admin_v1_IndexOperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_IndexOperationMetadata_fieldAccessorTable + return com.google.datastore.admin.v1.DatastoreAdminProto + .internal_static_google_datastore_admin_v1_IndexOperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.IndexOperationMetadata.class, com.google.datastore.admin.v1.IndexOperationMetadata.Builder.class); + com.google.datastore.admin.v1.IndexOperationMetadata.class, + com.google.datastore.admin.v1.IndexOperationMetadata.Builder.class); } private int bitField0_; public static final int COMMON_FIELD_NUMBER = 1; private com.google.datastore.admin.v1.CommonMetadata common_; /** + * + * *
    * Metadata common to all Datastore Admin operations.
    * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; + * * @return Whether the common field is set. */ @java.lang.Override @@ -60,18 +82,25 @@ public boolean hasCommon() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Metadata common to all Datastore Admin operations.
    * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; + * * @return The common. */ @java.lang.Override public com.google.datastore.admin.v1.CommonMetadata getCommon() { - return common_ == null ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() : common_; + return common_ == null + ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() + : common_; } /** + * + * *
    * Metadata common to all Datastore Admin operations.
    * 
@@ -80,17 +109,22 @@ public com.google.datastore.admin.v1.CommonMetadata getCommon() { */ @java.lang.Override public com.google.datastore.admin.v1.CommonMetadataOrBuilder getCommonOrBuilder() { - return common_ == null ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() : common_; + return common_ == null + ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() + : common_; } public static final int PROGRESS_ENTITIES_FIELD_NUMBER = 2; private com.google.datastore.admin.v1.Progress progressEntities_; /** + * + * *
    * An estimate of the number of entities processed.
    * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; + * * @return Whether the progressEntities field is set. */ @java.lang.Override @@ -98,18 +132,25 @@ public boolean hasProgressEntities() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * An estimate of the number of entities processed.
    * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; + * * @return The progressEntities. */ @java.lang.Override public com.google.datastore.admin.v1.Progress getProgressEntities() { - return progressEntities_ == null ? com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressEntities_; + return progressEntities_ == null + ? com.google.datastore.admin.v1.Progress.getDefaultInstance() + : progressEntities_; } /** + * + * *
    * An estimate of the number of entities processed.
    * 
@@ -118,18 +159,24 @@ public com.google.datastore.admin.v1.Progress getProgressEntities() { */ @java.lang.Override public com.google.datastore.admin.v1.ProgressOrBuilder getProgressEntitiesOrBuilder() { - return progressEntities_ == null ? com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressEntities_; + return progressEntities_ == null + ? com.google.datastore.admin.v1.Progress.getDefaultInstance() + : progressEntities_; } public static final int INDEX_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object indexId_ = ""; /** + * + * *
    * The index resource ID that this operation is acting on.
    * 
* * string index_id = 3; + * * @return The indexId. */ @java.lang.Override @@ -138,29 +185,29 @@ public java.lang.String getIndexId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); indexId_ = s; return s; } } /** + * + * *
    * The index resource ID that this operation is acting on.
    * 
* * string index_id = 3; + * * @return The bytes for indexId. */ @java.lang.Override - public com.google.protobuf.ByteString - getIndexIdBytes() { + public com.google.protobuf.ByteString getIndexIdBytes() { java.lang.Object ref = indexId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); indexId_ = b; return b; } else { @@ -169,6 +216,7 @@ public java.lang.String getIndexId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,8 +228,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getCommon()); } @@ -201,12 +248,10 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getCommon()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getCommon()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getProgressEntities()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getProgressEntities()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(indexId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, indexId_); @@ -219,25 +264,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.datastore.admin.v1.IndexOperationMetadata)) { return super.equals(obj); } - com.google.datastore.admin.v1.IndexOperationMetadata other = (com.google.datastore.admin.v1.IndexOperationMetadata) obj; + com.google.datastore.admin.v1.IndexOperationMetadata other = + (com.google.datastore.admin.v1.IndexOperationMetadata) obj; if (hasCommon() != other.hasCommon()) return false; if (hasCommon()) { - if (!getCommon() - .equals(other.getCommon())) return false; + if (!getCommon().equals(other.getCommon())) return false; } if (hasProgressEntities() != other.hasProgressEntities()) return false; if (hasProgressEntities()) { - if (!getProgressEntities() - .equals(other.getProgressEntities())) return false; + if (!getProgressEntities().equals(other.getProgressEntities())) return false; } - if (!getIndexId() - .equals(other.getIndexId())) return false; + if (!getIndexId().equals(other.getIndexId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -265,119 +308,126 @@ public int hashCode() { } public static com.google.datastore.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.datastore.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.datastore.admin.v1.IndexOperationMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.admin.v1.IndexOperationMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.admin.v1.IndexOperationMetadata parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.datastore.admin.v1.IndexOperationMetadata parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.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.datastore.admin.v1.IndexOperationMetadata parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.IndexOperationMetadata parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.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.datastore.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.datastore.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.datastore.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 Index operations.
    * 
* * Protobuf type {@code google.datastore.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.datastore.admin.v1.IndexOperationMetadata) com.google.datastore.admin.v1.IndexOperationMetadataOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_IndexOperationMetadata_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.admin.v1.DatastoreAdminProto + .internal_static_google_datastore_admin_v1_IndexOperationMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_IndexOperationMetadata_fieldAccessorTable + return com.google.datastore.admin.v1.DatastoreAdminProto + .internal_static_google_datastore_admin_v1_IndexOperationMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.IndexOperationMetadata.class, com.google.datastore.admin.v1.IndexOperationMetadata.Builder.class); + com.google.datastore.admin.v1.IndexOperationMetadata.class, + com.google.datastore.admin.v1.IndexOperationMetadata.Builder.class); } // Construct using com.google.datastore.admin.v1.IndexOperationMetadata.newBuilder() @@ -385,18 +435,18 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getCommonFieldBuilder(); getProgressEntitiesFieldBuilder(); } } + @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.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_IndexOperationMetadata_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.admin.v1.DatastoreAdminProto + .internal_static_google_datastore_admin_v1_IndexOperationMetadata_descriptor; } @java.lang.Override @@ -437,8 +487,11 @@ public com.google.datastore.admin.v1.IndexOperationMetadata build() { @java.lang.Override public com.google.datastore.admin.v1.IndexOperationMetadata buildPartial() { - com.google.datastore.admin.v1.IndexOperationMetadata result = new com.google.datastore.admin.v1.IndexOperationMetadata(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.datastore.admin.v1.IndexOperationMetadata result = + new com.google.datastore.admin.v1.IndexOperationMetadata(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -447,15 +500,12 @@ private void buildPartial0(com.google.datastore.admin.v1.IndexOperationMetadata int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.common_ = commonBuilder_ == null - ? common_ - : commonBuilder_.build(); + result.common_ = commonBuilder_ == null ? common_ : commonBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.progressEntities_ = progressEntitiesBuilder_ == null - ? progressEntities_ - : progressEntitiesBuilder_.build(); + result.progressEntities_ = + progressEntitiesBuilder_ == null ? progressEntities_ : progressEntitiesBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { @@ -468,38 +518,39 @@ private void buildPartial0(com.google.datastore.admin.v1.IndexOperationMetadata public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.admin.v1.IndexOperationMetadata) { - return mergeFrom((com.google.datastore.admin.v1.IndexOperationMetadata)other); + return mergeFrom((com.google.datastore.admin.v1.IndexOperationMetadata) other); } else { super.mergeFrom(other); return this; @@ -507,7 +558,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.datastore.admin.v1.IndexOperationMetadata other) { - if (other == com.google.datastore.admin.v1.IndexOperationMetadata.getDefaultInstance()) return this; + if (other == com.google.datastore.admin.v1.IndexOperationMetadata.getDefaultInstance()) + return this; if (other.hasCommon()) { mergeCommon(other.getCommon()); } @@ -545,31 +597,32 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCommonFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getProgressEntitiesFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - indexId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCommonFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage( + getProgressEntitiesFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + indexId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -579,38 +632,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.datastore.admin.v1.CommonMetadata common_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.CommonMetadata, com.google.datastore.admin.v1.CommonMetadata.Builder, com.google.datastore.admin.v1.CommonMetadataOrBuilder> commonBuilder_; + com.google.datastore.admin.v1.CommonMetadata, + com.google.datastore.admin.v1.CommonMetadata.Builder, + com.google.datastore.admin.v1.CommonMetadataOrBuilder> + commonBuilder_; /** + * + * *
      * Metadata common to all Datastore Admin operations.
      * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; + * * @return Whether the common field is set. */ public boolean hasCommon() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Metadata common to all Datastore Admin operations.
      * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; + * * @return The common. */ public com.google.datastore.admin.v1.CommonMetadata getCommon() { if (commonBuilder_ == null) { - return common_ == null ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() : common_; + return common_ == null + ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() + : common_; } else { return commonBuilder_.getMessage(); } } /** + * + * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -631,14 +698,15 @@ public Builder setCommon(com.google.datastore.admin.v1.CommonMetadata value) { return this; } /** + * + * *
      * Metadata common to all Datastore Admin operations.
      * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; */ - public Builder setCommon( - com.google.datastore.admin.v1.CommonMetadata.Builder builderForValue) { + public Builder setCommon(com.google.datastore.admin.v1.CommonMetadata.Builder builderForValue) { if (commonBuilder_ == null) { common_ = builderForValue.build(); } else { @@ -649,6 +717,8 @@ public Builder setCommon( return this; } /** + * + * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -657,9 +727,9 @@ public Builder setCommon( */ public Builder mergeCommon(com.google.datastore.admin.v1.CommonMetadata value) { if (commonBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - common_ != null && - common_ != com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && common_ != null + && common_ != com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance()) { getCommonBuilder().mergeFrom(value); } else { common_ = value; @@ -674,6 +744,8 @@ public Builder mergeCommon(com.google.datastore.admin.v1.CommonMetadata value) { return this; } /** + * + * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -691,6 +763,8 @@ public Builder clearCommon() { return this; } /** + * + * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -703,6 +777,8 @@ public com.google.datastore.admin.v1.CommonMetadata.Builder getCommonBuilder() { return getCommonFieldBuilder().getBuilder(); } /** + * + * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -713,11 +789,14 @@ public com.google.datastore.admin.v1.CommonMetadataOrBuilder getCommonOrBuilder( if (commonBuilder_ != null) { return commonBuilder_.getMessageOrBuilder(); } else { - return common_ == null ? - com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() : common_; + return common_ == null + ? com.google.datastore.admin.v1.CommonMetadata.getDefaultInstance() + : common_; } } /** + * + * *
      * Metadata common to all Datastore Admin operations.
      * 
@@ -725,14 +804,17 @@ public com.google.datastore.admin.v1.CommonMetadataOrBuilder getCommonOrBuilder( * .google.datastore.admin.v1.CommonMetadata common = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.CommonMetadata, com.google.datastore.admin.v1.CommonMetadata.Builder, com.google.datastore.admin.v1.CommonMetadataOrBuilder> + com.google.datastore.admin.v1.CommonMetadata, + com.google.datastore.admin.v1.CommonMetadata.Builder, + com.google.datastore.admin.v1.CommonMetadataOrBuilder> getCommonFieldBuilder() { if (commonBuilder_ == null) { - commonBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.CommonMetadata, com.google.datastore.admin.v1.CommonMetadata.Builder, com.google.datastore.admin.v1.CommonMetadataOrBuilder>( - getCommon(), - getParentForChildren(), - isClean()); + commonBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.admin.v1.CommonMetadata, + com.google.datastore.admin.v1.CommonMetadata.Builder, + com.google.datastore.admin.v1.CommonMetadataOrBuilder>( + getCommon(), getParentForChildren(), isClean()); common_ = null; } return commonBuilder_; @@ -740,34 +822,47 @@ public com.google.datastore.admin.v1.CommonMetadataOrBuilder getCommonOrBuilder( private com.google.datastore.admin.v1.Progress progressEntities_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Progress, com.google.datastore.admin.v1.Progress.Builder, com.google.datastore.admin.v1.ProgressOrBuilder> progressEntitiesBuilder_; + com.google.datastore.admin.v1.Progress, + com.google.datastore.admin.v1.Progress.Builder, + com.google.datastore.admin.v1.ProgressOrBuilder> + progressEntitiesBuilder_; /** + * + * *
      * An estimate of the number of entities processed.
      * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; + * * @return Whether the progressEntities field is set. */ public boolean hasProgressEntities() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * An estimate of the number of entities processed.
      * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; + * * @return The progressEntities. */ public com.google.datastore.admin.v1.Progress getProgressEntities() { if (progressEntitiesBuilder_ == null) { - return progressEntities_ == null ? com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressEntities_; + return progressEntities_ == null + ? com.google.datastore.admin.v1.Progress.getDefaultInstance() + : progressEntities_; } else { return progressEntitiesBuilder_.getMessage(); } } /** + * + * *
      * An estimate of the number of entities processed.
      * 
@@ -788,6 +883,8 @@ public Builder setProgressEntities(com.google.datastore.admin.v1.Progress value) return this; } /** + * + * *
      * An estimate of the number of entities processed.
      * 
@@ -806,6 +903,8 @@ public Builder setProgressEntities( return this; } /** + * + * *
      * An estimate of the number of entities processed.
      * 
@@ -814,9 +913,9 @@ public Builder setProgressEntities( */ public Builder mergeProgressEntities(com.google.datastore.admin.v1.Progress value) { if (progressEntitiesBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - progressEntities_ != null && - progressEntities_ != com.google.datastore.admin.v1.Progress.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && progressEntities_ != null + && progressEntities_ != com.google.datastore.admin.v1.Progress.getDefaultInstance()) { getProgressEntitiesBuilder().mergeFrom(value); } else { progressEntities_ = value; @@ -831,6 +930,8 @@ public Builder mergeProgressEntities(com.google.datastore.admin.v1.Progress valu return this; } /** + * + * *
      * An estimate of the number of entities processed.
      * 
@@ -848,6 +949,8 @@ public Builder clearProgressEntities() { return this; } /** + * + * *
      * An estimate of the number of entities processed.
      * 
@@ -860,6 +963,8 @@ public com.google.datastore.admin.v1.Progress.Builder getProgressEntitiesBuilder return getProgressEntitiesFieldBuilder().getBuilder(); } /** + * + * *
      * An estimate of the number of entities processed.
      * 
@@ -870,11 +975,14 @@ public com.google.datastore.admin.v1.ProgressOrBuilder getProgressEntitiesOrBuil if (progressEntitiesBuilder_ != null) { return progressEntitiesBuilder_.getMessageOrBuilder(); } else { - return progressEntities_ == null ? - com.google.datastore.admin.v1.Progress.getDefaultInstance() : progressEntities_; + return progressEntities_ == null + ? com.google.datastore.admin.v1.Progress.getDefaultInstance() + : progressEntities_; } } /** + * + * *
      * An estimate of the number of entities processed.
      * 
@@ -882,14 +990,17 @@ public com.google.datastore.admin.v1.ProgressOrBuilder getProgressEntitiesOrBuil * .google.datastore.admin.v1.Progress progress_entities = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Progress, com.google.datastore.admin.v1.Progress.Builder, com.google.datastore.admin.v1.ProgressOrBuilder> + com.google.datastore.admin.v1.Progress, + com.google.datastore.admin.v1.Progress.Builder, + com.google.datastore.admin.v1.ProgressOrBuilder> getProgressEntitiesFieldBuilder() { if (progressEntitiesBuilder_ == null) { - progressEntitiesBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.Progress, com.google.datastore.admin.v1.Progress.Builder, com.google.datastore.admin.v1.ProgressOrBuilder>( - getProgressEntities(), - getParentForChildren(), - isClean()); + progressEntitiesBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.admin.v1.Progress, + com.google.datastore.admin.v1.Progress.Builder, + com.google.datastore.admin.v1.ProgressOrBuilder>( + getProgressEntities(), getParentForChildren(), isClean()); progressEntities_ = null; } return progressEntitiesBuilder_; @@ -897,18 +1008,20 @@ public com.google.datastore.admin.v1.ProgressOrBuilder getProgressEntitiesOrBuil private java.lang.Object indexId_ = ""; /** + * + * *
      * The index resource ID that this operation is acting on.
      * 
* * string index_id = 3; + * * @return The indexId. */ public java.lang.String getIndexId() { java.lang.Object ref = indexId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); indexId_ = s; return s; @@ -917,20 +1030,21 @@ public java.lang.String getIndexId() { } } /** + * + * *
      * The index resource ID that this operation is acting on.
      * 
* * string index_id = 3; + * * @return The bytes for indexId. */ - public com.google.protobuf.ByteString - getIndexIdBytes() { + public com.google.protobuf.ByteString getIndexIdBytes() { java.lang.Object ref = indexId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); indexId_ = b; return b; } else { @@ -938,28 +1052,35 @@ public java.lang.String getIndexId() { } } /** + * + * *
      * The index resource ID that this operation is acting on.
      * 
* * string index_id = 3; + * * @param value The indexId to set. * @return This builder for chaining. */ - public Builder setIndexId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIndexId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } indexId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The index resource ID that this operation is acting on.
      * 
* * string index_id = 3; + * * @return This builder for chaining. */ public Builder clearIndexId() { @@ -969,26 +1090,30 @@ public Builder clearIndexId() { return this; } /** + * + * *
      * The index resource ID that this operation is acting on.
      * 
* * string index_id = 3; + * * @param value The bytes for indexId to set. * @return This builder for chaining. */ - public Builder setIndexIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIndexIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); indexId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -998,12 +1123,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.IndexOperationMetadata) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.IndexOperationMetadata) private static final com.google.datastore.admin.v1.IndexOperationMetadata DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.IndexOperationMetadata(); } @@ -1012,27 +1137,27 @@ public static com.google.datastore.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; @@ -1047,6 +1172,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.IndexOperationMetadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOperationMetadataOrBuilder.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOperationMetadataOrBuilder.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOperationMetadataOrBuilder.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOperationMetadataOrBuilder.java index 3abc79f65..20348e044 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOperationMetadataOrBuilder.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOperationMetadataOrBuilder.java @@ -1,32 +1,56 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface IndexOperationMetadataOrBuilder extends +public interface IndexOperationMetadataOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.IndexOperationMetadata) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Metadata common to all Datastore Admin operations.
    * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; + * * @return Whether the common field is set. */ boolean hasCommon(); /** + * + * *
    * Metadata common to all Datastore Admin operations.
    * 
* * .google.datastore.admin.v1.CommonMetadata common = 1; + * * @return The common. */ com.google.datastore.admin.v1.CommonMetadata getCommon(); /** + * + * *
    * Metadata common to all Datastore Admin operations.
    * 
@@ -36,24 +60,32 @@ public interface IndexOperationMetadataOrBuilder extends com.google.datastore.admin.v1.CommonMetadataOrBuilder getCommonOrBuilder(); /** + * + * *
    * An estimate of the number of entities processed.
    * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; + * * @return Whether the progressEntities field is set. */ boolean hasProgressEntities(); /** + * + * *
    * An estimate of the number of entities processed.
    * 
* * .google.datastore.admin.v1.Progress progress_entities = 2; + * * @return The progressEntities. */ com.google.datastore.admin.v1.Progress getProgressEntities(); /** + * + * *
    * An estimate of the number of entities processed.
    * 
@@ -63,22 +95,27 @@ public interface IndexOperationMetadataOrBuilder extends com.google.datastore.admin.v1.ProgressOrBuilder getProgressEntitiesOrBuilder(); /** + * + * *
    * The index resource ID that this operation is acting on.
    * 
* * string index_id = 3; + * * @return The indexId. */ java.lang.String getIndexId(); /** + * + * *
    * The index resource ID that this operation is acting on.
    * 
* * string index_id = 3; + * * @return The bytes for indexId. */ - com.google.protobuf.ByteString - getIndexIdBytes(); + com.google.protobuf.ByteString getIndexIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOrBuilder.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOrBuilder.java similarity index 60% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOrBuilder.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOrBuilder.java index 1987da9de..25373353b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOrBuilder.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexOrBuilder.java @@ -1,95 +1,138 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/index.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface IndexOrBuilder extends +public interface IndexOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.Index) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. Project ID.
    * 
* * string project_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
    * Output only. Project ID.
    * 
* * string project_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * Output only. The resource ID of the index.
    * 
* * string index_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The indexId. */ java.lang.String getIndexId(); /** + * + * *
    * Output only. The resource ID of the index.
    * 
* * string index_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for indexId. */ - com.google.protobuf.ByteString - getIndexIdBytes(); + com.google.protobuf.ByteString getIndexIdBytes(); /** + * + * *
    * Required. The entity kind to which this index applies.
    * 
* * string kind = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The kind. */ java.lang.String getKind(); /** + * + * *
    * Required. The entity kind to which this index applies.
    * 
* * string kind = 4 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for kind. */ - com.google.protobuf.ByteString - getKindBytes(); + com.google.protobuf.ByteString getKindBytes(); /** + * + * *
    * Required. The index's ancestor mode.  Must not be
    * ANCESTOR_MODE_UNSPECIFIED.
    * 
* - * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The enum numeric value on the wire for ancestor. */ int getAncestorValue(); /** + * + * *
    * Required. The index's ancestor mode.  Must not be
    * ANCESTOR_MODE_UNSPECIFIED.
    * 
* - * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The ancestor. */ com.google.datastore.admin.v1.Index.AncestorMode getAncestor(); /** + * + * *
    * Required. An ordered sequence of property names and their index attributes.
    *
@@ -98,11 +141,14 @@ public interface IndexOrBuilder extends
    * * A maximum of 100 properties.
    * 
* - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getPropertiesList(); + java.util.List getPropertiesList(); /** + * + * *
    * Required. An ordered sequence of property names and their index attributes.
    *
@@ -111,10 +157,14 @@ public interface IndexOrBuilder extends
    * * A maximum of 100 properties.
    * 
* - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.datastore.admin.v1.Index.IndexedProperty getProperties(int index); /** + * + * *
    * Required. An ordered sequence of property names and their index attributes.
    *
@@ -123,10 +173,14 @@ public interface IndexOrBuilder extends
    * * A maximum of 100 properties.
    * 
* - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ int getPropertiesCount(); /** + * + * *
    * Required. An ordered sequence of property names and their index attributes.
    *
@@ -135,11 +189,15 @@ public interface IndexOrBuilder extends
    * * A maximum of 100 properties.
    * 
* - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List + java.util.List getPropertiesOrBuilderList(); /** + * + * *
    * Required. An ordered sequence of property names and their index attributes.
    *
@@ -148,26 +206,37 @@ public interface IndexOrBuilder extends
    * * A maximum of 100 properties.
    * 
* - * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * + * repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.datastore.admin.v1.Index.IndexedPropertyOrBuilder getPropertiesOrBuilder( - int index); + com.google.datastore.admin.v1.Index.IndexedPropertyOrBuilder getPropertiesOrBuilder(int index); /** + * + * *
    * Output only. The state of the index.
    * 
* - * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. The state of the index.
    * 
* - * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.datastore.admin.v1.Index.State getState(); diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexProto.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexProto.java new file mode 100644 index 000000000..9dbdecdf1 --- /dev/null +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/IndexProto.java @@ -0,0 +1,104 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/datastore/admin/v1/index.proto + +// Protobuf Java Version: 3.25.3 +package com.google.datastore.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_datastore_admin_v1_Index_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_datastore_admin_v1_Index_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_datastore_admin_v1_Index_IndexedProperty_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_datastore_admin_v1_Index_IndexedProperty_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/datastore/admin/v1/index.proto\022" + + "\031google.datastore.admin.v1\032\037google/api/f" + + "ield_behavior.proto\"\346\004\n\005Index\022\027\n\nproject" + + "_id\030\001 \001(\tB\003\340A\003\022\025\n\010index_id\030\003 \001(\tB\003\340A\003\022\021\n" + + "\004kind\030\004 \001(\tB\003\340A\002\022D\n\010ancestor\030\005 \001(\0162-.goo" + + "gle.datastore.admin.v1.Index.AncestorMod" + + "eB\003\340A\002\022I\n\nproperties\030\006 \003(\01320.google.data" + + "store.admin.v1.Index.IndexedPropertyB\003\340A" + + "\002\022:\n\005state\030\007 \001(\0162&.google.datastore.admi" + + "n.v1.Index.StateB\003\340A\003\032h\n\017IndexedProperty" + + "\022\021\n\004name\030\001 \001(\tB\003\340A\002\022B\n\tdirection\030\002 \001(\0162*" + + ".google.datastore.admin.v1.Index.Directi" + + "onB\003\340A\002\"J\n\014AncestorMode\022\035\n\031ANCESTOR_MODE" + + "_UNSPECIFIED\020\000\022\010\n\004NONE\020\001\022\021\n\rALL_ANCESTOR" + + "S\020\002\"E\n\tDirection\022\031\n\025DIRECTION_UNSPECIFIE" + + "D\020\000\022\r\n\tASCENDING\020\001\022\016\n\nDESCENDING\020\002\"P\n\005St" + + "ate\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001" + + "\022\t\n\005READY\020\002\022\014\n\010DELETING\020\003\022\t\n\005ERROR\020\004B\322\001\n" + + "\035com.google.datastore.admin.v1B\nIndexPro" + + "toP\001Z9cloud.google.com/go/datastore/admi" + + "n/apiv1/adminpb;adminpb\252\002\037Google.Cloud.D" + + "atastore.Admin.V1\312\002\037Google\\Cloud\\Datasto" + + "re\\Admin\\V1\352\002#Google::Cloud::Datastore::" + + "Admin::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, + new com.google.protobuf.Descriptors.FileDescriptor[] { + com.google.api.FieldBehaviorProto.getDescriptor(), + }); + internal_static_google_datastore_admin_v1_Index_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_datastore_admin_v1_Index_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_datastore_admin_v1_Index_descriptor, + new java.lang.String[] { + "ProjectId", "IndexId", "Kind", "Ancestor", "Properties", "State", + }); + internal_static_google_datastore_admin_v1_Index_IndexedProperty_descriptor = + internal_static_google_datastore_admin_v1_Index_descriptor.getNestedTypes().get(0); + internal_static_google_datastore_admin_v1_Index_IndexedProperty_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_datastore_admin_v1_Index_IndexedProperty_descriptor, + new java.lang.String[] { + "Name", "Direction", + }); + com.google.protobuf.ExtensionRegistry registry = + com.google.protobuf.ExtensionRegistry.newInstance(); + registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); + com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( + descriptor, registry); + com.google.api.FieldBehaviorProto.getDescriptor(); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesRequest.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesRequest.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesRequest.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesRequest.java index 57ec870ab..5eb553c33 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesRequest.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto @@ -5,6 +20,8 @@ package com.google.datastore.admin.v1; /** + * + * *
  * The request for
  * [google.datastore.admin.v1.DatastoreAdmin.ListIndexes][google.datastore.admin.v1.DatastoreAdmin.ListIndexes].
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.datastore.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.datastore.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() {
     projectId_ = "";
     filter_ = "";
@@ -29,33 +47,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();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ListIndexesRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.datastore.admin.v1.DatastoreAdminProto
+        .internal_static_google_datastore_admin_v1_ListIndexesRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ListIndexesRequest_fieldAccessorTable
+    return com.google.datastore.admin.v1.DatastoreAdminProto
+        .internal_static_google_datastore_admin_v1_ListIndexesRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.admin.v1.ListIndexesRequest.class, com.google.datastore.admin.v1.ListIndexesRequest.Builder.class);
+            com.google.datastore.admin.v1.ListIndexesRequest.class,
+            com.google.datastore.admin.v1.ListIndexesRequest.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object projectId_ = "";
   /**
+   *
+   *
    * 
    * Project ID against which to make the request.
    * 
* * string project_id = 1; + * * @return The projectId. */ @java.lang.Override @@ -64,29 +87,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Project ID against which to make the request.
    * 
* * string project_id = 1; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -95,10 +118,12 @@ public java.lang.String getProjectId() { } public static final int FILTER_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** * string filter = 3; + * * @return The filter. */ @java.lang.Override @@ -107,8 +132,7 @@ 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; @@ -116,16 +140,15 @@ public java.lang.String getFilter() { } /** * string filter = 3; + * * @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 { @@ -136,12 +159,15 @@ public java.lang.String getFilter() { public static final int PAGE_SIZE_FIELD_NUMBER = 4; private int pageSize_ = 0; /** + * + * *
    * The maximum number of items to return.  If zero, then all results will be
    * returned.
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -150,14 +176,18 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * The next_page_token value returned from a previous List request, if any.
    * 
* * string page_token = 5; + * * @return The pageToken. */ @java.lang.Override @@ -166,29 +196,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 = 5; + * * @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 { @@ -197,6 +227,7 @@ public java.lang.String getPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,8 +239,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, projectId_); } @@ -238,8 +268,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, filter_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, pageToken_); @@ -252,21 +281,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.datastore.admin.v1.ListIndexesRequest)) { return super.equals(obj); } - com.google.datastore.admin.v1.ListIndexesRequest other = (com.google.datastore.admin.v1.ListIndexesRequest) obj; + com.google.datastore.admin.v1.ListIndexesRequest other = + (com.google.datastore.admin.v1.ListIndexesRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getProjectId().equals(other.getProjectId())) 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; } @@ -291,99 +317,104 @@ public int hashCode() { return hash; } - public static com.google.datastore.admin.v1.ListIndexesRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.datastore.admin.v1.ListIndexesRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.admin.v1.ListIndexesRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.admin.v1.ListIndexesRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.admin.v1.ListIndexesRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.datastore.admin.v1.ListIndexesRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.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.datastore.admin.v1.ListIndexesRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.ListIndexesRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.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.datastore.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.datastore.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.datastore.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
    * [google.datastore.admin.v1.DatastoreAdmin.ListIndexes][google.datastore.admin.v1.DatastoreAdmin.ListIndexes].
@@ -391,33 +422,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.datastore.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.datastore.admin.v1.ListIndexesRequest)
       com.google.datastore.admin.v1.ListIndexesRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ListIndexesRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto
+          .internal_static_google_datastore_admin_v1_ListIndexesRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ListIndexesRequest_fieldAccessorTable
+      return com.google.datastore.admin.v1.DatastoreAdminProto
+          .internal_static_google_datastore_admin_v1_ListIndexesRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.admin.v1.ListIndexesRequest.class, com.google.datastore.admin.v1.ListIndexesRequest.Builder.class);
+              com.google.datastore.admin.v1.ListIndexesRequest.class,
+              com.google.datastore.admin.v1.ListIndexesRequest.Builder.class);
     }
 
     // Construct using com.google.datastore.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();
@@ -430,9 +460,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ListIndexesRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto
+          .internal_static_google_datastore_admin_v1_ListIndexesRequest_descriptor;
     }
 
     @java.lang.Override
@@ -451,8 +481,11 @@ public com.google.datastore.admin.v1.ListIndexesRequest build() {
 
     @java.lang.Override
     public com.google.datastore.admin.v1.ListIndexesRequest buildPartial() {
-      com.google.datastore.admin.v1.ListIndexesRequest result = new com.google.datastore.admin.v1.ListIndexesRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.datastore.admin.v1.ListIndexesRequest result =
+          new com.google.datastore.admin.v1.ListIndexesRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -477,38 +510,39 @@ private void buildPartial0(com.google.datastore.admin.v1.ListIndexesRequest resu
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.admin.v1.ListIndexesRequest) {
-        return mergeFrom((com.google.datastore.admin.v1.ListIndexesRequest)other);
+        return mergeFrom((com.google.datastore.admin.v1.ListIndexesRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -516,7 +550,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.datastore.admin.v1.ListIndexesRequest other) {
-      if (other == com.google.datastore.admin.v1.ListIndexesRequest.getDefaultInstance()) return this;
+      if (other == com.google.datastore.admin.v1.ListIndexesRequest.getDefaultInstance())
+        return this;
       if (!other.getProjectId().isEmpty()) {
         projectId_ = other.projectId_;
         bitField0_ |= 0x00000001;
@@ -561,32 +596,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              projectId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 26: {
-              filter_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 26
-            case 32: {
-              pageSize_ = input.readInt32();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 32
-            case 42: {
-              pageToken_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                projectId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 26:
+              {
+                filter_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 26
+            case 32:
+              {
+                pageSize_ = input.readInt32();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 32
+            case 42:
+              {
+                pageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000008;
+                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) {
@@ -596,22 +636,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object projectId_ = "";
     /**
+     *
+     *
      * 
      * Project ID against which to make the request.
      * 
* * string project_id = 1; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -620,20 +663,21 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -641,28 +685,35 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; + * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -672,17 +723,21 @@ public Builder clearProjectId() { return this; } /** + * + * *
      * Project ID against which to make the request.
      * 
* * string project_id = 1; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -693,13 +748,13 @@ public Builder setProjectIdBytes( private java.lang.Object filter_ = ""; /** * string filter = 3; + * * @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; @@ -709,15 +764,14 @@ public java.lang.String getFilter() { } /** * string filter = 3; + * * @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 { @@ -726,12 +780,14 @@ public java.lang.String getFilter() { } /** * string filter = 3; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000002; onChanged(); @@ -739,6 +795,7 @@ public Builder setFilter( } /** * string filter = 3; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -749,12 +806,14 @@ public Builder clearFilter() { } /** * string filter = 3; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000002; @@ -762,14 +821,17 @@ public Builder setFilterBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * The maximum number of items to return.  If zero, then all results will be
      * returned.
      * 
* * int32 page_size = 4; + * * @return The pageSize. */ @java.lang.Override @@ -777,12 +839,15 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * The maximum number of items to return.  If zero, then all results will be
      * returned.
      * 
* * int32 page_size = 4; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -794,12 +859,15 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * The maximum number of items to return.  If zero, then all results will be
      * returned.
      * 
* * int32 page_size = 4; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -811,18 +879,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 = 5; + * * @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; @@ -831,20 +901,21 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 5; + * * @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 { @@ -852,28 +923,35 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 5; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 5; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -883,26 +961,30 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * The next_page_token value returned from a previous List request, if any.
      * 
* * string page_token = 5; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -912,12 +994,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.ListIndexesRequest) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.ListIndexesRequest) private static final com.google.datastore.admin.v1.ListIndexesRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.ListIndexesRequest(); } @@ -926,27 +1008,27 @@ public static com.google.datastore.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; @@ -961,6 +1043,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.ListIndexesRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesRequestOrBuilder.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesRequestOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesRequestOrBuilder.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesRequestOrBuilder.java index b70dc1107..389feb19a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesRequestOrBuilder.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesRequestOrBuilder.java @@ -1,73 +1,103 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface ListIndexesRequestOrBuilder extends +public interface ListIndexesRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.ListIndexesRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Project ID against which to make the request.
    * 
* * string project_id = 1; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
    * Project ID against which to make the request.
    * 
* * string project_id = 1; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); /** * string filter = 3; + * * @return The filter. */ java.lang.String getFilter(); /** * string filter = 3; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * The maximum number of items to return.  If zero, then all results will be
    * returned.
    * 
* * int32 page_size = 4; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * The next_page_token value returned from a previous List request, if any.
    * 
* * string page_token = 5; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * The next_page_token value returned from a previous List request, if any.
    * 
* * string page_token = 5; + * * @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-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesResponse.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesResponse.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesResponse.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesResponse.java index 7b822ebd6..05da1f24d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesResponse.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesResponse.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto @@ -5,6 +20,8 @@ package com.google.datastore.admin.v1; /** + * + * *
  * The response for
  * [google.datastore.admin.v1.DatastoreAdmin.ListIndexes][google.datastore.admin.v1.DatastoreAdmin.ListIndexes].
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.datastore.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.datastore.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_ = "";
@@ -28,28 +46,32 @@ private ListIndexesResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListIndexesResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ListIndexesResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.datastore.admin.v1.DatastoreAdminProto
+        .internal_static_google_datastore_admin_v1_ListIndexesResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ListIndexesResponse_fieldAccessorTable
+    return com.google.datastore.admin.v1.DatastoreAdminProto
+        .internal_static_google_datastore_admin_v1_ListIndexesResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.admin.v1.ListIndexesResponse.class, com.google.datastore.admin.v1.ListIndexesResponse.Builder.class);
+            com.google.datastore.admin.v1.ListIndexesResponse.class,
+            com.google.datastore.admin.v1.ListIndexesResponse.Builder.class);
   }
 
   public static final int INDEXES_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List indexes_;
   /**
+   *
+   *
    * 
    * The indexes.
    * 
@@ -61,6 +83,8 @@ public java.util.List getIndexesList() { return indexes_; } /** + * + * *
    * The indexes.
    * 
@@ -68,11 +92,13 @@ public java.util.List getIndexesList() { * repeated .google.datastore.admin.v1.Index indexes = 1; */ @java.lang.Override - public java.util.List + public java.util.List getIndexesOrBuilderList() { return indexes_; } /** + * + * *
    * The indexes.
    * 
@@ -84,6 +110,8 @@ public int getIndexesCount() { return indexes_.size(); } /** + * + * *
    * The indexes.
    * 
@@ -95,6 +123,8 @@ public com.google.datastore.admin.v1.Index getIndexes(int index) { return indexes_.get(index); } /** + * + * *
    * The indexes.
    * 
@@ -102,20 +132,23 @@ public com.google.datastore.admin.v1.Index getIndexes(int index) { * repeated .google.datastore.admin.v1.Index indexes = 1; */ @java.lang.Override - public com.google.datastore.admin.v1.IndexOrBuilder getIndexesOrBuilder( - int index) { + public com.google.datastore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int index) { return indexes_.get(index); } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * The standard List next-page token.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -124,29 +157,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 standard List 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 { @@ -155,6 +188,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -166,8 +200,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < indexes_.size(); i++) { output.writeMessage(1, indexes_.get(i)); } @@ -184,8 +217,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < indexes_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, indexes_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, indexes_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -198,17 +230,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.datastore.admin.v1.ListIndexesResponse)) { return super.equals(obj); } - com.google.datastore.admin.v1.ListIndexesResponse other = (com.google.datastore.admin.v1.ListIndexesResponse) obj; + com.google.datastore.admin.v1.ListIndexesResponse other = + (com.google.datastore.admin.v1.ListIndexesResponse) obj; - if (!getIndexesList() - .equals(other.getIndexesList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getIndexesList().equals(other.getIndexesList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -232,98 +263,103 @@ public int hashCode() { } public static com.google.datastore.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.datastore.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.datastore.admin.v1.ListIndexesResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.admin.v1.ListIndexesResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.admin.v1.ListIndexesResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.datastore.admin.v1.ListIndexesResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.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.datastore.admin.v1.ListIndexesResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.ListIndexesResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.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.datastore.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.datastore.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.datastore.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
    * [google.datastore.admin.v1.DatastoreAdmin.ListIndexes][google.datastore.admin.v1.DatastoreAdmin.ListIndexes].
@@ -331,33 +367,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.datastore.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.datastore.admin.v1.ListIndexesResponse)
       com.google.datastore.admin.v1.ListIndexesResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ListIndexesResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto
+          .internal_static_google_datastore_admin_v1_ListIndexesResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ListIndexesResponse_fieldAccessorTable
+      return com.google.datastore.admin.v1.DatastoreAdminProto
+          .internal_static_google_datastore_admin_v1_ListIndexesResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.admin.v1.ListIndexesResponse.class, com.google.datastore.admin.v1.ListIndexesResponse.Builder.class);
+              com.google.datastore.admin.v1.ListIndexesResponse.class,
+              com.google.datastore.admin.v1.ListIndexesResponse.Builder.class);
     }
 
     // Construct using com.google.datastore.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.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_ListIndexesResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.datastore.admin.v1.DatastoreAdminProto
+          .internal_static_google_datastore_admin_v1_ListIndexesResponse_descriptor;
     }
 
     @java.lang.Override
@@ -395,14 +430,18 @@ public com.google.datastore.admin.v1.ListIndexesResponse build() {
 
     @java.lang.Override
     public com.google.datastore.admin.v1.ListIndexesResponse buildPartial() {
-      com.google.datastore.admin.v1.ListIndexesResponse result = new com.google.datastore.admin.v1.ListIndexesResponse(this);
+      com.google.datastore.admin.v1.ListIndexesResponse result =
+          new com.google.datastore.admin.v1.ListIndexesResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.datastore.admin.v1.ListIndexesResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.datastore.admin.v1.ListIndexesResponse result) {
       if (indexesBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           indexes_ = java.util.Collections.unmodifiableList(indexes_);
@@ -425,38 +464,39 @@ private void buildPartial0(com.google.datastore.admin.v1.ListIndexesResponse res
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.admin.v1.ListIndexesResponse) {
-        return mergeFrom((com.google.datastore.admin.v1.ListIndexesResponse)other);
+        return mergeFrom((com.google.datastore.admin.v1.ListIndexesResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -464,7 +504,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.datastore.admin.v1.ListIndexesResponse other) {
-      if (other == com.google.datastore.admin.v1.ListIndexesResponse.getDefaultInstance()) return this;
+      if (other == com.google.datastore.admin.v1.ListIndexesResponse.getDefaultInstance())
+        return this;
       if (indexesBuilder_ == null) {
         if (!other.indexes_.isEmpty()) {
           if (indexes_.isEmpty()) {
@@ -483,9 +524,10 @@ public Builder mergeFrom(com.google.datastore.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_);
           }
@@ -522,30 +564,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.datastore.admin.v1.Index m =
-                  input.readMessage(
-                      com.google.datastore.admin.v1.Index.parser(),
-                      extensionRegistry);
-              if (indexesBuilder_ == null) {
-                ensureIndexesIsMutable();
-                indexes_.add(m);
-              } else {
-                indexesBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 18: {
-              nextPageToken_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.datastore.admin.v1.Index m =
+                    input.readMessage(
+                        com.google.datastore.admin.v1.Index.parser(), extensionRegistry);
+                if (indexesBuilder_ == null) {
+                  ensureIndexesIsMutable();
+                  indexes_.add(m);
+                } else {
+                  indexesBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -555,21 +599,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.datastore.admin.v1.Index, com.google.datastore.admin.v1.Index.Builder, com.google.datastore.admin.v1.IndexOrBuilder> indexesBuilder_;
+            com.google.datastore.admin.v1.Index,
+            com.google.datastore.admin.v1.Index.Builder,
+            com.google.datastore.admin.v1.IndexOrBuilder>
+        indexesBuilder_;
 
     /**
+     *
+     *
      * 
      * The indexes.
      * 
@@ -584,6 +635,8 @@ public java.util.List getIndexesList() { } } /** + * + * *
      * The indexes.
      * 
@@ -598,6 +651,8 @@ public int getIndexesCount() { } } /** + * + * *
      * The indexes.
      * 
@@ -612,14 +667,15 @@ public com.google.datastore.admin.v1.Index getIndexes(int index) { } } /** + * + * *
      * The indexes.
      * 
* * repeated .google.datastore.admin.v1.Index indexes = 1; */ - public Builder setIndexes( - int index, com.google.datastore.admin.v1.Index value) { + public Builder setIndexes(int index, com.google.datastore.admin.v1.Index value) { if (indexesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -633,6 +689,8 @@ public Builder setIndexes( return this; } /** + * + * *
      * The indexes.
      * 
@@ -651,6 +709,8 @@ public Builder setIndexes( return this; } /** + * + * *
      * The indexes.
      * 
@@ -671,14 +731,15 @@ public Builder addIndexes(com.google.datastore.admin.v1.Index value) { return this; } /** + * + * *
      * The indexes.
      * 
* * repeated .google.datastore.admin.v1.Index indexes = 1; */ - public Builder addIndexes( - int index, com.google.datastore.admin.v1.Index value) { + public Builder addIndexes(int index, com.google.datastore.admin.v1.Index value) { if (indexesBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -692,14 +753,15 @@ public Builder addIndexes( return this; } /** + * + * *
      * The indexes.
      * 
* * repeated .google.datastore.admin.v1.Index indexes = 1; */ - public Builder addIndexes( - com.google.datastore.admin.v1.Index.Builder builderForValue) { + public Builder addIndexes(com.google.datastore.admin.v1.Index.Builder builderForValue) { if (indexesBuilder_ == null) { ensureIndexesIsMutable(); indexes_.add(builderForValue.build()); @@ -710,6 +772,8 @@ public Builder addIndexes( return this; } /** + * + * *
      * The indexes.
      * 
@@ -728,6 +792,8 @@ public Builder addIndexes( return this; } /** + * + * *
      * The indexes.
      * 
@@ -738,8 +804,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); @@ -747,6 +812,8 @@ public Builder addAllIndexes( return this; } /** + * + * *
      * The indexes.
      * 
@@ -764,6 +831,8 @@ public Builder clearIndexes() { return this; } /** + * + * *
      * The indexes.
      * 
@@ -781,39 +850,44 @@ public Builder removeIndexes(int index) { return this; } /** + * + * *
      * The indexes.
      * 
* * repeated .google.datastore.admin.v1.Index indexes = 1; */ - public com.google.datastore.admin.v1.Index.Builder getIndexesBuilder( - int index) { + public com.google.datastore.admin.v1.Index.Builder getIndexesBuilder(int index) { return getIndexesFieldBuilder().getBuilder(index); } /** + * + * *
      * The indexes.
      * 
* * repeated .google.datastore.admin.v1.Index indexes = 1; */ - public com.google.datastore.admin.v1.IndexOrBuilder getIndexesOrBuilder( - int index) { + public com.google.datastore.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.
      * 
* * repeated .google.datastore.admin.v1.Index indexes = 1; */ - public java.util.List - getIndexesOrBuilderList() { + public java.util.List + getIndexesOrBuilderList() { if (indexesBuilder_ != null) { return indexesBuilder_.getMessageOrBuilderList(); } else { @@ -821,6 +895,8 @@ public com.google.datastore.admin.v1.IndexOrBuilder getIndexesOrBuilder( } } /** + * + * *
      * The indexes.
      * 
@@ -828,42 +904,47 @@ public com.google.datastore.admin.v1.IndexOrBuilder getIndexesOrBuilder( * repeated .google.datastore.admin.v1.Index indexes = 1; */ public com.google.datastore.admin.v1.Index.Builder addIndexesBuilder() { - return getIndexesFieldBuilder().addBuilder( - com.google.datastore.admin.v1.Index.getDefaultInstance()); + return getIndexesFieldBuilder() + .addBuilder(com.google.datastore.admin.v1.Index.getDefaultInstance()); } /** + * + * *
      * The indexes.
      * 
* * repeated .google.datastore.admin.v1.Index indexes = 1; */ - public com.google.datastore.admin.v1.Index.Builder addIndexesBuilder( - int index) { - return getIndexesFieldBuilder().addBuilder( - index, com.google.datastore.admin.v1.Index.getDefaultInstance()); + public com.google.datastore.admin.v1.Index.Builder addIndexesBuilder(int index) { + return getIndexesFieldBuilder() + .addBuilder(index, com.google.datastore.admin.v1.Index.getDefaultInstance()); } /** + * + * *
      * The indexes.
      * 
* * repeated .google.datastore.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.datastore.admin.v1.Index, com.google.datastore.admin.v1.Index.Builder, com.google.datastore.admin.v1.IndexOrBuilder> + com.google.datastore.admin.v1.Index, + com.google.datastore.admin.v1.Index.Builder, + com.google.datastore.admin.v1.IndexOrBuilder> getIndexesFieldBuilder() { if (indexesBuilder_ == null) { - indexesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.admin.v1.Index, com.google.datastore.admin.v1.Index.Builder, com.google.datastore.admin.v1.IndexOrBuilder>( - indexes_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + indexesBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.datastore.admin.v1.Index, + com.google.datastore.admin.v1.Index.Builder, + com.google.datastore.admin.v1.IndexOrBuilder>( + indexes_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); indexes_ = null; } return indexesBuilder_; @@ -871,18 +952,20 @@ public com.google.datastore.admin.v1.Index.Builder addIndexesBuilder( private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * The standard List 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; @@ -891,20 +974,21 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The standard List 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 { @@ -912,28 +996,35 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * The standard List 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The standard List next-page token.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -943,26 +1034,30 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * The standard List 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -972,12 +1067,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.ListIndexesResponse) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.ListIndexesResponse) private static final com.google.datastore.admin.v1.ListIndexesResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.ListIndexesResponse(); } @@ -986,27 +1081,27 @@ public static com.google.datastore.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; @@ -1021,6 +1116,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.ListIndexesResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesResponseOrBuilder.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesResponseOrBuilder.java similarity index 63% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesResponseOrBuilder.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesResponseOrBuilder.java index 877733056..e6b8e4376 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesResponseOrBuilder.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ListIndexesResponseOrBuilder.java @@ -1,23 +1,42 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface ListIndexesResponseOrBuilder extends +public interface ListIndexesResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.ListIndexesResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The indexes.
    * 
* * repeated .google.datastore.admin.v1.Index indexes = 1; */ - java.util.List - getIndexesList(); + java.util.List getIndexesList(); /** + * + * *
    * The indexes.
    * 
@@ -26,6 +45,8 @@ public interface ListIndexesResponseOrBuilder extends */ com.google.datastore.admin.v1.Index getIndexes(int index); /** + * + * *
    * The indexes.
    * 
@@ -34,41 +55,48 @@ public interface ListIndexesResponseOrBuilder extends */ int getIndexesCount(); /** + * + * *
    * The indexes.
    * 
* * repeated .google.datastore.admin.v1.Index indexes = 1; */ - java.util.List - getIndexesOrBuilderList(); + java.util.List getIndexesOrBuilderList(); /** + * + * *
    * The indexes.
    * 
* * repeated .google.datastore.admin.v1.Index indexes = 1; */ - com.google.datastore.admin.v1.IndexOrBuilder getIndexesOrBuilder( - int index); + com.google.datastore.admin.v1.IndexOrBuilder getIndexesOrBuilder(int index); /** + * + * *
    * The standard List next-page token.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * The standard List 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-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProgressEvent.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProgressEvent.java similarity index 58% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProgressEvent.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProgressEvent.java index a01ddb6c9..d69e36b88 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProgressEvent.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProgressEvent.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/migration.proto @@ -5,6 +20,8 @@ package com.google.datastore.admin.v1; /** + * + * *
  * An event signifying the start of a new step in a [migration from Cloud
  * Datastore to Cloud Firestore in Datastore
@@ -13,49 +30,54 @@
  *
  * Protobuf type {@code google.datastore.admin.v1.MigrationProgressEvent}
  */
-public final class MigrationProgressEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class MigrationProgressEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.datastore.admin.v1.MigrationProgressEvent)
     MigrationProgressEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use MigrationProgressEvent.newBuilder() to construct.
   private MigrationProgressEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private MigrationProgressEvent() {
     step_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new MigrationProgressEvent();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.datastore.admin.v1.MigrationProto
+        .internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationProgressEvent_fieldAccessorTable
+    return com.google.datastore.admin.v1.MigrationProto
+        .internal_static_google_datastore_admin_v1_MigrationProgressEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.admin.v1.MigrationProgressEvent.class, com.google.datastore.admin.v1.MigrationProgressEvent.Builder.class);
+            com.google.datastore.admin.v1.MigrationProgressEvent.class,
+            com.google.datastore.admin.v1.MigrationProgressEvent.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Concurrency modes for transactions in Cloud Firestore.
    * 
* * Protobuf enum {@code google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode} */ - public enum ConcurrencyMode - implements com.google.protobuf.ProtocolMessageEnum { + public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified.
      * 
@@ -64,6 +86,8 @@ public enum ConcurrencyMode */ CONCURRENCY_MODE_UNSPECIFIED(0), /** + * + * *
      * Pessimistic concurrency.
      * 
@@ -72,6 +96,8 @@ public enum ConcurrencyMode */ PESSIMISTIC(1), /** + * + * *
      * Optimistic concurrency.
      * 
@@ -80,6 +106,8 @@ public enum ConcurrencyMode */ OPTIMISTIC(2), /** + * + * *
      * Optimistic concurrency with entity groups.
      * 
@@ -91,6 +119,8 @@ public enum ConcurrencyMode ; /** + * + * *
      * Unspecified.
      * 
@@ -99,6 +129,8 @@ public enum ConcurrencyMode */ public static final int CONCURRENCY_MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Pessimistic concurrency.
      * 
@@ -107,6 +139,8 @@ public enum ConcurrencyMode */ public static final int PESSIMISTIC_VALUE = 1; /** + * + * *
      * Optimistic concurrency.
      * 
@@ -115,6 +149,8 @@ public enum ConcurrencyMode */ public static final int OPTIMISTIC_VALUE = 2; /** + * + * *
      * Optimistic concurrency with entity groups.
      * 
@@ -123,7 +159,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( @@ -148,41 +183,47 @@ public static ConcurrencyMode valueOf(int value) { */ public static ConcurrencyMode forNumber(int value) { switch (value) { - case 0: return CONCURRENCY_MODE_UNSPECIFIED; - case 1: return PESSIMISTIC; - case 2: return OPTIMISTIC; - case 3: return OPTIMISTIC_WITH_ENTITY_GROUPS; - default: return null; + case 0: + return CONCURRENCY_MODE_UNSPECIFIED; + case 1: + return PESSIMISTIC; + case 2: + return OPTIMISTIC; + 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() { - return com.google.datastore.admin.v1.MigrationProgressEvent.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.datastore.admin.v1.MigrationProgressEvent.getDescriptor() + .getEnumTypes() + .get(0); } private static final ConcurrencyMode[] VALUES = values(); @@ -190,8 +231,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; @@ -208,100 +248,130 @@ private ConcurrencyMode(int value) { // @@protoc_insertion_point(enum_scope:google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode) } - public interface PrepareStepDetailsOrBuilder extends + public interface PrepareStepDetailsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The concurrency mode this database will use when it reaches the
      * `REDIRECT_WRITES` step.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * + * * @return The enum numeric value on the wire for concurrencyMode. */ int getConcurrencyModeValue(); /** + * + * *
      * The concurrency mode this database will use when it reaches the
      * `REDIRECT_WRITES` step.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * + * * @return The concurrencyMode. */ com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode getConcurrencyMode(); } /** + * + * *
    * Details for the `PREPARE` step.
    * 
* * Protobuf type {@code google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails} */ - public static final class PrepareStepDetails extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class PrepareStepDetails extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) PrepareStepDetailsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PrepareStepDetails.newBuilder() to construct. private PrepareStepDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PrepareStepDetails() { concurrencyMode_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PrepareStepDetails(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.admin.v1.MigrationProto + .internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_fieldAccessorTable + return com.google.datastore.admin.v1.MigrationProto + .internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.class, com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.Builder.class); + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.class, + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.Builder + .class); } public static final int CONCURRENCY_MODE_FIELD_NUMBER = 1; private int concurrencyMode_ = 0; /** + * + * *
      * The concurrency mode this database will use when it reaches the
      * `REDIRECT_WRITES` step.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * + * * @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 mode this database will use when it reaches the
      * `REDIRECT_WRITES` step.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * + * * @return The concurrencyMode. */ - @java.lang.Override public com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode getConcurrencyMode() { - com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode result = com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.forNumber(concurrencyMode_); - return result == null ? com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.UNRECOGNIZED : result; + @java.lang.Override + public com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode + getConcurrencyMode() { + com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode result = + com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.forNumber( + concurrencyMode_); + return result == null + ? com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -313,9 +383,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (concurrencyMode_ != com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.CONCURRENCY_MODE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (concurrencyMode_ + != com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode + .CONCURRENCY_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, concurrencyMode_); } getUnknownFields().writeTo(output); @@ -327,9 +399,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (concurrencyMode_ != com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.CONCURRENCY_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, concurrencyMode_); + if (concurrencyMode_ + != com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode + .CONCURRENCY_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, concurrencyMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -339,12 +413,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.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails)) { + if (!(obj + instanceof com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails)) { return super.equals(obj); } - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails other = (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) obj; + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails other = + (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) obj; if (concurrencyMode_ != other.concurrencyMode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -366,89 +442,95 @@ public int hashCode() { } public static com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails 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.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails 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.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails + 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.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prototype) { + + public static Builder newBuilder( + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -458,39 +540,43 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Details for the `PREPARE` step.
      * 
* * Protobuf type {@code google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.admin.v1.MigrationProto + .internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_fieldAccessorTable + return com.google.datastore.admin.v1.MigrationProto + .internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.class, com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.Builder.class); + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.class, + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.Builder + .class); } - // Construct using com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.newBuilder() - private Builder() { + // Construct using + // com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.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(); @@ -500,19 +586,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.admin.v1.MigrationProto + .internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_descriptor; } @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails getDefaultInstanceForType() { - return com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.getDefaultInstance(); + public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails + getDefaultInstanceForType() { + return com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails + .getDefaultInstance(); } @java.lang.Override public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails build() { - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails result = buildPartial(); + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -520,14 +609,19 @@ public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails b } @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails buildPartial() { - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails result = new com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails + buildPartial() { + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails result = + new com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails result) { + private void buildPartial0( + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.concurrencyMode_ = concurrencyMode_; @@ -538,46 +632,54 @@ private void buildPartial0(com.google.datastore.admin.v1.MigrationProgressEvent. public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) { - return mergeFrom((com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails)other); + if (other + instanceof com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) { + return mergeFrom( + (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails other) { - if (other == com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails other) { + if (other + == com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails + .getDefaultInstance()) return this; if (other.concurrencyMode_ != 0) { setConcurrencyModeValue(other.getConcurrencyModeValue()); } @@ -607,17 +709,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - concurrencyMode_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + concurrencyMode_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -627,28 +731,40 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int concurrencyMode_ = 0; /** + * + * *
        * The concurrency mode this database will use when it reaches the
        * `REDIRECT_WRITES` step.
        * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * + * * @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 mode this database will use when it reaches the
        * `REDIRECT_WRITES` step.
        * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * + * * @param value The enum numeric value on the wire for concurrencyMode to set. * @return This builder for chaining. */ @@ -659,30 +775,46 @@ public Builder setConcurrencyModeValue(int value) { return this; } /** + * + * *
        * The concurrency mode this database will use when it reaches the
        * `REDIRECT_WRITES` step.
        * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * + * * @return The concurrencyMode. */ @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode getConcurrencyMode() { - com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode result = com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.forNumber(concurrencyMode_); - return result == null ? com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.UNRECOGNIZED : result; + public com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode + getConcurrencyMode() { + com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode result = + com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.forNumber( + concurrencyMode_); + return result == null + ? com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.UNRECOGNIZED + : result; } /** + * + * *
        * The concurrency mode this database will use when it reaches the
        * `REDIRECT_WRITES` step.
        * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * + * * @param value The concurrencyMode to set. * @return This builder for chaining. */ - public Builder setConcurrencyMode(com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode value) { + public Builder setConcurrencyMode( + com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode value) { if (value == null) { throw new NullPointerException(); } @@ -692,12 +824,17 @@ public Builder setConcurrencyMode(com.google.datastore.admin.v1.MigrationProgres return this; } /** + * + * *
        * The concurrency mode this database will use when it reaches the
        * `REDIRECT_WRITES` step.
        * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * + * * @return This builder for chaining. */ public Builder clearConcurrencyMode() { @@ -706,6 +843,7 @@ public Builder clearConcurrencyMode() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -718,41 +856,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) - private static final com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails DEFAULT_INSTANCE; + private static final com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails(); + DEFAULT_INSTANCE = + new com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails(); } - public static com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails getDefaultInstance() { + public static com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PrepareStepDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PrepareStepDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -764,102 +906,133 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails getDefaultInstanceForType() { + public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface RedirectWritesStepDetailsOrBuilder extends + public interface RedirectWritesStepDetailsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Ths concurrency mode for this database.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * + * * @return The enum numeric value on the wire for concurrencyMode. */ int getConcurrencyModeValue(); /** + * + * *
      * Ths concurrency mode for this database.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * + * * @return The concurrencyMode. */ com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode getConcurrencyMode(); } /** + * + * *
    * Details for the `REDIRECT_WRITES` step.
    * 
* - * Protobuf type {@code google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails} + * Protobuf type {@code + * google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails} */ - public static final class RedirectWritesStepDetails extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class RedirectWritesStepDetails extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) RedirectWritesStepDetailsOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use RedirectWritesStepDetails.newBuilder() to construct. private RedirectWritesStepDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private RedirectWritesStepDetails() { concurrencyMode_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RedirectWritesStepDetails(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.admin.v1.MigrationProto + .internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_fieldAccessorTable + return com.google.datastore.admin.v1.MigrationProto + .internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.class, com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.Builder.class); + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.class, + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.Builder + .class); } public static final int CONCURRENCY_MODE_FIELD_NUMBER = 1; private int concurrencyMode_ = 0; /** + * + * *
      * Ths concurrency mode for this database.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * + * * @return The enum numeric value on the wire for concurrencyMode. */ - @java.lang.Override public int getConcurrencyModeValue() { + @java.lang.Override + public int getConcurrencyModeValue() { return concurrencyMode_; } /** + * + * *
      * Ths concurrency mode for this database.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * + * * @return The concurrencyMode. */ - @java.lang.Override public com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode getConcurrencyMode() { - com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode result = com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.forNumber(concurrencyMode_); - return result == null ? com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.UNRECOGNIZED : result; + @java.lang.Override + public com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode + getConcurrencyMode() { + com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode result = + com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.forNumber( + concurrencyMode_); + return result == null + ? com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -871,9 +1044,11 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (concurrencyMode_ != com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.CONCURRENCY_MODE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (concurrencyMode_ + != com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode + .CONCURRENCY_MODE_UNSPECIFIED + .getNumber()) { output.writeEnum(1, concurrencyMode_); } getUnknownFields().writeTo(output); @@ -885,9 +1060,11 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (concurrencyMode_ != com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.CONCURRENCY_MODE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, concurrencyMode_); + if (concurrencyMode_ + != com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode + .CONCURRENCY_MODE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, concurrencyMode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -897,12 +1074,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.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails)) { + if (!(obj + instanceof + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails)) { return super.equals(obj); } - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails other = (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) obj; + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails other = + (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) obj; if (concurrencyMode_ != other.concurrencyMode_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -923,90 +1103,101 @@ public int hashCode() { return hash; } - public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + parseFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails 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.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + 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.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails prototype) { + + public static Builder newBuilder( + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1016,39 +1207,45 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Details for the `REDIRECT_WRITES` step.
      * 
* - * Protobuf type {@code google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails} + * Protobuf type {@code + * google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.admin.v1.MigrationProto + .internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_fieldAccessorTable + return com.google.datastore.admin.v1.MigrationProto + .internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.class, com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.Builder.class); + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + .class, + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + .Builder.class); } - // Construct using com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.newBuilder() - private Builder() { + // Construct using + // com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.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(); @@ -1058,19 +1255,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.admin.v1.MigrationProto + .internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_descriptor; } @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails getDefaultInstanceForType() { - return com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.getDefaultInstance(); + public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + getDefaultInstanceForType() { + return com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + .getDefaultInstance(); } @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails build() { - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails result = buildPartial(); + public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + build() { + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1078,14 +1279,20 @@ public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDe } @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails buildPartial() { - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails result = new com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + buildPartial() { + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails result = + new com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails result) { + private void buildPartial0( + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.concurrencyMode_ = concurrencyMode_; @@ -1096,46 +1303,56 @@ private void buildPartial0(com.google.datastore.admin.v1.MigrationProgressEvent. public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) { - return mergeFrom((com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails)other); + if (other + instanceof + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) { + return mergeFrom( + (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails other) { - if (other == com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails other) { + if (other + == com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + .getDefaultInstance()) return this; if (other.concurrencyMode_ != 0) { setConcurrencyModeValue(other.getConcurrencyModeValue()); } @@ -1165,17 +1382,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - concurrencyMode_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + concurrencyMode_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1185,26 +1404,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int concurrencyMode_ = 0; /** + * + * *
        * Ths concurrency mode for this database.
        * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * + * * @return The enum numeric value on the wire for concurrencyMode. */ - @java.lang.Override public int getConcurrencyModeValue() { + @java.lang.Override + public int getConcurrencyModeValue() { return concurrencyMode_; } /** + * + * *
        * Ths concurrency mode for this database.
        * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * + * * @param value The enum numeric value on the wire for concurrencyMode to set. * @return This builder for chaining. */ @@ -1215,28 +1446,44 @@ public Builder setConcurrencyModeValue(int value) { return this; } /** + * + * *
        * Ths concurrency mode for this database.
        * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * + * * @return The concurrencyMode. */ @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode getConcurrencyMode() { - com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode result = com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.forNumber(concurrencyMode_); - return result == null ? com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.UNRECOGNIZED : result; + public com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode + getConcurrencyMode() { + com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode result = + com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.forNumber( + concurrencyMode_); + return result == null + ? com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode.UNRECOGNIZED + : result; } /** + * + * *
        * Ths concurrency mode for this database.
        * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * + * * @param value The concurrencyMode to set. * @return This builder for chaining. */ - public Builder setConcurrencyMode(com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode value) { + public Builder setConcurrencyMode( + com.google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode value) { if (value == null) { throw new NullPointerException(); } @@ -1246,11 +1493,16 @@ public Builder setConcurrencyMode(com.google.datastore.admin.v1.MigrationProgres return this; } /** + * + * *
        * Ths concurrency mode for this database.
        * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * + * .google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode concurrency_mode = 1; + * + * * @return This builder for chaining. */ public Builder clearConcurrencyMode() { @@ -1259,6 +1511,7 @@ public Builder clearConcurrencyMode() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1271,41 +1524,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) - private static final com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails DEFAULT_INSTANCE; + private static final com.google.datastore.admin.v1.MigrationProgressEvent + .RedirectWritesStepDetails + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails(); + DEFAULT_INSTANCE = + new com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails(); } - public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails getDefaultInstance() { + public static com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public RedirectWritesStepDetails parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public RedirectWritesStepDetails parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1317,22 +1575,26 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails getDefaultInstanceForType() { + public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int stepDetailsCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object stepDetails_; + public enum StepDetailsCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { PREPARE_STEP_DETAILS(2), REDIRECT_WRITES_STEP_DETAILS(3), STEPDETAILS_NOT_SET(0); private final int value; + private StepDetailsCase(int value) { this.value = value; } @@ -1348,26 +1610,31 @@ public static StepDetailsCase valueOf(int value) { public static StepDetailsCase forNumber(int value) { switch (value) { - case 2: return PREPARE_STEP_DETAILS; - case 3: return REDIRECT_WRITES_STEP_DETAILS; - case 0: return STEPDETAILS_NOT_SET; - default: return null; + case 2: + return PREPARE_STEP_DETAILS; + case 3: + return REDIRECT_WRITES_STEP_DETAILS; + case 0: + return STEPDETAILS_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public StepDetailsCase - getStepDetailsCase() { - return StepDetailsCase.forNumber( - stepDetailsCase_); + public StepDetailsCase getStepDetailsCase() { + return StepDetailsCase.forNumber(stepDetailsCase_); } public static final int STEP_FIELD_NUMBER = 1; private int step_ = 0; /** + * + * *
    * The step that is starting.
    *
@@ -1376,12 +1643,16 @@ public int getNumber() {
    * 
* * .google.datastore.admin.v1.MigrationStep step = 1; + * * @return The enum numeric value on the wire for step. */ - @java.lang.Override public int getStepValue() { + @java.lang.Override + public int getStepValue() { return step_; } /** + * + * *
    * The step that is starting.
    *
@@ -1390,20 +1661,28 @@ public int getNumber() {
    * 
* * .google.datastore.admin.v1.MigrationStep step = 1; + * * @return The step. */ - @java.lang.Override public com.google.datastore.admin.v1.MigrationStep getStep() { - com.google.datastore.admin.v1.MigrationStep result = com.google.datastore.admin.v1.MigrationStep.forNumber(step_); + @java.lang.Override + public com.google.datastore.admin.v1.MigrationStep getStep() { + com.google.datastore.admin.v1.MigrationStep result = + com.google.datastore.admin.v1.MigrationStep.forNumber(step_); return result == null ? com.google.datastore.admin.v1.MigrationStep.UNRECOGNIZED : result; } public static final int PREPARE_STEP_DETAILS_FIELD_NUMBER = 2; /** + * + * *
    * Details for the `PREPARE` step.
    * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; + * + * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; + * + * * @return Whether the prepareStepDetails field is set. */ @java.lang.Override @@ -1411,42 +1690,60 @@ public boolean hasPrepareStepDetails() { return stepDetailsCase_ == 2; } /** + * + * *
    * Details for the `PREPARE` step.
    * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; + * + * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; + * + * * @return The prepareStepDetails. */ @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails getPrepareStepDetails() { + public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails + getPrepareStepDetails() { if (stepDetailsCase_ == 2) { - return (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) stepDetails_; + return (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) stepDetails_; } - return com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.getDefaultInstance(); + return com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails + .getDefaultInstance(); } /** + * + * *
    * Details for the `PREPARE` step.
    * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; + * + * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; + * */ @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetailsOrBuilder getPrepareStepDetailsOrBuilder() { + public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetailsOrBuilder + getPrepareStepDetailsOrBuilder() { if (stepDetailsCase_ == 2) { - return (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) stepDetails_; + return (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) stepDetails_; } - return com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.getDefaultInstance(); + return com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails + .getDefaultInstance(); } public static final int REDIRECT_WRITES_STEP_DETAILS_FIELD_NUMBER = 3; /** + * + * *
    * Details for the `REDIRECT_WRITES` step.
    * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; + * + * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; + * + * * @return Whether the redirectWritesStepDetails field is set. */ @java.lang.Override @@ -1454,36 +1751,52 @@ public boolean hasRedirectWritesStepDetails() { return stepDetailsCase_ == 3; } /** + * + * *
    * Details for the `REDIRECT_WRITES` step.
    * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; + * + * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; + * + * * @return The redirectWritesStepDetails. */ @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails getRedirectWritesStepDetails() { + public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + getRedirectWritesStepDetails() { if (stepDetailsCase_ == 3) { - return (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) stepDetails_; + return (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) + stepDetails_; } - return com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.getDefaultInstance(); + return com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + .getDefaultInstance(); } /** + * + * *
    * Details for the `REDIRECT_WRITES` step.
    * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; + * + * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; + * */ @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder getRedirectWritesStepDetailsOrBuilder() { + public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder + getRedirectWritesStepDetailsOrBuilder() { if (stepDetailsCase_ == 3) { - return (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) stepDetails_; + return (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) + stepDetails_; } - return com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.getDefaultInstance(); + return com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + .getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1495,16 +1808,21 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (step_ != com.google.datastore.admin.v1.MigrationStep.MIGRATION_STEP_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (step_ + != com.google.datastore.admin.v1.MigrationStep.MIGRATION_STEP_UNSPECIFIED.getNumber()) { output.writeEnum(1, step_); } if (stepDetailsCase_ == 2) { - output.writeMessage(2, (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) stepDetails_); + output.writeMessage( + 2, + (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) stepDetails_); } if (stepDetailsCase_ == 3) { - output.writeMessage(3, (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) stepDetails_); + output.writeMessage( + 3, + (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) + stepDetails_); } getUnknownFields().writeTo(output); } @@ -1515,17 +1833,23 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (step_ != com.google.datastore.admin.v1.MigrationStep.MIGRATION_STEP_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, step_); + if (step_ + != com.google.datastore.admin.v1.MigrationStep.MIGRATION_STEP_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, step_); } if (stepDetailsCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) stepDetails_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, + (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) + stepDetails_); } if (stepDetailsCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) stepDetails_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, + (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) + stepDetails_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1535,23 +1859,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.datastore.admin.v1.MigrationProgressEvent)) { return super.equals(obj); } - com.google.datastore.admin.v1.MigrationProgressEvent other = (com.google.datastore.admin.v1.MigrationProgressEvent) obj; + com.google.datastore.admin.v1.MigrationProgressEvent other = + (com.google.datastore.admin.v1.MigrationProgressEvent) obj; if (step_ != other.step_) return false; if (!getStepDetailsCase().equals(other.getStepDetailsCase())) return false; switch (stepDetailsCase_) { case 2: - if (!getPrepareStepDetails() - .equals(other.getPrepareStepDetails())) return false; + if (!getPrepareStepDetails().equals(other.getPrepareStepDetails())) return false; break; case 3: - if (!getRedirectWritesStepDetails() - .equals(other.getRedirectWritesStepDetails())) return false; + if (!getRedirectWritesStepDetails().equals(other.getRedirectWritesStepDetails())) + return false; break; case 0: default: @@ -1587,98 +1911,103 @@ public int hashCode() { } public static com.google.datastore.admin.v1.MigrationProgressEvent 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.datastore.admin.v1.MigrationProgressEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.admin.v1.MigrationProgressEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.admin.v1.MigrationProgressEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.admin.v1.MigrationProgressEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.admin.v1.MigrationProgressEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.MigrationProgressEvent parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.datastore.admin.v1.MigrationProgressEvent parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.admin.v1.MigrationProgressEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.MigrationProgressEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.MigrationProgressEvent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.admin.v1.MigrationProgressEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.datastore.admin.v1.MigrationProgressEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.admin.v1.MigrationProgressEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.datastore.admin.v1.MigrationProgressEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 event signifying the start of a new step in a [migration from Cloud
    * Datastore to Cloud Firestore in Datastore
@@ -1687,33 +2016,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.datastore.admin.v1.MigrationProgressEvent}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.datastore.admin.v1.MigrationProgressEvent)
       com.google.datastore.admin.v1.MigrationProgressEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.datastore.admin.v1.MigrationProto
+          .internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationProgressEvent_fieldAccessorTable
+      return com.google.datastore.admin.v1.MigrationProto
+          .internal_static_google_datastore_admin_v1_MigrationProgressEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.admin.v1.MigrationProgressEvent.class, com.google.datastore.admin.v1.MigrationProgressEvent.Builder.class);
+              com.google.datastore.admin.v1.MigrationProgressEvent.class,
+              com.google.datastore.admin.v1.MigrationProgressEvent.Builder.class);
     }
 
     // Construct using com.google.datastore.admin.v1.MigrationProgressEvent.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1731,9 +2059,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.datastore.admin.v1.MigrationProto
+          .internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor;
     }
 
     @java.lang.Override
@@ -1752,8 +2080,11 @@ public com.google.datastore.admin.v1.MigrationProgressEvent build() {
 
     @java.lang.Override
     public com.google.datastore.admin.v1.MigrationProgressEvent buildPartial() {
-      com.google.datastore.admin.v1.MigrationProgressEvent result = new com.google.datastore.admin.v1.MigrationProgressEvent(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.datastore.admin.v1.MigrationProgressEvent result =
+          new com.google.datastore.admin.v1.MigrationProgressEvent(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1769,12 +2100,10 @@ private void buildPartial0(com.google.datastore.admin.v1.MigrationProgressEvent
     private void buildPartialOneofs(com.google.datastore.admin.v1.MigrationProgressEvent result) {
       result.stepDetailsCase_ = stepDetailsCase_;
       result.stepDetails_ = this.stepDetails_;
-      if (stepDetailsCase_ == 2 &&
-          prepareStepDetailsBuilder_ != null) {
+      if (stepDetailsCase_ == 2 && prepareStepDetailsBuilder_ != null) {
         result.stepDetails_ = prepareStepDetailsBuilder_.build();
       }
-      if (stepDetailsCase_ == 3 &&
-          redirectWritesStepDetailsBuilder_ != null) {
+      if (stepDetailsCase_ == 3 && redirectWritesStepDetailsBuilder_ != null) {
         result.stepDetails_ = redirectWritesStepDetailsBuilder_.build();
       }
     }
@@ -1783,38 +2112,39 @@ private void buildPartialOneofs(com.google.datastore.admin.v1.MigrationProgressE
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.admin.v1.MigrationProgressEvent) {
-        return mergeFrom((com.google.datastore.admin.v1.MigrationProgressEvent)other);
+        return mergeFrom((com.google.datastore.admin.v1.MigrationProgressEvent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1822,22 +2152,26 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.datastore.admin.v1.MigrationProgressEvent other) {
-      if (other == com.google.datastore.admin.v1.MigrationProgressEvent.getDefaultInstance()) return this;
+      if (other == com.google.datastore.admin.v1.MigrationProgressEvent.getDefaultInstance())
+        return this;
       if (other.step_ != 0) {
         setStepValue(other.getStepValue());
       }
       switch (other.getStepDetailsCase()) {
-        case PREPARE_STEP_DETAILS: {
-          mergePrepareStepDetails(other.getPrepareStepDetails());
-          break;
-        }
-        case REDIRECT_WRITES_STEP_DETAILS: {
-          mergeRedirectWritesStepDetails(other.getRedirectWritesStepDetails());
-          break;
-        }
-        case STEPDETAILS_NOT_SET: {
-          break;
-        }
+        case PREPARE_STEP_DETAILS:
+          {
+            mergePrepareStepDetails(other.getPrepareStepDetails());
+            break;
+          }
+        case REDIRECT_WRITES_STEP_DETAILS:
+          {
+            mergeRedirectWritesStepDetails(other.getRedirectWritesStepDetails());
+            break;
+          }
+        case STEPDETAILS_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1865,31 +2199,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              step_ = input.readEnum();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            case 18: {
-              input.readMessage(
-                  getPrepareStepDetailsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepDetailsCase_ = 2;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getRedirectWritesStepDetailsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              stepDetailsCase_ = 3;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                step_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            case 18:
+              {
+                input.readMessage(
+                    getPrepareStepDetailsFieldBuilder().getBuilder(), extensionRegistry);
+                stepDetailsCase_ = 2;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(
+                    getRedirectWritesStepDetailsFieldBuilder().getBuilder(), extensionRegistry);
+                stepDetailsCase_ = 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) {
@@ -1899,12 +2235,12 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int stepDetailsCase_ = 0;
     private java.lang.Object stepDetails_;
-    public StepDetailsCase
-        getStepDetailsCase() {
-      return StepDetailsCase.forNumber(
-          stepDetailsCase_);
+
+    public StepDetailsCase getStepDetailsCase() {
+      return StepDetailsCase.forNumber(stepDetailsCase_);
     }
 
     public Builder clearStepDetails() {
@@ -1918,6 +2254,8 @@ public Builder clearStepDetails() {
 
     private int step_ = 0;
     /**
+     *
+     *
      * 
      * The step that is starting.
      *
@@ -1926,12 +2264,16 @@ public Builder clearStepDetails() {
      * 
* * .google.datastore.admin.v1.MigrationStep step = 1; + * * @return The enum numeric value on the wire for step. */ - @java.lang.Override public int getStepValue() { + @java.lang.Override + public int getStepValue() { return step_; } /** + * + * *
      * The step that is starting.
      *
@@ -1940,6 +2282,7 @@ public Builder clearStepDetails() {
      * 
* * .google.datastore.admin.v1.MigrationStep step = 1; + * * @param value The enum numeric value on the wire for step to set. * @return This builder for chaining. */ @@ -1950,6 +2293,8 @@ public Builder setStepValue(int value) { return this; } /** + * + * *
      * The step that is starting.
      *
@@ -1958,14 +2303,18 @@ public Builder setStepValue(int value) {
      * 
* * .google.datastore.admin.v1.MigrationStep step = 1; + * * @return The step. */ @java.lang.Override public com.google.datastore.admin.v1.MigrationStep getStep() { - com.google.datastore.admin.v1.MigrationStep result = com.google.datastore.admin.v1.MigrationStep.forNumber(step_); + com.google.datastore.admin.v1.MigrationStep result = + com.google.datastore.admin.v1.MigrationStep.forNumber(step_); return result == null ? com.google.datastore.admin.v1.MigrationStep.UNRECOGNIZED : result; } /** + * + * *
      * The step that is starting.
      *
@@ -1974,6 +2323,7 @@ public com.google.datastore.admin.v1.MigrationStep getStep() {
      * 
* * .google.datastore.admin.v1.MigrationStep step = 1; + * * @param value The step to set. * @return This builder for chaining. */ @@ -1987,6 +2337,8 @@ public Builder setStep(com.google.datastore.admin.v1.MigrationStep value) { return this; } /** + * + * *
      * The step that is starting.
      *
@@ -1995,6 +2347,7 @@ public Builder setStep(com.google.datastore.admin.v1.MigrationStep value) {
      * 
* * .google.datastore.admin.v1.MigrationStep step = 1; + * * @return This builder for chaining. */ public Builder clearStep() { @@ -2005,13 +2358,21 @@ public Builder clearStep() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails, com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.Builder, com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetailsOrBuilder> prepareStepDetailsBuilder_; + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails, + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.Builder, + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetailsOrBuilder> + prepareStepDetailsBuilder_; /** + * + * *
      * Details for the `PREPARE` step.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; + * + * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; + * + * * @return Whether the prepareStepDetails field is set. */ @java.lang.Override @@ -2019,35 +2380,49 @@ public boolean hasPrepareStepDetails() { return stepDetailsCase_ == 2; } /** + * + * *
      * Details for the `PREPARE` step.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; + * + * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; + * + * * @return The prepareStepDetails. */ @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails getPrepareStepDetails() { + public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails + getPrepareStepDetails() { if (prepareStepDetailsBuilder_ == null) { if (stepDetailsCase_ == 2) { - return (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) stepDetails_; + return (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) + stepDetails_; } - return com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.getDefaultInstance(); + return com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails + .getDefaultInstance(); } else { if (stepDetailsCase_ == 2) { return prepareStepDetailsBuilder_.getMessage(); } - return com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.getDefaultInstance(); + return com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails + .getDefaultInstance(); } } /** + * + * *
      * Details for the `PREPARE` step.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; + * + * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; + * */ - public Builder setPrepareStepDetails(com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails value) { + public Builder setPrepareStepDetails( + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails value) { if (prepareStepDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2061,14 +2436,19 @@ public Builder setPrepareStepDetails(com.google.datastore.admin.v1.MigrationProg return this; } /** + * + * *
      * Details for the `PREPARE` step.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; + * + * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; + * */ public Builder setPrepareStepDetails( - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.Builder builderForValue) { + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.Builder + builderForValue) { if (prepareStepDetailsBuilder_ == null) { stepDetails_ = builderForValue.build(); onChanged(); @@ -2079,18 +2459,29 @@ public Builder setPrepareStepDetails( return this; } /** + * + * *
      * Details for the `PREPARE` step.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; + * + * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; + * */ - public Builder mergePrepareStepDetails(com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails value) { + public Builder mergePrepareStepDetails( + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails value) { if (prepareStepDetailsBuilder_ == null) { - if (stepDetailsCase_ == 2 && - stepDetails_ != com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.getDefaultInstance()) { - stepDetails_ = com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.newBuilder((com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) stepDetails_) - .mergeFrom(value).buildPartial(); + if (stepDetailsCase_ == 2 + && stepDetails_ + != com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails + .getDefaultInstance()) { + stepDetails_ = + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.newBuilder( + (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) + stepDetails_) + .mergeFrom(value) + .buildPartial(); } else { stepDetails_ = value; } @@ -2106,11 +2497,15 @@ public Builder mergePrepareStepDetails(com.google.datastore.admin.v1.MigrationPr return this; } /** + * + * *
      * Details for the `PREPARE` step.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; + * + * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; + * */ public Builder clearPrepareStepDetails() { if (prepareStepDetailsBuilder_ == null) { @@ -2129,50 +2524,74 @@ public Builder clearPrepareStepDetails() { return this; } /** + * + * *
      * Details for the `PREPARE` step.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; + * + * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; + * */ - public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.Builder getPrepareStepDetailsBuilder() { + public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.Builder + getPrepareStepDetailsBuilder() { return getPrepareStepDetailsFieldBuilder().getBuilder(); } /** + * + * *
      * Details for the `PREPARE` step.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; + * + * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; + * */ @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetailsOrBuilder getPrepareStepDetailsOrBuilder() { + public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetailsOrBuilder + getPrepareStepDetailsOrBuilder() { if ((stepDetailsCase_ == 2) && (prepareStepDetailsBuilder_ != null)) { return prepareStepDetailsBuilder_.getMessageOrBuilder(); } else { if (stepDetailsCase_ == 2) { - return (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) stepDetails_; + return (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) + stepDetails_; } - return com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.getDefaultInstance(); + return com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails + .getDefaultInstance(); } } /** + * + * *
      * Details for the `PREPARE` step.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; + * + * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails, com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.Builder, com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetailsOrBuilder> + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails, + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.Builder, + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetailsOrBuilder> getPrepareStepDetailsFieldBuilder() { if (prepareStepDetailsBuilder_ == null) { if (!(stepDetailsCase_ == 2)) { - stepDetails_ = com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.getDefaultInstance(); + stepDetails_ = + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails + .getDefaultInstance(); } - prepareStepDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails, com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.Builder, com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetailsOrBuilder>( - (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) stepDetails_, + prepareStepDetailsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails, + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.Builder, + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetailsOrBuilder>( + (com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails) + stepDetails_, getParentForChildren(), isClean()); stepDetails_ = null; @@ -2183,13 +2602,21 @@ public com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetailsOr } private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails, com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.Builder, com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder> redirectWritesStepDetailsBuilder_; + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails, + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.Builder, + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder> + redirectWritesStepDetailsBuilder_; /** + * + * *
      * Details for the `REDIRECT_WRITES` step.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; + * + * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; + * + * * @return Whether the redirectWritesStepDetails field is set. */ @java.lang.Override @@ -2197,35 +2624,49 @@ public boolean hasRedirectWritesStepDetails() { return stepDetailsCase_ == 3; } /** + * + * *
      * Details for the `REDIRECT_WRITES` step.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; + * + * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; + * + * * @return The redirectWritesStepDetails. */ @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails getRedirectWritesStepDetails() { + public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + getRedirectWritesStepDetails() { if (redirectWritesStepDetailsBuilder_ == null) { if (stepDetailsCase_ == 3) { - return (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) stepDetails_; + return (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) + stepDetails_; } - return com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.getDefaultInstance(); + return com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + .getDefaultInstance(); } else { if (stepDetailsCase_ == 3) { return redirectWritesStepDetailsBuilder_.getMessage(); } - return com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.getDefaultInstance(); + return com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + .getDefaultInstance(); } } /** + * + * *
      * Details for the `REDIRECT_WRITES` step.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; + * + * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; + * */ - public Builder setRedirectWritesStepDetails(com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails value) { + public Builder setRedirectWritesStepDetails( + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails value) { if (redirectWritesStepDetailsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2239,14 +2680,19 @@ public Builder setRedirectWritesStepDetails(com.google.datastore.admin.v1.Migrat return this; } /** + * + * *
      * Details for the `REDIRECT_WRITES` step.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; + * + * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; + * */ public Builder setRedirectWritesStepDetails( - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.Builder builderForValue) { + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.Builder + builderForValue) { if (redirectWritesStepDetailsBuilder_ == null) { stepDetails_ = builderForValue.build(); onChanged(); @@ -2257,18 +2703,31 @@ public Builder setRedirectWritesStepDetails( return this; } /** + * + * *
      * Details for the `REDIRECT_WRITES` step.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; + * + * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; + * */ - public Builder mergeRedirectWritesStepDetails(com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails value) { + public Builder mergeRedirectWritesStepDetails( + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails value) { if (redirectWritesStepDetailsBuilder_ == null) { - if (stepDetailsCase_ == 3 && - stepDetails_ != com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.getDefaultInstance()) { - stepDetails_ = com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.newBuilder((com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) stepDetails_) - .mergeFrom(value).buildPartial(); + if (stepDetailsCase_ == 3 + && stepDetails_ + != com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + .getDefaultInstance()) { + stepDetails_ = + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + .newBuilder( + (com.google.datastore.admin.v1.MigrationProgressEvent + .RedirectWritesStepDetails) + stepDetails_) + .mergeFrom(value) + .buildPartial(); } else { stepDetails_ = value; } @@ -2284,11 +2743,15 @@ public Builder mergeRedirectWritesStepDetails(com.google.datastore.admin.v1.Migr return this; } /** + * + * *
      * Details for the `REDIRECT_WRITES` step.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; + * + * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; + * */ public Builder clearRedirectWritesStepDetails() { if (redirectWritesStepDetailsBuilder_ == null) { @@ -2307,50 +2770,76 @@ public Builder clearRedirectWritesStepDetails() { return this; } /** + * + * *
      * Details for the `REDIRECT_WRITES` step.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; + * + * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; + * */ - public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.Builder getRedirectWritesStepDetailsBuilder() { + public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.Builder + getRedirectWritesStepDetailsBuilder() { return getRedirectWritesStepDetailsFieldBuilder().getBuilder(); } /** + * + * *
      * Details for the `REDIRECT_WRITES` step.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; + * + * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; + * */ @java.lang.Override - public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder getRedirectWritesStepDetailsOrBuilder() { + public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder + getRedirectWritesStepDetailsOrBuilder() { if ((stepDetailsCase_ == 3) && (redirectWritesStepDetailsBuilder_ != null)) { return redirectWritesStepDetailsBuilder_.getMessageOrBuilder(); } else { if (stepDetailsCase_ == 3) { - return (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) stepDetails_; + return (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) + stepDetails_; } - return com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.getDefaultInstance(); + return com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + .getDefaultInstance(); } } /** + * + * *
      * Details for the `REDIRECT_WRITES` step.
      * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; + * + * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails, com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.Builder, com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder> + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails, + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.Builder, + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder> getRedirectWritesStepDetailsFieldBuilder() { if (redirectWritesStepDetailsBuilder_ == null) { if (!(stepDetailsCase_ == 3)) { - stepDetails_ = com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.getDefaultInstance(); + stepDetails_ = + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + .getDefaultInstance(); } - redirectWritesStepDetailsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails, com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.Builder, com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder>( - (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) stepDetails_, + redirectWritesStepDetailsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails, + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + .Builder, + com.google.datastore.admin.v1.MigrationProgressEvent + .RedirectWritesStepDetailsOrBuilder>( + (com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails) + stepDetails_, getParentForChildren(), isClean()); stepDetails_ = null; @@ -2359,9 +2848,9 @@ public com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDe onChanged(); return redirectWritesStepDetailsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2371,12 +2860,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.MigrationProgressEvent) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.MigrationProgressEvent) private static final com.google.datastore.admin.v1.MigrationProgressEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.MigrationProgressEvent(); } @@ -2385,27 +2874,27 @@ public static com.google.datastore.admin.v1.MigrationProgressEvent getDefaultIns return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MigrationProgressEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MigrationProgressEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2420,6 +2909,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.MigrationProgressEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProgressEventOrBuilder.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProgressEventOrBuilder.java similarity index 55% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProgressEventOrBuilder.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProgressEventOrBuilder.java index fc3968fcd..68441b30b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProgressEventOrBuilder.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProgressEventOrBuilder.java @@ -1,14 +1,32 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/migration.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface MigrationProgressEventOrBuilder extends +public interface MigrationProgressEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.MigrationProgressEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The step that is starting.
    *
@@ -17,10 +35,13 @@ public interface MigrationProgressEventOrBuilder extends
    * 
* * .google.datastore.admin.v1.MigrationStep step = 1; + * * @return The enum numeric value on the wire for step. */ int getStepValue(); /** + * + * *
    * The step that is starting.
    *
@@ -29,63 +50,95 @@ public interface MigrationProgressEventOrBuilder extends
    * 
* * .google.datastore.admin.v1.MigrationStep step = 1; + * * @return The step. */ com.google.datastore.admin.v1.MigrationStep getStep(); /** + * + * *
    * Details for the `PREPARE` step.
    * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; + * + * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; + * + * * @return Whether the prepareStepDetails field is set. */ boolean hasPrepareStepDetails(); /** + * + * *
    * Details for the `PREPARE` step.
    * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; + * + * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; + * + * * @return The prepareStepDetails. */ com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails getPrepareStepDetails(); /** + * + * *
    * Details for the `PREPARE` step.
    * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; + * + * .google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails prepare_step_details = 2; + * */ - com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetailsOrBuilder getPrepareStepDetailsOrBuilder(); + com.google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetailsOrBuilder + getPrepareStepDetailsOrBuilder(); /** + * + * *
    * Details for the `REDIRECT_WRITES` step.
    * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; + * + * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; + * + * * @return Whether the redirectWritesStepDetails field is set. */ boolean hasRedirectWritesStepDetails(); /** + * + * *
    * Details for the `REDIRECT_WRITES` step.
    * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; + * + * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; + * + * * @return The redirectWritesStepDetails. */ - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails getRedirectWritesStepDetails(); + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails + getRedirectWritesStepDetails(); /** + * + * *
    * Details for the `REDIRECT_WRITES` step.
    * 
* - * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; + * + * .google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails redirect_writes_step_details = 3; + * */ - com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder getRedirectWritesStepDetailsOrBuilder(); + com.google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetailsOrBuilder + getRedirectWritesStepDetailsOrBuilder(); com.google.datastore.admin.v1.MigrationProgressEvent.StepDetailsCase getStepDetailsCase(); } diff --git a/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProto.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProto.java new file mode 100644 index 000000000..0c1110444 --- /dev/null +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationProto.java @@ -0,0 +1,134 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/datastore/admin/v1/migration.proto + +// Protobuf Java Version: 3.25.3 +package com.google.datastore.admin.v1; + +public final class MigrationProto { + private MigrationProto() {} + + 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_datastore_admin_v1_MigrationStateEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_datastore_admin_v1_MigrationStateEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_datastore_admin_v1_MigrationProgressEvent_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_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/datastore/admin/v1/migration.pr" + + "oto\022\031google.datastore.admin.v1\"O\n\023Migrat" + + "ionStateEvent\0228\n\005state\030\001 \001(\0162).google.da" + + "tastore.admin.v1.MigrationState\"\241\005\n\026Migr" + + "ationProgressEvent\0226\n\004step\030\001 \001(\0162(.googl" + + "e.datastore.admin.v1.MigrationStep\022d\n\024pr" + + "epare_step_details\030\002 \001(\0132D.google.datast" + + "ore.admin.v1.MigrationProgressEvent.Prep" + + "areStepDetailsH\000\022s\n\034redirect_writes_step" + + "_details\030\003 \001(\0132K.google.datastore.admin." + + "v1.MigrationProgressEvent.RedirectWrites" + + "StepDetailsH\000\032q\n\022PrepareStepDetails\022[\n\020c" + + "oncurrency_mode\030\001 \001(\0162A.google.datastore" + + ".admin.v1.MigrationProgressEvent.Concurr" + + "encyMode\032x\n\031RedirectWritesStepDetails\022[\n" + + "\020concurrency_mode\030\001 \001(\0162A.google.datasto" + + "re.admin.v1.MigrationProgressEvent.Concu" + + "rrencyMode\"w\n\017ConcurrencyMode\022 \n\034CONCURR" + + "ENCY_MODE_UNSPECIFIED\020\000\022\017\n\013PESSIMISTIC\020\001" + + "\022\016\n\nOPTIMISTIC\020\002\022!\n\035OPTIMISTIC_WITH_ENTI" + + "TY_GROUPS\020\003B\016\n\014step_details*X\n\016Migration" + + "State\022\037\n\033MIGRATION_STATE_UNSPECIFIED\020\000\022\013" + + "\n\007RUNNING\020\001\022\n\n\006PAUSED\020\002\022\014\n\010COMPLETE\020\003*\343\001" + + "\n\rMigrationStep\022\036\n\032MIGRATION_STEP_UNSPEC" + + "IFIED\020\000\022\013\n\007PREPARE\020\006\022\t\n\005START\020\001\022\036\n\032APPLY" + + "_WRITES_SYNCHRONOUSLY\020\007\022\023\n\017COPY_AND_VERI" + + "FY\020\002\022(\n$REDIRECT_EVENTUALLY_CONSISTENT_R" + + "EADS\020\003\022&\n\"REDIRECT_STRONGLY_CONSISTENT_R" + + "EADS\020\004\022\023\n\017REDIRECT_WRITES\020\005B\326\001\n\035com.goog" + + "le.datastore.admin.v1B\016MigrationProtoP\001Z" + + "9cloud.google.com/go/datastore/admin/api" + + "v1/adminpb;adminpb\252\002\037Google.Cloud.Datast" + + "ore.Admin.V1\312\002\037Google\\Cloud\\Datastore\\Ad" + + "min\\V1\352\002#Google::Cloud::Datastore::Admin" + + "::V1b\006proto3" + }; + descriptor = + com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( + descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {}); + internal_static_google_datastore_admin_v1_MigrationStateEvent_descriptor = + getDescriptor().getMessageTypes().get(0); + internal_static_google_datastore_admin_v1_MigrationStateEvent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_datastore_admin_v1_MigrationStateEvent_descriptor, + new java.lang.String[] { + "State", + }); + internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor = + getDescriptor().getMessageTypes().get(1); + internal_static_google_datastore_admin_v1_MigrationProgressEvent_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor, + new java.lang.String[] { + "Step", "PrepareStepDetails", "RedirectWritesStepDetails", "StepDetails", + }); + internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_descriptor = + internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor + .getNestedTypes() + .get(0); + internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_datastore_admin_v1_MigrationProgressEvent_PrepareStepDetails_descriptor, + new java.lang.String[] { + "ConcurrencyMode", + }); + internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_descriptor = + internal_static_google_datastore_admin_v1_MigrationProgressEvent_descriptor + .getNestedTypes() + .get(1); + internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_datastore_admin_v1_MigrationProgressEvent_RedirectWritesStepDetails_descriptor, + new java.lang.String[] { + "ConcurrencyMode", + }); + } + + // @@protoc_insertion_point(outer_class_scope) +} diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationState.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationState.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationState.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationState.java index 6146309c9..1cc537677 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationState.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationState.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/migration.proto @@ -5,15 +20,18 @@ package com.google.datastore.admin.v1; /** + * + * *
  * States for a migration.
  * 
* * Protobuf enum {@code google.datastore.admin.v1.MigrationState} */ -public enum MigrationState - implements com.google.protobuf.ProtocolMessageEnum { +public enum MigrationState implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unspecified.
    * 
@@ -22,6 +40,8 @@ public enum MigrationState */ MIGRATION_STATE_UNSPECIFIED(0), /** + * + * *
    * The migration is running.
    * 
@@ -30,6 +50,8 @@ public enum MigrationState */ RUNNING(1), /** + * + * *
    * The migration is paused.
    * 
@@ -38,6 +60,8 @@ public enum MigrationState */ PAUSED(2), /** + * + * *
    * The migration is complete.
    * 
@@ -49,6 +73,8 @@ public enum MigrationState ; /** + * + * *
    * Unspecified.
    * 
@@ -57,6 +83,8 @@ public enum MigrationState */ public static final int MIGRATION_STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * The migration is running.
    * 
@@ -65,6 +93,8 @@ public enum MigrationState */ public static final int RUNNING_VALUE = 1; /** + * + * *
    * The migration is paused.
    * 
@@ -73,6 +103,8 @@ public enum MigrationState */ public static final int PAUSED_VALUE = 2; /** + * + * *
    * The migration is complete.
    * 
@@ -81,7 +113,6 @@ public enum MigrationState */ public static final int COMPLETE_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -106,50 +137,51 @@ public static MigrationState valueOf(int value) { */ public static MigrationState forNumber(int value) { switch (value) { - case 0: return MIGRATION_STATE_UNSPECIFIED; - case 1: return RUNNING; - case 2: return PAUSED; - case 3: return COMPLETE; - default: return null; + case 0: + return MIGRATION_STATE_UNSPECIFIED; + case 1: + return RUNNING; + case 2: + return PAUSED; + case 3: + return COMPLETE; + 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< - MigrationState> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MigrationState findValueByNumber(int number) { - return MigrationState.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 MigrationState findValueByNumber(int number) { + return MigrationState.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.datastore.admin.v1.MigrationProto.getDescriptor().getEnumTypes().get(0); } private static final MigrationState[] VALUES = values(); - public static MigrationState valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static MigrationState 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; @@ -165,4 +197,3 @@ private MigrationState(int value) { // @@protoc_insertion_point(enum_scope:google.datastore.admin.v1.MigrationState) } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStateEvent.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStateEvent.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStateEvent.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStateEvent.java index 7f102bacc..54f20a287 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStateEvent.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStateEvent.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/migration.proto @@ -5,6 +20,8 @@ package com.google.datastore.admin.v1; /** + * + * *
  * An event signifying a change in state of a [migration from Cloud Datastore to
  * Cloud Firestore in Datastore
@@ -13,66 +30,78 @@
  *
  * Protobuf type {@code google.datastore.admin.v1.MigrationStateEvent}
  */
-public final class MigrationStateEvent extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class MigrationStateEvent extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.datastore.admin.v1.MigrationStateEvent)
     MigrationStateEventOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use MigrationStateEvent.newBuilder() to construct.
   private MigrationStateEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private MigrationStateEvent() {
     state_ = 0;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new MigrationStateEvent();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationStateEvent_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.datastore.admin.v1.MigrationProto
+        .internal_static_google_datastore_admin_v1_MigrationStateEvent_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationStateEvent_fieldAccessorTable
+    return com.google.datastore.admin.v1.MigrationProto
+        .internal_static_google_datastore_admin_v1_MigrationStateEvent_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.admin.v1.MigrationStateEvent.class, com.google.datastore.admin.v1.MigrationStateEvent.Builder.class);
+            com.google.datastore.admin.v1.MigrationStateEvent.class,
+            com.google.datastore.admin.v1.MigrationStateEvent.Builder.class);
   }
 
   public static final int STATE_FIELD_NUMBER = 1;
   private int state_ = 0;
   /**
+   *
+   *
    * 
    * The new state of the migration.
    * 
* * .google.datastore.admin.v1.MigrationState state = 1; + * * @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 new state of the migration.
    * 
* * .google.datastore.admin.v1.MigrationState state = 1; + * * @return The state. */ - @java.lang.Override public com.google.datastore.admin.v1.MigrationState getState() { - com.google.datastore.admin.v1.MigrationState result = com.google.datastore.admin.v1.MigrationState.forNumber(state_); + @java.lang.Override + public com.google.datastore.admin.v1.MigrationState getState() { + com.google.datastore.admin.v1.MigrationState result = + com.google.datastore.admin.v1.MigrationState.forNumber(state_); return result == null ? com.google.datastore.admin.v1.MigrationState.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -84,9 +113,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { - if (state_ != com.google.datastore.admin.v1.MigrationState.MIGRATION_STATE_UNSPECIFIED.getNumber()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + if (state_ + != com.google.datastore.admin.v1.MigrationState.MIGRATION_STATE_UNSPECIFIED.getNumber()) { output.writeEnum(1, state_); } getUnknownFields().writeTo(output); @@ -98,9 +127,9 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (state_ != com.google.datastore.admin.v1.MigrationState.MIGRATION_STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, state_); + if (state_ + != com.google.datastore.admin.v1.MigrationState.MIGRATION_STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, state_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -110,12 +139,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.datastore.admin.v1.MigrationStateEvent)) { return super.equals(obj); } - com.google.datastore.admin.v1.MigrationStateEvent other = (com.google.datastore.admin.v1.MigrationStateEvent) obj; + com.google.datastore.admin.v1.MigrationStateEvent other = + (com.google.datastore.admin.v1.MigrationStateEvent) obj; if (state_ != other.state_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -137,98 +167,103 @@ public int hashCode() { } public static com.google.datastore.admin.v1.MigrationStateEvent 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.datastore.admin.v1.MigrationStateEvent parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.admin.v1.MigrationStateEvent parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.admin.v1.MigrationStateEvent parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.admin.v1.MigrationStateEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.admin.v1.MigrationStateEvent parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.admin.v1.MigrationStateEvent parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.datastore.admin.v1.MigrationStateEvent parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.admin.v1.MigrationStateEvent parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.datastore.admin.v1.MigrationStateEvent parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.admin.v1.MigrationStateEvent parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.admin.v1.MigrationStateEvent parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.datastore.admin.v1.MigrationStateEvent parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.admin.v1.MigrationStateEvent parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.datastore.admin.v1.MigrationStateEvent prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 event signifying a change in state of a [migration from Cloud Datastore to
    * Cloud Firestore in Datastore
@@ -237,33 +272,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.datastore.admin.v1.MigrationStateEvent}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.datastore.admin.v1.MigrationStateEvent)
       com.google.datastore.admin.v1.MigrationStateEventOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationStateEvent_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.datastore.admin.v1.MigrationProto
+          .internal_static_google_datastore_admin_v1_MigrationStateEvent_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationStateEvent_fieldAccessorTable
+      return com.google.datastore.admin.v1.MigrationProto
+          .internal_static_google_datastore_admin_v1_MigrationStateEvent_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.admin.v1.MigrationStateEvent.class, com.google.datastore.admin.v1.MigrationStateEvent.Builder.class);
+              com.google.datastore.admin.v1.MigrationStateEvent.class,
+              com.google.datastore.admin.v1.MigrationStateEvent.Builder.class);
     }
 
     // Construct using com.google.datastore.admin.v1.MigrationStateEvent.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -273,9 +307,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.datastore.admin.v1.MigrationProto.internal_static_google_datastore_admin_v1_MigrationStateEvent_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.datastore.admin.v1.MigrationProto
+          .internal_static_google_datastore_admin_v1_MigrationStateEvent_descriptor;
     }
 
     @java.lang.Override
@@ -294,8 +328,11 @@ public com.google.datastore.admin.v1.MigrationStateEvent build() {
 
     @java.lang.Override
     public com.google.datastore.admin.v1.MigrationStateEvent buildPartial() {
-      com.google.datastore.admin.v1.MigrationStateEvent result = new com.google.datastore.admin.v1.MigrationStateEvent(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.datastore.admin.v1.MigrationStateEvent result =
+          new com.google.datastore.admin.v1.MigrationStateEvent(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -311,38 +348,39 @@ private void buildPartial0(com.google.datastore.admin.v1.MigrationStateEvent res
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.admin.v1.MigrationStateEvent) {
-        return mergeFrom((com.google.datastore.admin.v1.MigrationStateEvent)other);
+        return mergeFrom((com.google.datastore.admin.v1.MigrationStateEvent) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -350,7 +388,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.datastore.admin.v1.MigrationStateEvent other) {
-      if (other == com.google.datastore.admin.v1.MigrationStateEvent.getDefaultInstance()) return this;
+      if (other == com.google.datastore.admin.v1.MigrationStateEvent.getDefaultInstance())
+        return this;
       if (other.state_ != 0) {
         setStateValue(other.getStateValue());
       }
@@ -380,17 +419,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 8: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 8
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 8:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 8
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -400,26 +441,34 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private int state_ = 0;
     /**
+     *
+     *
      * 
      * The new state of the migration.
      * 
* * .google.datastore.admin.v1.MigrationState state = 1; + * * @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 new state of the migration.
      * 
* * .google.datastore.admin.v1.MigrationState state = 1; + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -430,24 +479,31 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * The new state of the migration.
      * 
* * .google.datastore.admin.v1.MigrationState state = 1; + * * @return The state. */ @java.lang.Override public com.google.datastore.admin.v1.MigrationState getState() { - com.google.datastore.admin.v1.MigrationState result = com.google.datastore.admin.v1.MigrationState.forNumber(state_); + com.google.datastore.admin.v1.MigrationState result = + com.google.datastore.admin.v1.MigrationState.forNumber(state_); return result == null ? com.google.datastore.admin.v1.MigrationState.UNRECOGNIZED : result; } /** + * + * *
      * The new state of the migration.
      * 
* * .google.datastore.admin.v1.MigrationState state = 1; + * * @param value The state to set. * @return This builder for chaining. */ @@ -461,11 +517,14 @@ public Builder setState(com.google.datastore.admin.v1.MigrationState value) { return this; } /** + * + * *
      * The new state of the migration.
      * 
* * .google.datastore.admin.v1.MigrationState state = 1; + * * @return This builder for chaining. */ public Builder clearState() { @@ -474,9 +533,9 @@ public Builder clearState() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -486,12 +545,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.MigrationStateEvent) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.MigrationStateEvent) private static final com.google.datastore.admin.v1.MigrationStateEvent DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.MigrationStateEvent(); } @@ -500,27 +559,27 @@ public static com.google.datastore.admin.v1.MigrationStateEvent getDefaultInstan return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MigrationStateEvent parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MigrationStateEvent parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -535,6 +594,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.MigrationStateEvent getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStateEventOrBuilder.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStateEventOrBuilder.java similarity index 53% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStateEventOrBuilder.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStateEventOrBuilder.java index 036e973e0..3920f71c7 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStateEventOrBuilder.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStateEventOrBuilder.java @@ -1,28 +1,50 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/migration.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface MigrationStateEventOrBuilder extends +public interface MigrationStateEventOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.MigrationStateEvent) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The new state of the migration.
    * 
* * .google.datastore.admin.v1.MigrationState state = 1; + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * The new state of the migration.
    * 
* * .google.datastore.admin.v1.MigrationState state = 1; + * * @return The state. */ com.google.datastore.admin.v1.MigrationState getState(); diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStep.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStep.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStep.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStep.java index 5d7f922bf..6810cfd53 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStep.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/MigrationStep.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/migration.proto @@ -5,15 +20,18 @@ package com.google.datastore.admin.v1; /** + * + * *
  * Steps in a migration.
  * 
* * Protobuf enum {@code google.datastore.admin.v1.MigrationStep} */ -public enum MigrationStep - implements com.google.protobuf.ProtocolMessageEnum { +public enum MigrationStep implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unspecified.
    * 
@@ -22,6 +40,8 @@ public enum MigrationStep */ MIGRATION_STEP_UNSPECIFIED(0), /** + * + * *
    * Pre-migration: the database is prepared for migration.
    * 
@@ -30,6 +50,8 @@ public enum MigrationStep */ PREPARE(6), /** + * + * *
    * Start of migration.
    * 
@@ -38,6 +60,8 @@ public enum MigrationStep */ START(1), /** + * + * *
    * Writes are applied synchronously to at least one replica.
    * 
@@ -46,6 +70,8 @@ public enum MigrationStep */ APPLY_WRITES_SYNCHRONOUSLY(7), /** + * + * *
    * Data is copied to Cloud Firestore and then verified to match the data in
    * Cloud Datastore.
@@ -55,6 +81,8 @@ public enum MigrationStep
    */
   COPY_AND_VERIFY(2),
   /**
+   *
+   *
    * 
    * Eventually-consistent reads are redirected to Cloud Firestore.
    * 
@@ -63,6 +91,8 @@ public enum MigrationStep */ REDIRECT_EVENTUALLY_CONSISTENT_READS(3), /** + * + * *
    * Strongly-consistent reads are redirected to Cloud Firestore.
    * 
@@ -71,6 +101,8 @@ public enum MigrationStep */ REDIRECT_STRONGLY_CONSISTENT_READS(4), /** + * + * *
    * Writes are redirected to Cloud Firestore.
    * 
@@ -82,6 +114,8 @@ public enum MigrationStep ; /** + * + * *
    * Unspecified.
    * 
@@ -90,6 +124,8 @@ public enum MigrationStep */ public static final int MIGRATION_STEP_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Pre-migration: the database is prepared for migration.
    * 
@@ -98,6 +134,8 @@ public enum MigrationStep */ public static final int PREPARE_VALUE = 6; /** + * + * *
    * Start of migration.
    * 
@@ -106,6 +144,8 @@ public enum MigrationStep */ public static final int START_VALUE = 1; /** + * + * *
    * Writes are applied synchronously to at least one replica.
    * 
@@ -114,6 +154,8 @@ public enum MigrationStep */ public static final int APPLY_WRITES_SYNCHRONOUSLY_VALUE = 7; /** + * + * *
    * Data is copied to Cloud Firestore and then verified to match the data in
    * Cloud Datastore.
@@ -123,6 +165,8 @@ public enum MigrationStep
    */
   public static final int COPY_AND_VERIFY_VALUE = 2;
   /**
+   *
+   *
    * 
    * Eventually-consistent reads are redirected to Cloud Firestore.
    * 
@@ -131,6 +175,8 @@ public enum MigrationStep */ public static final int REDIRECT_EVENTUALLY_CONSISTENT_READS_VALUE = 3; /** + * + * *
    * Strongly-consistent reads are redirected to Cloud Firestore.
    * 
@@ -139,6 +185,8 @@ public enum MigrationStep */ public static final int REDIRECT_STRONGLY_CONSISTENT_READS_VALUE = 4; /** + * + * *
    * Writes are redirected to Cloud Firestore.
    * 
@@ -147,7 +195,6 @@ public enum MigrationStep */ public static final int REDIRECT_WRITES_VALUE = 5; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -172,54 +219,59 @@ public static MigrationStep valueOf(int value) { */ public static MigrationStep forNumber(int value) { switch (value) { - case 0: return MIGRATION_STEP_UNSPECIFIED; - case 6: return PREPARE; - case 1: return START; - case 7: return APPLY_WRITES_SYNCHRONOUSLY; - case 2: return COPY_AND_VERIFY; - case 3: return REDIRECT_EVENTUALLY_CONSISTENT_READS; - case 4: return REDIRECT_STRONGLY_CONSISTENT_READS; - case 5: return REDIRECT_WRITES; - default: return null; + case 0: + return MIGRATION_STEP_UNSPECIFIED; + case 6: + return PREPARE; + case 1: + return START; + case 7: + return APPLY_WRITES_SYNCHRONOUSLY; + case 2: + return COPY_AND_VERIFY; + case 3: + return REDIRECT_EVENTUALLY_CONSISTENT_READS; + case 4: + return REDIRECT_STRONGLY_CONSISTENT_READS; + case 5: + return REDIRECT_WRITES; + 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< - MigrationStep> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MigrationStep findValueByNumber(int number) { - return MigrationStep.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 MigrationStep findValueByNumber(int number) { + return MigrationStep.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.datastore.admin.v1.MigrationProto.getDescriptor().getEnumTypes().get(1); } private static final MigrationStep[] VALUES = values(); - public static MigrationStep valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static MigrationStep 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; @@ -235,4 +287,3 @@ private MigrationStep(int value) { // @@protoc_insertion_point(enum_scope:google.datastore.admin.v1.MigrationStep) } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/OperationType.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/OperationType.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/OperationType.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/OperationType.java index c23c5a2e4..b8a5f327b 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/OperationType.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/OperationType.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto @@ -5,15 +20,18 @@ package com.google.datastore.admin.v1; /** + * + * *
  * Operation types.
  * 
* * Protobuf enum {@code google.datastore.admin.v1.OperationType} */ -public enum OperationType - implements com.google.protobuf.ProtocolMessageEnum { +public enum OperationType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * Unspecified.
    * 
@@ -22,6 +40,8 @@ public enum OperationType */ OPERATION_TYPE_UNSPECIFIED(0), /** + * + * *
    * ExportEntities.
    * 
@@ -30,6 +50,8 @@ public enum OperationType */ EXPORT_ENTITIES(1), /** + * + * *
    * ImportEntities.
    * 
@@ -38,6 +60,8 @@ public enum OperationType */ IMPORT_ENTITIES(2), /** + * + * *
    * CreateIndex.
    * 
@@ -46,6 +70,8 @@ public enum OperationType */ CREATE_INDEX(3), /** + * + * *
    * DeleteIndex.
    * 
@@ -57,6 +83,8 @@ public enum OperationType ; /** + * + * *
    * Unspecified.
    * 
@@ -65,6 +93,8 @@ public enum OperationType */ public static final int OPERATION_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
    * ExportEntities.
    * 
@@ -73,6 +103,8 @@ public enum OperationType */ public static final int EXPORT_ENTITIES_VALUE = 1; /** + * + * *
    * ImportEntities.
    * 
@@ -81,6 +113,8 @@ public enum OperationType */ public static final int IMPORT_ENTITIES_VALUE = 2; /** + * + * *
    * CreateIndex.
    * 
@@ -89,6 +123,8 @@ public enum OperationType */ public static final int CREATE_INDEX_VALUE = 3; /** + * + * *
    * DeleteIndex.
    * 
@@ -97,7 +133,6 @@ public enum OperationType */ public static final int DELETE_INDEX_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -122,51 +157,53 @@ public static OperationType valueOf(int value) { */ public static OperationType forNumber(int value) { switch (value) { - case 0: return OPERATION_TYPE_UNSPECIFIED; - case 1: return EXPORT_ENTITIES; - case 2: return IMPORT_ENTITIES; - case 3: return CREATE_INDEX; - case 4: return DELETE_INDEX; - default: return null; + case 0: + return OPERATION_TYPE_UNSPECIFIED; + case 1: + return EXPORT_ENTITIES; + case 2: + return IMPORT_ENTITIES; + case 3: + return CREATE_INDEX; + case 4: + return DELETE_INDEX; + 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< - OperationType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public OperationType findValueByNumber(int number) { - return OperationType.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 OperationType findValueByNumber(int number) { + return OperationType.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.datastore.admin.v1.DatastoreAdminProto.getDescriptor().getEnumTypes().get(0); } private static final OperationType[] VALUES = values(); - public static OperationType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static OperationType 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; @@ -182,4 +219,3 @@ private OperationType(int value) { // @@protoc_insertion_point(enum_scope:google.datastore.admin.v1.OperationType) } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/Progress.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/Progress.java similarity index 66% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/Progress.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/Progress.java index 9664cbc3a..347508413 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/Progress.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/Progress.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto @@ -5,53 +20,59 @@ package com.google.datastore.admin.v1; /** + * + * *
  * Measures the progress of a particular metric.
  * 
* * Protobuf type {@code google.datastore.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.datastore.admin.v1.Progress) ProgressOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Progress.newBuilder() to construct. private Progress(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Progress() { - } + + private Progress() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Progress(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_Progress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.admin.v1.DatastoreAdminProto + .internal_static_google_datastore_admin_v1_Progress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_Progress_fieldAccessorTable + return com.google.datastore.admin.v1.DatastoreAdminProto + .internal_static_google_datastore_admin_v1_Progress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.Progress.class, com.google.datastore.admin.v1.Progress.Builder.class); + com.google.datastore.admin.v1.Progress.class, + com.google.datastore.admin.v1.Progress.Builder.class); } public static final int WORK_COMPLETED_FIELD_NUMBER = 1; private long workCompleted_ = 0L; /** + * + * *
    * The amount of work that has been completed. Note that this may be greater
    * than work_estimated.
    * 
* * int64 work_completed = 1; + * * @return The workCompleted. */ @java.lang.Override @@ -62,12 +83,15 @@ public long getWorkCompleted() { public static final int WORK_ESTIMATED_FIELD_NUMBER = 2; private long workEstimated_ = 0L; /** + * + * *
    * An estimate of how much work needs to be performed. May be zero if the
    * work estimate is unavailable.
    * 
* * int64 work_estimated = 2; + * * @return The workEstimated. */ @java.lang.Override @@ -76,6 +100,7 @@ public long getWorkEstimated() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -87,8 +112,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 (workCompleted_ != 0L) { output.writeInt64(1, workCompleted_); } @@ -105,12 +129,10 @@ public int getSerializedSize() { size = 0; if (workCompleted_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, workCompleted_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, workCompleted_); } if (workEstimated_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, workEstimated_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, workEstimated_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,17 +142,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.datastore.admin.v1.Progress)) { return super.equals(obj); } com.google.datastore.admin.v1.Progress other = (com.google.datastore.admin.v1.Progress) obj; - if (getWorkCompleted() - != other.getWorkCompleted()) return false; - if (getWorkEstimated() - != other.getWorkEstimated()) return false; + if (getWorkCompleted() != other.getWorkCompleted()) return false; + if (getWorkEstimated() != other.getWorkEstimated()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -143,142 +163,144 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + WORK_COMPLETED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getWorkCompleted()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getWorkCompleted()); hash = (37 * hash) + WORK_ESTIMATED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getWorkEstimated()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getWorkEstimated()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.datastore.admin.v1.Progress parseFrom( - java.nio.ByteBuffer data) + public static com.google.datastore.admin.v1.Progress parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.admin.v1.Progress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.admin.v1.Progress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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; } /** + * + * *
    * Measures the progress of a particular metric.
    * 
* * Protobuf type {@code google.datastore.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.datastore.admin.v1.Progress) com.google.datastore.admin.v1.ProgressOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_Progress_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.admin.v1.DatastoreAdminProto + .internal_static_google_datastore_admin_v1_Progress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_Progress_fieldAccessorTable + return com.google.datastore.admin.v1.DatastoreAdminProto + .internal_static_google_datastore_admin_v1_Progress_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.admin.v1.Progress.class, com.google.datastore.admin.v1.Progress.Builder.class); + com.google.datastore.admin.v1.Progress.class, + com.google.datastore.admin.v1.Progress.Builder.class); } // Construct using com.google.datastore.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(); @@ -289,9 +311,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.admin.v1.DatastoreAdminProto.internal_static_google_datastore_admin_v1_Progress_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.admin.v1.DatastoreAdminProto + .internal_static_google_datastore_admin_v1_Progress_descriptor; } @java.lang.Override @@ -310,8 +332,11 @@ public com.google.datastore.admin.v1.Progress build() { @java.lang.Override public com.google.datastore.admin.v1.Progress buildPartial() { - com.google.datastore.admin.v1.Progress result = new com.google.datastore.admin.v1.Progress(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.datastore.admin.v1.Progress result = + new com.google.datastore.admin.v1.Progress(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -330,38 +355,39 @@ private void buildPartial0(com.google.datastore.admin.v1.Progress result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.admin.v1.Progress) { - return mergeFrom((com.google.datastore.admin.v1.Progress)other); + return mergeFrom((com.google.datastore.admin.v1.Progress) other); } else { super.mergeFrom(other); return this; @@ -402,22 +428,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - workCompleted_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - workEstimated_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + workCompleted_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + workEstimated_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -427,16 +456,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private long workCompleted_ ; + private long workCompleted_; /** + * + * *
      * The amount of work that has been completed. Note that this may be greater
      * than work_estimated.
      * 
* * int64 work_completed = 1; + * * @return The workCompleted. */ @java.lang.Override @@ -444,12 +477,15 @@ public long getWorkCompleted() { return workCompleted_; } /** + * + * *
      * The amount of work that has been completed. Note that this may be greater
      * than work_estimated.
      * 
* * int64 work_completed = 1; + * * @param value The workCompleted to set. * @return This builder for chaining. */ @@ -461,12 +497,15 @@ public Builder setWorkCompleted(long value) { return this; } /** + * + * *
      * The amount of work that has been completed. Note that this may be greater
      * than work_estimated.
      * 
* * int64 work_completed = 1; + * * @return This builder for chaining. */ public Builder clearWorkCompleted() { @@ -476,14 +515,17 @@ public Builder clearWorkCompleted() { return this; } - private long workEstimated_ ; + private long workEstimated_; /** + * + * *
      * An estimate of how much work needs to be performed. May be zero if the
      * work estimate is unavailable.
      * 
* * int64 work_estimated = 2; + * * @return The workEstimated. */ @java.lang.Override @@ -491,12 +533,15 @@ public long getWorkEstimated() { return workEstimated_; } /** + * + * *
      * An estimate of how much work needs to be performed. May be zero if the
      * work estimate is unavailable.
      * 
* * int64 work_estimated = 2; + * * @param value The workEstimated to set. * @return This builder for chaining. */ @@ -508,12 +553,15 @@ public Builder setWorkEstimated(long value) { return this; } /** + * + * *
      * An estimate of how much work needs to be performed. May be zero if the
      * work estimate is unavailable.
      * 
* * int64 work_estimated = 2; + * * @return This builder for chaining. */ public Builder clearWorkEstimated() { @@ -522,9 +570,9 @@ public Builder clearWorkEstimated() { 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 +582,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.admin.v1.Progress) } // @@protoc_insertion_point(class_scope:google.datastore.admin.v1.Progress) private static final com.google.datastore.admin.v1.Progress DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.admin.v1.Progress(); } @@ -548,27 +596,27 @@ public static com.google.datastore.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; @@ -583,6 +631,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.admin.v1.Progress getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ProgressOrBuilder.java b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ProgressOrBuilder.java similarity index 55% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ProgressOrBuilder.java rename to proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ProgressOrBuilder.java index 2f0431684..faa613564 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ProgressOrBuilder.java +++ b/proto-google-cloud-datastore-admin-v1/src/main/java/com/google/datastore/admin/v1/ProgressOrBuilder.java @@ -1,31 +1,53 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/admin/v1/datastore_admin.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.admin.v1; -public interface ProgressOrBuilder extends +public interface ProgressOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.admin.v1.Progress) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The amount of work that has been completed. Note that this may be greater
    * than work_estimated.
    * 
* * int64 work_completed = 1; + * * @return The workCompleted. */ long getWorkCompleted(); /** + * + * *
    * An estimate of how much work needs to be performed. May be zero if the
    * work estimate is unavailable.
    * 
* * int64 work_estimated = 2; + * * @return The workEstimated. */ long getWorkEstimated(); diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/proto/google/datastore/admin/v1/datastore_admin.proto b/proto-google-cloud-datastore-admin-v1/src/main/proto/google/datastore/admin/v1/datastore_admin.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/proto/google/datastore/admin/v1/datastore_admin.proto rename to proto-google-cloud-datastore-admin-v1/src/main/proto/google/datastore/admin/v1/datastore_admin.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/proto/google/datastore/admin/v1/index.proto b/proto-google-cloud-datastore-admin-v1/src/main/proto/google/datastore/admin/v1/index.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/proto/google/datastore/admin/v1/index.proto rename to proto-google-cloud-datastore-admin-v1/src/main/proto/google/datastore/admin/v1/index.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/proto/google/datastore/admin/v1/migration.proto b/proto-google-cloud-datastore-admin-v1/src/main/proto/google/datastore/admin/v1/migration.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-datastore-admin-v1/src/main/proto/google/datastore/admin/v1/migration.proto rename to proto-google-cloud-datastore-admin-v1/src/main/proto/google/datastore/admin/v1/migration.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationQuery.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationQuery.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationQuery.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationQuery.java index 18a4bdc06..654257a1d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationQuery.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationQuery.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto @@ -5,6 +20,8 @@ package com.google.datastore.v1; /** + * + * *
  * Datastore query for running an aggregation over a
  * [Query][google.datastore.v1.Query].
@@ -12,62 +29,73 @@
  *
  * Protobuf type {@code google.datastore.v1.AggregationQuery}
  */
-public final class AggregationQuery extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AggregationQuery extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.datastore.v1.AggregationQuery)
     AggregationQueryOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AggregationQuery.newBuilder() to construct.
   private AggregationQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AggregationQuery() {
     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 AggregationQuery();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.datastore.v1.QueryProto
+        .internal_static_google_datastore_v1_AggregationQuery_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_fieldAccessorTable
+    return com.google.datastore.v1.QueryProto
+        .internal_static_google_datastore_v1_AggregationQuery_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.v1.AggregationQuery.class, com.google.datastore.v1.AggregationQuery.Builder.class);
+            com.google.datastore.v1.AggregationQuery.class,
+            com.google.datastore.v1.AggregationQuery.Builder.class);
   }
 
-  public interface AggregationOrBuilder extends
+  public interface AggregationOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.datastore.v1.AggregationQuery.Aggregation)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * Count aggregator.
      * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Count count = 1; + * * @return Whether the count field is set. */ boolean hasCount(); /** + * + * *
      * Count aggregator.
      * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Count count = 1; + * * @return The count. */ com.google.datastore.v1.AggregationQuery.Aggregation.Count getCount(); /** + * + * *
      * Count aggregator.
      * 
@@ -77,24 +105,32 @@ public interface AggregationOrBuilder extends com.google.datastore.v1.AggregationQuery.Aggregation.CountOrBuilder getCountOrBuilder(); /** + * + * *
      * Sum aggregator.
      * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Sum sum = 2; + * * @return Whether the sum field is set. */ boolean hasSum(); /** + * + * *
      * Sum aggregator.
      * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Sum sum = 2; + * * @return The sum. */ com.google.datastore.v1.AggregationQuery.Aggregation.Sum getSum(); /** + * + * *
      * Sum aggregator.
      * 
@@ -104,24 +140,32 @@ public interface AggregationOrBuilder extends com.google.datastore.v1.AggregationQuery.Aggregation.SumOrBuilder getSumOrBuilder(); /** + * + * *
      * Average aggregator.
      * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Avg avg = 3; + * * @return Whether the avg field is set. */ boolean hasAvg(); /** + * + * *
      * Average aggregator.
      * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Avg avg = 3; + * * @return The avg. */ com.google.datastore.v1.AggregationQuery.Aggregation.Avg getAvg(); /** + * + * *
      * Average aggregator.
      * 
@@ -131,6 +175,8 @@ public interface AggregationOrBuilder extends com.google.datastore.v1.AggregationQuery.Aggregation.AvgOrBuilder getAvgOrBuilder(); /** + * + * *
      * Optional. Optional name of the property to store the result of the
      * aggregation.
@@ -170,10 +216,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 property to store the result of the
      * aggregation.
@@ -213,58 +262,65 @@ public interface AggregationOrBuilder extends
      * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for alias. */ - com.google.protobuf.ByteString - getAliasBytes(); + com.google.protobuf.ByteString getAliasBytes(); com.google.datastore.v1.AggregationQuery.Aggregation.OperatorCase getOperatorCase(); } /** + * + * *
    * Defines an aggregation that produces a single result.
    * 
* * Protobuf type {@code google.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.Aggregation) AggregationOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Aggregation.newBuilder() to construct. private Aggregation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Aggregation() { alias_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Aggregation(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_AggregationQuery_Aggregation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_fieldAccessorTable + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_AggregationQuery_Aggregation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.AggregationQuery.Aggregation.class, com.google.datastore.v1.AggregationQuery.Aggregation.Builder.class); + com.google.datastore.v1.AggregationQuery.Aggregation.class, + com.google.datastore.v1.AggregationQuery.Aggregation.Builder.class); } - public interface CountOrBuilder extends + public interface CountOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.AggregationQuery.Aggregation.Count) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Optional. Optional constraint on the maximum number of entities to
        * count.
@@ -288,11 +344,15 @@ public interface CountOrBuilder extends
        * * Must be non-negative 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 entities to
        * count.
@@ -316,11 +376,15 @@ public interface CountOrBuilder extends
        * * Must be non-negative 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 entities to
        * count.
@@ -344,11 +408,14 @@ public interface CountOrBuilder extends
        * * Must be non-negative 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 entities that match the query.
      *
@@ -358,42 +425,45 @@ public interface CountOrBuilder extends
      *
      * Protobuf type {@code google.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.Aggregation.Count)
         CountOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use Count.newBuilder() to construct.
       private Count(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-      private Count() {
-      }
+
+      private Count() {}
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(
-          UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new Count();
       }
 
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_Count_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.datastore.v1.QueryProto
+            .internal_static_google_datastore_v1_AggregationQuery_Aggregation_Count_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_Count_fieldAccessorTable
+        return com.google.datastore.v1.QueryProto
+            .internal_static_google_datastore_v1_AggregationQuery_Aggregation_Count_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.datastore.v1.AggregationQuery.Aggregation.Count.class, com.google.datastore.v1.AggregationQuery.Aggregation.Count.Builder.class);
+                com.google.datastore.v1.AggregationQuery.Aggregation.Count.class,
+                com.google.datastore.v1.AggregationQuery.Aggregation.Count.Builder.class);
       }
 
       private int bitField0_;
       public static final int UP_TO_FIELD_NUMBER = 1;
       private com.google.protobuf.Int64Value upTo_;
       /**
+       *
+       *
        * 
        * Optional. Optional constraint on the maximum number of entities to
        * count.
@@ -417,7 +487,9 @@ protected java.lang.Object newInstance(
        * * Must be non-negative 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 @@ -425,6 +497,8 @@ public boolean hasUpTo() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Optional. Optional constraint on the maximum number of entities to
        * count.
@@ -448,7 +522,9 @@ public boolean hasUpTo() {
        * * Must be non-negative 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 @@ -456,6 +532,8 @@ public com.google.protobuf.Int64Value getUpTo() { return upTo_ == null ? com.google.protobuf.Int64Value.getDefaultInstance() : upTo_; } /** + * + * *
        * Optional. Optional constraint on the maximum number of entities to
        * count.
@@ -479,7 +557,8 @@ public com.google.protobuf.Int64Value getUpTo() {
        * * Must be non-negative 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() { @@ -487,6 +566,7 @@ public com.google.protobuf.Int64ValueOrBuilder getUpToOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -498,8 +578,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getUpTo()); } @@ -513,8 +592,7 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getUpTo()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getUpTo()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -524,17 +602,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.datastore.v1.AggregationQuery.Aggregation.Count)) { return super.equals(obj); } - com.google.datastore.v1.AggregationQuery.Aggregation.Count other = (com.google.datastore.v1.AggregationQuery.Aggregation.Count) obj; + com.google.datastore.v1.AggregationQuery.Aggregation.Count other = + (com.google.datastore.v1.AggregationQuery.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; @@ -557,89 +635,94 @@ public int hashCode() { } public static com.google.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.Aggregation.Count parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.Aggregation.Count parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.datastore.v1.AggregationQuery.Aggregation.Count parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.Aggregation.Count parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.datastore.v1.AggregationQuery.Aggregation.Count parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.Aggregation.Count parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.AggregationQuery.Aggregation.Count parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.v1.AggregationQuery.Aggregation.Count parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.Aggregation.Count prototype) { + + public static Builder newBuilder( + com.google.datastore.v1.AggregationQuery.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 @@ -649,6 +732,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Count of entities that match the query.
        *
@@ -658,21 +743,24 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.Aggregation.Count)
           com.google.datastore.v1.AggregationQuery.Aggregation.CountOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_Count_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.datastore.v1.QueryProto
+              .internal_static_google_datastore_v1_AggregationQuery_Aggregation_Count_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_Count_fieldAccessorTable
+          return com.google.datastore.v1.QueryProto
+              .internal_static_google_datastore_v1_AggregationQuery_Aggregation_Count_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.datastore.v1.AggregationQuery.Aggregation.Count.class, com.google.datastore.v1.AggregationQuery.Aggregation.Count.Builder.class);
+                  com.google.datastore.v1.AggregationQuery.Aggregation.Count.class,
+                  com.google.datastore.v1.AggregationQuery.Aggregation.Count.Builder.class);
         }
 
         // Construct using com.google.datastore.v1.AggregationQuery.Aggregation.Count.newBuilder()
@@ -680,17 +768,17 @@ 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) {
+          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
             getUpToFieldBuilder();
           }
         }
+
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -704,13 +792,14 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor
-            getDescriptorForType() {
-          return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_Count_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+          return com.google.datastore.v1.QueryProto
+              .internal_static_google_datastore_v1_AggregationQuery_Aggregation_Count_descriptor;
         }
 
         @java.lang.Override
-        public com.google.datastore.v1.AggregationQuery.Aggregation.Count getDefaultInstanceForType() {
+        public com.google.datastore.v1.AggregationQuery.Aggregation.Count
+            getDefaultInstanceForType() {
           return com.google.datastore.v1.AggregationQuery.Aggregation.Count.getDefaultInstance();
         }
 
@@ -725,19 +814,21 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Count build() {
 
         @java.lang.Override
         public com.google.datastore.v1.AggregationQuery.Aggregation.Count buildPartial() {
-          com.google.datastore.v1.AggregationQuery.Aggregation.Count result = new com.google.datastore.v1.AggregationQuery.Aggregation.Count(this);
-          if (bitField0_ != 0) { buildPartial0(result); }
+          com.google.datastore.v1.AggregationQuery.Aggregation.Count result =
+              new com.google.datastore.v1.AggregationQuery.Aggregation.Count(this);
+          if (bitField0_ != 0) {
+            buildPartial0(result);
+          }
           onBuilt();
           return result;
         }
 
-        private void buildPartial0(com.google.datastore.v1.AggregationQuery.Aggregation.Count result) {
+        private void buildPartial0(
+            com.google.datastore.v1.AggregationQuery.Aggregation.Count result) {
           int from_bitField0_ = bitField0_;
           int to_bitField0_ = 0;
           if (((from_bitField0_ & 0x00000001) != 0)) {
-            result.upTo_ = upToBuilder_ == null
-                ? upTo_
-                : upToBuilder_.build();
+            result.upTo_ = upToBuilder_ == null ? upTo_ : upToBuilder_.build();
             to_bitField0_ |= 0x00000001;
           }
           result.bitField0_ |= to_bitField0_;
@@ -747,38 +838,41 @@ private void buildPartial0(com.google.datastore.v1.AggregationQuery.Aggregation.
         public Builder clone() {
           return super.clone();
         }
+
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
           return super.setField(field, value);
         }
+
         @java.lang.Override
-        public Builder clearField(
-            com.google.protobuf.Descriptors.FieldDescriptor field) {
+        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
+
         @java.lang.Override
-        public Builder clearOneof(
-            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        public Builder clearOneof(com.google.protobuf.Descriptors.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.datastore.v1.AggregationQuery.Aggregation.Count) {
-            return mergeFrom((com.google.datastore.v1.AggregationQuery.Aggregation.Count)other);
+            return mergeFrom((com.google.datastore.v1.AggregationQuery.Aggregation.Count) other);
           } else {
             super.mergeFrom(other);
             return this;
@@ -786,7 +880,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
         }
 
         public Builder mergeFrom(com.google.datastore.v1.AggregationQuery.Aggregation.Count other) {
-          if (other == com.google.datastore.v1.AggregationQuery.Aggregation.Count.getDefaultInstance()) return this;
+          if (other
+              == com.google.datastore.v1.AggregationQuery.Aggregation.Count.getDefaultInstance())
+            return this;
           if (other.hasUpTo()) {
             mergeUpTo(other.getUpTo());
           }
@@ -816,19 +912,19 @@ public Builder mergeFrom(
                 case 0:
                   done = true;
                   break;
-                case 10: {
-                  input.readMessage(
-                      getUpToFieldBuilder().getBuilder(),
-                      extensionRegistry);
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-                default: {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+                case 10:
+                  {
+                    input.readMessage(getUpToFieldBuilder().getBuilder(), extensionRegistry);
+                    bitField0_ |= 0x00000001;
+                    break;
+                  } // case 10
+                default:
+                  {
+                    if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                      done = true; // was an endgroup tag
+                    }
+                    break;
+                  } // default:
               } // switch (tag)
             } // while (!done)
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -838,12 +934,18 @@ public Builder mergeFrom(
           } // finally
           return this;
         }
+
         private int bitField0_;
 
         private com.google.protobuf.Int64Value upTo_;
         private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Int64Value, com.google.protobuf.Int64Value.Builder, com.google.protobuf.Int64ValueOrBuilder> upToBuilder_;
+                com.google.protobuf.Int64Value,
+                com.google.protobuf.Int64Value.Builder,
+                com.google.protobuf.Int64ValueOrBuilder>
+            upToBuilder_;
         /**
+         *
+         *
          * 
          * Optional. Optional constraint on the maximum number of entities to
          * count.
@@ -867,13 +969,17 @@ public Builder mergeFrom(
          * * Must be non-negative when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the upTo field is set. */ public boolean hasUpTo() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
          * Optional. Optional constraint on the maximum number of entities to
          * count.
@@ -897,7 +1003,9 @@ public boolean hasUpTo() {
          * * Must be non-negative 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() { @@ -908,6 +1016,8 @@ public com.google.protobuf.Int64Value getUpTo() { } } /** + * + * *
          * Optional. Optional constraint on the maximum number of entities to
          * count.
@@ -931,7 +1041,8 @@ public com.google.protobuf.Int64Value getUpTo() {
          * * Must be non-negative 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) { @@ -947,6 +1058,8 @@ public Builder setUpTo(com.google.protobuf.Int64Value value) { return this; } /** + * + * *
          * Optional. Optional constraint on the maximum number of entities to
          * count.
@@ -970,10 +1083,10 @@ public Builder setUpTo(com.google.protobuf.Int64Value value) {
          * * Must be non-negative when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public Builder setUpTo( - com.google.protobuf.Int64Value.Builder builderForValue) { + public Builder setUpTo(com.google.protobuf.Int64Value.Builder builderForValue) { if (upToBuilder_ == null) { upTo_ = builderForValue.build(); } else { @@ -984,6 +1097,8 @@ public Builder setUpTo( return this; } /** + * + * *
          * Optional. Optional constraint on the maximum number of entities to
          * count.
@@ -1007,13 +1122,14 @@ public Builder setUpTo(
          * * Must be non-negative when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeUpTo(com.google.protobuf.Int64Value value) { if (upToBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - upTo_ != null && - upTo_ != com.google.protobuf.Int64Value.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && upTo_ != null + && upTo_ != com.google.protobuf.Int64Value.getDefaultInstance()) { getUpToBuilder().mergeFrom(value); } else { upTo_ = value; @@ -1028,6 +1144,8 @@ public Builder mergeUpTo(com.google.protobuf.Int64Value value) { return this; } /** + * + * *
          * Optional. Optional constraint on the maximum number of entities to
          * count.
@@ -1051,7 +1169,8 @@ public Builder mergeUpTo(com.google.protobuf.Int64Value value) {
          * * Must be non-negative when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearUpTo() { bitField0_ = (bitField0_ & ~0x00000001); @@ -1064,6 +1183,8 @@ public Builder clearUpTo() { return this; } /** + * + * *
          * Optional. Optional constraint on the maximum number of entities to
          * count.
@@ -1087,7 +1208,8 @@ public Builder clearUpTo() {
          * * Must be non-negative when present.
          * 
* - * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * .google.protobuf.Int64Value up_to = 1 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.protobuf.Int64Value.Builder getUpToBuilder() { bitField0_ |= 0x00000001; @@ -1095,6 +1217,8 @@ public com.google.protobuf.Int64Value.Builder getUpToBuilder() { return getUpToFieldBuilder().getBuilder(); } /** + * + * *
          * Optional. Optional constraint on the maximum number of entities to
          * count.
@@ -1118,17 +1242,19 @@ public com.google.protobuf.Int64Value.Builder getUpToBuilder() {
          * * Must be non-negative 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 entities to
          * count.
@@ -1152,21 +1278,26 @@ public com.google.protobuf.Int64ValueOrBuilder getUpToOrBuilder() {
          * * Must be non-negative 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) { @@ -1179,41 +1310,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.v1.AggregationQuery.Aggregation.Count) } // @@protoc_insertion_point(class_scope:google.datastore.v1.AggregationQuery.Aggregation.Count) - private static final com.google.datastore.v1.AggregationQuery.Aggregation.Count DEFAULT_INSTANCE; + private static final com.google.datastore.v1.AggregationQuery.Aggregation.Count + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.v1.AggregationQuery.Aggregation.Count(); } - public static com.google.datastore.v1.AggregationQuery.Aggregation.Count getDefaultInstance() { + public static com.google.datastore.v1.AggregationQuery.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; @@ -1225,35 +1359,44 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.datastore.v1.AggregationQuery.Aggregation.Count getDefaultInstanceForType() { + public com.google.datastore.v1.AggregationQuery.Aggregation.Count + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface SumOrBuilder extends + public interface SumOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.AggregationQuery.Aggregation.Sum) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * The property to aggregate on.
        * 
* * .google.datastore.v1.PropertyReference property = 1; + * * @return Whether the property field is set. */ boolean hasProperty(); /** + * + * *
        * The property to aggregate on.
        * 
* * .google.datastore.v1.PropertyReference property = 1; + * * @return The property. */ com.google.datastore.v1.PropertyReference getProperty(); /** + * + * *
        * The property to aggregate on.
        * 
@@ -1263,6 +1406,8 @@ public interface SumOrBuilder extends com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder(); } /** + * + * *
      * Sum of the values of the requested property.
      *
@@ -1289,47 +1434,51 @@ public interface SumOrBuilder extends
      *
      * Protobuf type {@code google.datastore.v1.AggregationQuery.Aggregation.Sum}
      */
-    public static final class Sum extends
-        com.google.protobuf.GeneratedMessageV3 implements
+    public static final class Sum extends com.google.protobuf.GeneratedMessageV3
+        implements
         // @@protoc_insertion_point(message_implements:google.datastore.v1.AggregationQuery.Aggregation.Sum)
         SumOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use Sum.newBuilder() to construct.
       private Sum(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-      private Sum() {
-      }
+
+      private Sum() {}
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(
-          UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new Sum();
       }
 
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_Sum_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.datastore.v1.QueryProto
+            .internal_static_google_datastore_v1_AggregationQuery_Aggregation_Sum_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_Sum_fieldAccessorTable
+        return com.google.datastore.v1.QueryProto
+            .internal_static_google_datastore_v1_AggregationQuery_Aggregation_Sum_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.datastore.v1.AggregationQuery.Aggregation.Sum.class, com.google.datastore.v1.AggregationQuery.Aggregation.Sum.Builder.class);
+                com.google.datastore.v1.AggregationQuery.Aggregation.Sum.class,
+                com.google.datastore.v1.AggregationQuery.Aggregation.Sum.Builder.class);
       }
 
       private int bitField0_;
       public static final int PROPERTY_FIELD_NUMBER = 1;
       private com.google.datastore.v1.PropertyReference property_;
       /**
+       *
+       *
        * 
        * The property to aggregate on.
        * 
* * .google.datastore.v1.PropertyReference property = 1; + * * @return Whether the property field is set. */ @java.lang.Override @@ -1337,18 +1486,25 @@ public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * The property to aggregate on.
        * 
* * .google.datastore.v1.PropertyReference property = 1; + * * @return The property. */ @java.lang.Override public com.google.datastore.v1.PropertyReference getProperty() { - return property_ == null ? com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; + return property_ == null + ? com.google.datastore.v1.PropertyReference.getDefaultInstance() + : property_; } /** + * + * *
        * The property to aggregate on.
        * 
@@ -1357,10 +1513,13 @@ public com.google.datastore.v1.PropertyReference getProperty() { */ @java.lang.Override public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() { - return property_ == null ? com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; + return property_ == null + ? com.google.datastore.v1.PropertyReference.getDefaultInstance() + : property_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1372,8 +1531,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getProperty()); } @@ -1387,8 +1545,7 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getProperty()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getProperty()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1398,17 +1555,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.datastore.v1.AggregationQuery.Aggregation.Sum)) { return super.equals(obj); } - com.google.datastore.v1.AggregationQuery.Aggregation.Sum other = (com.google.datastore.v1.AggregationQuery.Aggregation.Sum) obj; + com.google.datastore.v1.AggregationQuery.Aggregation.Sum other = + (com.google.datastore.v1.AggregationQuery.Aggregation.Sum) obj; if (hasProperty() != other.hasProperty()) return false; if (hasProperty()) { - if (!getProperty() - .equals(other.getProperty())) return false; + if (!getProperty().equals(other.getProperty())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1431,89 +1588,94 @@ public int hashCode() { } public static com.google.datastore.v1.AggregationQuery.Aggregation.Sum 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.datastore.v1.AggregationQuery.Aggregation.Sum parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.AggregationQuery.Aggregation.Sum parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.AggregationQuery.Aggregation.Sum parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.AggregationQuery.Aggregation.Sum parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.AggregationQuery.Aggregation.Sum parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.AggregationQuery.Aggregation.Sum parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.datastore.v1.AggregationQuery.Aggregation.Sum parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.AggregationQuery.Aggregation.Sum parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.AggregationQuery.Aggregation.Sum parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.AggregationQuery.Aggregation.Sum parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.v1.AggregationQuery.Aggregation.Sum parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.datastore.v1.AggregationQuery.Aggregation.Sum parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.AggregationQuery.Aggregation.Sum parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.datastore.v1.AggregationQuery.Aggregation.Sum prototype) { + + public static Builder newBuilder( + com.google.datastore.v1.AggregationQuery.Aggregation.Sum prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1523,6 +1685,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Sum of the values of the requested property.
        *
@@ -1549,21 +1713,24 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.datastore.v1.AggregationQuery.Aggregation.Sum}
        */
-      public static final class Builder extends
-          com.google.protobuf.GeneratedMessageV3.Builder implements
+      public static final class Builder
+          extends com.google.protobuf.GeneratedMessageV3.Builder
+          implements
           // @@protoc_insertion_point(builder_implements:google.datastore.v1.AggregationQuery.Aggregation.Sum)
           com.google.datastore.v1.AggregationQuery.Aggregation.SumOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_Sum_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.datastore.v1.QueryProto
+              .internal_static_google_datastore_v1_AggregationQuery_Aggregation_Sum_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_Sum_fieldAccessorTable
+          return com.google.datastore.v1.QueryProto
+              .internal_static_google_datastore_v1_AggregationQuery_Aggregation_Sum_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.datastore.v1.AggregationQuery.Aggregation.Sum.class, com.google.datastore.v1.AggregationQuery.Aggregation.Sum.Builder.class);
+                  com.google.datastore.v1.AggregationQuery.Aggregation.Sum.class,
+                  com.google.datastore.v1.AggregationQuery.Aggregation.Sum.Builder.class);
         }
 
         // Construct using com.google.datastore.v1.AggregationQuery.Aggregation.Sum.newBuilder()
@@ -1571,17 +1738,17 @@ 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) {
+          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
             getPropertyFieldBuilder();
           }
         }
+
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -1595,13 +1762,14 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor
-            getDescriptorForType() {
-          return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_Sum_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+          return com.google.datastore.v1.QueryProto
+              .internal_static_google_datastore_v1_AggregationQuery_Aggregation_Sum_descriptor;
         }
 
         @java.lang.Override
-        public com.google.datastore.v1.AggregationQuery.Aggregation.Sum getDefaultInstanceForType() {
+        public com.google.datastore.v1.AggregationQuery.Aggregation.Sum
+            getDefaultInstanceForType() {
           return com.google.datastore.v1.AggregationQuery.Aggregation.Sum.getDefaultInstance();
         }
 
@@ -1616,19 +1784,21 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Sum build() {
 
         @java.lang.Override
         public com.google.datastore.v1.AggregationQuery.Aggregation.Sum buildPartial() {
-          com.google.datastore.v1.AggregationQuery.Aggregation.Sum result = new com.google.datastore.v1.AggregationQuery.Aggregation.Sum(this);
-          if (bitField0_ != 0) { buildPartial0(result); }
+          com.google.datastore.v1.AggregationQuery.Aggregation.Sum result =
+              new com.google.datastore.v1.AggregationQuery.Aggregation.Sum(this);
+          if (bitField0_ != 0) {
+            buildPartial0(result);
+          }
           onBuilt();
           return result;
         }
 
-        private void buildPartial0(com.google.datastore.v1.AggregationQuery.Aggregation.Sum result) {
+        private void buildPartial0(
+            com.google.datastore.v1.AggregationQuery.Aggregation.Sum result) {
           int from_bitField0_ = bitField0_;
           int to_bitField0_ = 0;
           if (((from_bitField0_ & 0x00000001) != 0)) {
-            result.property_ = propertyBuilder_ == null
-                ? property_
-                : propertyBuilder_.build();
+            result.property_ = propertyBuilder_ == null ? property_ : propertyBuilder_.build();
             to_bitField0_ |= 0x00000001;
           }
           result.bitField0_ |= to_bitField0_;
@@ -1638,38 +1808,41 @@ private void buildPartial0(com.google.datastore.v1.AggregationQuery.Aggregation.
         public Builder clone() {
           return super.clone();
         }
+
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
           return super.setField(field, value);
         }
+
         @java.lang.Override
-        public Builder clearField(
-            com.google.protobuf.Descriptors.FieldDescriptor field) {
+        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
+
         @java.lang.Override
-        public Builder clearOneof(
-            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        public Builder clearOneof(com.google.protobuf.Descriptors.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.datastore.v1.AggregationQuery.Aggregation.Sum) {
-            return mergeFrom((com.google.datastore.v1.AggregationQuery.Aggregation.Sum)other);
+            return mergeFrom((com.google.datastore.v1.AggregationQuery.Aggregation.Sum) other);
           } else {
             super.mergeFrom(other);
             return this;
@@ -1677,7 +1850,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
         }
 
         public Builder mergeFrom(com.google.datastore.v1.AggregationQuery.Aggregation.Sum other) {
-          if (other == com.google.datastore.v1.AggregationQuery.Aggregation.Sum.getDefaultInstance()) return this;
+          if (other
+              == com.google.datastore.v1.AggregationQuery.Aggregation.Sum.getDefaultInstance())
+            return this;
           if (other.hasProperty()) {
             mergeProperty(other.getProperty());
           }
@@ -1707,19 +1882,19 @@ public Builder mergeFrom(
                 case 0:
                   done = true;
                   break;
-                case 10: {
-                  input.readMessage(
-                      getPropertyFieldBuilder().getBuilder(),
-                      extensionRegistry);
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-                default: {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+                case 10:
+                  {
+                    input.readMessage(getPropertyFieldBuilder().getBuilder(), extensionRegistry);
+                    bitField0_ |= 0x00000001;
+                    break;
+                  } // case 10
+                default:
+                  {
+                    if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                      done = true; // was an endgroup tag
+                    }
+                    break;
+                  } // default:
               } // switch (tag)
             } // while (!done)
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1729,38 +1904,52 @@ public Builder mergeFrom(
           } // finally
           return this;
         }
+
         private int bitField0_;
 
         private com.google.datastore.v1.PropertyReference property_;
         private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder> propertyBuilder_;
+                com.google.datastore.v1.PropertyReference,
+                com.google.datastore.v1.PropertyReference.Builder,
+                com.google.datastore.v1.PropertyReferenceOrBuilder>
+            propertyBuilder_;
         /**
+         *
+         *
          * 
          * The property to aggregate on.
          * 
* * .google.datastore.v1.PropertyReference property = 1; + * * @return Whether the property field is set. */ public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
          * The property to aggregate on.
          * 
* * .google.datastore.v1.PropertyReference property = 1; + * * @return The property. */ public com.google.datastore.v1.PropertyReference getProperty() { if (propertyBuilder_ == null) { - return property_ == null ? com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; + return property_ == null + ? com.google.datastore.v1.PropertyReference.getDefaultInstance() + : property_; } else { return propertyBuilder_.getMessage(); } } /** + * + * *
          * The property to aggregate on.
          * 
@@ -1781,6 +1970,8 @@ public Builder setProperty(com.google.datastore.v1.PropertyReference value) { return this; } /** + * + * *
          * The property to aggregate on.
          * 
@@ -1799,6 +1990,8 @@ public Builder setProperty( return this; } /** + * + * *
          * The property to aggregate on.
          * 
@@ -1807,9 +2000,9 @@ public Builder setProperty( */ public Builder mergeProperty(com.google.datastore.v1.PropertyReference value) { if (propertyBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - property_ != null && - property_ != com.google.datastore.v1.PropertyReference.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && property_ != null + && property_ != com.google.datastore.v1.PropertyReference.getDefaultInstance()) { getPropertyBuilder().mergeFrom(value); } else { property_ = value; @@ -1824,6 +2017,8 @@ public Builder mergeProperty(com.google.datastore.v1.PropertyReference value) { return this; } /** + * + * *
          * The property to aggregate on.
          * 
@@ -1841,6 +2036,8 @@ public Builder clearProperty() { return this; } /** + * + * *
          * The property to aggregate on.
          * 
@@ -1853,6 +2050,8 @@ public com.google.datastore.v1.PropertyReference.Builder getPropertyBuilder() { return getPropertyFieldBuilder().getBuilder(); } /** + * + * *
          * The property to aggregate on.
          * 
@@ -1863,11 +2062,14 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() if (propertyBuilder_ != null) { return propertyBuilder_.getMessageOrBuilder(); } else { - return property_ == null ? - com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; + return property_ == null + ? com.google.datastore.v1.PropertyReference.getDefaultInstance() + : property_; } } /** + * + * *
          * The property to aggregate on.
          * 
@@ -1875,18 +2077,22 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() * .google.datastore.v1.PropertyReference property = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder> + com.google.datastore.v1.PropertyReference, + com.google.datastore.v1.PropertyReference.Builder, + com.google.datastore.v1.PropertyReferenceOrBuilder> getPropertyFieldBuilder() { if (propertyBuilder_ == null) { - propertyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder>( - getProperty(), - getParentForChildren(), - isClean()); + propertyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.PropertyReference, + com.google.datastore.v1.PropertyReference.Builder, + com.google.datastore.v1.PropertyReferenceOrBuilder>( + getProperty(), getParentForChildren(), isClean()); property_ = null; } return propertyBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1899,12 +2105,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.v1.AggregationQuery.Aggregation.Sum) } // @@protoc_insertion_point(class_scope:google.datastore.v1.AggregationQuery.Aggregation.Sum) - private static final com.google.datastore.v1.AggregationQuery.Aggregation.Sum DEFAULT_INSTANCE; + private static final com.google.datastore.v1.AggregationQuery.Aggregation.Sum + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.v1.AggregationQuery.Aggregation.Sum(); } @@ -1913,27 +2120,28 @@ public static com.google.datastore.v1.AggregationQuery.Aggregation.Sum getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Sum parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Sum parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1948,32 +2156,40 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.AggregationQuery.Aggregation.Sum getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface AvgOrBuilder extends + public interface AvgOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.AggregationQuery.Aggregation.Avg) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * The property to aggregate on.
        * 
* * .google.datastore.v1.PropertyReference property = 1; + * * @return Whether the property field is set. */ boolean hasProperty(); /** + * + * *
        * The property to aggregate on.
        * 
* * .google.datastore.v1.PropertyReference property = 1; + * * @return The property. */ com.google.datastore.v1.PropertyReference getProperty(); /** + * + * *
        * The property to aggregate on.
        * 
@@ -1983,6 +2199,8 @@ public interface AvgOrBuilder extends com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder(); } /** + * + * *
      * Average of the values of the requested property.
      *
@@ -1999,47 +2217,51 @@ public interface AvgOrBuilder extends
      *
      * Protobuf type {@code google.datastore.v1.AggregationQuery.Aggregation.Avg}
      */
-    public static final class Avg extends
-        com.google.protobuf.GeneratedMessageV3 implements
+    public static final class Avg extends com.google.protobuf.GeneratedMessageV3
+        implements
         // @@protoc_insertion_point(message_implements:google.datastore.v1.AggregationQuery.Aggregation.Avg)
         AvgOrBuilder {
-    private static final long serialVersionUID = 0L;
+      private static final long serialVersionUID = 0L;
       // Use Avg.newBuilder() to construct.
       private Avg(com.google.protobuf.GeneratedMessageV3.Builder builder) {
         super(builder);
       }
-      private Avg() {
-      }
+
+      private Avg() {}
 
       @java.lang.Override
       @SuppressWarnings({"unused"})
-      protected java.lang.Object newInstance(
-          UnusedPrivateParameter unused) {
+      protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
         return new Avg();
       }
 
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_Avg_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.datastore.v1.QueryProto
+            .internal_static_google_datastore_v1_AggregationQuery_Aggregation_Avg_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_Avg_fieldAccessorTable
+        return com.google.datastore.v1.QueryProto
+            .internal_static_google_datastore_v1_AggregationQuery_Aggregation_Avg_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.datastore.v1.AggregationQuery.Aggregation.Avg.class, com.google.datastore.v1.AggregationQuery.Aggregation.Avg.Builder.class);
+                com.google.datastore.v1.AggregationQuery.Aggregation.Avg.class,
+                com.google.datastore.v1.AggregationQuery.Aggregation.Avg.Builder.class);
       }
 
       private int bitField0_;
       public static final int PROPERTY_FIELD_NUMBER = 1;
       private com.google.datastore.v1.PropertyReference property_;
       /**
+       *
+       *
        * 
        * The property to aggregate on.
        * 
* * .google.datastore.v1.PropertyReference property = 1; + * * @return Whether the property field is set. */ @java.lang.Override @@ -2047,18 +2269,25 @@ public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * The property to aggregate on.
        * 
* * .google.datastore.v1.PropertyReference property = 1; + * * @return The property. */ @java.lang.Override public com.google.datastore.v1.PropertyReference getProperty() { - return property_ == null ? com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; + return property_ == null + ? com.google.datastore.v1.PropertyReference.getDefaultInstance() + : property_; } /** + * + * *
        * The property to aggregate on.
        * 
@@ -2067,10 +2296,13 @@ public com.google.datastore.v1.PropertyReference getProperty() { */ @java.lang.Override public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() { - return property_ == null ? com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; + return property_ == null + ? com.google.datastore.v1.PropertyReference.getDefaultInstance() + : property_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2082,8 +2314,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getProperty()); } @@ -2097,8 +2328,7 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getProperty()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getProperty()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2108,17 +2338,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.datastore.v1.AggregationQuery.Aggregation.Avg)) { return super.equals(obj); } - com.google.datastore.v1.AggregationQuery.Aggregation.Avg other = (com.google.datastore.v1.AggregationQuery.Aggregation.Avg) obj; + com.google.datastore.v1.AggregationQuery.Aggregation.Avg other = + (com.google.datastore.v1.AggregationQuery.Aggregation.Avg) obj; if (hasProperty() != other.hasProperty()) return false; if (hasProperty()) { - if (!getProperty() - .equals(other.getProperty())) return false; + if (!getProperty().equals(other.getProperty())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2141,89 +2371,94 @@ public int hashCode() { } public static com.google.datastore.v1.AggregationQuery.Aggregation.Avg 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.datastore.v1.AggregationQuery.Aggregation.Avg parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.AggregationQuery.Aggregation.Avg parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.AggregationQuery.Aggregation.Avg parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.AggregationQuery.Aggregation.Avg parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.AggregationQuery.Aggregation.Avg parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.AggregationQuery.Aggregation.Avg parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.datastore.v1.AggregationQuery.Aggregation.Avg parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.AggregationQuery.Aggregation.Avg parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.AggregationQuery.Aggregation.Avg parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.AggregationQuery.Aggregation.Avg parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.v1.AggregationQuery.Aggregation.Avg parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.datastore.v1.AggregationQuery.Aggregation.Avg parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.AggregationQuery.Aggregation.Avg parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.datastore.v1.AggregationQuery.Aggregation.Avg prototype) { + + public static Builder newBuilder( + com.google.datastore.v1.AggregationQuery.Aggregation.Avg prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2233,6 +2468,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Average of the values of the requested property.
        *
@@ -2249,21 +2486,24 @@ protected Builder newBuilderForType(
        *
        * Protobuf type {@code google.datastore.v1.AggregationQuery.Aggregation.Avg}
        */
-      public static final class Builder extends
-          com.google.protobuf.GeneratedMessageV3.Builder implements
+      public static final class Builder
+          extends com.google.protobuf.GeneratedMessageV3.Builder
+          implements
           // @@protoc_insertion_point(builder_implements:google.datastore.v1.AggregationQuery.Aggregation.Avg)
           com.google.datastore.v1.AggregationQuery.Aggregation.AvgOrBuilder {
-        public static final com.google.protobuf.Descriptors.Descriptor
-            getDescriptor() {
-          return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_Avg_descriptor;
+        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+          return com.google.datastore.v1.QueryProto
+              .internal_static_google_datastore_v1_AggregationQuery_Aggregation_Avg_descriptor;
         }
 
         @java.lang.Override
         protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
             internalGetFieldAccessorTable() {
-          return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_Avg_fieldAccessorTable
+          return com.google.datastore.v1.QueryProto
+              .internal_static_google_datastore_v1_AggregationQuery_Aggregation_Avg_fieldAccessorTable
               .ensureFieldAccessorsInitialized(
-                  com.google.datastore.v1.AggregationQuery.Aggregation.Avg.class, com.google.datastore.v1.AggregationQuery.Aggregation.Avg.Builder.class);
+                  com.google.datastore.v1.AggregationQuery.Aggregation.Avg.class,
+                  com.google.datastore.v1.AggregationQuery.Aggregation.Avg.Builder.class);
         }
 
         // Construct using com.google.datastore.v1.AggregationQuery.Aggregation.Avg.newBuilder()
@@ -2271,17 +2511,17 @@ 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) {
+          if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
             getPropertyFieldBuilder();
           }
         }
+
         @java.lang.Override
         public Builder clear() {
           super.clear();
@@ -2295,13 +2535,14 @@ public Builder clear() {
         }
 
         @java.lang.Override
-        public com.google.protobuf.Descriptors.Descriptor
-            getDescriptorForType() {
-          return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_Avg_descriptor;
+        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+          return com.google.datastore.v1.QueryProto
+              .internal_static_google_datastore_v1_AggregationQuery_Aggregation_Avg_descriptor;
         }
 
         @java.lang.Override
-        public com.google.datastore.v1.AggregationQuery.Aggregation.Avg getDefaultInstanceForType() {
+        public com.google.datastore.v1.AggregationQuery.Aggregation.Avg
+            getDefaultInstanceForType() {
           return com.google.datastore.v1.AggregationQuery.Aggregation.Avg.getDefaultInstance();
         }
 
@@ -2316,19 +2557,21 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Avg build() {
 
         @java.lang.Override
         public com.google.datastore.v1.AggregationQuery.Aggregation.Avg buildPartial() {
-          com.google.datastore.v1.AggregationQuery.Aggregation.Avg result = new com.google.datastore.v1.AggregationQuery.Aggregation.Avg(this);
-          if (bitField0_ != 0) { buildPartial0(result); }
+          com.google.datastore.v1.AggregationQuery.Aggregation.Avg result =
+              new com.google.datastore.v1.AggregationQuery.Aggregation.Avg(this);
+          if (bitField0_ != 0) {
+            buildPartial0(result);
+          }
           onBuilt();
           return result;
         }
 
-        private void buildPartial0(com.google.datastore.v1.AggregationQuery.Aggregation.Avg result) {
+        private void buildPartial0(
+            com.google.datastore.v1.AggregationQuery.Aggregation.Avg result) {
           int from_bitField0_ = bitField0_;
           int to_bitField0_ = 0;
           if (((from_bitField0_ & 0x00000001) != 0)) {
-            result.property_ = propertyBuilder_ == null
-                ? property_
-                : propertyBuilder_.build();
+            result.property_ = propertyBuilder_ == null ? property_ : propertyBuilder_.build();
             to_bitField0_ |= 0x00000001;
           }
           result.bitField0_ |= to_bitField0_;
@@ -2338,38 +2581,41 @@ private void buildPartial0(com.google.datastore.v1.AggregationQuery.Aggregation.
         public Builder clone() {
           return super.clone();
         }
+
         @java.lang.Override
         public Builder setField(
-            com.google.protobuf.Descriptors.FieldDescriptor field,
-            java.lang.Object value) {
+            com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
           return super.setField(field, value);
         }
+
         @java.lang.Override
-        public Builder clearField(
-            com.google.protobuf.Descriptors.FieldDescriptor field) {
+        public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
           return super.clearField(field);
         }
+
         @java.lang.Override
-        public Builder clearOneof(
-            com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+        public Builder clearOneof(com.google.protobuf.Descriptors.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.datastore.v1.AggregationQuery.Aggregation.Avg) {
-            return mergeFrom((com.google.datastore.v1.AggregationQuery.Aggregation.Avg)other);
+            return mergeFrom((com.google.datastore.v1.AggregationQuery.Aggregation.Avg) other);
           } else {
             super.mergeFrom(other);
             return this;
@@ -2377,7 +2623,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
         }
 
         public Builder mergeFrom(com.google.datastore.v1.AggregationQuery.Aggregation.Avg other) {
-          if (other == com.google.datastore.v1.AggregationQuery.Aggregation.Avg.getDefaultInstance()) return this;
+          if (other
+              == com.google.datastore.v1.AggregationQuery.Aggregation.Avg.getDefaultInstance())
+            return this;
           if (other.hasProperty()) {
             mergeProperty(other.getProperty());
           }
@@ -2407,19 +2655,19 @@ public Builder mergeFrom(
                 case 0:
                   done = true;
                   break;
-                case 10: {
-                  input.readMessage(
-                      getPropertyFieldBuilder().getBuilder(),
-                      extensionRegistry);
-                  bitField0_ |= 0x00000001;
-                  break;
-                } // case 10
-                default: {
-                  if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                    done = true; // was an endgroup tag
-                  }
-                  break;
-                } // default:
+                case 10:
+                  {
+                    input.readMessage(getPropertyFieldBuilder().getBuilder(), extensionRegistry);
+                    bitField0_ |= 0x00000001;
+                    break;
+                  } // case 10
+                default:
+                  {
+                    if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                      done = true; // was an endgroup tag
+                    }
+                    break;
+                  } // default:
               } // switch (tag)
             } // while (!done)
           } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -2429,38 +2677,52 @@ public Builder mergeFrom(
           } // finally
           return this;
         }
+
         private int bitField0_;
 
         private com.google.datastore.v1.PropertyReference property_;
         private com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder> propertyBuilder_;
+                com.google.datastore.v1.PropertyReference,
+                com.google.datastore.v1.PropertyReference.Builder,
+                com.google.datastore.v1.PropertyReferenceOrBuilder>
+            propertyBuilder_;
         /**
+         *
+         *
          * 
          * The property to aggregate on.
          * 
* * .google.datastore.v1.PropertyReference property = 1; + * * @return Whether the property field is set. */ public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
          * The property to aggregate on.
          * 
* * .google.datastore.v1.PropertyReference property = 1; + * * @return The property. */ public com.google.datastore.v1.PropertyReference getProperty() { if (propertyBuilder_ == null) { - return property_ == null ? com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; + return property_ == null + ? com.google.datastore.v1.PropertyReference.getDefaultInstance() + : property_; } else { return propertyBuilder_.getMessage(); } } /** + * + * *
          * The property to aggregate on.
          * 
@@ -2481,6 +2743,8 @@ public Builder setProperty(com.google.datastore.v1.PropertyReference value) { return this; } /** + * + * *
          * The property to aggregate on.
          * 
@@ -2499,6 +2763,8 @@ public Builder setProperty( return this; } /** + * + * *
          * The property to aggregate on.
          * 
@@ -2507,9 +2773,9 @@ public Builder setProperty( */ public Builder mergeProperty(com.google.datastore.v1.PropertyReference value) { if (propertyBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - property_ != null && - property_ != com.google.datastore.v1.PropertyReference.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && property_ != null + && property_ != com.google.datastore.v1.PropertyReference.getDefaultInstance()) { getPropertyBuilder().mergeFrom(value); } else { property_ = value; @@ -2524,6 +2790,8 @@ public Builder mergeProperty(com.google.datastore.v1.PropertyReference value) { return this; } /** + * + * *
          * The property to aggregate on.
          * 
@@ -2541,6 +2809,8 @@ public Builder clearProperty() { return this; } /** + * + * *
          * The property to aggregate on.
          * 
@@ -2553,6 +2823,8 @@ public com.google.datastore.v1.PropertyReference.Builder getPropertyBuilder() { return getPropertyFieldBuilder().getBuilder(); } /** + * + * *
          * The property to aggregate on.
          * 
@@ -2563,11 +2835,14 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() if (propertyBuilder_ != null) { return propertyBuilder_.getMessageOrBuilder(); } else { - return property_ == null ? - com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; + return property_ == null + ? com.google.datastore.v1.PropertyReference.getDefaultInstance() + : property_; } } /** + * + * *
          * The property to aggregate on.
          * 
@@ -2575,18 +2850,22 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() * .google.datastore.v1.PropertyReference property = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder> + com.google.datastore.v1.PropertyReference, + com.google.datastore.v1.PropertyReference.Builder, + com.google.datastore.v1.PropertyReferenceOrBuilder> getPropertyFieldBuilder() { if (propertyBuilder_ == null) { - propertyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder>( - getProperty(), - getParentForChildren(), - isClean()); + propertyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.PropertyReference, + com.google.datastore.v1.PropertyReference.Builder, + com.google.datastore.v1.PropertyReferenceOrBuilder>( + getProperty(), getParentForChildren(), isClean()); property_ = null; } return propertyBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2599,12 +2878,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.v1.AggregationQuery.Aggregation.Avg) } // @@protoc_insertion_point(class_scope:google.datastore.v1.AggregationQuery.Aggregation.Avg) - private static final com.google.datastore.v1.AggregationQuery.Aggregation.Avg DEFAULT_INSTANCE; + private static final com.google.datastore.v1.AggregationQuery.Aggregation.Avg + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.v1.AggregationQuery.Aggregation.Avg(); } @@ -2613,27 +2893,28 @@ public static com.google.datastore.v1.AggregationQuery.Aggregation.Avg getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Avg parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Avg parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2648,20 +2929,23 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.AggregationQuery.Aggregation.Avg getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int operatorCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object operator_; + public enum OperatorCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { COUNT(1), SUM(2), AVG(3), OPERATOR_NOT_SET(0); private final int value; + private OperatorCase(int value) { this.value = value; } @@ -2677,31 +2961,38 @@ public static OperatorCase valueOf(int value) { public static OperatorCase forNumber(int value) { switch (value) { - case 1: return COUNT; - case 2: return SUM; - case 3: return AVG; - case 0: return OPERATOR_NOT_SET; - default: return null; + case 1: + return COUNT; + case 2: + return SUM; + case 3: + return AVG; + 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.datastore.v1.AggregationQuery.Aggregation.Count count = 1; + * * @return Whether the count field is set. */ @java.lang.Override @@ -2709,21 +3000,26 @@ public boolean hasCount() { return operatorCase_ == 1; } /** + * + * *
      * Count aggregator.
      * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Count count = 1; + * * @return The count. */ @java.lang.Override public com.google.datastore.v1.AggregationQuery.Aggregation.Count getCount() { if (operatorCase_ == 1) { - return (com.google.datastore.v1.AggregationQuery.Aggregation.Count) operator_; + return (com.google.datastore.v1.AggregationQuery.Aggregation.Count) operator_; } return com.google.datastore.v1.AggregationQuery.Aggregation.Count.getDefaultInstance(); } /** + * + * *
      * Count aggregator.
      * 
@@ -2733,18 +3029,21 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Count getCount() { @java.lang.Override public com.google.datastore.v1.AggregationQuery.Aggregation.CountOrBuilder getCountOrBuilder() { if (operatorCase_ == 1) { - return (com.google.datastore.v1.AggregationQuery.Aggregation.Count) operator_; + return (com.google.datastore.v1.AggregationQuery.Aggregation.Count) operator_; } return com.google.datastore.v1.AggregationQuery.Aggregation.Count.getDefaultInstance(); } public static final int SUM_FIELD_NUMBER = 2; /** + * + * *
      * Sum aggregator.
      * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Sum sum = 2; + * * @return Whether the sum field is set. */ @java.lang.Override @@ -2752,21 +3051,26 @@ public boolean hasSum() { return operatorCase_ == 2; } /** + * + * *
      * Sum aggregator.
      * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Sum sum = 2; + * * @return The sum. */ @java.lang.Override public com.google.datastore.v1.AggregationQuery.Aggregation.Sum getSum() { if (operatorCase_ == 2) { - return (com.google.datastore.v1.AggregationQuery.Aggregation.Sum) operator_; + return (com.google.datastore.v1.AggregationQuery.Aggregation.Sum) operator_; } return com.google.datastore.v1.AggregationQuery.Aggregation.Sum.getDefaultInstance(); } /** + * + * *
      * Sum aggregator.
      * 
@@ -2776,18 +3080,21 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Sum getSum() { @java.lang.Override public com.google.datastore.v1.AggregationQuery.Aggregation.SumOrBuilder getSumOrBuilder() { if (operatorCase_ == 2) { - return (com.google.datastore.v1.AggregationQuery.Aggregation.Sum) operator_; + return (com.google.datastore.v1.AggregationQuery.Aggregation.Sum) operator_; } return com.google.datastore.v1.AggregationQuery.Aggregation.Sum.getDefaultInstance(); } public static final int AVG_FIELD_NUMBER = 3; /** + * + * *
      * Average aggregator.
      * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Avg avg = 3; + * * @return Whether the avg field is set. */ @java.lang.Override @@ -2795,21 +3102,26 @@ public boolean hasAvg() { return operatorCase_ == 3; } /** + * + * *
      * Average aggregator.
      * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Avg avg = 3; + * * @return The avg. */ @java.lang.Override public com.google.datastore.v1.AggregationQuery.Aggregation.Avg getAvg() { if (operatorCase_ == 3) { - return (com.google.datastore.v1.AggregationQuery.Aggregation.Avg) operator_; + return (com.google.datastore.v1.AggregationQuery.Aggregation.Avg) operator_; } return com.google.datastore.v1.AggregationQuery.Aggregation.Avg.getDefaultInstance(); } /** + * + * *
      * Average aggregator.
      * 
@@ -2819,15 +3131,18 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Avg getAvg() { @java.lang.Override public com.google.datastore.v1.AggregationQuery.Aggregation.AvgOrBuilder getAvgOrBuilder() { if (operatorCase_ == 3) { - return (com.google.datastore.v1.AggregationQuery.Aggregation.Avg) operator_; + return (com.google.datastore.v1.AggregationQuery.Aggregation.Avg) operator_; } return com.google.datastore.v1.AggregationQuery.Aggregation.Avg.getDefaultInstance(); } public static final int ALIAS_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object alias_ = ""; /** + * + * *
      * Optional. Optional name of the property to store the result of the
      * aggregation.
@@ -2867,6 +3182,7 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.AvgOrBuilder getAvgO
      * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The alias. */ @java.lang.Override @@ -2875,14 +3191,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 property to store the result of the
      * aggregation.
@@ -2922,16 +3239,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 { @@ -2940,6 +3256,7 @@ public java.lang.String getAlias() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2951,16 +3268,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 (operatorCase_ == 1) { - output.writeMessage(1, (com.google.datastore.v1.AggregationQuery.Aggregation.Count) operator_); + output.writeMessage( + 1, (com.google.datastore.v1.AggregationQuery.Aggregation.Count) operator_); } if (operatorCase_ == 2) { - output.writeMessage(2, (com.google.datastore.v1.AggregationQuery.Aggregation.Sum) operator_); + output.writeMessage( + 2, (com.google.datastore.v1.AggregationQuery.Aggregation.Sum) operator_); } if (operatorCase_ == 3) { - output.writeMessage(3, (com.google.datastore.v1.AggregationQuery.Aggregation.Avg) operator_); + output.writeMessage( + 3, (com.google.datastore.v1.AggregationQuery.Aggregation.Avg) operator_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(alias_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, alias_); @@ -2975,16 +3294,19 @@ public int getSerializedSize() { size = 0; if (operatorCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.datastore.v1.AggregationQuery.Aggregation.Count) operator_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.datastore.v1.AggregationQuery.Aggregation.Count) operator_); } if (operatorCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.datastore.v1.AggregationQuery.Aggregation.Sum) operator_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.datastore.v1.AggregationQuery.Aggregation.Sum) operator_); } if (operatorCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.datastore.v1.AggregationQuery.Aggregation.Avg) operator_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.datastore.v1.AggregationQuery.Aggregation.Avg) operator_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(alias_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, alias_); @@ -2997,28 +3319,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.datastore.v1.AggregationQuery.Aggregation)) { return super.equals(obj); } - com.google.datastore.v1.AggregationQuery.Aggregation other = (com.google.datastore.v1.AggregationQuery.Aggregation) obj; + com.google.datastore.v1.AggregationQuery.Aggregation other = + (com.google.datastore.v1.AggregationQuery.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 2: - if (!getSum() - .equals(other.getSum())) return false; + if (!getSum().equals(other.getSum())) return false; break; case 3: - if (!getAvg() - .equals(other.getAvg())) return false; + if (!getAvg().equals(other.getAvg())) return false; break; case 0: default: @@ -3058,89 +3377,94 @@ public int hashCode() { } public static com.google.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.Aggregation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.Aggregation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.Aggregation parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.datastore.v1.AggregationQuery.Aggregation parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.Aggregation parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.AggregationQuery.Aggregation parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.Aggregation prototype) { + + public static Builder newBuilder( + com.google.datastore.v1.AggregationQuery.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 @@ -3150,39 +3474,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Defines an aggregation that produces a single result.
      * 
* * Protobuf type {@code google.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.Aggregation) com.google.datastore.v1.AggregationQuery.AggregationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_AggregationQuery_Aggregation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_fieldAccessorTable + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_AggregationQuery_Aggregation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.AggregationQuery.Aggregation.class, com.google.datastore.v1.AggregationQuery.Aggregation.Builder.class); + com.google.datastore.v1.AggregationQuery.Aggregation.class, + com.google.datastore.v1.AggregationQuery.Aggregation.Builder.class); } // Construct using com.google.datastore.v1.AggregationQuery.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(); @@ -3203,9 +3529,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_Aggregation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_AggregationQuery_Aggregation_descriptor; } @java.lang.Override @@ -3224,8 +3550,11 @@ public com.google.datastore.v1.AggregationQuery.Aggregation build() { @java.lang.Override public com.google.datastore.v1.AggregationQuery.Aggregation buildPartial() { - com.google.datastore.v1.AggregationQuery.Aggregation result = new com.google.datastore.v1.AggregationQuery.Aggregation(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.datastore.v1.AggregationQuery.Aggregation result = + new com.google.datastore.v1.AggregationQuery.Aggregation(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -3241,16 +3570,13 @@ private void buildPartial0(com.google.datastore.v1.AggregationQuery.Aggregation private void buildPartialOneofs(com.google.datastore.v1.AggregationQuery.Aggregation result) { result.operatorCase_ = operatorCase_; result.operator_ = this.operator_; - if (operatorCase_ == 1 && - countBuilder_ != null) { + if (operatorCase_ == 1 && countBuilder_ != null) { result.operator_ = countBuilder_.build(); } - if (operatorCase_ == 2 && - sumBuilder_ != null) { + if (operatorCase_ == 2 && sumBuilder_ != null) { result.operator_ = sumBuilder_.build(); } - if (operatorCase_ == 3 && - avgBuilder_ != null) { + if (operatorCase_ == 3 && avgBuilder_ != null) { result.operator_ = avgBuilder_.build(); } } @@ -3259,38 +3585,41 @@ private void buildPartialOneofs(com.google.datastore.v1.AggregationQuery.Aggrega public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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.datastore.v1.AggregationQuery.Aggregation) { - return mergeFrom((com.google.datastore.v1.AggregationQuery.Aggregation)other); + return mergeFrom((com.google.datastore.v1.AggregationQuery.Aggregation) other); } else { super.mergeFrom(other); return this; @@ -3298,28 +3627,33 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.datastore.v1.AggregationQuery.Aggregation other) { - if (other == com.google.datastore.v1.AggregationQuery.Aggregation.getDefaultInstance()) return this; + if (other == com.google.datastore.v1.AggregationQuery.Aggregation.getDefaultInstance()) + return this; if (!other.getAlias().isEmpty()) { alias_ = other.alias_; bitField0_ |= 0x00000008; onChanged(); } switch (other.getOperatorCase()) { - case COUNT: { - mergeCount(other.getCount()); - break; - } - case SUM: { - mergeSum(other.getSum()); - break; - } - case AVG: { - mergeAvg(other.getAvg()); - break; - } - case OPERATOR_NOT_SET: { - break; - } + case COUNT: + { + mergeCount(other.getCount()); + break; + } + case SUM: + { + mergeSum(other.getSum()); + break; + } + case AVG: + { + mergeAvg(other.getAvg()); + break; + } + case OPERATOR_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -3347,38 +3681,37 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCountFieldBuilder().getBuilder(), - extensionRegistry); - operatorCase_ = 1; - break; - } // case 10 - case 18: { - input.readMessage( - getSumFieldBuilder().getBuilder(), - extensionRegistry); - operatorCase_ = 2; - break; - } // case 18 - case 26: { - input.readMessage( - getAvgFieldBuilder().getBuilder(), - extensionRegistry); - operatorCase_ = 3; - break; - } // case 26 - case 58: { - alias_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getCountFieldBuilder().getBuilder(), extensionRegistry); + operatorCase_ = 1; + break; + } // case 10 + case 18: + { + input.readMessage(getSumFieldBuilder().getBuilder(), extensionRegistry); + operatorCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage(getAvgFieldBuilder().getBuilder(), extensionRegistry); + operatorCase_ = 3; + break; + } // case 26 + case 58: + { + alias_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + 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) { @@ -3388,12 +3721,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() { @@ -3406,13 +3739,19 @@ public Builder clearOperator() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationQuery.Aggregation.Count, com.google.datastore.v1.AggregationQuery.Aggregation.Count.Builder, com.google.datastore.v1.AggregationQuery.Aggregation.CountOrBuilder> countBuilder_; + com.google.datastore.v1.AggregationQuery.Aggregation.Count, + com.google.datastore.v1.AggregationQuery.Aggregation.Count.Builder, + com.google.datastore.v1.AggregationQuery.Aggregation.CountOrBuilder> + countBuilder_; /** + * + * *
        * Count aggregator.
        * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Count count = 1; + * * @return Whether the count field is set. */ @java.lang.Override @@ -3420,11 +3759,14 @@ public boolean hasCount() { return operatorCase_ == 1; } /** + * + * *
        * Count aggregator.
        * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Count count = 1; + * * @return The count. */ @java.lang.Override @@ -3442,6 +3784,8 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Count getCount() { } } /** + * + * *
        * Count aggregator.
        * 
@@ -3462,6 +3806,8 @@ public Builder setCount(com.google.datastore.v1.AggregationQuery.Aggregation.Cou return this; } /** + * + * *
        * Count aggregator.
        * 
@@ -3480,6 +3826,8 @@ public Builder setCount( return this; } /** + * + * *
        * Count aggregator.
        * 
@@ -3488,10 +3836,15 @@ public Builder setCount( */ public Builder mergeCount(com.google.datastore.v1.AggregationQuery.Aggregation.Count value) { if (countBuilder_ == null) { - if (operatorCase_ == 1 && - operator_ != com.google.datastore.v1.AggregationQuery.Aggregation.Count.getDefaultInstance()) { - operator_ = com.google.datastore.v1.AggregationQuery.Aggregation.Count.newBuilder((com.google.datastore.v1.AggregationQuery.Aggregation.Count) operator_) - .mergeFrom(value).buildPartial(); + if (operatorCase_ == 1 + && operator_ + != com.google.datastore.v1.AggregationQuery.Aggregation.Count + .getDefaultInstance()) { + operator_ = + com.google.datastore.v1.AggregationQuery.Aggregation.Count.newBuilder( + (com.google.datastore.v1.AggregationQuery.Aggregation.Count) operator_) + .mergeFrom(value) + .buildPartial(); } else { operator_ = value; } @@ -3507,6 +3860,8 @@ public Builder mergeCount(com.google.datastore.v1.AggregationQuery.Aggregation.C return this; } /** + * + * *
        * Count aggregator.
        * 
@@ -3530,6 +3885,8 @@ public Builder clearCount() { return this; } /** + * + * *
        * Count aggregator.
        * 
@@ -3540,6 +3897,8 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Count.Builder getCou return getCountFieldBuilder().getBuilder(); } /** + * + * *
        * Count aggregator.
        * 
@@ -3547,7 +3906,8 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Count.Builder getCou * .google.datastore.v1.AggregationQuery.Aggregation.Count count = 1; */ @java.lang.Override - public com.google.datastore.v1.AggregationQuery.Aggregation.CountOrBuilder getCountOrBuilder() { + public com.google.datastore.v1.AggregationQuery.Aggregation.CountOrBuilder + getCountOrBuilder() { if ((operatorCase_ == 1) && (countBuilder_ != null)) { return countBuilder_.getMessageOrBuilder(); } else { @@ -3558,6 +3918,8 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.CountOrBuilder getCo } } /** + * + * *
        * Count aggregator.
        * 
@@ -3565,14 +3927,20 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.CountOrBuilder getCo * .google.datastore.v1.AggregationQuery.Aggregation.Count count = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationQuery.Aggregation.Count, com.google.datastore.v1.AggregationQuery.Aggregation.Count.Builder, com.google.datastore.v1.AggregationQuery.Aggregation.CountOrBuilder> + com.google.datastore.v1.AggregationQuery.Aggregation.Count, + com.google.datastore.v1.AggregationQuery.Aggregation.Count.Builder, + com.google.datastore.v1.AggregationQuery.Aggregation.CountOrBuilder> getCountFieldBuilder() { if (countBuilder_ == null) { if (!(operatorCase_ == 1)) { - operator_ = com.google.datastore.v1.AggregationQuery.Aggregation.Count.getDefaultInstance(); + operator_ = + com.google.datastore.v1.AggregationQuery.Aggregation.Count.getDefaultInstance(); } - countBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationQuery.Aggregation.Count, com.google.datastore.v1.AggregationQuery.Aggregation.Count.Builder, com.google.datastore.v1.AggregationQuery.Aggregation.CountOrBuilder>( + countBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.AggregationQuery.Aggregation.Count, + com.google.datastore.v1.AggregationQuery.Aggregation.Count.Builder, + com.google.datastore.v1.AggregationQuery.Aggregation.CountOrBuilder>( (com.google.datastore.v1.AggregationQuery.Aggregation.Count) operator_, getParentForChildren(), isClean()); @@ -3584,13 +3952,19 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.CountOrBuilder getCo } private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationQuery.Aggregation.Sum, com.google.datastore.v1.AggregationQuery.Aggregation.Sum.Builder, com.google.datastore.v1.AggregationQuery.Aggregation.SumOrBuilder> sumBuilder_; + com.google.datastore.v1.AggregationQuery.Aggregation.Sum, + com.google.datastore.v1.AggregationQuery.Aggregation.Sum.Builder, + com.google.datastore.v1.AggregationQuery.Aggregation.SumOrBuilder> + sumBuilder_; /** + * + * *
        * Sum aggregator.
        * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Sum sum = 2; + * * @return Whether the sum field is set. */ @java.lang.Override @@ -3598,11 +3972,14 @@ public boolean hasSum() { return operatorCase_ == 2; } /** + * + * *
        * Sum aggregator.
        * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Sum sum = 2; + * * @return The sum. */ @java.lang.Override @@ -3620,6 +3997,8 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Sum getSum() { } } /** + * + * *
        * Sum aggregator.
        * 
@@ -3640,6 +4019,8 @@ public Builder setSum(com.google.datastore.v1.AggregationQuery.Aggregation.Sum v return this; } /** + * + * *
        * Sum aggregator.
        * 
@@ -3658,6 +4039,8 @@ public Builder setSum( return this; } /** + * + * *
        * Sum aggregator.
        * 
@@ -3666,10 +4049,15 @@ public Builder setSum( */ public Builder mergeSum(com.google.datastore.v1.AggregationQuery.Aggregation.Sum value) { if (sumBuilder_ == null) { - if (operatorCase_ == 2 && - operator_ != com.google.datastore.v1.AggregationQuery.Aggregation.Sum.getDefaultInstance()) { - operator_ = com.google.datastore.v1.AggregationQuery.Aggregation.Sum.newBuilder((com.google.datastore.v1.AggregationQuery.Aggregation.Sum) operator_) - .mergeFrom(value).buildPartial(); + if (operatorCase_ == 2 + && operator_ + != com.google.datastore.v1.AggregationQuery.Aggregation.Sum + .getDefaultInstance()) { + operator_ = + com.google.datastore.v1.AggregationQuery.Aggregation.Sum.newBuilder( + (com.google.datastore.v1.AggregationQuery.Aggregation.Sum) operator_) + .mergeFrom(value) + .buildPartial(); } else { operator_ = value; } @@ -3685,6 +4073,8 @@ public Builder mergeSum(com.google.datastore.v1.AggregationQuery.Aggregation.Sum return this; } /** + * + * *
        * Sum aggregator.
        * 
@@ -3708,6 +4098,8 @@ public Builder clearSum() { return this; } /** + * + * *
        * Sum aggregator.
        * 
@@ -3718,6 +4110,8 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Sum.Builder getSumBu return getSumFieldBuilder().getBuilder(); } /** + * + * *
        * Sum aggregator.
        * 
@@ -3736,6 +4130,8 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.SumOrBuilder getSumO } } /** + * + * *
        * Sum aggregator.
        * 
@@ -3743,14 +4139,20 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.SumOrBuilder getSumO * .google.datastore.v1.AggregationQuery.Aggregation.Sum sum = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationQuery.Aggregation.Sum, com.google.datastore.v1.AggregationQuery.Aggregation.Sum.Builder, com.google.datastore.v1.AggregationQuery.Aggregation.SumOrBuilder> + com.google.datastore.v1.AggregationQuery.Aggregation.Sum, + com.google.datastore.v1.AggregationQuery.Aggregation.Sum.Builder, + com.google.datastore.v1.AggregationQuery.Aggregation.SumOrBuilder> getSumFieldBuilder() { if (sumBuilder_ == null) { if (!(operatorCase_ == 2)) { - operator_ = com.google.datastore.v1.AggregationQuery.Aggregation.Sum.getDefaultInstance(); + operator_ = + com.google.datastore.v1.AggregationQuery.Aggregation.Sum.getDefaultInstance(); } - sumBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationQuery.Aggregation.Sum, com.google.datastore.v1.AggregationQuery.Aggregation.Sum.Builder, com.google.datastore.v1.AggregationQuery.Aggregation.SumOrBuilder>( + sumBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.AggregationQuery.Aggregation.Sum, + com.google.datastore.v1.AggregationQuery.Aggregation.Sum.Builder, + com.google.datastore.v1.AggregationQuery.Aggregation.SumOrBuilder>( (com.google.datastore.v1.AggregationQuery.Aggregation.Sum) operator_, getParentForChildren(), isClean()); @@ -3762,13 +4164,19 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.SumOrBuilder getSumO } private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationQuery.Aggregation.Avg, com.google.datastore.v1.AggregationQuery.Aggregation.Avg.Builder, com.google.datastore.v1.AggregationQuery.Aggregation.AvgOrBuilder> avgBuilder_; + com.google.datastore.v1.AggregationQuery.Aggregation.Avg, + com.google.datastore.v1.AggregationQuery.Aggregation.Avg.Builder, + com.google.datastore.v1.AggregationQuery.Aggregation.AvgOrBuilder> + avgBuilder_; /** + * + * *
        * Average aggregator.
        * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Avg avg = 3; + * * @return Whether the avg field is set. */ @java.lang.Override @@ -3776,11 +4184,14 @@ public boolean hasAvg() { return operatorCase_ == 3; } /** + * + * *
        * Average aggregator.
        * 
* * .google.datastore.v1.AggregationQuery.Aggregation.Avg avg = 3; + * * @return The avg. */ @java.lang.Override @@ -3798,6 +4209,8 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Avg getAvg() { } } /** + * + * *
        * Average aggregator.
        * 
@@ -3818,6 +4231,8 @@ public Builder setAvg(com.google.datastore.v1.AggregationQuery.Aggregation.Avg v return this; } /** + * + * *
        * Average aggregator.
        * 
@@ -3836,6 +4251,8 @@ public Builder setAvg( return this; } /** + * + * *
        * Average aggregator.
        * 
@@ -3844,10 +4261,15 @@ public Builder setAvg( */ public Builder mergeAvg(com.google.datastore.v1.AggregationQuery.Aggregation.Avg value) { if (avgBuilder_ == null) { - if (operatorCase_ == 3 && - operator_ != com.google.datastore.v1.AggregationQuery.Aggregation.Avg.getDefaultInstance()) { - operator_ = com.google.datastore.v1.AggregationQuery.Aggregation.Avg.newBuilder((com.google.datastore.v1.AggregationQuery.Aggregation.Avg) operator_) - .mergeFrom(value).buildPartial(); + if (operatorCase_ == 3 + && operator_ + != com.google.datastore.v1.AggregationQuery.Aggregation.Avg + .getDefaultInstance()) { + operator_ = + com.google.datastore.v1.AggregationQuery.Aggregation.Avg.newBuilder( + (com.google.datastore.v1.AggregationQuery.Aggregation.Avg) operator_) + .mergeFrom(value) + .buildPartial(); } else { operator_ = value; } @@ -3863,6 +4285,8 @@ public Builder mergeAvg(com.google.datastore.v1.AggregationQuery.Aggregation.Avg return this; } /** + * + * *
        * Average aggregator.
        * 
@@ -3886,6 +4310,8 @@ public Builder clearAvg() { return this; } /** + * + * *
        * Average aggregator.
        * 
@@ -3896,6 +4322,8 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Avg.Builder getAvgBu return getAvgFieldBuilder().getBuilder(); } /** + * + * *
        * Average aggregator.
        * 
@@ -3914,6 +4342,8 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.AvgOrBuilder getAvgO } } /** + * + * *
        * Average aggregator.
        * 
@@ -3921,14 +4351,20 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.AvgOrBuilder getAvgO * .google.datastore.v1.AggregationQuery.Aggregation.Avg avg = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationQuery.Aggregation.Avg, com.google.datastore.v1.AggregationQuery.Aggregation.Avg.Builder, com.google.datastore.v1.AggregationQuery.Aggregation.AvgOrBuilder> + com.google.datastore.v1.AggregationQuery.Aggregation.Avg, + com.google.datastore.v1.AggregationQuery.Aggregation.Avg.Builder, + com.google.datastore.v1.AggregationQuery.Aggregation.AvgOrBuilder> getAvgFieldBuilder() { if (avgBuilder_ == null) { if (!(operatorCase_ == 3)) { - operator_ = com.google.datastore.v1.AggregationQuery.Aggregation.Avg.getDefaultInstance(); + operator_ = + com.google.datastore.v1.AggregationQuery.Aggregation.Avg.getDefaultInstance(); } - avgBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationQuery.Aggregation.Avg, com.google.datastore.v1.AggregationQuery.Aggregation.Avg.Builder, com.google.datastore.v1.AggregationQuery.Aggregation.AvgOrBuilder>( + avgBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.AggregationQuery.Aggregation.Avg, + com.google.datastore.v1.AggregationQuery.Aggregation.Avg.Builder, + com.google.datastore.v1.AggregationQuery.Aggregation.AvgOrBuilder>( (com.google.datastore.v1.AggregationQuery.Aggregation.Avg) operator_, getParentForChildren(), isClean()); @@ -3941,6 +4377,8 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.AvgOrBuilder getAvgO private java.lang.Object alias_ = ""; /** + * + * *
        * Optional. Optional name of the property to store the result of the
        * aggregation.
@@ -3980,13 +4418,13 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.AvgOrBuilder getAvgO
        * 
* * 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; @@ -3995,6 +4433,8 @@ public java.lang.String getAlias() { } } /** + * + * *
        * Optional. Optional name of the property to store the result of the
        * aggregation.
@@ -4034,15 +4474,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 { @@ -4050,6 +4489,8 @@ public java.lang.String getAlias() { } } /** + * + * *
        * Optional. Optional name of the property to store the result of the
        * aggregation.
@@ -4089,18 +4530,22 @@ public java.lang.String getAlias() {
        * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The alias to set. * @return This builder for chaining. */ - public Builder setAlias( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAlias(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } alias_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
        * Optional. Optional name of the property to store the result of the
        * aggregation.
@@ -4140,6 +4585,7 @@ public Builder setAlias(
        * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAlias() { @@ -4149,6 +4595,8 @@ public Builder clearAlias() { return this; } /** + * + * *
        * Optional. Optional name of the property to store the result of the
        * aggregation.
@@ -4188,18 +4636,21 @@ public Builder clearAlias() {
        * 
* * string alias = 7 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for alias to set. * @return This builder for chaining. */ - public Builder setAliasBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAliasBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); alias_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4212,12 +4663,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.v1.AggregationQuery.Aggregation) } // @@protoc_insertion_point(class_scope:google.datastore.v1.AggregationQuery.Aggregation) private static final com.google.datastore.v1.AggregationQuery.Aggregation DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.v1.AggregationQuery.Aggregation(); } @@ -4226,27 +4677,28 @@ public static com.google.datastore.v1.AggregationQuery.Aggregation getDefaultIns 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; @@ -4261,18 +4713,21 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.AggregationQuery.Aggregation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int queryTypeCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object queryType_; + public enum QueryTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { NESTED_QUERY(1), QUERYTYPE_NOT_SET(0); private final int value; + private QueryTypeCase(int value) { this.value = value; } @@ -4288,29 +4743,34 @@ public static QueryTypeCase valueOf(int value) { public static QueryTypeCase forNumber(int value) { switch (value) { - case 1: return NESTED_QUERY; - case 0: return QUERYTYPE_NOT_SET; - default: return null; + case 1: + return NESTED_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 NESTED_QUERY_FIELD_NUMBER = 1; /** + * + * *
    * Nested query for aggregation
    * 
* * .google.datastore.v1.Query nested_query = 1; + * * @return Whether the nestedQuery field is set. */ @java.lang.Override @@ -4318,21 +4778,26 @@ public boolean hasNestedQuery() { return queryTypeCase_ == 1; } /** + * + * *
    * Nested query for aggregation
    * 
* * .google.datastore.v1.Query nested_query = 1; + * * @return The nestedQuery. */ @java.lang.Override public com.google.datastore.v1.Query getNestedQuery() { if (queryTypeCase_ == 1) { - return (com.google.datastore.v1.Query) queryType_; + return (com.google.datastore.v1.Query) queryType_; } return com.google.datastore.v1.Query.getDefaultInstance(); } /** + * + * *
    * Nested query for aggregation
    * 
@@ -4342,15 +4807,18 @@ public com.google.datastore.v1.Query getNestedQuery() { @java.lang.Override public com.google.datastore.v1.QueryOrBuilder getNestedQueryOrBuilder() { if (queryTypeCase_ == 1) { - return (com.google.datastore.v1.Query) queryType_; + return (com.google.datastore.v1.Query) queryType_; } return com.google.datastore.v1.Query.getDefaultInstance(); } public static final int AGGREGATIONS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List aggregations_; /** + * + * *
    * Optional. Series of aggregations to apply over the results of the
    * `nested_query`.
@@ -4360,13 +4828,18 @@ public com.google.datastore.v1.QueryOrBuilder getNestedQueryOrBuilder() {
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.datastore.v1.AggregationQuery.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
    * `nested_query`.
@@ -4376,14 +4849,18 @@ public java.util.List getA
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override - public java.util.List + public java.util.List getAggregationsOrBuilderList() { return aggregations_; } /** + * + * *
    * Optional. Series of aggregations to apply over the results of the
    * `nested_query`.
@@ -4393,13 +4870,17 @@ public java.util.List getA
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.datastore.v1.AggregationQuery.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
    * `nested_query`.
@@ -4409,13 +4890,17 @@ public int getAggregationsCount() {
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.datastore.v1.AggregationQuery.Aggregation getAggregations(int index) { return aggregations_.get(index); } /** + * + * *
    * Optional. Series of aggregations to apply over the results of the
    * `nested_query`.
@@ -4425,7 +4910,9 @@ public com.google.datastore.v1.AggregationQuery.Aggregation getAggregations(int
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.datastore.v1.AggregationQuery.AggregationOrBuilder getAggregationsOrBuilder( @@ -4434,6 +4921,7 @@ public com.google.datastore.v1.AggregationQuery.AggregationOrBuilder getAggregat } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4445,8 +4933,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.datastore.v1.Query) queryType_); } @@ -4463,12 +4950,12 @@ public int getSerializedSize() { size = 0; if (queryTypeCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.datastore.v1.Query) queryType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.datastore.v1.Query) 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; @@ -4478,20 +4965,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.datastore.v1.AggregationQuery)) { return super.equals(obj); } com.google.datastore.v1.AggregationQuery other = (com.google.datastore.v1.AggregationQuery) 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 (!getNestedQuery() - .equals(other.getNestedQuery())) return false; + if (!getNestedQuery().equals(other.getNestedQuery())) return false; break; case 0: default: @@ -4524,99 +5009,104 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.AggregationQuery parseFrom( - java.nio.ByteBuffer data) + public static com.google.datastore.v1.AggregationQuery parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.AggregationQuery parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.AggregationQuery parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.AggregationQuery parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.AggregationQuery parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.AggregationQuery parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.AggregationQuery parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.AggregationQuery parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.AggregationQuery parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.AggregationQuery parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.v1.AggregationQuery parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.datastore.v1.AggregationQuery parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.AggregationQuery parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.datastore.v1.AggregationQuery prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Datastore query for running an aggregation over a
    * [Query][google.datastore.v1.Query].
@@ -4624,33 +5114,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.datastore.v1.AggregationQuery}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.datastore.v1.AggregationQuery)
       com.google.datastore.v1.AggregationQueryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.datastore.v1.QueryProto
+          .internal_static_google_datastore_v1_AggregationQuery_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_fieldAccessorTable
+      return com.google.datastore.v1.QueryProto
+          .internal_static_google_datastore_v1_AggregationQuery_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.AggregationQuery.class, com.google.datastore.v1.AggregationQuery.Builder.class);
+              com.google.datastore.v1.AggregationQuery.class,
+              com.google.datastore.v1.AggregationQuery.Builder.class);
     }
 
     // Construct using com.google.datastore.v1.AggregationQuery.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -4671,9 +5160,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_AggregationQuery_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.datastore.v1.QueryProto
+          .internal_static_google_datastore_v1_AggregationQuery_descriptor;
     }
 
     @java.lang.Override
@@ -4692,9 +5181,12 @@ public com.google.datastore.v1.AggregationQuery build() {
 
     @java.lang.Override
     public com.google.datastore.v1.AggregationQuery buildPartial() {
-      com.google.datastore.v1.AggregationQuery result = new com.google.datastore.v1.AggregationQuery(this);
+      com.google.datastore.v1.AggregationQuery result =
+          new com.google.datastore.v1.AggregationQuery(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -4719,8 +5211,7 @@ private void buildPartial0(com.google.datastore.v1.AggregationQuery result) {
     private void buildPartialOneofs(com.google.datastore.v1.AggregationQuery result) {
       result.queryTypeCase_ = queryTypeCase_;
       result.queryType_ = this.queryType_;
-      if (queryTypeCase_ == 1 &&
-          nestedQueryBuilder_ != null) {
+      if (queryTypeCase_ == 1 && nestedQueryBuilder_ != null) {
         result.queryType_ = nestedQueryBuilder_.build();
       }
     }
@@ -4729,38 +5220,39 @@ private void buildPartialOneofs(com.google.datastore.v1.AggregationQuery result)
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.AggregationQuery) {
-        return mergeFrom((com.google.datastore.v1.AggregationQuery)other);
+        return mergeFrom((com.google.datastore.v1.AggregationQuery) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -4787,22 +5279,25 @@ public Builder mergeFrom(com.google.datastore.v1.AggregationQuery other) {
             aggregationsBuilder_ = null;
             aggregations_ = other.aggregations_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            aggregationsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getAggregationsFieldBuilder() : null;
+            aggregationsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getAggregationsFieldBuilder()
+                    : null;
           } else {
             aggregationsBuilder_.addAllMessages(other.aggregations_);
           }
         }
       }
       switch (other.getQueryTypeCase()) {
-        case NESTED_QUERY: {
-          mergeNestedQuery(other.getNestedQuery());
-          break;
-        }
-        case QUERYTYPE_NOT_SET: {
-          break;
-        }
+        case NESTED_QUERY:
+          {
+            mergeNestedQuery(other.getNestedQuery());
+            break;
+          }
+        case QUERYTYPE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -4830,32 +5325,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getNestedQueryFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              queryTypeCase_ = 1;
-              break;
-            } // case 10
-            case 26: {
-              com.google.datastore.v1.AggregationQuery.Aggregation m =
-                  input.readMessage(
-                      com.google.datastore.v1.AggregationQuery.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(getNestedQueryFieldBuilder().getBuilder(), extensionRegistry);
+                queryTypeCase_ = 1;
+                break;
+              } // case 10
+            case 26:
+              {
+                com.google.datastore.v1.AggregationQuery.Aggregation m =
+                    input.readMessage(
+                        com.google.datastore.v1.AggregationQuery.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) {
@@ -4865,12 +5361,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() {
@@ -4883,13 +5379,19 @@ public Builder clearQueryType() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.v1.Query, com.google.datastore.v1.Query.Builder, com.google.datastore.v1.QueryOrBuilder> nestedQueryBuilder_;
+            com.google.datastore.v1.Query,
+            com.google.datastore.v1.Query.Builder,
+            com.google.datastore.v1.QueryOrBuilder>
+        nestedQueryBuilder_;
     /**
+     *
+     *
      * 
      * Nested query for aggregation
      * 
* * .google.datastore.v1.Query nested_query = 1; + * * @return Whether the nestedQuery field is set. */ @java.lang.Override @@ -4897,11 +5399,14 @@ public boolean hasNestedQuery() { return queryTypeCase_ == 1; } /** + * + * *
      * Nested query for aggregation
      * 
* * .google.datastore.v1.Query nested_query = 1; + * * @return The nestedQuery. */ @java.lang.Override @@ -4919,6 +5424,8 @@ public com.google.datastore.v1.Query getNestedQuery() { } } /** + * + * *
      * Nested query for aggregation
      * 
@@ -4939,14 +5446,15 @@ public Builder setNestedQuery(com.google.datastore.v1.Query value) { return this; } /** + * + * *
      * Nested query for aggregation
      * 
* * .google.datastore.v1.Query nested_query = 1; */ - public Builder setNestedQuery( - com.google.datastore.v1.Query.Builder builderForValue) { + public Builder setNestedQuery(com.google.datastore.v1.Query.Builder builderForValue) { if (nestedQueryBuilder_ == null) { queryType_ = builderForValue.build(); onChanged(); @@ -4957,6 +5465,8 @@ public Builder setNestedQuery( return this; } /** + * + * *
      * Nested query for aggregation
      * 
@@ -4965,10 +5475,12 @@ public Builder setNestedQuery( */ public Builder mergeNestedQuery(com.google.datastore.v1.Query value) { if (nestedQueryBuilder_ == null) { - if (queryTypeCase_ == 1 && - queryType_ != com.google.datastore.v1.Query.getDefaultInstance()) { - queryType_ = com.google.datastore.v1.Query.newBuilder((com.google.datastore.v1.Query) queryType_) - .mergeFrom(value).buildPartial(); + if (queryTypeCase_ == 1 + && queryType_ != com.google.datastore.v1.Query.getDefaultInstance()) { + queryType_ = + com.google.datastore.v1.Query.newBuilder((com.google.datastore.v1.Query) queryType_) + .mergeFrom(value) + .buildPartial(); } else { queryType_ = value; } @@ -4984,6 +5496,8 @@ public Builder mergeNestedQuery(com.google.datastore.v1.Query value) { return this; } /** + * + * *
      * Nested query for aggregation
      * 
@@ -5007,6 +5521,8 @@ public Builder clearNestedQuery() { return this; } /** + * + * *
      * Nested query for aggregation
      * 
@@ -5017,6 +5533,8 @@ public com.google.datastore.v1.Query.Builder getNestedQueryBuilder() { return getNestedQueryFieldBuilder().getBuilder(); } /** + * + * *
      * Nested query for aggregation
      * 
@@ -5035,6 +5553,8 @@ public com.google.datastore.v1.QueryOrBuilder getNestedQueryOrBuilder() { } } /** + * + * *
      * Nested query for aggregation
      * 
@@ -5042,17 +5562,20 @@ public com.google.datastore.v1.QueryOrBuilder getNestedQueryOrBuilder() { * .google.datastore.v1.Query nested_query = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Query, com.google.datastore.v1.Query.Builder, com.google.datastore.v1.QueryOrBuilder> + com.google.datastore.v1.Query, + com.google.datastore.v1.Query.Builder, + com.google.datastore.v1.QueryOrBuilder> getNestedQueryFieldBuilder() { if (nestedQueryBuilder_ == null) { if (!(queryTypeCase_ == 1)) { queryType_ = com.google.datastore.v1.Query.getDefaultInstance(); } - nestedQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Query, com.google.datastore.v1.Query.Builder, com.google.datastore.v1.QueryOrBuilder>( - (com.google.datastore.v1.Query) queryType_, - getParentForChildren(), - isClean()); + nestedQueryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.Query, + com.google.datastore.v1.Query.Builder, + com.google.datastore.v1.QueryOrBuilder>( + (com.google.datastore.v1.Query) queryType_, getParentForChildren(), isClean()); queryType_ = null; } queryTypeCase_ = 1; @@ -5061,18 +5584,26 @@ public com.google.datastore.v1.QueryOrBuilder getNestedQueryOrBuilder() { } private java.util.List aggregations_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAggregationsIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { - aggregations_ = new java.util.ArrayList(aggregations_); + aggregations_ = + new java.util.ArrayList( + aggregations_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.AggregationQuery.Aggregation, com.google.datastore.v1.AggregationQuery.Aggregation.Builder, com.google.datastore.v1.AggregationQuery.AggregationOrBuilder> aggregationsBuilder_; + com.google.datastore.v1.AggregationQuery.Aggregation, + com.google.datastore.v1.AggregationQuery.Aggregation.Builder, + com.google.datastore.v1.AggregationQuery.AggregationOrBuilder> + aggregationsBuilder_; /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -5082,9 +5613,12 @@ private void ensureAggregationsIsMutable() {
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.datastore.v1.AggregationQuery.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 { @@ -5092,6 +5626,8 @@ public java.util.List getA } } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -5101,7 +5637,9 @@ public java.util.List getA
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public int getAggregationsCount() { if (aggregationsBuilder_ == null) { @@ -5111,6 +5649,8 @@ public int getAggregationsCount() { } } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -5120,7 +5660,9 @@ public int getAggregationsCount() {
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.datastore.v1.AggregationQuery.Aggregation getAggregations(int index) { if (aggregationsBuilder_ == null) { @@ -5130,6 +5672,8 @@ public com.google.datastore.v1.AggregationQuery.Aggregation getAggregations(int } } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -5139,7 +5683,9 @@ public com.google.datastore.v1.AggregationQuery.Aggregation getAggregations(int
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAggregations( int index, com.google.datastore.v1.AggregationQuery.Aggregation value) { @@ -5156,6 +5702,8 @@ public Builder setAggregations( return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -5165,7 +5713,9 @@ public Builder setAggregations(
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setAggregations( int index, com.google.datastore.v1.AggregationQuery.Aggregation.Builder builderForValue) { @@ -5179,6 +5729,8 @@ public Builder setAggregations( return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -5188,7 +5740,9 @@ public Builder setAggregations(
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAggregations(com.google.datastore.v1.AggregationQuery.Aggregation value) { if (aggregationsBuilder_ == null) { @@ -5204,6 +5758,8 @@ public Builder addAggregations(com.google.datastore.v1.AggregationQuery.Aggregat return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -5213,7 +5769,9 @@ public Builder addAggregations(com.google.datastore.v1.AggregationQuery.Aggregat
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAggregations( int index, com.google.datastore.v1.AggregationQuery.Aggregation value) { @@ -5230,6 +5788,8 @@ public Builder addAggregations( return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -5239,7 +5799,9 @@ public Builder addAggregations(
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAggregations( com.google.datastore.v1.AggregationQuery.Aggregation.Builder builderForValue) { @@ -5253,6 +5815,8 @@ public Builder addAggregations( return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -5262,7 +5826,9 @@ public Builder addAggregations(
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAggregations( int index, com.google.datastore.v1.AggregationQuery.Aggregation.Builder builderForValue) { @@ -5276,6 +5842,8 @@ public Builder addAggregations( return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -5285,14 +5853,15 @@ public Builder addAggregations(
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder addAllAggregations( 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); @@ -5300,6 +5869,8 @@ public Builder addAllAggregations( return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -5309,7 +5880,9 @@ public Builder addAllAggregations(
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearAggregations() { if (aggregationsBuilder_ == null) { @@ -5322,6 +5895,8 @@ public Builder clearAggregations() { return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -5331,7 +5906,9 @@ public Builder clearAggregations() {
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder removeAggregations(int index) { if (aggregationsBuilder_ == null) { @@ -5344,6 +5921,8 @@ public Builder removeAggregations(int index) { return this; } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -5353,13 +5932,17 @@ public Builder removeAggregations(int index) {
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.datastore.v1.AggregationQuery.Aggregation.Builder getAggregationsBuilder( int index) { return getAggregationsFieldBuilder().getBuilder(index); } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -5369,16 +5952,21 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Builder getAggregati
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.datastore.v1.AggregationQuery.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
      * `nested_query`.
@@ -5388,10 +5976,12 @@ public com.google.datastore.v1.AggregationQuery.AggregationOrBuilder getAggregat
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - public java.util.List - getAggregationsOrBuilderList() { + public java.util.List + getAggregationsOrBuilderList() { if (aggregationsBuilder_ != null) { return aggregationsBuilder_.getMessageOrBuilderList(); } else { @@ -5399,6 +5989,8 @@ public com.google.datastore.v1.AggregationQuery.AggregationOrBuilder getAggregat } } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -5408,13 +6000,17 @@ public com.google.datastore.v1.AggregationQuery.AggregationOrBuilder getAggregat
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.datastore.v1.AggregationQuery.Aggregation.Builder addAggregationsBuilder() { - return getAggregationsFieldBuilder().addBuilder( - com.google.datastore.v1.AggregationQuery.Aggregation.getDefaultInstance()); + return getAggregationsFieldBuilder() + .addBuilder(com.google.datastore.v1.AggregationQuery.Aggregation.getDefaultInstance()); } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -5424,14 +6020,19 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Builder addAggregati
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.datastore.v1.AggregationQuery.Aggregation.Builder addAggregationsBuilder( int index) { - return getAggregationsFieldBuilder().addBuilder( - index, com.google.datastore.v1.AggregationQuery.Aggregation.getDefaultInstance()); + return getAggregationsFieldBuilder() + .addBuilder( + index, com.google.datastore.v1.AggregationQuery.Aggregation.getDefaultInstance()); } /** + * + * *
      * Optional. Series of aggregations to apply over the results of the
      * `nested_query`.
@@ -5441,29 +6042,34 @@ public com.google.datastore.v1.AggregationQuery.Aggregation.Builder addAggregati
      * * A minimum of one and maximum of five aggregations per query.
      * 
* - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.datastore.v1.AggregationQuery.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.datastore.v1.AggregationQuery.Aggregation, com.google.datastore.v1.AggregationQuery.Aggregation.Builder, com.google.datastore.v1.AggregationQuery.AggregationOrBuilder> + com.google.datastore.v1.AggregationQuery.Aggregation, + com.google.datastore.v1.AggregationQuery.Aggregation.Builder, + com.google.datastore.v1.AggregationQuery.AggregationOrBuilder> getAggregationsFieldBuilder() { if (aggregationsBuilder_ == null) { - aggregationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.AggregationQuery.Aggregation, com.google.datastore.v1.AggregationQuery.Aggregation.Builder, com.google.datastore.v1.AggregationQuery.AggregationOrBuilder>( - aggregations_, - ((bitField0_ & 0x00000002) != 0), - getParentForChildren(), - isClean()); + aggregationsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.datastore.v1.AggregationQuery.Aggregation, + com.google.datastore.v1.AggregationQuery.Aggregation.Builder, + com.google.datastore.v1.AggregationQuery.AggregationOrBuilder>( + aggregations_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean()); aggregations_ = null; } return aggregationsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -5473,12 +6079,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.v1.AggregationQuery) } // @@protoc_insertion_point(class_scope:google.datastore.v1.AggregationQuery) private static final com.google.datastore.v1.AggregationQuery DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.v1.AggregationQuery(); } @@ -5487,27 +6093,27 @@ public static com.google.datastore.v1.AggregationQuery getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AggregationQuery parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AggregationQuery parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5522,6 +6128,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.AggregationQuery getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationQueryOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationQueryOrBuilder.java similarity index 61% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationQueryOrBuilder.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationQueryOrBuilder.java index f2a3c89f3..bfb5e8448 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationQueryOrBuilder.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationQueryOrBuilder.java @@ -1,32 +1,56 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface AggregationQueryOrBuilder extends +public interface AggregationQueryOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.AggregationQuery) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Nested query for aggregation
    * 
* * .google.datastore.v1.Query nested_query = 1; + * * @return Whether the nestedQuery field is set. */ boolean hasNestedQuery(); /** + * + * *
    * Nested query for aggregation
    * 
* * .google.datastore.v1.Query nested_query = 1; + * * @return The nestedQuery. */ com.google.datastore.v1.Query getNestedQuery(); /** + * + * *
    * Nested query for aggregation
    * 
@@ -36,6 +60,8 @@ public interface AggregationQueryOrBuilder extends com.google.datastore.v1.QueryOrBuilder getNestedQueryOrBuilder(); /** + * + * *
    * Optional. Series of aggregations to apply over the results of the
    * `nested_query`.
@@ -45,11 +71,14 @@ public interface AggregationQueryOrBuilder extends
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - java.util.List - getAggregationsList(); + java.util.List getAggregationsList(); /** + * + * *
    * Optional. Series of aggregations to apply over the results of the
    * `nested_query`.
@@ -59,10 +88,14 @@ public interface AggregationQueryOrBuilder extends
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.datastore.v1.AggregationQuery.Aggregation getAggregations(int index); /** + * + * *
    * Optional. Series of aggregations to apply over the results of the
    * `nested_query`.
@@ -72,10 +105,14 @@ public interface AggregationQueryOrBuilder extends
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ int getAggregationsCount(); /** + * + * *
    * Optional. Series of aggregations to apply over the results of the
    * `nested_query`.
@@ -85,11 +122,15 @@ public interface AggregationQueryOrBuilder extends
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.datastore.v1.AggregationQuery.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
    * `nested_query`.
@@ -99,10 +140,11 @@ public interface AggregationQueryOrBuilder extends
    * * A minimum of one and maximum of five aggregations per query.
    * 
* - * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * + * repeated .google.datastore.v1.AggregationQuery.Aggregation aggregations = 3 [(.google.api.field_behavior) = OPTIONAL]; + * */ - com.google.datastore.v1.AggregationQuery.AggregationOrBuilder getAggregationsOrBuilder( - int index); + com.google.datastore.v1.AggregationQuery.AggregationOrBuilder getAggregationsOrBuilder(int index); com.google.datastore.v1.AggregationQuery.QueryTypeCase getQueryTypeCase(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResult.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResult.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResult.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResult.java index 4f5625a65..5a6afdcff 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResult.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResult.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/aggregation_result.proto @@ -5,6 +20,8 @@ package com.google.datastore.v1; /** + * + * *
  * The result of a single bucket from a Datastore aggregation query.
  *
@@ -15,28 +32,27 @@
  *
  * Protobuf type {@code google.datastore.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.datastore.v1.AggregationResult)
     AggregationResultOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AggregationResult.newBuilder() to construct.
   private AggregationResult(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private AggregationResult() {
-  }
+
+  private AggregationResult() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AggregationResult();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.datastore.v1.AggregationResultProto.internal_static_google_datastore_v1_AggregationResult_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.datastore.v1.AggregationResultProto
+        .internal_static_google_datastore_v1_AggregationResult_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
@@ -47,45 +63,54 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
       case 2:
         return internalGetAggregateProperties();
       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.datastore.v1.AggregationResultProto.internal_static_google_datastore_v1_AggregationResult_fieldAccessorTable
+    return com.google.datastore.v1.AggregationResultProto
+        .internal_static_google_datastore_v1_AggregationResult_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.v1.AggregationResult.class, com.google.datastore.v1.AggregationResult.Builder.class);
+            com.google.datastore.v1.AggregationResult.class,
+            com.google.datastore.v1.AggregationResult.Builder.class);
   }
 
   public static final int AGGREGATE_PROPERTIES_FIELD_NUMBER = 2;
+
   private static final class AggregatePropertiesDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, com.google.datastore.v1.Value> defaultEntry =
+    static final com.google.protobuf.MapEntry
+        defaultEntry =
             com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.datastore.v1.AggregationResultProto.internal_static_google_datastore_v1_AggregationResult_AggregatePropertiesEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                com.google.datastore.v1.Value.getDefaultInstance());
+                .newDefaultInstance(
+                    com.google.datastore.v1.AggregationResultProto
+                        .internal_static_google_datastore_v1_AggregationResult_AggregatePropertiesEntry_descriptor,
+                    com.google.protobuf.WireFormat.FieldType.STRING,
+                    "",
+                    com.google.protobuf.WireFormat.FieldType.MESSAGE,
+                    com.google.datastore.v1.Value.getDefaultInstance());
   }
+
   @SuppressWarnings("serial")
-  private com.google.protobuf.MapField<
-      java.lang.String, com.google.datastore.v1.Value> aggregateProperties_;
   private com.google.protobuf.MapField
-  internalGetAggregateProperties() {
+      aggregateProperties_;
+
+  private com.google.protobuf.MapField
+      internalGetAggregateProperties() {
     if (aggregateProperties_ == null) {
       return com.google.protobuf.MapField.emptyMapField(
           AggregatePropertiesDefaultEntryHolder.defaultEntry);
     }
     return aggregateProperties_;
   }
+
   public int getAggregatePropertiesCount() {
     return internalGetAggregateProperties().getMap().size();
   }
   /**
+   *
+   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
    *
@@ -98,20 +123,21 @@ public int getAggregatePropertiesCount() {
    * map<string, .google.datastore.v1.Value> aggregate_properties = 2;
    */
   @java.lang.Override
-  public boolean containsAggregateProperties(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsAggregateProperties(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetAggregateProperties().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getAggregatePropertiesMap()} instead.
-   */
+  /** Use {@link #getAggregatePropertiesMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getAggregateProperties() {
     return getAggregatePropertiesMap();
   }
   /**
+   *
+   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
    *
@@ -124,10 +150,13 @@ public java.util.Map getAggrega
    * map<string, .google.datastore.v1.Value> aggregate_properties = 2;
    */
   @java.lang.Override
-  public java.util.Map getAggregatePropertiesMap() {
+  public java.util.Map
+      getAggregatePropertiesMap() {
     return internalGetAggregateProperties().getMap();
   }
   /**
+   *
+   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
    *
@@ -140,17 +169,20 @@ public java.util.Map getAggrega
    * map<string, .google.datastore.v1.Value> aggregate_properties = 2;
    */
   @java.lang.Override
-  public /* nullable */
-com.google.datastore.v1.Value getAggregatePropertiesOrDefault(
+  public /* nullable */ com.google.datastore.v1.Value getAggregatePropertiesOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.datastore.v1.Value defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      com.google.datastore.v1.Value defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetAggregateProperties().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
    *
@@ -163,9 +195,10 @@ com.google.datastore.v1.Value getAggregatePropertiesOrDefault(
    * map<string, .google.datastore.v1.Value> aggregate_properties = 2;
    */
   @java.lang.Override
-  public com.google.datastore.v1.Value getAggregatePropertiesOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public com.google.datastore.v1.Value getAggregatePropertiesOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetAggregateProperties().getMap();
     if (!map.containsKey(key)) {
@@ -175,6 +208,7 @@ public com.google.datastore.v1.Value getAggregatePropertiesOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -186,10 +220,8 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
         output,
         internalGetAggregateProperties(),
         AggregatePropertiesDefaultEntryHolder.defaultEntry,
@@ -203,15 +235,16 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    for (java.util.Map.Entry entry
-         : internalGetAggregateProperties().getMap().entrySet()) {
+    for (java.util.Map.Entry entry :
+        internalGetAggregateProperties().getMap().entrySet()) {
       com.google.protobuf.MapEntry
-      aggregateProperties__ = AggregatePropertiesDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(2, aggregateProperties__);
+          aggregateProperties__ =
+              AggregatePropertiesDefaultEntryHolder.defaultEntry
+                  .newBuilderForType()
+                  .setKey(entry.getKey())
+                  .setValue(entry.getValue())
+                  .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, aggregateProperties__);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -221,15 +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.datastore.v1.AggregationResult)) {
       return super.equals(obj);
     }
-    com.google.datastore.v1.AggregationResult other = (com.google.datastore.v1.AggregationResult) obj;
+    com.google.datastore.v1.AggregationResult other =
+        (com.google.datastore.v1.AggregationResult) obj;
 
-    if (!internalGetAggregateProperties().equals(
-        other.internalGetAggregateProperties())) return false;
+    if (!internalGetAggregateProperties().equals(other.internalGetAggregateProperties()))
+      return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -250,99 +284,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.AggregationResult parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.AggregationResult parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.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.datastore.v1.AggregationResult parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.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.datastore.v1.AggregationResult parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.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.datastore.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.datastore.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.datastore.v1.AggregationResult parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.datastore.v1.AggregationResult parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.datastore.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.datastore.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.datastore.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.datastore.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 Datastore aggregation query.
    *
@@ -353,13 +392,13 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.datastore.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.datastore.v1.AggregationResult)
       com.google.datastore.v1.AggregationResultOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.datastore.v1.AggregationResultProto.internal_static_google_datastore_v1_AggregationResult_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.datastore.v1.AggregationResultProto
+          .internal_static_google_datastore_v1_AggregationResult_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
@@ -369,10 +408,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
         case 2:
           return internalGetAggregateProperties();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
     protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
         int number) {
@@ -380,28 +419,27 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi
         case 2:
           return internalGetMutableAggregateProperties();
         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.datastore.v1.AggregationResultProto.internal_static_google_datastore_v1_AggregationResult_fieldAccessorTable
+      return com.google.datastore.v1.AggregationResultProto
+          .internal_static_google_datastore_v1_AggregationResult_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.AggregationResult.class, com.google.datastore.v1.AggregationResult.Builder.class);
+              com.google.datastore.v1.AggregationResult.class,
+              com.google.datastore.v1.AggregationResult.Builder.class);
     }
 
     // Construct using com.google.datastore.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();
@@ -411,9 +449,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.datastore.v1.AggregationResultProto.internal_static_google_datastore_v1_AggregationResult_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.datastore.v1.AggregationResultProto
+          .internal_static_google_datastore_v1_AggregationResult_descriptor;
     }
 
     @java.lang.Override
@@ -432,8 +470,11 @@ public com.google.datastore.v1.AggregationResult build() {
 
     @java.lang.Override
     public com.google.datastore.v1.AggregationResult buildPartial() {
-      com.google.datastore.v1.AggregationResult result = new com.google.datastore.v1.AggregationResult(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.datastore.v1.AggregationResult result =
+          new com.google.datastore.v1.AggregationResult(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -441,7 +482,9 @@ public com.google.datastore.v1.AggregationResult buildPartial() {
     private void buildPartial0(com.google.datastore.v1.AggregationResult result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.aggregateProperties_ = internalGetAggregateProperties().build(AggregatePropertiesDefaultEntryHolder.defaultEntry);
+        result.aggregateProperties_ =
+            internalGetAggregateProperties()
+                .build(AggregatePropertiesDefaultEntryHolder.defaultEntry);
       }
     }
 
@@ -449,38 +492,39 @@ private void buildPartial0(com.google.datastore.v1.AggregationResult result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.AggregationResult) {
-        return mergeFrom((com.google.datastore.v1.AggregationResult)other);
+        return mergeFrom((com.google.datastore.v1.AggregationResult) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -489,8 +533,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
 
     public Builder mergeFrom(com.google.datastore.v1.AggregationResult other) {
       if (other == com.google.datastore.v1.AggregationResult.getDefaultInstance()) return this;
-      internalGetMutableAggregateProperties().mergeFrom(
-          other.internalGetAggregateProperties());
+      internalGetMutableAggregateProperties().mergeFrom(other.internalGetAggregateProperties());
       bitField0_ |= 0x00000001;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -518,21 +561,26 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18: {
-              com.google.protobuf.MapEntry
-              aggregateProperties__ = input.readMessage(
-                  AggregatePropertiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableAggregateProperties().ensureBuilderMap().put(
-                  aggregateProperties__.getKey(), aggregateProperties__.getValue());
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 18:
+              {
+                com.google.protobuf.MapEntry
+                    aggregateProperties__ =
+                        input.readMessage(
+                            AggregatePropertiesDefaultEntryHolder.defaultEntry.getParserForType(),
+                            extensionRegistry);
+                internalGetMutableAggregateProperties()
+                    .ensureBuilderMap()
+                    .put(aggregateProperties__.getKey(), aggregateProperties__.getValue());
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -542,44 +590,72 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private static final class AggregatePropertiesConverter implements com.google.protobuf.MapFieldBuilder.Converter {
+    private static final class AggregatePropertiesConverter
+        implements com.google.protobuf.MapFieldBuilder.Converter<
+            java.lang.String,
+            com.google.datastore.v1.ValueOrBuilder,
+            com.google.datastore.v1.Value> {
       @java.lang.Override
       public com.google.datastore.v1.Value build(com.google.datastore.v1.ValueOrBuilder val) {
-        if (val instanceof com.google.datastore.v1.Value) { return (com.google.datastore.v1.Value) val; }
+        if (val instanceof com.google.datastore.v1.Value) {
+          return (com.google.datastore.v1.Value) val;
+        }
         return ((com.google.datastore.v1.Value.Builder) val).build();
       }
 
       @java.lang.Override
-      public com.google.protobuf.MapEntry defaultEntry() {
+      public com.google.protobuf.MapEntry
+          defaultEntry() {
         return AggregatePropertiesDefaultEntryHolder.defaultEntry;
       }
     };
-    private static final AggregatePropertiesConverter aggregatePropertiesConverter = new AggregatePropertiesConverter();
+
+    private static final AggregatePropertiesConverter aggregatePropertiesConverter =
+        new AggregatePropertiesConverter();
+
+    private com.google.protobuf.MapFieldBuilder<
+            java.lang.String,
+            com.google.datastore.v1.ValueOrBuilder,
+            com.google.datastore.v1.Value,
+            com.google.datastore.v1.Value.Builder>
+        aggregateProperties_;
 
     private com.google.protobuf.MapFieldBuilder<
-        java.lang.String, com.google.datastore.v1.ValueOrBuilder, com.google.datastore.v1.Value, com.google.datastore.v1.Value.Builder> aggregateProperties_;
-    private com.google.protobuf.MapFieldBuilder
+            java.lang.String,
+            com.google.datastore.v1.ValueOrBuilder,
+            com.google.datastore.v1.Value,
+            com.google.datastore.v1.Value.Builder>
         internalGetAggregateProperties() {
       if (aggregateProperties_ == null) {
         return new com.google.protobuf.MapFieldBuilder<>(aggregatePropertiesConverter);
       }
       return aggregateProperties_;
     }
-    private com.google.protobuf.MapFieldBuilder
+
+    private com.google.protobuf.MapFieldBuilder<
+            java.lang.String,
+            com.google.datastore.v1.ValueOrBuilder,
+            com.google.datastore.v1.Value,
+            com.google.datastore.v1.Value.Builder>
         internalGetMutableAggregateProperties() {
       if (aggregateProperties_ == null) {
-        aggregateProperties_ = new com.google.protobuf.MapFieldBuilder<>(aggregatePropertiesConverter);
+        aggregateProperties_ =
+            new com.google.protobuf.MapFieldBuilder<>(aggregatePropertiesConverter);
       }
       bitField0_ |= 0x00000001;
       onChanged();
       return aggregateProperties_;
     }
+
     public int getAggregatePropertiesCount() {
       return internalGetAggregateProperties().ensureBuilderMap().size();
     }
     /**
+     *
+     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
      *
@@ -592,20 +668,21 @@ public int getAggregatePropertiesCount() {
      * map<string, .google.datastore.v1.Value> aggregate_properties = 2;
      */
     @java.lang.Override
-    public boolean containsAggregateProperties(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsAggregateProperties(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetAggregateProperties().ensureBuilderMap().containsKey(key);
     }
-    /**
-     * Use {@link #getAggregatePropertiesMap()} instead.
-     */
+    /** Use {@link #getAggregatePropertiesMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getAggregateProperties() {
       return getAggregatePropertiesMap();
     }
     /**
+     *
+     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
      *
@@ -618,10 +695,13 @@ public java.util.Map getAggrega
      * map<string, .google.datastore.v1.Value> aggregate_properties = 2;
      */
     @java.lang.Override
-    public java.util.Map getAggregatePropertiesMap() {
+    public java.util.Map
+        getAggregatePropertiesMap() {
       return internalGetAggregateProperties().getImmutableMap();
     }
     /**
+     *
+     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
      *
@@ -634,16 +714,20 @@ public java.util.Map getAggrega
      * map<string, .google.datastore.v1.Value> aggregate_properties = 2;
      */
     @java.lang.Override
-    public /* nullable */
-com.google.datastore.v1.Value getAggregatePropertiesOrDefault(
+    public /* nullable */ com.google.datastore.v1.Value getAggregatePropertiesOrDefault(
         java.lang.String key,
         /* nullable */
-com.google.datastore.v1.Value defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map = internalGetMutableAggregateProperties().ensureBuilderMap();
+        com.google.datastore.v1.Value defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map =
+          internalGetMutableAggregateProperties().ensureBuilderMap();
       return map.containsKey(key) ? aggregatePropertiesConverter.build(map.get(key)) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
      *
@@ -656,21 +740,26 @@ com.google.datastore.v1.Value getAggregatePropertiesOrDefault(
      * map<string, .google.datastore.v1.Value> aggregate_properties = 2;
      */
     @java.lang.Override
-    public com.google.datastore.v1.Value getAggregatePropertiesOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map = internalGetMutableAggregateProperties().ensureBuilderMap();
+    public com.google.datastore.v1.Value getAggregatePropertiesOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map =
+          internalGetMutableAggregateProperties().ensureBuilderMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return aggregatePropertiesConverter.build(map.get(key));
     }
+
     public Builder clearAggregateProperties() {
       bitField0_ = (bitField0_ & ~0x00000001);
       internalGetMutableAggregateProperties().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
      *
@@ -682,16 +771,14 @@ public Builder clearAggregateProperties() {
      *
      * map<string, .google.datastore.v1.Value> aggregate_properties = 2;
      */
-    public Builder removeAggregateProperties(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableAggregateProperties().ensureBuilderMap()
-          .remove(key);
+    public Builder removeAggregateProperties(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableAggregateProperties().ensureBuilderMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
     public java.util.Map
         getMutableAggregateProperties() {
@@ -699,6 +786,8 @@ public Builder removeAggregateProperties(
       return internalGetMutableAggregateProperties().ensureMessageMap();
     }
     /**
+     *
+     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
      *
@@ -711,16 +800,20 @@ public Builder removeAggregateProperties(
      * map<string, .google.datastore.v1.Value> aggregate_properties = 2;
      */
     public Builder putAggregateProperties(
-        java.lang.String key,
-        com.google.datastore.v1.Value value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableAggregateProperties().ensureBuilderMap()
-          .put(key, value);
+        java.lang.String key, com.google.datastore.v1.Value value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableAggregateProperties().ensureBuilderMap().put(key, value);
       bitField0_ |= 0x00000001;
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
      *
@@ -734,17 +827,19 @@ public Builder putAggregateProperties(
      */
     public Builder putAllAggregateProperties(
         java.util.Map values) {
-      for (java.util.Map.Entry e : values.entrySet()) {
+      for (java.util.Map.Entry e :
+          values.entrySet()) {
         if (e.getKey() == null || e.getValue() == null) {
           throw new NullPointerException();
         }
       }
-      internalGetMutableAggregateProperties().ensureBuilderMap()
-          .putAll(values);
+      internalGetMutableAggregateProperties().ensureBuilderMap().putAll(values);
       bitField0_ |= 0x00000001;
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
      *
@@ -758,7 +853,8 @@ public Builder putAllAggregateProperties(
      */
     public com.google.datastore.v1.Value.Builder putAggregatePropertiesBuilderIfAbsent(
         java.lang.String key) {
-      java.util.Map builderMap = internalGetMutableAggregateProperties().ensureBuilderMap();
+      java.util.Map builderMap =
+          internalGetMutableAggregateProperties().ensureBuilderMap();
       com.google.datastore.v1.ValueOrBuilder entry = builderMap.get(key);
       if (entry == null) {
         entry = com.google.datastore.v1.Value.newBuilder();
@@ -770,9 +866,9 @@ public com.google.datastore.v1.Value.Builder putAggregatePropertiesBuilderIfAbse
       }
       return (com.google.datastore.v1.Value.Builder) entry;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -782,12 +878,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.AggregationResult)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.AggregationResult)
   private static final com.google.datastore.v1.AggregationResult DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.AggregationResult();
   }
@@ -796,27 +892,27 @@ public static com.google.datastore.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;
@@ -831,6 +927,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.AggregationResult getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultBatch.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultBatch.java
similarity index 76%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultBatch.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultBatch.java
index 79efacfe3..040d282df 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultBatch.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultBatch.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/aggregation_result.proto
 
@@ -5,21 +20,24 @@
 package com.google.datastore.v1;
 
 /**
+ *
+ *
  * 
  * A batch of aggregation results produced by an aggregation query.
  * 
* * Protobuf type {@code google.datastore.v1.AggregationResultBatch} */ -public final class AggregationResultBatch extends - com.google.protobuf.GeneratedMessageV3 implements +public final class AggregationResultBatch extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.datastore.v1.AggregationResultBatch) AggregationResultBatchOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use AggregationResultBatch.newBuilder() to construct. private AggregationResultBatch(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private AggregationResultBatch() { aggregationResults_ = java.util.Collections.emptyList(); moreResults_ = 0; @@ -27,29 +45,33 @@ private AggregationResultBatch() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new AggregationResultBatch(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.AggregationResultProto.internal_static_google_datastore_v1_AggregationResultBatch_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.AggregationResultProto + .internal_static_google_datastore_v1_AggregationResultBatch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.AggregationResultProto.internal_static_google_datastore_v1_AggregationResultBatch_fieldAccessorTable + return com.google.datastore.v1.AggregationResultProto + .internal_static_google_datastore_v1_AggregationResultBatch_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.AggregationResultBatch.class, com.google.datastore.v1.AggregationResultBatch.Builder.class); + com.google.datastore.v1.AggregationResultBatch.class, + com.google.datastore.v1.AggregationResultBatch.Builder.class); } private int bitField0_; public static final int AGGREGATION_RESULTS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List aggregationResults_; /** + * + * *
    * The aggregation results for this batch.
    * 
@@ -61,6 +83,8 @@ public java.util.List getAggregationR return aggregationResults_; } /** + * + * *
    * The aggregation results for this batch.
    * 
@@ -68,11 +92,13 @@ public java.util.List getAggregationR * repeated .google.datastore.v1.AggregationResult aggregation_results = 1; */ @java.lang.Override - public java.util.List + public java.util.List getAggregationResultsOrBuilderList() { return aggregationResults_; } /** + * + * *
    * The aggregation results for this batch.
    * 
@@ -84,6 +110,8 @@ public int getAggregationResultsCount() { return aggregationResults_.size(); } /** + * + * *
    * The aggregation results for this batch.
    * 
@@ -95,6 +123,8 @@ public com.google.datastore.v1.AggregationResult getAggregationResults(int index return aggregationResults_.get(index); } /** + * + * *
    * The aggregation results for this batch.
    * 
@@ -110,6 +140,8 @@ public com.google.datastore.v1.AggregationResultOrBuilder getAggregationResultsO public static final int MORE_RESULTS_FIELD_NUMBER = 2; private int moreResults_ = 0; /** + * + * *
    * The state of the query after the current batch.
    * Only COUNT(*) aggregations are supported in the initial launch. Therefore,
@@ -117,12 +149,16 @@ public com.google.datastore.v1.AggregationResultOrBuilder getAggregationResultsO
    * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 2; + * * @return The enum numeric value on the wire for moreResults. */ - @java.lang.Override public int getMoreResultsValue() { + @java.lang.Override + public int getMoreResultsValue() { return moreResults_; } /** + * + * *
    * The state of the query after the current batch.
    * Only COUNT(*) aggregations are supported in the initial launch. Therefore,
@@ -130,16 +166,23 @@ public com.google.datastore.v1.AggregationResultOrBuilder getAggregationResultsO
    * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 2; + * * @return The moreResults. */ - @java.lang.Override public com.google.datastore.v1.QueryResultBatch.MoreResultsType getMoreResults() { - com.google.datastore.v1.QueryResultBatch.MoreResultsType result = com.google.datastore.v1.QueryResultBatch.MoreResultsType.forNumber(moreResults_); - return result == null ? com.google.datastore.v1.QueryResultBatch.MoreResultsType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.datastore.v1.QueryResultBatch.MoreResultsType getMoreResults() { + com.google.datastore.v1.QueryResultBatch.MoreResultsType result = + com.google.datastore.v1.QueryResultBatch.MoreResultsType.forNumber(moreResults_); + return result == null + ? com.google.datastore.v1.QueryResultBatch.MoreResultsType.UNRECOGNIZED + : result; } public static final int READ_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp readTime_; /** + * + * *
    * Read timestamp this batch was returned from.
    *
@@ -149,6 +192,7 @@ public com.google.datastore.v1.AggregationResultOrBuilder getAggregationResultsO
    * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -156,6 +200,8 @@ public boolean hasReadTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Read timestamp this batch was returned from.
    *
@@ -165,6 +211,7 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return The readTime. */ @java.lang.Override @@ -172,6 +219,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * Read timestamp this batch was returned from.
    *
@@ -188,6 +237,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -199,12 +249,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 {
     for (int i = 0; i < aggregationResults_.size(); i++) {
       output.writeMessage(1, aggregationResults_.get(i));
     }
-    if (moreResults_ != com.google.datastore.v1.QueryResultBatch.MoreResultsType.MORE_RESULTS_TYPE_UNSPECIFIED.getNumber()) {
+    if (moreResults_
+        != com.google.datastore.v1.QueryResultBatch.MoreResultsType.MORE_RESULTS_TYPE_UNSPECIFIED
+            .getNumber()) {
       output.writeEnum(2, moreResults_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
@@ -220,16 +271,16 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < aggregationResults_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, aggregationResults_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(1, aggregationResults_.get(i));
     }
-    if (moreResults_ != com.google.datastore.v1.QueryResultBatch.MoreResultsType.MORE_RESULTS_TYPE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(2, moreResults_);
+    if (moreResults_
+        != com.google.datastore.v1.QueryResultBatch.MoreResultsType.MORE_RESULTS_TYPE_UNSPECIFIED
+            .getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, moreResults_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getReadTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getReadTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -239,20 +290,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.datastore.v1.AggregationResultBatch)) {
       return super.equals(obj);
     }
-    com.google.datastore.v1.AggregationResultBatch other = (com.google.datastore.v1.AggregationResultBatch) obj;
+    com.google.datastore.v1.AggregationResultBatch other =
+        (com.google.datastore.v1.AggregationResultBatch) obj;
 
-    if (!getAggregationResultsList()
-        .equals(other.getAggregationResultsList())) return false;
+    if (!getAggregationResultsList().equals(other.getAggregationResultsList())) return false;
     if (moreResults_ != other.moreResults_) return false;
     if (hasReadTime() != other.hasReadTime()) return false;
     if (hasReadTime()) {
-      if (!getReadTime()
-          .equals(other.getReadTime())) return false;
+      if (!getReadTime().equals(other.getReadTime())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -280,120 +330,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.AggregationResultBatch parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.AggregationResultBatch parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.AggregationResultBatch parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.AggregationResultBatch parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.AggregationResultBatch parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.AggregationResultBatch parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.AggregationResultBatch parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.AggregationResultBatch parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.datastore.v1.AggregationResultBatch parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.datastore.v1.AggregationResultBatch parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.datastore.v1.AggregationResultBatch parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.datastore.v1.AggregationResultBatch parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.datastore.v1.AggregationResultBatch parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.datastore.v1.AggregationResultBatch parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.datastore.v1.AggregationResultBatch prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 batch of aggregation results produced by an aggregation query.
    * 
* * Protobuf type {@code google.datastore.v1.AggregationResultBatch} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.AggregationResultBatch) com.google.datastore.v1.AggregationResultBatchOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.AggregationResultProto.internal_static_google_datastore_v1_AggregationResultBatch_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.AggregationResultProto + .internal_static_google_datastore_v1_AggregationResultBatch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.AggregationResultProto.internal_static_google_datastore_v1_AggregationResultBatch_fieldAccessorTable + return com.google.datastore.v1.AggregationResultProto + .internal_static_google_datastore_v1_AggregationResultBatch_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.AggregationResultBatch.class, com.google.datastore.v1.AggregationResultBatch.Builder.class); + com.google.datastore.v1.AggregationResultBatch.class, + com.google.datastore.v1.AggregationResultBatch.Builder.class); } // Construct using com.google.datastore.v1.AggregationResultBatch.newBuilder() @@ -401,18 +458,18 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getAggregationResultsFieldBuilder(); getReadTimeFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -434,9 +491,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.v1.AggregationResultProto.internal_static_google_datastore_v1_AggregationResultBatch_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.v1.AggregationResultProto + .internal_static_google_datastore_v1_AggregationResultBatch_descriptor; } @java.lang.Override @@ -455,9 +512,12 @@ public com.google.datastore.v1.AggregationResultBatch build() { @java.lang.Override public com.google.datastore.v1.AggregationResultBatch buildPartial() { - com.google.datastore.v1.AggregationResultBatch result = new com.google.datastore.v1.AggregationResultBatch(this); + com.google.datastore.v1.AggregationResultBatch result = + new com.google.datastore.v1.AggregationResultBatch(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -481,9 +541,7 @@ private void buildPartial0(com.google.datastore.v1.AggregationResultBatch result } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.readTime_ = readTimeBuilder_ == null - ? readTime_ - : readTimeBuilder_.build(); + result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -493,38 +551,39 @@ private void buildPartial0(com.google.datastore.v1.AggregationResultBatch result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.AggregationResultBatch) { - return mergeFrom((com.google.datastore.v1.AggregationResultBatch)other); + return mergeFrom((com.google.datastore.v1.AggregationResultBatch) other); } else { super.mergeFrom(other); return this; @@ -551,9 +610,10 @@ public Builder mergeFrom(com.google.datastore.v1.AggregationResultBatch other) { aggregationResultsBuilder_ = null; aggregationResults_ = other.aggregationResults_; bitField0_ = (bitField0_ & ~0x00000001); - aggregationResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getAggregationResultsFieldBuilder() : null; + aggregationResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getAggregationResultsFieldBuilder() + : null; } else { aggregationResultsBuilder_.addAllMessages(other.aggregationResults_); } @@ -591,37 +651,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.datastore.v1.AggregationResult m = - input.readMessage( - com.google.datastore.v1.AggregationResult.parser(), - extensionRegistry); - if (aggregationResultsBuilder_ == null) { - ensureAggregationResultsIsMutable(); - aggregationResults_.add(m); - } else { - aggregationResultsBuilder_.addMessage(m); - } - break; - } // case 10 - case 16: { - moreResults_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - input.readMessage( - getReadTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.datastore.v1.AggregationResult m = + input.readMessage( + com.google.datastore.v1.AggregationResult.parser(), extensionRegistry); + if (aggregationResultsBuilder_ == null) { + ensureAggregationResultsIsMutable(); + aggregationResults_.add(m); + } else { + aggregationResultsBuilder_.addMessage(m); + } + break; + } // case 10 + case 16: + { + moreResults_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -631,21 +692,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List aggregationResults_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureAggregationResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - aggregationResults_ = new java.util.ArrayList(aggregationResults_); + aggregationResults_ = + new java.util.ArrayList(aggregationResults_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.AggregationResult, com.google.datastore.v1.AggregationResult.Builder, com.google.datastore.v1.AggregationResultOrBuilder> aggregationResultsBuilder_; + com.google.datastore.v1.AggregationResult, + com.google.datastore.v1.AggregationResult.Builder, + com.google.datastore.v1.AggregationResultOrBuilder> + aggregationResultsBuilder_; /** + * + * *
      * The aggregation results for this batch.
      * 
@@ -660,6 +729,8 @@ public java.util.List getAggregationR } } /** + * + * *
      * The aggregation results for this batch.
      * 
@@ -674,6 +745,8 @@ public int getAggregationResultsCount() { } } /** + * + * *
      * The aggregation results for this batch.
      * 
@@ -688,6 +761,8 @@ public com.google.datastore.v1.AggregationResult getAggregationResults(int index } } /** + * + * *
      * The aggregation results for this batch.
      * 
@@ -709,6 +784,8 @@ public Builder setAggregationResults( return this; } /** + * + * *
      * The aggregation results for this batch.
      * 
@@ -727,6 +804,8 @@ public Builder setAggregationResults( return this; } /** + * + * *
      * The aggregation results for this batch.
      * 
@@ -747,6 +826,8 @@ public Builder addAggregationResults(com.google.datastore.v1.AggregationResult v return this; } /** + * + * *
      * The aggregation results for this batch.
      * 
@@ -768,6 +849,8 @@ public Builder addAggregationResults( return this; } /** + * + * *
      * The aggregation results for this batch.
      * 
@@ -786,6 +869,8 @@ public Builder addAggregationResults( return this; } /** + * + * *
      * The aggregation results for this batch.
      * 
@@ -804,6 +889,8 @@ public Builder addAggregationResults( return this; } /** + * + * *
      * The aggregation results for this batch.
      * 
@@ -814,8 +901,7 @@ public Builder addAllAggregationResults( java.lang.Iterable values) { if (aggregationResultsBuilder_ == null) { ensureAggregationResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, aggregationResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, aggregationResults_); onChanged(); } else { aggregationResultsBuilder_.addAllMessages(values); @@ -823,6 +909,8 @@ public Builder addAllAggregationResults( return this; } /** + * + * *
      * The aggregation results for this batch.
      * 
@@ -840,6 +928,8 @@ public Builder clearAggregationResults() { return this; } /** + * + * *
      * The aggregation results for this batch.
      * 
@@ -857,6 +947,8 @@ public Builder removeAggregationResults(int index) { return this; } /** + * + * *
      * The aggregation results for this batch.
      * 
@@ -868,6 +960,8 @@ public com.google.datastore.v1.AggregationResult.Builder getAggregationResultsBu return getAggregationResultsFieldBuilder().getBuilder(index); } /** + * + * *
      * The aggregation results for this batch.
      * 
@@ -877,19 +971,22 @@ public com.google.datastore.v1.AggregationResult.Builder getAggregationResultsBu public com.google.datastore.v1.AggregationResultOrBuilder getAggregationResultsOrBuilder( int index) { if (aggregationResultsBuilder_ == null) { - return aggregationResults_.get(index); } else { + return aggregationResults_.get(index); + } else { return aggregationResultsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The aggregation results for this batch.
      * 
* * repeated .google.datastore.v1.AggregationResult aggregation_results = 1; */ - public java.util.List - getAggregationResultsOrBuilderList() { + public java.util.List + getAggregationResultsOrBuilderList() { if (aggregationResultsBuilder_ != null) { return aggregationResultsBuilder_.getMessageOrBuilderList(); } else { @@ -897,6 +994,8 @@ public com.google.datastore.v1.AggregationResultOrBuilder getAggregationResultsO } } /** + * + * *
      * The aggregation results for this batch.
      * 
@@ -904,10 +1003,12 @@ public com.google.datastore.v1.AggregationResultOrBuilder getAggregationResultsO * repeated .google.datastore.v1.AggregationResult aggregation_results = 1; */ public com.google.datastore.v1.AggregationResult.Builder addAggregationResultsBuilder() { - return getAggregationResultsFieldBuilder().addBuilder( - com.google.datastore.v1.AggregationResult.getDefaultInstance()); + return getAggregationResultsFieldBuilder() + .addBuilder(com.google.datastore.v1.AggregationResult.getDefaultInstance()); } /** + * + * *
      * The aggregation results for this batch.
      * 
@@ -916,26 +1017,34 @@ public com.google.datastore.v1.AggregationResult.Builder addAggregationResultsBu */ public com.google.datastore.v1.AggregationResult.Builder addAggregationResultsBuilder( int index) { - return getAggregationResultsFieldBuilder().addBuilder( - index, com.google.datastore.v1.AggregationResult.getDefaultInstance()); + return getAggregationResultsFieldBuilder() + .addBuilder(index, com.google.datastore.v1.AggregationResult.getDefaultInstance()); } /** + * + * *
      * The aggregation results for this batch.
      * 
* * repeated .google.datastore.v1.AggregationResult aggregation_results = 1; */ - public java.util.List - getAggregationResultsBuilderList() { + public java.util.List + getAggregationResultsBuilderList() { return getAggregationResultsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.AggregationResult, com.google.datastore.v1.AggregationResult.Builder, com.google.datastore.v1.AggregationResultOrBuilder> + com.google.datastore.v1.AggregationResult, + com.google.datastore.v1.AggregationResult.Builder, + com.google.datastore.v1.AggregationResultOrBuilder> getAggregationResultsFieldBuilder() { if (aggregationResultsBuilder_ == null) { - aggregationResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.AggregationResult, com.google.datastore.v1.AggregationResult.Builder, com.google.datastore.v1.AggregationResultOrBuilder>( + aggregationResultsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.datastore.v1.AggregationResult, + com.google.datastore.v1.AggregationResult.Builder, + com.google.datastore.v1.AggregationResultOrBuilder>( aggregationResults_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -947,6 +1056,8 @@ public com.google.datastore.v1.AggregationResult.Builder addAggregationResultsBu private int moreResults_ = 0; /** + * + * *
      * The state of the query after the current batch.
      * Only COUNT(*) aggregations are supported in the initial launch. Therefore,
@@ -954,12 +1065,16 @@ public com.google.datastore.v1.AggregationResult.Builder addAggregationResultsBu
      * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 2; + * * @return The enum numeric value on the wire for moreResults. */ - @java.lang.Override public int getMoreResultsValue() { + @java.lang.Override + public int getMoreResultsValue() { return moreResults_; } /** + * + * *
      * The state of the query after the current batch.
      * Only COUNT(*) aggregations are supported in the initial launch. Therefore,
@@ -967,6 +1082,7 @@ public com.google.datastore.v1.AggregationResult.Builder addAggregationResultsBu
      * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 2; + * * @param value The enum numeric value on the wire for moreResults to set. * @return This builder for chaining. */ @@ -977,6 +1093,8 @@ public Builder setMoreResultsValue(int value) { return this; } /** + * + * *
      * The state of the query after the current batch.
      * Only COUNT(*) aggregations are supported in the initial launch. Therefore,
@@ -984,14 +1102,20 @@ public Builder setMoreResultsValue(int value) {
      * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 2; + * * @return The moreResults. */ @java.lang.Override public com.google.datastore.v1.QueryResultBatch.MoreResultsType getMoreResults() { - com.google.datastore.v1.QueryResultBatch.MoreResultsType result = com.google.datastore.v1.QueryResultBatch.MoreResultsType.forNumber(moreResults_); - return result == null ? com.google.datastore.v1.QueryResultBatch.MoreResultsType.UNRECOGNIZED : result; + com.google.datastore.v1.QueryResultBatch.MoreResultsType result = + com.google.datastore.v1.QueryResultBatch.MoreResultsType.forNumber(moreResults_); + return result == null + ? com.google.datastore.v1.QueryResultBatch.MoreResultsType.UNRECOGNIZED + : result; } /** + * + * *
      * The state of the query after the current batch.
      * Only COUNT(*) aggregations are supported in the initial launch. Therefore,
@@ -999,6 +1123,7 @@ public com.google.datastore.v1.QueryResultBatch.MoreResultsType getMoreResults()
      * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 2; + * * @param value The moreResults to set. * @return This builder for chaining. */ @@ -1012,6 +1137,8 @@ public Builder setMoreResults(com.google.datastore.v1.QueryResultBatch.MoreResul return this; } /** + * + * *
      * The state of the query after the current batch.
      * Only COUNT(*) aggregations are supported in the initial launch. Therefore,
@@ -1019,6 +1146,7 @@ public Builder setMoreResults(com.google.datastore.v1.QueryResultBatch.MoreResul
      * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 2; + * * @return This builder for chaining. */ public Builder clearMoreResults() { @@ -1030,8 +1158,13 @@ public Builder clearMoreResults() { 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_; /** + * + * *
      * Read timestamp this batch was returned from.
      *
@@ -1041,12 +1174,15 @@ public Builder clearMoreResults() {
      * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Read timestamp this batch was returned from.
      *
@@ -1056,6 +1192,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1066,6 +1203,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Read timestamp this batch was returned from.
      *
@@ -1090,6 +1229,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Read timestamp this batch was returned from.
      *
@@ -1100,8 +1241,7 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 3;
      */
-    public Builder setReadTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         readTime_ = builderForValue.build();
       } else {
@@ -1112,6 +1252,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Read timestamp this batch was returned from.
      *
@@ -1124,9 +1266,9 @@ public Builder setReadTime(
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          readTime_ != null &&
-          readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && readTime_ != null
+            && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getReadTimeBuilder().mergeFrom(value);
         } else {
           readTime_ = value;
@@ -1141,6 +1283,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Read timestamp this batch was returned from.
      *
@@ -1162,6 +1306,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Read timestamp this batch was returned from.
      *
@@ -1178,6 +1324,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Read timestamp this batch was returned from.
      *
@@ -1192,11 +1340,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_;
       }
     }
     /**
+     *
+     *
      * 
      * Read timestamp this batch was returned from.
      *
@@ -1208,21 +1357,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);
     }
 
@@ -1232,12 +1384,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.AggregationResultBatch)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.AggregationResultBatch)
   private static final com.google.datastore.v1.AggregationResultBatch DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.AggregationResultBatch();
   }
@@ -1246,27 +1398,27 @@ public static com.google.datastore.v1.AggregationResultBatch getDefaultInstance(
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public AggregationResultBatch parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public AggregationResultBatch parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1281,6 +1433,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.AggregationResultBatch getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultBatchOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultBatchOrBuilder.java
similarity index 79%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultBatchOrBuilder.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultBatchOrBuilder.java
index a098e9fe9..5c1fb1daa 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultBatchOrBuilder.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultBatchOrBuilder.java
@@ -1,23 +1,42 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/aggregation_result.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface AggregationResultBatchOrBuilder extends
+public interface AggregationResultBatchOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.AggregationResultBatch)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The aggregation results for this batch.
    * 
* * repeated .google.datastore.v1.AggregationResult aggregation_results = 1; */ - java.util.List - getAggregationResultsList(); + java.util.List getAggregationResultsList(); /** + * + * *
    * The aggregation results for this batch.
    * 
@@ -26,6 +45,8 @@ public interface AggregationResultBatchOrBuilder extends */ com.google.datastore.v1.AggregationResult getAggregationResults(int index); /** + * + * *
    * The aggregation results for this batch.
    * 
@@ -34,25 +55,30 @@ public interface AggregationResultBatchOrBuilder extends */ int getAggregationResultsCount(); /** + * + * *
    * The aggregation results for this batch.
    * 
* * repeated .google.datastore.v1.AggregationResult aggregation_results = 1; */ - java.util.List + java.util.List getAggregationResultsOrBuilderList(); /** + * + * *
    * The aggregation results for this batch.
    * 
* * repeated .google.datastore.v1.AggregationResult aggregation_results = 1; */ - com.google.datastore.v1.AggregationResultOrBuilder getAggregationResultsOrBuilder( - int index); + com.google.datastore.v1.AggregationResultOrBuilder getAggregationResultsOrBuilder(int index); /** + * + * *
    * The state of the query after the current batch.
    * Only COUNT(*) aggregations are supported in the initial launch. Therefore,
@@ -60,10 +86,13 @@ com.google.datastore.v1.AggregationResultOrBuilder getAggregationResultsOrBuilde
    * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 2; + * * @return The enum numeric value on the wire for moreResults. */ int getMoreResultsValue(); /** + * + * *
    * The state of the query after the current batch.
    * Only COUNT(*) aggregations are supported in the initial launch. Therefore,
@@ -71,11 +100,14 @@ com.google.datastore.v1.AggregationResultOrBuilder getAggregationResultsOrBuilde
    * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 2; + * * @return The moreResults. */ com.google.datastore.v1.QueryResultBatch.MoreResultsType getMoreResults(); /** + * + * *
    * Read timestamp this batch was returned from.
    *
@@ -85,10 +117,13 @@ com.google.datastore.v1.AggregationResultOrBuilder getAggregationResultsOrBuilde
    * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * Read timestamp this batch was returned from.
    *
@@ -98,10 +133,13 @@ com.google.datastore.v1.AggregationResultOrBuilder getAggregationResultsOrBuilde
    * 
* * .google.protobuf.Timestamp read_time = 3; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * Read timestamp this batch was returned from.
    *
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultOrBuilder.java
similarity index 72%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultOrBuilder.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultOrBuilder.java
index 3a489e23a..4bcde0f95 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultOrBuilder.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultOrBuilder.java
@@ -1,14 +1,32 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/aggregation_result.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface AggregationResultOrBuilder extends
+public interface AggregationResultOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.AggregationResult)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
    *
@@ -22,6 +40,8 @@ public interface AggregationResultOrBuilder extends
    */
   int getAggregatePropertiesCount();
   /**
+   *
+   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
    *
@@ -33,15 +53,13 @@ public interface AggregationResultOrBuilder extends
    *
    * map<string, .google.datastore.v1.Value> aggregate_properties = 2;
    */
-  boolean containsAggregateProperties(
-      java.lang.String key);
-  /**
-   * Use {@link #getAggregatePropertiesMap()} instead.
-   */
+  boolean containsAggregateProperties(java.lang.String key);
+  /** Use {@link #getAggregatePropertiesMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getAggregateProperties();
+  java.util.Map getAggregateProperties();
   /**
+   *
+   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
    *
@@ -53,9 +71,10 @@ boolean containsAggregateProperties(
    *
    * map<string, .google.datastore.v1.Value> aggregate_properties = 2;
    */
-  java.util.Map
-  getAggregatePropertiesMap();
+  java.util.Map getAggregatePropertiesMap();
   /**
+   *
+   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
    *
@@ -68,11 +87,13 @@ boolean containsAggregateProperties(
    * map<string, .google.datastore.v1.Value> aggregate_properties = 2;
    */
   /* nullable */
-com.google.datastore.v1.Value getAggregatePropertiesOrDefault(
+  com.google.datastore.v1.Value getAggregatePropertiesOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.datastore.v1.Value defaultValue);
+      com.google.datastore.v1.Value defaultValue);
   /**
+   *
+   *
    * 
    * The result of the aggregation functions, ex: `COUNT(*) AS total_entities`.
    *
@@ -84,6 +105,5 @@ com.google.datastore.v1.Value getAggregatePropertiesOrDefault(
    *
    * map<string, .google.datastore.v1.Value> aggregate_properties = 2;
    */
-  com.google.datastore.v1.Value getAggregatePropertiesOrThrow(
-      java.lang.String key);
+  com.google.datastore.v1.Value getAggregatePropertiesOrThrow(java.lang.String key);
 }
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultProto.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultProto.java
new file mode 100644
index 000000000..a924705f1
--- /dev/null
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AggregationResultProto.java
@@ -0,0 +1,112 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/datastore/v1/aggregation_result.proto
+
+// Protobuf Java Version: 3.25.3
+package com.google.datastore.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_datastore_v1_AggregationResult_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_AggregationResult_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_AggregationResult_AggregatePropertiesEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_AggregationResult_AggregatePropertiesEntry_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_AggregationResultBatch_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_AggregationResultBatch_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/datastore/v1/aggregation_result"
+          + ".proto\022\023google.datastore.v1\032 google/data"
+          + "store/v1/entity.proto\032\037google/datastore/"
+          + "v1/query.proto\032\037google/protobuf/timestam"
+          + "p.proto\"\312\001\n\021AggregationResult\022]\n\024aggrega"
+          + "te_properties\030\002 \003(\0132?.google.datastore.v"
+          + "1.AggregationResult.AggregatePropertiesE"
+          + "ntry\032V\n\030AggregatePropertiesEntry\022\013\n\003key\030"
+          + "\001 \001(\t\022)\n\005value\030\002 \001(\0132\032.google.datastore."
+          + "v1.Value:\0028\001\"\331\001\n\026AggregationResultBatch\022"
+          + "C\n\023aggregation_results\030\001 \003(\0132&.google.da"
+          + "tastore.v1.AggregationResult\022K\n\014more_res"
+          + "ults\030\002 \001(\01625.google.datastore.v1.QueryRe"
+          + "sultBatch.MoreResultsType\022-\n\tread_time\030\003"
+          + " \001(\0132\032.google.protobuf.TimestampB\310\001\n\027com"
+          + ".google.datastore.v1B\026AggregationResultP"
+          + "rotoP\001Z
  * The request for
  * [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds].
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.datastore.v1.AllocateIdsRequest}
  */
-public final class AllocateIdsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AllocateIdsRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.datastore.v1.AllocateIdsRequest)
     AllocateIdsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AllocateIdsRequest.newBuilder() to construct.
   private AllocateIdsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AllocateIdsRequest() {
     projectId_ = "";
     databaseId_ = "";
@@ -29,33 +47,38 @@ private AllocateIdsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new AllocateIdsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_AllocateIdsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.datastore.v1.DatastoreProto
+        .internal_static_google_datastore_v1_AllocateIdsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_AllocateIdsRequest_fieldAccessorTable
+    return com.google.datastore.v1.DatastoreProto
+        .internal_static_google_datastore_v1_AllocateIdsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.v1.AllocateIdsRequest.class, com.google.datastore.v1.AllocateIdsRequest.Builder.class);
+            com.google.datastore.v1.AllocateIdsRequest.class,
+            com.google.datastore.v1.AllocateIdsRequest.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 8;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object projectId_ = "";
   /**
+   *
+   *
    * 
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ @java.lang.Override @@ -64,29 +87,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -95,9 +118,12 @@ public java.lang.String getProjectId() { } public static final int DATABASE_ID_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object databaseId_ = ""; /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -106,6 +132,7 @@ public java.lang.String getProjectId() {
    * 
* * string database_id = 9; + * * @return The databaseId. */ @java.lang.Override @@ -114,14 +141,15 @@ public java.lang.String getDatabaseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; } } /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -130,16 +158,15 @@ public java.lang.String getDatabaseId() {
    * 
* * string database_id = 9; + * * @return The bytes for databaseId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseIdBytes() { + public com.google.protobuf.ByteString getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); databaseId_ = b; return b; } else { @@ -148,72 +175,87 @@ public java.lang.String getDatabaseId() { } public static final int KEYS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List keys_; /** + * + * *
    * Required. A list of keys with incomplete key paths for which to allocate
    * IDs. No key may be reserved/read-only.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getKeysList() { return keys_; } /** + * + * *
    * Required. A list of keys with incomplete key paths for which to allocate
    * IDs. No key may be reserved/read-only.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List - getKeysOrBuilderList() { + public java.util.List getKeysOrBuilderList() { return keys_; } /** + * + * *
    * Required. A list of keys with incomplete key paths for which to allocate
    * IDs. No key may be reserved/read-only.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getKeysCount() { return keys_.size(); } /** + * + * *
    * Required. A list of keys with incomplete key paths for which to allocate
    * IDs. No key may be reserved/read-only.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.datastore.v1.Key getKeys(int index) { return keys_.get(index); } /** + * + * *
    * Required. A list of keys with incomplete key paths for which to allocate
    * IDs. No key may be reserved/read-only.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder( - int index) { + public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(int index) { return keys_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,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 < keys_.size(); i++) { output.writeMessage(1, keys_.get(i)); } @@ -246,8 +287,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < keys_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, keys_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, keys_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, projectId_); @@ -263,19 +303,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.datastore.v1.AllocateIdsRequest)) { return super.equals(obj); } - com.google.datastore.v1.AllocateIdsRequest other = (com.google.datastore.v1.AllocateIdsRequest) obj; + com.google.datastore.v1.AllocateIdsRequest other = + (com.google.datastore.v1.AllocateIdsRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getDatabaseId() - .equals(other.getDatabaseId())) return false; - if (!getKeysList() - .equals(other.getKeysList())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getDatabaseId().equals(other.getDatabaseId())) return false; + if (!getKeysList().equals(other.getKeysList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -300,99 +338,104 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.AllocateIdsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.datastore.v1.AllocateIdsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.AllocateIdsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.AllocateIdsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.AllocateIdsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.AllocateIdsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.AllocateIdsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.AllocateIdsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.AllocateIdsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.AllocateIdsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.AllocateIdsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.v1.AllocateIdsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.datastore.v1.AllocateIdsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.AllocateIdsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.datastore.v1.AllocateIdsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds].
@@ -400,33 +443,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.datastore.v1.AllocateIdsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.datastore.v1.AllocateIdsRequest)
       com.google.datastore.v1.AllocateIdsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_AllocateIdsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_AllocateIdsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_AllocateIdsRequest_fieldAccessorTable
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_AllocateIdsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.AllocateIdsRequest.class, com.google.datastore.v1.AllocateIdsRequest.Builder.class);
+              com.google.datastore.v1.AllocateIdsRequest.class,
+              com.google.datastore.v1.AllocateIdsRequest.Builder.class);
     }
 
     // Construct using com.google.datastore.v1.AllocateIdsRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        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 +486,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_AllocateIdsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_AllocateIdsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -465,9 +507,12 @@ public com.google.datastore.v1.AllocateIdsRequest build() {
 
     @java.lang.Override
     public com.google.datastore.v1.AllocateIdsRequest buildPartial() {
-      com.google.datastore.v1.AllocateIdsRequest result = new com.google.datastore.v1.AllocateIdsRequest(this);
+      com.google.datastore.v1.AllocateIdsRequest result =
+          new com.google.datastore.v1.AllocateIdsRequest(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -498,38 +543,39 @@ private void buildPartial0(com.google.datastore.v1.AllocateIdsRequest result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.AllocateIdsRequest) {
-        return mergeFrom((com.google.datastore.v1.AllocateIdsRequest)other);
+        return mergeFrom((com.google.datastore.v1.AllocateIdsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -566,9 +612,10 @@ public Builder mergeFrom(com.google.datastore.v1.AllocateIdsRequest other) {
             keysBuilder_ = null;
             keys_ = other.keys_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            keysBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getKeysFieldBuilder() : null;
+            keysBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getKeysFieldBuilder()
+                    : null;
           } else {
             keysBuilder_.addAllMessages(other.keys_);
           }
@@ -600,35 +647,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.datastore.v1.Key m =
-                  input.readMessage(
-                      com.google.datastore.v1.Key.parser(),
-                      extensionRegistry);
-              if (keysBuilder_ == null) {
-                ensureKeysIsMutable();
-                keys_.add(m);
-              } else {
-                keysBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 66: {
-              projectId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 66
-            case 74: {
-              databaseId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 74
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.datastore.v1.Key m =
+                    input.readMessage(com.google.datastore.v1.Key.parser(), extensionRegistry);
+                if (keysBuilder_ == null) {
+                  ensureKeysIsMutable();
+                  keys_.add(m);
+                } else {
+                  keysBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 66:
+              {
+                projectId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 66
+            case 74:
+              {
+                databaseId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 74
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -638,22 +687,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object projectId_ = "";
     /**
+     *
+     *
      * 
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -662,20 +714,21 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -683,28 +736,35 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -714,17 +774,21 @@ public Builder clearProjectId() { return this; } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -734,6 +798,8 @@ public Builder setProjectIdBytes( private java.lang.Object databaseId_ = ""; /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -742,13 +808,13 @@ public Builder setProjectIdBytes(
      * 
* * string database_id = 9; + * * @return The databaseId. */ public java.lang.String getDatabaseId() { java.lang.Object ref = databaseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; @@ -757,6 +823,8 @@ public java.lang.String getDatabaseId() { } } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -765,15 +833,14 @@ public java.lang.String getDatabaseId() {
      * 
* * string database_id = 9; + * * @return The bytes for databaseId. */ - public com.google.protobuf.ByteString - getDatabaseIdBytes() { + public com.google.protobuf.ByteString getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); databaseId_ = b; return b; } else { @@ -781,6 +848,8 @@ public java.lang.String getDatabaseId() { } } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -789,18 +858,22 @@ public java.lang.String getDatabaseId() {
      * 
* * string database_id = 9; + * * @param value The databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } databaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -809,6 +882,7 @@ public Builder setDatabaseId(
      * 
* * string database_id = 9; + * * @return This builder for chaining. */ public Builder clearDatabaseId() { @@ -818,6 +892,8 @@ public Builder clearDatabaseId() { return this; } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -826,12 +902,14 @@ public Builder clearDatabaseId() {
      * 
* * string database_id = 9; + * * @param value The bytes for databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); databaseId_ = value; bitField0_ |= 0x00000002; @@ -839,25 +917,31 @@ public Builder setDatabaseIdBytes( return this; } - private java.util.List keys_ = - java.util.Collections.emptyList(); + private java.util.List keys_ = java.util.Collections.emptyList(); + private void ensureKeysIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { keys_ = new java.util.ArrayList(keys_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> keysBuilder_; + com.google.datastore.v1.Key, + com.google.datastore.v1.Key.Builder, + com.google.datastore.v1.KeyOrBuilder> + keysBuilder_; /** + * + * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getKeysList() { if (keysBuilder_ == null) { @@ -867,12 +951,15 @@ public java.util.List getKeysList() { } } /** + * + * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getKeysCount() { if (keysBuilder_ == null) { @@ -882,12 +969,15 @@ public int getKeysCount() { } } /** + * + * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.datastore.v1.Key getKeys(int index) { if (keysBuilder_ == null) { @@ -897,15 +987,17 @@ public com.google.datastore.v1.Key getKeys(int index) { } } /** + * + * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setKeys( - int index, com.google.datastore.v1.Key value) { + public Builder setKeys(int index, com.google.datastore.v1.Key value) { if (keysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -919,15 +1011,17 @@ public Builder setKeys( return this; } /** + * + * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setKeys( - int index, com.google.datastore.v1.Key.Builder builderForValue) { + public Builder setKeys(int index, com.google.datastore.v1.Key.Builder builderForValue) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.set(index, builderForValue.build()); @@ -938,12 +1032,15 @@ public Builder setKeys( return this; } /** + * + * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addKeys(com.google.datastore.v1.Key value) { if (keysBuilder_ == null) { @@ -959,15 +1056,17 @@ public Builder addKeys(com.google.datastore.v1.Key value) { return this; } /** + * + * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addKeys( - int index, com.google.datastore.v1.Key value) { + public Builder addKeys(int index, com.google.datastore.v1.Key value) { if (keysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -981,15 +1080,17 @@ public Builder addKeys( return this; } /** + * + * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addKeys( - com.google.datastore.v1.Key.Builder builderForValue) { + public Builder addKeys(com.google.datastore.v1.Key.Builder builderForValue) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.add(builderForValue.build()); @@ -1000,15 +1101,17 @@ public Builder addKeys( return this; } /** + * + * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addKeys( - int index, com.google.datastore.v1.Key.Builder builderForValue) { + public Builder addKeys(int index, com.google.datastore.v1.Key.Builder builderForValue) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.add(index, builderForValue.build()); @@ -1019,19 +1122,20 @@ public Builder addKeys( return this; } /** + * + * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addAllKeys( - java.lang.Iterable values) { + public Builder addAllKeys(java.lang.Iterable values) { if (keysBuilder_ == null) { ensureKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, keys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, keys_); onChanged(); } else { keysBuilder_.addAllMessages(values); @@ -1039,12 +1143,15 @@ public Builder addAllKeys( return this; } /** + * + * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearKeys() { if (keysBuilder_ == null) { @@ -1057,12 +1164,15 @@ public Builder clearKeys() { return this; } /** + * + * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeKeys(int index) { if (keysBuilder_ == null) { @@ -1075,42 +1185,49 @@ public Builder removeKeys(int index) { return this; } /** + * + * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.datastore.v1.Key.Builder getKeysBuilder( - int index) { + public com.google.datastore.v1.Key.Builder getKeysBuilder(int index) { return getKeysFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder( - int index) { + public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(int index) { if (keysBuilder_ == null) { - return keys_.get(index); } else { + return keys_.get(index); + } else { return keysBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getKeysOrBuilderList() { + public java.util.List getKeysOrBuilderList() { if (keysBuilder_ != null) { return keysBuilder_.getMessageOrBuilderList(); } else { @@ -1118,59 +1235,68 @@ public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder( } } /** + * + * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.datastore.v1.Key.Builder addKeysBuilder() { - return getKeysFieldBuilder().addBuilder( - com.google.datastore.v1.Key.getDefaultInstance()); + return getKeysFieldBuilder().addBuilder(com.google.datastore.v1.Key.getDefaultInstance()); } /** + * + * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.datastore.v1.Key.Builder addKeysBuilder( - int index) { - return getKeysFieldBuilder().addBuilder( - index, com.google.datastore.v1.Key.getDefaultInstance()); + public com.google.datastore.v1.Key.Builder addKeysBuilder(int index) { + return getKeysFieldBuilder() + .addBuilder(index, com.google.datastore.v1.Key.getDefaultInstance()); } /** + * + * *
      * Required. A list of keys with incomplete key paths for which to allocate
      * IDs. No key may be reserved/read-only.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getKeysBuilderList() { + public java.util.List getKeysBuilderList() { return getKeysFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> + com.google.datastore.v1.Key, + com.google.datastore.v1.Key.Builder, + com.google.datastore.v1.KeyOrBuilder> getKeysFieldBuilder() { if (keysBuilder_ == null) { - keysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder>( - keys_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); + keysBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.datastore.v1.Key, + com.google.datastore.v1.Key.Builder, + com.google.datastore.v1.KeyOrBuilder>( + keys_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); keys_ = null; } return keysBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1180,12 +1306,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.v1.AllocateIdsRequest) } // @@protoc_insertion_point(class_scope:google.datastore.v1.AllocateIdsRequest) private static final com.google.datastore.v1.AllocateIdsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.v1.AllocateIdsRequest(); } @@ -1194,27 +1320,27 @@ public static com.google.datastore.v1.AllocateIdsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public AllocateIdsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public AllocateIdsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1229,6 +1355,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.AllocateIdsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsRequestOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsRequestOrBuilder.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsRequestOrBuilder.java index ecb02ac3c..3f2db79c4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsRequestOrBuilder.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsRequestOrBuilder.java @@ -1,34 +1,57 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface AllocateIdsRequestOrBuilder extends +public interface AllocateIdsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.AllocateIdsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -37,10 +60,13 @@ public interface AllocateIdsRequestOrBuilder extends
    * 
* * string database_id = 9; + * * @return The databaseId. */ java.lang.String getDatabaseId(); /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -49,57 +75,69 @@ public interface AllocateIdsRequestOrBuilder extends
    * 
* * string database_id = 9; + * * @return The bytes for databaseId. */ - com.google.protobuf.ByteString - getDatabaseIdBytes(); + com.google.protobuf.ByteString getDatabaseIdBytes(); /** + * + * *
    * Required. A list of keys with incomplete key paths for which to allocate
    * IDs. No key may be reserved/read-only.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getKeysList(); + java.util.List getKeysList(); /** + * + * *
    * Required. A list of keys with incomplete key paths for which to allocate
    * IDs. No key may be reserved/read-only.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.datastore.v1.Key getKeys(int index); /** + * + * *
    * Required. A list of keys with incomplete key paths for which to allocate
    * IDs. No key may be reserved/read-only.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ int getKeysCount(); /** + * + * *
    * Required. A list of keys with incomplete key paths for which to allocate
    * IDs. No key may be reserved/read-only.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getKeysOrBuilderList(); + java.util.List getKeysOrBuilderList(); /** + * + * *
    * Required. A list of keys with incomplete key paths for which to allocate
    * IDs. No key may be reserved/read-only.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder( - int index); + com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponse.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponse.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponse.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponse.java index 365a66c32..c1ac60e39 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponse.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponse.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto @@ -5,6 +20,8 @@ package com.google.datastore.v1; /** + * + * *
  * The response for
  * [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds].
@@ -12,43 +29,48 @@
  *
  * Protobuf type {@code google.datastore.v1.AllocateIdsResponse}
  */
-public final class AllocateIdsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class AllocateIdsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.datastore.v1.AllocateIdsResponse)
     AllocateIdsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use AllocateIdsResponse.newBuilder() to construct.
   private AllocateIdsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private AllocateIdsResponse() {
     keys_ = 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 AllocateIdsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_AllocateIdsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.datastore.v1.DatastoreProto
+        .internal_static_google_datastore_v1_AllocateIdsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_AllocateIdsResponse_fieldAccessorTable
+    return com.google.datastore.v1.DatastoreProto
+        .internal_static_google_datastore_v1_AllocateIdsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.v1.AllocateIdsResponse.class, com.google.datastore.v1.AllocateIdsResponse.Builder.class);
+            com.google.datastore.v1.AllocateIdsResponse.class,
+            com.google.datastore.v1.AllocateIdsResponse.Builder.class);
   }
 
   public static final int KEYS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List keys_;
   /**
+   *
+   *
    * 
    * The keys specified in the request (in the same order), each with
    * its key path completed with a newly allocated ID.
@@ -61,6 +83,8 @@ public java.util.List getKeysList() {
     return keys_;
   }
   /**
+   *
+   *
    * 
    * The keys specified in the request (in the same order), each with
    * its key path completed with a newly allocated ID.
@@ -69,11 +93,12 @@ public java.util.List getKeysList() {
    * repeated .google.datastore.v1.Key keys = 1;
    */
   @java.lang.Override
-  public java.util.List 
-      getKeysOrBuilderList() {
+  public java.util.List getKeysOrBuilderList() {
     return keys_;
   }
   /**
+   *
+   *
    * 
    * The keys specified in the request (in the same order), each with
    * its key path completed with a newly allocated ID.
@@ -86,6 +111,8 @@ public int getKeysCount() {
     return keys_.size();
   }
   /**
+   *
+   *
    * 
    * The keys specified in the request (in the same order), each with
    * its key path completed with a newly allocated ID.
@@ -98,6 +125,8 @@ public com.google.datastore.v1.Key getKeys(int index) {
     return keys_.get(index);
   }
   /**
+   *
+   *
    * 
    * The keys specified in the request (in the same order), each with
    * its key path completed with a newly allocated ID.
@@ -106,12 +135,12 @@ public com.google.datastore.v1.Key getKeys(int index) {
    * repeated .google.datastore.v1.Key keys = 1;
    */
   @java.lang.Override
-  public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(
-      int index) {
+  public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(int index) {
     return keys_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -123,8 +152,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < keys_.size(); i++) {
       output.writeMessage(1, keys_.get(i));
     }
@@ -138,8 +166,7 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < keys_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, keys_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, keys_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -149,15 +176,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.datastore.v1.AllocateIdsResponse)) {
       return super.equals(obj);
     }
-    com.google.datastore.v1.AllocateIdsResponse other = (com.google.datastore.v1.AllocateIdsResponse) obj;
+    com.google.datastore.v1.AllocateIdsResponse other =
+        (com.google.datastore.v1.AllocateIdsResponse) obj;
 
-    if (!getKeysList()
-        .equals(other.getKeysList())) return false;
+    if (!getKeysList().equals(other.getKeysList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -178,99 +205,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.AllocateIdsResponse parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.AllocateIdsResponse parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.AllocateIdsResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.AllocateIdsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.AllocateIdsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.AllocateIdsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.AllocateIdsResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.AllocateIdsResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.datastore.v1.AllocateIdsResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.datastore.v1.AllocateIdsResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.datastore.v1.AllocateIdsResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.datastore.v1.AllocateIdsResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.datastore.v1.AllocateIdsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.datastore.v1.AllocateIdsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.datastore.v1.AllocateIdsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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
    * [Datastore.AllocateIds][google.datastore.v1.Datastore.AllocateIds].
@@ -278,33 +310,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.datastore.v1.AllocateIdsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.datastore.v1.AllocateIdsResponse)
       com.google.datastore.v1.AllocateIdsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_AllocateIdsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_AllocateIdsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_AllocateIdsResponse_fieldAccessorTable
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_AllocateIdsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.AllocateIdsResponse.class, com.google.datastore.v1.AllocateIdsResponse.Builder.class);
+              com.google.datastore.v1.AllocateIdsResponse.class,
+              com.google.datastore.v1.AllocateIdsResponse.Builder.class);
     }
 
     // Construct using com.google.datastore.v1.AllocateIdsResponse.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -320,9 +351,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_AllocateIdsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_AllocateIdsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -341,9 +372,12 @@ public com.google.datastore.v1.AllocateIdsResponse build() {
 
     @java.lang.Override
     public com.google.datastore.v1.AllocateIdsResponse buildPartial() {
-      com.google.datastore.v1.AllocateIdsResponse result = new com.google.datastore.v1.AllocateIdsResponse(this);
+      com.google.datastore.v1.AllocateIdsResponse result =
+          new com.google.datastore.v1.AllocateIdsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -368,38 +402,39 @@ private void buildPartial0(com.google.datastore.v1.AllocateIdsResponse result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.AllocateIdsResponse) {
-        return mergeFrom((com.google.datastore.v1.AllocateIdsResponse)other);
+        return mergeFrom((com.google.datastore.v1.AllocateIdsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -426,9 +461,10 @@ public Builder mergeFrom(com.google.datastore.v1.AllocateIdsResponse other) {
             keysBuilder_ = null;
             keys_ = other.keys_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            keysBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getKeysFieldBuilder() : null;
+            keysBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getKeysFieldBuilder()
+                    : null;
           } else {
             keysBuilder_.addAllMessages(other.keys_);
           }
@@ -460,25 +496,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.datastore.v1.Key m =
-                  input.readMessage(
-                      com.google.datastore.v1.Key.parser(),
-                      extensionRegistry);
-              if (keysBuilder_ == null) {
-                ensureKeysIsMutable();
-                keys_.add(m);
-              } else {
-                keysBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.datastore.v1.Key m =
+                    input.readMessage(com.google.datastore.v1.Key.parser(), extensionRegistry);
+                if (keysBuilder_ == null) {
+                  ensureKeysIsMutable();
+                  keys_.add(m);
+                } else {
+                  keysBuilder_.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) {
@@ -488,21 +524,27 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
-    private java.util.List keys_ =
-      java.util.Collections.emptyList();
+    private java.util.List keys_ = java.util.Collections.emptyList();
+
     private void ensureKeysIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
         keys_ = new java.util.ArrayList(keys_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> keysBuilder_;
+            com.google.datastore.v1.Key,
+            com.google.datastore.v1.Key.Builder,
+            com.google.datastore.v1.KeyOrBuilder>
+        keysBuilder_;
 
     /**
+     *
+     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -518,6 +560,8 @@ public java.util.List getKeysList() {
       }
     }
     /**
+     *
+     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -533,6 +577,8 @@ public int getKeysCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -548,6 +594,8 @@ public com.google.datastore.v1.Key getKeys(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -555,8 +603,7 @@ public com.google.datastore.v1.Key getKeys(int index) {
      *
      * repeated .google.datastore.v1.Key keys = 1;
      */
-    public Builder setKeys(
-        int index, com.google.datastore.v1.Key value) {
+    public Builder setKeys(int index, com.google.datastore.v1.Key value) {
       if (keysBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -570,6 +617,8 @@ public Builder setKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -577,8 +626,7 @@ public Builder setKeys(
      *
      * repeated .google.datastore.v1.Key keys = 1;
      */
-    public Builder setKeys(
-        int index, com.google.datastore.v1.Key.Builder builderForValue) {
+    public Builder setKeys(int index, com.google.datastore.v1.Key.Builder builderForValue) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
         keys_.set(index, builderForValue.build());
@@ -589,6 +637,8 @@ public Builder setKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -610,6 +660,8 @@ public Builder addKeys(com.google.datastore.v1.Key value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -617,8 +669,7 @@ public Builder addKeys(com.google.datastore.v1.Key value) {
      *
      * repeated .google.datastore.v1.Key keys = 1;
      */
-    public Builder addKeys(
-        int index, com.google.datastore.v1.Key value) {
+    public Builder addKeys(int index, com.google.datastore.v1.Key value) {
       if (keysBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -632,6 +683,8 @@ public Builder addKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -639,8 +692,7 @@ public Builder addKeys(
      *
      * repeated .google.datastore.v1.Key keys = 1;
      */
-    public Builder addKeys(
-        com.google.datastore.v1.Key.Builder builderForValue) {
+    public Builder addKeys(com.google.datastore.v1.Key.Builder builderForValue) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
         keys_.add(builderForValue.build());
@@ -651,6 +703,8 @@ public Builder addKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -658,8 +712,7 @@ public Builder addKeys(
      *
      * repeated .google.datastore.v1.Key keys = 1;
      */
-    public Builder addKeys(
-        int index, com.google.datastore.v1.Key.Builder builderForValue) {
+    public Builder addKeys(int index, com.google.datastore.v1.Key.Builder builderForValue) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
         keys_.add(index, builderForValue.build());
@@ -670,6 +723,8 @@ public Builder addKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -677,12 +732,10 @@ public Builder addKeys(
      *
      * repeated .google.datastore.v1.Key keys = 1;
      */
-    public Builder addAllKeys(
-        java.lang.Iterable values) {
+    public Builder addAllKeys(java.lang.Iterable values) {
       if (keysBuilder_ == null) {
         ensureKeysIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, keys_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, keys_);
         onChanged();
       } else {
         keysBuilder_.addAllMessages(values);
@@ -690,6 +743,8 @@ public Builder addAllKeys(
       return this;
     }
     /**
+     *
+     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -708,6 +763,8 @@ public Builder clearKeys() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -726,6 +783,8 @@ public Builder removeKeys(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -733,11 +792,12 @@ public Builder removeKeys(int index) {
      *
      * repeated .google.datastore.v1.Key keys = 1;
      */
-    public com.google.datastore.v1.Key.Builder getKeysBuilder(
-        int index) {
+    public com.google.datastore.v1.Key.Builder getKeysBuilder(int index) {
       return getKeysFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -745,14 +805,16 @@ public com.google.datastore.v1.Key.Builder getKeysBuilder(
      *
      * repeated .google.datastore.v1.Key keys = 1;
      */
-    public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(
-        int index) {
+    public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(int index) {
       if (keysBuilder_ == null) {
-        return keys_.get(index);  } else {
+        return keys_.get(index);
+      } else {
         return keysBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -760,8 +822,7 @@ public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(
      *
      * repeated .google.datastore.v1.Key keys = 1;
      */
-    public java.util.List 
-         getKeysOrBuilderList() {
+    public java.util.List getKeysOrBuilderList() {
       if (keysBuilder_ != null) {
         return keysBuilder_.getMessageOrBuilderList();
       } else {
@@ -769,6 +830,8 @@ public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -777,10 +840,11 @@ public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(
      * repeated .google.datastore.v1.Key keys = 1;
      */
     public com.google.datastore.v1.Key.Builder addKeysBuilder() {
-      return getKeysFieldBuilder().addBuilder(
-          com.google.datastore.v1.Key.getDefaultInstance());
+      return getKeysFieldBuilder().addBuilder(com.google.datastore.v1.Key.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -788,12 +852,13 @@ public com.google.datastore.v1.Key.Builder addKeysBuilder() {
      *
      * repeated .google.datastore.v1.Key keys = 1;
      */
-    public com.google.datastore.v1.Key.Builder addKeysBuilder(
-        int index) {
-      return getKeysFieldBuilder().addBuilder(
-          index, com.google.datastore.v1.Key.getDefaultInstance());
+    public com.google.datastore.v1.Key.Builder addKeysBuilder(int index) {
+      return getKeysFieldBuilder()
+          .addBuilder(index, com.google.datastore.v1.Key.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The keys specified in the request (in the same order), each with
      * its key path completed with a newly allocated ID.
@@ -801,27 +866,29 @@ public com.google.datastore.v1.Key.Builder addKeysBuilder(
      *
      * repeated .google.datastore.v1.Key keys = 1;
      */
-    public java.util.List 
-         getKeysBuilderList() {
+    public java.util.List getKeysBuilderList() {
       return getKeysFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> 
+            com.google.datastore.v1.Key,
+            com.google.datastore.v1.Key.Builder,
+            com.google.datastore.v1.KeyOrBuilder>
         getKeysFieldBuilder() {
       if (keysBuilder_ == null) {
-        keysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder>(
-                keys_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        keysBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.datastore.v1.Key,
+                com.google.datastore.v1.Key.Builder,
+                com.google.datastore.v1.KeyOrBuilder>(
+                keys_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         keys_ = null;
       }
       return keysBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -831,12 +898,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.AllocateIdsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.AllocateIdsResponse)
   private static final com.google.datastore.v1.AllocateIdsResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.AllocateIdsResponse();
   }
@@ -845,27 +912,27 @@ public static com.google.datastore.v1.AllocateIdsResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public AllocateIdsResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public AllocateIdsResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -880,6 +947,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.AllocateIdsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponseOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponseOrBuilder.java
similarity index 64%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponseOrBuilder.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponseOrBuilder.java
index c6ee011f1..15aa0780e 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponseOrBuilder.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/AllocateIdsResponseOrBuilder.java
@@ -1,14 +1,32 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/datastore.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface AllocateIdsResponseOrBuilder extends
+public interface AllocateIdsResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.AllocateIdsResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The keys specified in the request (in the same order), each with
    * its key path completed with a newly allocated ID.
@@ -16,9 +34,10 @@ public interface AllocateIdsResponseOrBuilder extends
    *
    * repeated .google.datastore.v1.Key keys = 1;
    */
-  java.util.List 
-      getKeysList();
+  java.util.List getKeysList();
   /**
+   *
+   *
    * 
    * The keys specified in the request (in the same order), each with
    * its key path completed with a newly allocated ID.
@@ -28,6 +47,8 @@ public interface AllocateIdsResponseOrBuilder extends
    */
   com.google.datastore.v1.Key getKeys(int index);
   /**
+   *
+   *
    * 
    * The keys specified in the request (in the same order), each with
    * its key path completed with a newly allocated ID.
@@ -37,6 +58,8 @@ public interface AllocateIdsResponseOrBuilder extends
    */
   int getKeysCount();
   /**
+   *
+   *
    * 
    * The keys specified in the request (in the same order), each with
    * its key path completed with a newly allocated ID.
@@ -44,9 +67,10 @@ public interface AllocateIdsResponseOrBuilder extends
    *
    * repeated .google.datastore.v1.Key keys = 1;
    */
-  java.util.List 
-      getKeysOrBuilderList();
+  java.util.List getKeysOrBuilderList();
   /**
+   *
+   *
    * 
    * The keys specified in the request (in the same order), each with
    * its key path completed with a newly allocated ID.
@@ -54,6 +78,5 @@ public interface AllocateIdsResponseOrBuilder extends
    *
    * repeated .google.datastore.v1.Key keys = 1;
    */
-  com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(
-      int index);
+  com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(int index);
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ArrayValue.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ArrayValue.java
similarity index 72%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ArrayValue.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ArrayValue.java
index eea8ff1b6..332ecd57f 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ArrayValue.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ArrayValue.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/entity.proto
 
@@ -5,49 +20,56 @@
 package com.google.datastore.v1;
 
 /**
+ *
+ *
  * 
  * An array value.
  * 
* * Protobuf type {@code google.datastore.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.datastore.v1.ArrayValue) ArrayValueOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ArrayValue.newBuilder() to construct. private ArrayValue(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private ArrayValue() { values_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ArrayValue(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_ArrayValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.EntityProto + .internal_static_google_datastore_v1_ArrayValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_ArrayValue_fieldAccessorTable + return com.google.datastore.v1.EntityProto + .internal_static_google_datastore_v1_ArrayValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.ArrayValue.class, com.google.datastore.v1.ArrayValue.Builder.class); + com.google.datastore.v1.ArrayValue.class, + com.google.datastore.v1.ArrayValue.Builder.class); } public static final int VALUES_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List values_; /** + * + * *
    * Values in the array.
    * The order of values in an array is preserved as long as all values have
@@ -61,6 +83,8 @@ public java.util.List getValuesList() {
     return values_;
   }
   /**
+   *
+   *
    * 
    * Values in the array.
    * The order of values in an array is preserved as long as all values have
@@ -70,11 +94,12 @@ public java.util.List getValuesList() {
    * repeated .google.datastore.v1.Value values = 1;
    */
   @java.lang.Override
-  public java.util.List 
-      getValuesOrBuilderList() {
+  public java.util.List getValuesOrBuilderList() {
     return values_;
   }
   /**
+   *
+   *
    * 
    * Values in the array.
    * The order of values in an array is preserved as long as all values have
@@ -88,6 +113,8 @@ public int getValuesCount() {
     return values_.size();
   }
   /**
+   *
+   *
    * 
    * Values in the array.
    * The order of values in an array is preserved as long as all values have
@@ -101,6 +128,8 @@ public com.google.datastore.v1.Value getValues(int index) {
     return values_.get(index);
   }
   /**
+   *
+   *
    * 
    * Values in the array.
    * The order of values in an array is preserved as long as all values have
@@ -110,12 +139,12 @@ public com.google.datastore.v1.Value getValues(int index) {
    * repeated .google.datastore.v1.Value values = 1;
    */
   @java.lang.Override
-  public com.google.datastore.v1.ValueOrBuilder getValuesOrBuilder(
-      int index) {
+  public com.google.datastore.v1.ValueOrBuilder getValuesOrBuilder(int index) {
     return values_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -127,8 +156,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     for (int i = 0; i < values_.size(); i++) {
       output.writeMessage(1, values_.get(i));
     }
@@ -142,8 +170,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;
@@ -153,15 +180,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.datastore.v1.ArrayValue)) {
       return super.equals(obj);
     }
     com.google.datastore.v1.ArrayValue other = (com.google.datastore.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;
   }
@@ -182,132 +208,135 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.ArrayValue parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.ArrayValue parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.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.datastore.v1.ArrayValue parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.datastore.v1.ArrayValue parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.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.datastore.v1.ArrayValue parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.v1.ArrayValue) com.google.datastore.v1.ArrayValueOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_ArrayValue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.EntityProto + .internal_static_google_datastore_v1_ArrayValue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_ArrayValue_fieldAccessorTable + return com.google.datastore.v1.EntityProto + .internal_static_google_datastore_v1_ArrayValue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.ArrayValue.class, com.google.datastore.v1.ArrayValue.Builder.class); + com.google.datastore.v1.ArrayValue.class, + com.google.datastore.v1.ArrayValue.Builder.class); } // Construct using com.google.datastore.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(); @@ -323,9 +352,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_ArrayValue_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.v1.EntityProto + .internal_static_google_datastore_v1_ArrayValue_descriptor; } @java.lang.Override @@ -346,7 +375,9 @@ public com.google.datastore.v1.ArrayValue build() { public com.google.datastore.v1.ArrayValue buildPartial() { com.google.datastore.v1.ArrayValue result = new com.google.datastore.v1.ArrayValue(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -371,38 +402,39 @@ private void buildPartial0(com.google.datastore.v1.ArrayValue result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.ArrayValue) { - return mergeFrom((com.google.datastore.v1.ArrayValue)other); + return mergeFrom((com.google.datastore.v1.ArrayValue) other); } else { super.mergeFrom(other); return this; @@ -429,9 +461,10 @@ public Builder mergeFrom(com.google.datastore.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_); } @@ -463,25 +496,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.datastore.v1.Value m = - input.readMessage( - com.google.datastore.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.datastore.v1.Value m = + input.readMessage(com.google.datastore.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) { @@ -491,21 +524,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.datastore.v1.Value, com.google.datastore.v1.Value.Builder, com.google.datastore.v1.ValueOrBuilder> valuesBuilder_; + com.google.datastore.v1.Value, + com.google.datastore.v1.Value.Builder, + com.google.datastore.v1.ValueOrBuilder> + valuesBuilder_; /** + * + * *
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -522,6 +562,8 @@ public java.util.List getValuesList() {
       }
     }
     /**
+     *
+     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -538,6 +580,8 @@ public int getValuesCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -554,6 +598,8 @@ public com.google.datastore.v1.Value getValues(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -562,8 +608,7 @@ public com.google.datastore.v1.Value getValues(int index) {
      *
      * repeated .google.datastore.v1.Value values = 1;
      */
-    public Builder setValues(
-        int index, com.google.datastore.v1.Value value) {
+    public Builder setValues(int index, com.google.datastore.v1.Value value) {
       if (valuesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -577,6 +622,8 @@ public Builder setValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -585,8 +632,7 @@ public Builder setValues(
      *
      * repeated .google.datastore.v1.Value values = 1;
      */
-    public Builder setValues(
-        int index, com.google.datastore.v1.Value.Builder builderForValue) {
+    public Builder setValues(int index, com.google.datastore.v1.Value.Builder builderForValue) {
       if (valuesBuilder_ == null) {
         ensureValuesIsMutable();
         values_.set(index, builderForValue.build());
@@ -597,6 +643,8 @@ public Builder setValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -619,6 +667,8 @@ public Builder addValues(com.google.datastore.v1.Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -627,8 +677,7 @@ public Builder addValues(com.google.datastore.v1.Value value) {
      *
      * repeated .google.datastore.v1.Value values = 1;
      */
-    public Builder addValues(
-        int index, com.google.datastore.v1.Value value) {
+    public Builder addValues(int index, com.google.datastore.v1.Value value) {
       if (valuesBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -642,6 +691,8 @@ public Builder addValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -650,8 +701,7 @@ public Builder addValues(
      *
      * repeated .google.datastore.v1.Value values = 1;
      */
-    public Builder addValues(
-        com.google.datastore.v1.Value.Builder builderForValue) {
+    public Builder addValues(com.google.datastore.v1.Value.Builder builderForValue) {
       if (valuesBuilder_ == null) {
         ensureValuesIsMutable();
         values_.add(builderForValue.build());
@@ -662,6 +712,8 @@ public Builder addValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -670,8 +722,7 @@ public Builder addValues(
      *
      * repeated .google.datastore.v1.Value values = 1;
      */
-    public Builder addValues(
-        int index, com.google.datastore.v1.Value.Builder builderForValue) {
+    public Builder addValues(int index, com.google.datastore.v1.Value.Builder builderForValue) {
       if (valuesBuilder_ == null) {
         ensureValuesIsMutable();
         values_.add(index, builderForValue.build());
@@ -682,6 +733,8 @@ public Builder addValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -694,8 +747,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);
@@ -703,6 +755,8 @@ public Builder addAllValues(
       return this;
     }
     /**
+     *
+     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -722,6 +776,8 @@ public Builder clearValues() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -741,6 +797,8 @@ public Builder removeValues(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -749,11 +807,12 @@ public Builder removeValues(int index) {
      *
      * repeated .google.datastore.v1.Value values = 1;
      */
-    public com.google.datastore.v1.Value.Builder getValuesBuilder(
-        int index) {
+    public com.google.datastore.v1.Value.Builder getValuesBuilder(int index) {
       return getValuesFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -762,14 +821,16 @@ public com.google.datastore.v1.Value.Builder getValuesBuilder(
      *
      * repeated .google.datastore.v1.Value values = 1;
      */
-    public com.google.datastore.v1.ValueOrBuilder getValuesOrBuilder(
-        int index) {
+    public com.google.datastore.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.
      * The order of values in an array is preserved as long as all values have
@@ -778,8 +839,8 @@ public com.google.datastore.v1.ValueOrBuilder getValuesOrBuilder(
      *
      * repeated .google.datastore.v1.Value values = 1;
      */
-    public java.util.List 
-         getValuesOrBuilderList() {
+    public java.util.List
+        getValuesOrBuilderList() {
       if (valuesBuilder_ != null) {
         return valuesBuilder_.getMessageOrBuilderList();
       } else {
@@ -787,6 +848,8 @@ public com.google.datastore.v1.ValueOrBuilder getValuesOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -796,10 +859,11 @@ public com.google.datastore.v1.ValueOrBuilder getValuesOrBuilder(
      * repeated .google.datastore.v1.Value values = 1;
      */
     public com.google.datastore.v1.Value.Builder addValuesBuilder() {
-      return getValuesFieldBuilder().addBuilder(
-          com.google.datastore.v1.Value.getDefaultInstance());
+      return getValuesFieldBuilder().addBuilder(com.google.datastore.v1.Value.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -808,12 +872,13 @@ public com.google.datastore.v1.Value.Builder addValuesBuilder() {
      *
      * repeated .google.datastore.v1.Value values = 1;
      */
-    public com.google.datastore.v1.Value.Builder addValuesBuilder(
-        int index) {
-      return getValuesFieldBuilder().addBuilder(
-          index, com.google.datastore.v1.Value.getDefaultInstance());
+    public com.google.datastore.v1.Value.Builder addValuesBuilder(int index) {
+      return getValuesFieldBuilder()
+          .addBuilder(index, com.google.datastore.v1.Value.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Values in the array.
      * The order of values in an array is preserved as long as all values have
@@ -822,27 +887,29 @@ public com.google.datastore.v1.Value.Builder addValuesBuilder(
      *
      * repeated .google.datastore.v1.Value values = 1;
      */
-    public java.util.List 
-         getValuesBuilderList() {
+    public java.util.List getValuesBuilderList() {
       return getValuesFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.datastore.v1.Value, com.google.datastore.v1.Value.Builder, com.google.datastore.v1.ValueOrBuilder> 
+            com.google.datastore.v1.Value,
+            com.google.datastore.v1.Value.Builder,
+            com.google.datastore.v1.ValueOrBuilder>
         getValuesFieldBuilder() {
       if (valuesBuilder_ == null) {
-        valuesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.datastore.v1.Value, com.google.datastore.v1.Value.Builder, com.google.datastore.v1.ValueOrBuilder>(
-                values_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        valuesBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.datastore.v1.Value,
+                com.google.datastore.v1.Value.Builder,
+                com.google.datastore.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);
     }
 
@@ -852,12 +919,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.ArrayValue)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.ArrayValue)
   private static final com.google.datastore.v1.ArrayValue DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.ArrayValue();
   }
@@ -866,27 +933,27 @@ public static com.google.datastore.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;
@@ -901,6 +968,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.ArrayValue getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ArrayValueOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ArrayValueOrBuilder.java
similarity index 67%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ArrayValueOrBuilder.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ArrayValueOrBuilder.java
index e3d8c20c0..3f8acbe27 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ArrayValueOrBuilder.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ArrayValueOrBuilder.java
@@ -1,14 +1,32 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/entity.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface ArrayValueOrBuilder extends
+public interface ArrayValueOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.ArrayValue)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Values in the array.
    * The order of values in an array is preserved as long as all values have
@@ -17,9 +35,10 @@ public interface ArrayValueOrBuilder extends
    *
    * repeated .google.datastore.v1.Value values = 1;
    */
-  java.util.List 
-      getValuesList();
+  java.util.List getValuesList();
   /**
+   *
+   *
    * 
    * Values in the array.
    * The order of values in an array is preserved as long as all values have
@@ -30,6 +49,8 @@ public interface ArrayValueOrBuilder extends
    */
   com.google.datastore.v1.Value getValues(int index);
   /**
+   *
+   *
    * 
    * Values in the array.
    * The order of values in an array is preserved as long as all values have
@@ -40,6 +61,8 @@ public interface ArrayValueOrBuilder extends
    */
   int getValuesCount();
   /**
+   *
+   *
    * 
    * Values in the array.
    * The order of values in an array is preserved as long as all values have
@@ -48,9 +71,10 @@ public interface ArrayValueOrBuilder extends
    *
    * repeated .google.datastore.v1.Value values = 1;
    */
-  java.util.List 
-      getValuesOrBuilderList();
+  java.util.List getValuesOrBuilderList();
   /**
+   *
+   *
    * 
    * Values in the array.
    * The order of values in an array is preserved as long as all values have
@@ -59,6 +83,5 @@ public interface ArrayValueOrBuilder extends
    *
    * repeated .google.datastore.v1.Value values = 1;
    */
-  com.google.datastore.v1.ValueOrBuilder getValuesOrBuilder(
-      int index);
+  com.google.datastore.v1.ValueOrBuilder getValuesOrBuilder(int index);
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequest.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequest.java
similarity index 70%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequest.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequest.java
index 483c29108..eee52d8fd 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequest.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequest.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/datastore.proto
 
@@ -5,6 +20,8 @@
 package com.google.datastore.v1;
 
 /**
+ *
+ *
  * 
  * The request for
  * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.datastore.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.datastore.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() {
     projectId_ = "";
     databaseId_ = "";
@@ -28,34 +46,39 @@ private BeginTransactionRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BeginTransactionRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_BeginTransactionRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.datastore.v1.DatastoreProto
+        .internal_static_google_datastore_v1_BeginTransactionRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_BeginTransactionRequest_fieldAccessorTable
+    return com.google.datastore.v1.DatastoreProto
+        .internal_static_google_datastore_v1_BeginTransactionRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.v1.BeginTransactionRequest.class, com.google.datastore.v1.BeginTransactionRequest.Builder.class);
+            com.google.datastore.v1.BeginTransactionRequest.class,
+            com.google.datastore.v1.BeginTransactionRequest.Builder.class);
   }
 
   private int bitField0_;
   public static final int PROJECT_ID_FIELD_NUMBER = 8;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object projectId_ = "";
   /**
+   *
+   *
    * 
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ @java.lang.Override @@ -64,29 +87,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -95,9 +118,12 @@ public java.lang.String getProjectId() { } public static final int DATABASE_ID_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object databaseId_ = ""; /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -106,6 +132,7 @@ public java.lang.String getProjectId() {
    * 
* * string database_id = 9; + * * @return The databaseId. */ @java.lang.Override @@ -114,14 +141,15 @@ public java.lang.String getDatabaseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; } } /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -130,16 +158,15 @@ public java.lang.String getDatabaseId() {
    * 
* * string database_id = 9; + * * @return The bytes for databaseId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseIdBytes() { + public com.google.protobuf.ByteString getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); databaseId_ = b; return b; } else { @@ -150,11 +177,14 @@ public java.lang.String getDatabaseId() { public static final int TRANSACTION_OPTIONS_FIELD_NUMBER = 10; private com.google.datastore.v1.TransactionOptions transactionOptions_; /** + * + * *
    * Options for a new transaction.
    * 
* * .google.datastore.v1.TransactionOptions transaction_options = 10; + * * @return Whether the transactionOptions field is set. */ @java.lang.Override @@ -162,18 +192,25 @@ public boolean hasTransactionOptions() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Options for a new transaction.
    * 
* * .google.datastore.v1.TransactionOptions transaction_options = 10; + * * @return The transactionOptions. */ @java.lang.Override public com.google.datastore.v1.TransactionOptions getTransactionOptions() { - return transactionOptions_ == null ? com.google.datastore.v1.TransactionOptions.getDefaultInstance() : transactionOptions_; + return transactionOptions_ == null + ? com.google.datastore.v1.TransactionOptions.getDefaultInstance() + : transactionOptions_; } /** + * + * *
    * Options for a new transaction.
    * 
@@ -182,10 +219,13 @@ public com.google.datastore.v1.TransactionOptions getTransactionOptions() { */ @java.lang.Override public com.google.datastore.v1.TransactionOptionsOrBuilder getTransactionOptionsOrBuilder() { - return transactionOptions_ == null ? com.google.datastore.v1.TransactionOptions.getDefaultInstance() : transactionOptions_; + return transactionOptions_ == null + ? com.google.datastore.v1.TransactionOptions.getDefaultInstance() + : transactionOptions_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -197,8 +237,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, projectId_); } @@ -224,8 +263,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, databaseId_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getTransactionOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getTransactionOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -235,21 +273,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.datastore.v1.BeginTransactionRequest)) { return super.equals(obj); } - com.google.datastore.v1.BeginTransactionRequest other = (com.google.datastore.v1.BeginTransactionRequest) obj; + com.google.datastore.v1.BeginTransactionRequest other = + (com.google.datastore.v1.BeginTransactionRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getDatabaseId() - .equals(other.getDatabaseId())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getDatabaseId().equals(other.getDatabaseId())) return false; if (hasTransactionOptions() != other.hasTransactionOptions()) return false; if (hasTransactionOptions()) { - if (!getTransactionOptions() - .equals(other.getTransactionOptions())) return false; + if (!getTransactionOptions().equals(other.getTransactionOptions())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -275,99 +311,104 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.BeginTransactionRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.datastore.v1.BeginTransactionRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.v1.BeginTransactionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.v1.BeginTransactionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.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.datastore.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.datastore.v1.BeginTransactionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.BeginTransactionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.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.datastore.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.datastore.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.datastore.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
    * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
@@ -375,21 +416,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.datastore.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.datastore.v1.BeginTransactionRequest)
       com.google.datastore.v1.BeginTransactionRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_BeginTransactionRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_BeginTransactionRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_BeginTransactionRequest_fieldAccessorTable
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_BeginTransactionRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.BeginTransactionRequest.class, com.google.datastore.v1.BeginTransactionRequest.Builder.class);
+              com.google.datastore.v1.BeginTransactionRequest.class,
+              com.google.datastore.v1.BeginTransactionRequest.Builder.class);
     }
 
     // Construct using com.google.datastore.v1.BeginTransactionRequest.newBuilder()
@@ -397,17 +440,17 @@ 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) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getTransactionOptionsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -423,9 +466,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_BeginTransactionRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_BeginTransactionRequest_descriptor;
     }
 
     @java.lang.Override
@@ -444,8 +487,11 @@ public com.google.datastore.v1.BeginTransactionRequest build() {
 
     @java.lang.Override
     public com.google.datastore.v1.BeginTransactionRequest buildPartial() {
-      com.google.datastore.v1.BeginTransactionRequest result = new com.google.datastore.v1.BeginTransactionRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.datastore.v1.BeginTransactionRequest result =
+          new com.google.datastore.v1.BeginTransactionRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -460,9 +506,10 @@ private void buildPartial0(com.google.datastore.v1.BeginTransactionRequest resul
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.transactionOptions_ = transactionOptionsBuilder_ == null
-            ? transactionOptions_
-            : transactionOptionsBuilder_.build();
+        result.transactionOptions_ =
+            transactionOptionsBuilder_ == null
+                ? transactionOptions_
+                : transactionOptionsBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -472,38 +519,39 @@ private void buildPartial0(com.google.datastore.v1.BeginTransactionRequest resul
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.BeginTransactionRequest) {
-        return mergeFrom((com.google.datastore.v1.BeginTransactionRequest)other);
+        return mergeFrom((com.google.datastore.v1.BeginTransactionRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -511,7 +559,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.datastore.v1.BeginTransactionRequest other) {
-      if (other == com.google.datastore.v1.BeginTransactionRequest.getDefaultInstance()) return this;
+      if (other == com.google.datastore.v1.BeginTransactionRequest.getDefaultInstance())
+        return this;
       if (!other.getProjectId().isEmpty()) {
         projectId_ = other.projectId_;
         bitField0_ |= 0x00000001;
@@ -551,29 +600,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 66: {
-              projectId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 66
-            case 74: {
-              databaseId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 74
-            case 82: {
-              input.readMessage(
-                  getTransactionOptionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 82
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 66:
+              {
+                projectId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 66
+            case 74:
+              {
+                databaseId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 74
+            case 82:
+              {
+                input.readMessage(
+                    getTransactionOptionsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 82
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -583,22 +635,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object projectId_ = "";
     /**
+     *
+     *
      * 
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -607,20 +662,21 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -628,28 +684,35 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -659,17 +722,21 @@ public Builder clearProjectId() { return this; } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -679,6 +746,8 @@ public Builder setProjectIdBytes( private java.lang.Object databaseId_ = ""; /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -687,13 +756,13 @@ public Builder setProjectIdBytes(
      * 
* * string database_id = 9; + * * @return The databaseId. */ public java.lang.String getDatabaseId() { java.lang.Object ref = databaseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; @@ -702,6 +771,8 @@ public java.lang.String getDatabaseId() { } } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -710,15 +781,14 @@ public java.lang.String getDatabaseId() {
      * 
* * string database_id = 9; + * * @return The bytes for databaseId. */ - public com.google.protobuf.ByteString - getDatabaseIdBytes() { + public com.google.protobuf.ByteString getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); databaseId_ = b; return b; } else { @@ -726,6 +796,8 @@ public java.lang.String getDatabaseId() { } } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -734,18 +806,22 @@ public java.lang.String getDatabaseId() {
      * 
* * string database_id = 9; + * * @param value The databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } databaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -754,6 +830,7 @@ public Builder setDatabaseId(
      * 
* * string database_id = 9; + * * @return This builder for chaining. */ public Builder clearDatabaseId() { @@ -763,6 +840,8 @@ public Builder clearDatabaseId() { return this; } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -771,12 +850,14 @@ public Builder clearDatabaseId() {
      * 
* * string database_id = 9; + * * @param value The bytes for databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); databaseId_ = value; bitField0_ |= 0x00000002; @@ -786,34 +867,47 @@ public Builder setDatabaseIdBytes( private com.google.datastore.v1.TransactionOptions transactionOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.TransactionOptions, com.google.datastore.v1.TransactionOptions.Builder, com.google.datastore.v1.TransactionOptionsOrBuilder> transactionOptionsBuilder_; + com.google.datastore.v1.TransactionOptions, + com.google.datastore.v1.TransactionOptions.Builder, + com.google.datastore.v1.TransactionOptionsOrBuilder> + transactionOptionsBuilder_; /** + * + * *
      * Options for a new transaction.
      * 
* * .google.datastore.v1.TransactionOptions transaction_options = 10; + * * @return Whether the transactionOptions field is set. */ public boolean hasTransactionOptions() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Options for a new transaction.
      * 
* * .google.datastore.v1.TransactionOptions transaction_options = 10; + * * @return The transactionOptions. */ public com.google.datastore.v1.TransactionOptions getTransactionOptions() { if (transactionOptionsBuilder_ == null) { - return transactionOptions_ == null ? com.google.datastore.v1.TransactionOptions.getDefaultInstance() : transactionOptions_; + return transactionOptions_ == null + ? com.google.datastore.v1.TransactionOptions.getDefaultInstance() + : transactionOptions_; } else { return transactionOptionsBuilder_.getMessage(); } } /** + * + * *
      * Options for a new transaction.
      * 
@@ -834,6 +928,8 @@ public Builder setTransactionOptions(com.google.datastore.v1.TransactionOptions return this; } /** + * + * *
      * Options for a new transaction.
      * 
@@ -852,6 +948,8 @@ public Builder setTransactionOptions( return this; } /** + * + * *
      * Options for a new transaction.
      * 
@@ -860,9 +958,10 @@ public Builder setTransactionOptions( */ public Builder mergeTransactionOptions(com.google.datastore.v1.TransactionOptions value) { if (transactionOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - transactionOptions_ != null && - transactionOptions_ != com.google.datastore.v1.TransactionOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && transactionOptions_ != null + && transactionOptions_ + != com.google.datastore.v1.TransactionOptions.getDefaultInstance()) { getTransactionOptionsBuilder().mergeFrom(value); } else { transactionOptions_ = value; @@ -877,6 +976,8 @@ public Builder mergeTransactionOptions(com.google.datastore.v1.TransactionOption return this; } /** + * + * *
      * Options for a new transaction.
      * 
@@ -894,6 +995,8 @@ public Builder clearTransactionOptions() { return this; } /** + * + * *
      * Options for a new transaction.
      * 
@@ -906,6 +1009,8 @@ public com.google.datastore.v1.TransactionOptions.Builder getTransactionOptionsB return getTransactionOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Options for a new transaction.
      * 
@@ -916,11 +1021,14 @@ public com.google.datastore.v1.TransactionOptionsOrBuilder getTransactionOptions if (transactionOptionsBuilder_ != null) { return transactionOptionsBuilder_.getMessageOrBuilder(); } else { - return transactionOptions_ == null ? - com.google.datastore.v1.TransactionOptions.getDefaultInstance() : transactionOptions_; + return transactionOptions_ == null + ? com.google.datastore.v1.TransactionOptions.getDefaultInstance() + : transactionOptions_; } } /** + * + * *
      * Options for a new transaction.
      * 
@@ -928,21 +1036,24 @@ public com.google.datastore.v1.TransactionOptionsOrBuilder getTransactionOptions * .google.datastore.v1.TransactionOptions transaction_options = 10; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.TransactionOptions, com.google.datastore.v1.TransactionOptions.Builder, com.google.datastore.v1.TransactionOptionsOrBuilder> + com.google.datastore.v1.TransactionOptions, + com.google.datastore.v1.TransactionOptions.Builder, + com.google.datastore.v1.TransactionOptionsOrBuilder> getTransactionOptionsFieldBuilder() { if (transactionOptionsBuilder_ == null) { - transactionOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.TransactionOptions, com.google.datastore.v1.TransactionOptions.Builder, com.google.datastore.v1.TransactionOptionsOrBuilder>( - getTransactionOptions(), - getParentForChildren(), - isClean()); + transactionOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.TransactionOptions, + com.google.datastore.v1.TransactionOptions.Builder, + com.google.datastore.v1.TransactionOptionsOrBuilder>( + getTransactionOptions(), getParentForChildren(), isClean()); transactionOptions_ = null; } return transactionOptionsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -952,12 +1063,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.v1.BeginTransactionRequest) } // @@protoc_insertion_point(class_scope:google.datastore.v1.BeginTransactionRequest) private static final com.google.datastore.v1.BeginTransactionRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.v1.BeginTransactionRequest(); } @@ -966,27 +1077,27 @@ public static com.google.datastore.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; @@ -1001,6 +1112,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.BeginTransactionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequestOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequestOrBuilder.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequestOrBuilder.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequestOrBuilder.java index 078ae966e..322bbccc6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequestOrBuilder.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionRequestOrBuilder.java @@ -1,34 +1,57 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface BeginTransactionRequestOrBuilder extends +public interface BeginTransactionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.BeginTransactionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -37,10 +60,13 @@ public interface BeginTransactionRequestOrBuilder extends
    * 
* * string database_id = 9; + * * @return The databaseId. */ java.lang.String getDatabaseId(); /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -49,30 +75,38 @@ public interface BeginTransactionRequestOrBuilder extends
    * 
* * string database_id = 9; + * * @return The bytes for databaseId. */ - com.google.protobuf.ByteString - getDatabaseIdBytes(); + com.google.protobuf.ByteString getDatabaseIdBytes(); /** + * + * *
    * Options for a new transaction.
    * 
* * .google.datastore.v1.TransactionOptions transaction_options = 10; + * * @return Whether the transactionOptions field is set. */ boolean hasTransactionOptions(); /** + * + * *
    * Options for a new transaction.
    * 
* * .google.datastore.v1.TransactionOptions transaction_options = 10; + * * @return The transactionOptions. */ com.google.datastore.v1.TransactionOptions getTransactionOptions(); /** + * + * *
    * Options for a new transaction.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionResponse.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionResponse.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionResponse.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionResponse.java index ac851ca83..c955d18fd 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionResponse.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionResponse.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto @@ -5,6 +20,8 @@ package com.google.datastore.v1; /** + * + * *
  * The response for
  * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
@@ -12,47 +29,52 @@
  *
  * Protobuf type {@code google.datastore.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.datastore.v1.BeginTransactionResponse)
     BeginTransactionResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use BeginTransactionResponse.newBuilder() to construct.
   private BeginTransactionResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private BeginTransactionResponse() {
     transaction_ = com.google.protobuf.ByteString.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new BeginTransactionResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_BeginTransactionResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.datastore.v1.DatastoreProto
+        .internal_static_google_datastore_v1_BeginTransactionResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_BeginTransactionResponse_fieldAccessorTable
+    return com.google.datastore.v1.DatastoreProto
+        .internal_static_google_datastore_v1_BeginTransactionResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.v1.BeginTransactionResponse.class, com.google.datastore.v1.BeginTransactionResponse.Builder.class);
+            com.google.datastore.v1.BeginTransactionResponse.class,
+            com.google.datastore.v1.BeginTransactionResponse.Builder.class);
   }
 
   public static final int TRANSACTION_FIELD_NUMBER = 1;
   private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY;
   /**
+   *
+   *
    * 
    * The transaction identifier (always present).
    * 
* * bytes transaction = 1; + * * @return The transaction. */ @java.lang.Override @@ -61,6 +83,7 @@ public com.google.protobuf.ByteString getTransaction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -72,8 +95,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_); } @@ -87,8 +109,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; @@ -98,15 +119,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.datastore.v1.BeginTransactionResponse)) { return super.equals(obj); } - com.google.datastore.v1.BeginTransactionResponse other = (com.google.datastore.v1.BeginTransactionResponse) obj; + com.google.datastore.v1.BeginTransactionResponse other = + (com.google.datastore.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; } @@ -125,99 +146,104 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.BeginTransactionResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.datastore.v1.BeginTransactionResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.v1.BeginTransactionResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.v1.BeginTransactionResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.v1.BeginTransactionResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.datastore.v1.BeginTransactionResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.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.datastore.v1.BeginTransactionResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.BeginTransactionResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.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.datastore.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.datastore.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.datastore.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
    * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
@@ -225,33 +251,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.datastore.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.datastore.v1.BeginTransactionResponse)
       com.google.datastore.v1.BeginTransactionResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_BeginTransactionResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_BeginTransactionResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_BeginTransactionResponse_fieldAccessorTable
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_BeginTransactionResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.BeginTransactionResponse.class, com.google.datastore.v1.BeginTransactionResponse.Builder.class);
+              com.google.datastore.v1.BeginTransactionResponse.class,
+              com.google.datastore.v1.BeginTransactionResponse.Builder.class);
     }
 
     // Construct using com.google.datastore.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 +286,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_BeginTransactionResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_BeginTransactionResponse_descriptor;
     }
 
     @java.lang.Override
@@ -282,8 +307,11 @@ public com.google.datastore.v1.BeginTransactionResponse build() {
 
     @java.lang.Override
     public com.google.datastore.v1.BeginTransactionResponse buildPartial() {
-      com.google.datastore.v1.BeginTransactionResponse result = new com.google.datastore.v1.BeginTransactionResponse(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.datastore.v1.BeginTransactionResponse result =
+          new com.google.datastore.v1.BeginTransactionResponse(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -299,38 +327,39 @@ private void buildPartial0(com.google.datastore.v1.BeginTransactionResponse resu
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.BeginTransactionResponse) {
-        return mergeFrom((com.google.datastore.v1.BeginTransactionResponse)other);
+        return mergeFrom((com.google.datastore.v1.BeginTransactionResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -338,7 +367,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.datastore.v1.BeginTransactionResponse other) {
-      if (other == com.google.datastore.v1.BeginTransactionResponse.getDefaultInstance()) return this;
+      if (other == com.google.datastore.v1.BeginTransactionResponse.getDefaultInstance())
+        return this;
       if (other.getTransaction() != com.google.protobuf.ByteString.EMPTY) {
         setTransaction(other.getTransaction());
       }
@@ -368,17 +398,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              transaction_ = input.readBytes();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                transaction_ = input.readBytes();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -388,15 +420,19 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * The transaction identifier (always present).
      * 
* * bytes transaction = 1; + * * @return The transaction. */ @java.lang.Override @@ -404,27 +440,35 @@ public com.google.protobuf.ByteString getTransaction() { return transaction_; } /** + * + * *
      * The transaction identifier (always present).
      * 
* * bytes transaction = 1; + * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } transaction_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The transaction identifier (always present).
      * 
* * bytes transaction = 1; + * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -433,9 +477,9 @@ public Builder clearTransaction() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -445,12 +489,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.v1.BeginTransactionResponse) } // @@protoc_insertion_point(class_scope:google.datastore.v1.BeginTransactionResponse) private static final com.google.datastore.v1.BeginTransactionResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.v1.BeginTransactionResponse(); } @@ -459,27 +503,27 @@ public static com.google.datastore.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; @@ -494,6 +538,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.BeginTransactionResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionResponseOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionResponseOrBuilder.java new file mode 100644 index 000000000..065ffa4bd --- /dev/null +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/BeginTransactionResponseOrBuilder.java @@ -0,0 +1,39 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/datastore/v1/datastore.proto + +// Protobuf Java Version: 3.25.3 +package com.google.datastore.v1; + +public interface BeginTransactionResponseOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.datastore.v1.BeginTransactionResponse) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The transaction identifier (always present).
+   * 
+ * + * bytes transaction = 1; + * + * @return The transaction. + */ + com.google.protobuf.ByteString getTransaction(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequest.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequest.java similarity index 79% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequest.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequest.java index 8443c96b8..3b865f5be 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequest.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto @@ -5,21 +20,24 @@ package com.google.datastore.v1; /** + * + * *
  * The request for [Datastore.Commit][google.datastore.v1.Datastore.Commit].
  * 
* * Protobuf type {@code google.datastore.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.datastore.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() { projectId_ = ""; databaseId_ = ""; @@ -29,34 +47,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(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_CommitRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_CommitRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_CommitRequest_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_CommitRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.CommitRequest.class, com.google.datastore.v1.CommitRequest.Builder.class); + com.google.datastore.v1.CommitRequest.class, + com.google.datastore.v1.CommitRequest.Builder.class); } /** + * + * *
    * The modes available for commits.
    * 
* * Protobuf enum {@code google.datastore.v1.CommitRequest.Mode} */ - public enum Mode - implements com.google.protobuf.ProtocolMessageEnum { + public enum Mode implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified. This value must not be used.
      * 
@@ -65,6 +87,8 @@ public enum Mode */ MODE_UNSPECIFIED(0), /** + * + * *
      * Transactional: The mutations are either all applied, or none are applied.
      * Learn about transactions
@@ -75,6 +99,8 @@ public enum Mode
      */
     TRANSACTIONAL(1),
     /**
+     *
+     *
      * 
      * Non-transactional: The mutations may not apply as all or none.
      * 
@@ -86,6 +112,8 @@ public enum Mode ; /** + * + * *
      * Unspecified. This value must not be used.
      * 
@@ -94,6 +122,8 @@ public enum Mode */ public static final int MODE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Transactional: The mutations are either all applied, or none are applied.
      * Learn about transactions
@@ -104,6 +134,8 @@ public enum Mode
      */
     public static final int TRANSACTIONAL_VALUE = 1;
     /**
+     *
+     *
      * 
      * Non-transactional: The mutations may not apply as all or none.
      * 
@@ -112,7 +144,6 @@ public enum Mode */ public static final int NON_TRANSACTIONAL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -137,49 +168,49 @@ public static Mode valueOf(int value) { */ public static Mode forNumber(int value) { switch (value) { - case 0: return MODE_UNSPECIFIED; - case 1: return TRANSACTIONAL; - case 2: return NON_TRANSACTIONAL; - default: return null; + case 0: + return MODE_UNSPECIFIED; + case 1: + return TRANSACTIONAL; + case 2: + return NON_TRANSACTIONAL; + 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< - Mode> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Mode findValueByNumber(int number) { - return Mode.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 Mode findValueByNumber(int number) { + return Mode.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.datastore.v1.CommitRequest.getDescriptor().getEnumTypes().get(0); } private static final Mode[] VALUES = values(); - public static Mode valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static Mode 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; @@ -197,15 +228,19 @@ private Mode(int value) { } private int transactionSelectorCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object transactionSelector_; + public enum TransactionSelectorCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TRANSACTION(1), SINGLE_USE_TRANSACTION(10), TRANSACTIONSELECTOR_NOT_SET(0); private final int value; + private TransactionSelectorCase(int value) { this.value = value; } @@ -221,32 +256,39 @@ public static TransactionSelectorCase valueOf(int value) { public static TransactionSelectorCase forNumber(int value) { switch (value) { - case 1: return TRANSACTION; - case 10: return SINGLE_USE_TRANSACTION; - case 0: return TRANSACTIONSELECTOR_NOT_SET; - default: return null; + case 1: + return TRANSACTION; + case 10: + return SINGLE_USE_TRANSACTION; + case 0: + return TRANSACTIONSELECTOR_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public TransactionSelectorCase - getTransactionSelectorCase() { - return TransactionSelectorCase.forNumber( - transactionSelectorCase_); + public TransactionSelectorCase getTransactionSelectorCase() { + return TransactionSelectorCase.forNumber(transactionSelectorCase_); } public static final int PROJECT_ID_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** + * + * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ @java.lang.Override @@ -255,29 +297,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -286,9 +328,12 @@ public java.lang.String getProjectId() { } public static final int DATABASE_ID_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object databaseId_ = ""; /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -297,6 +342,7 @@ public java.lang.String getProjectId() {
    * 
* * string database_id = 9; + * * @return The databaseId. */ @java.lang.Override @@ -305,14 +351,15 @@ public java.lang.String getDatabaseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; } } /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -321,16 +368,15 @@ public java.lang.String getDatabaseId() {
    * 
* * string database_id = 9; + * * @return The bytes for databaseId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseIdBytes() { + public com.google.protobuf.ByteString getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); databaseId_ = b; return b; } else { @@ -341,31 +387,42 @@ public java.lang.String getDatabaseId() { public static final int MODE_FIELD_NUMBER = 5; private int mode_ = 0; /** + * + * *
    * The type of commit to perform. Defaults to `TRANSACTIONAL`.
    * 
* * .google.datastore.v1.CommitRequest.Mode mode = 5; + * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override public int getModeValue() { + @java.lang.Override + public int getModeValue() { return mode_; } /** + * + * *
    * The type of commit to perform. Defaults to `TRANSACTIONAL`.
    * 
* * .google.datastore.v1.CommitRequest.Mode mode = 5; + * * @return The mode. */ - @java.lang.Override public com.google.datastore.v1.CommitRequest.Mode getMode() { - com.google.datastore.v1.CommitRequest.Mode result = com.google.datastore.v1.CommitRequest.Mode.forNumber(mode_); + @java.lang.Override + public com.google.datastore.v1.CommitRequest.Mode getMode() { + com.google.datastore.v1.CommitRequest.Mode result = + com.google.datastore.v1.CommitRequest.Mode.forNumber(mode_); return result == null ? com.google.datastore.v1.CommitRequest.Mode.UNRECOGNIZED : result; } public static final int TRANSACTION_FIELD_NUMBER = 1; /** + * + * *
    * The identifier of the transaction associated with the commit. A
    * transaction identifier is returned by a call to
@@ -373,6 +430,7 @@ public java.lang.String getDatabaseId() {
    * 
* * bytes transaction = 1; + * * @return Whether the transaction field is set. */ @java.lang.Override @@ -380,6 +438,8 @@ public boolean hasTransaction() { return transactionSelectorCase_ == 1; } /** + * + * *
    * The identifier of the transaction associated with the commit. A
    * transaction identifier is returned by a call to
@@ -387,6 +447,7 @@ public boolean hasTransaction() {
    * 
* * bytes transaction = 1; + * * @return The transaction. */ @java.lang.Override @@ -399,6 +460,8 @@ public com.google.protobuf.ByteString getTransaction() { public static final int SINGLE_USE_TRANSACTION_FIELD_NUMBER = 10; /** + * + * *
    * Options for beginning a new transaction for this request.
    * The transaction is committed when the request completes. If specified,
@@ -407,6 +470,7 @@ public com.google.protobuf.ByteString getTransaction() {
    * 
* * .google.datastore.v1.TransactionOptions single_use_transaction = 10; + * * @return Whether the singleUseTransaction field is set. */ @java.lang.Override @@ -414,6 +478,8 @@ public boolean hasSingleUseTransaction() { return transactionSelectorCase_ == 10; } /** + * + * *
    * Options for beginning a new transaction for this request.
    * The transaction is committed when the request completes. If specified,
@@ -422,16 +488,19 @@ public boolean hasSingleUseTransaction() {
    * 
* * .google.datastore.v1.TransactionOptions single_use_transaction = 10; + * * @return The singleUseTransaction. */ @java.lang.Override public com.google.datastore.v1.TransactionOptions getSingleUseTransaction() { if (transactionSelectorCase_ == 10) { - return (com.google.datastore.v1.TransactionOptions) transactionSelector_; + return (com.google.datastore.v1.TransactionOptions) transactionSelector_; } return com.google.datastore.v1.TransactionOptions.getDefaultInstance(); } /** + * + * *
    * Options for beginning a new transaction for this request.
    * The transaction is committed when the request completes. If specified,
@@ -444,15 +513,18 @@ public com.google.datastore.v1.TransactionOptions getSingleUseTransaction() {
   @java.lang.Override
   public com.google.datastore.v1.TransactionOptionsOrBuilder getSingleUseTransactionOrBuilder() {
     if (transactionSelectorCase_ == 10) {
-       return (com.google.datastore.v1.TransactionOptions) transactionSelector_;
+      return (com.google.datastore.v1.TransactionOptions) transactionSelector_;
     }
     return com.google.datastore.v1.TransactionOptions.getDefaultInstance();
   }
 
   public static final int MUTATIONS_FIELD_NUMBER = 6;
+
   @SuppressWarnings("serial")
   private java.util.List mutations_;
   /**
+   *
+   *
    * 
    * The mutations to perform.
    *
@@ -476,6 +548,8 @@ public java.util.List getMutationsList() {
     return mutations_;
   }
   /**
+   *
+   *
    * 
    * The mutations to perform.
    *
@@ -495,11 +569,13 @@ public java.util.List getMutationsList() {
    * repeated .google.datastore.v1.Mutation mutations = 6;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getMutationsOrBuilderList() {
     return mutations_;
   }
   /**
+   *
+   *
    * 
    * The mutations to perform.
    *
@@ -523,6 +599,8 @@ public int getMutationsCount() {
     return mutations_.size();
   }
   /**
+   *
+   *
    * 
    * The mutations to perform.
    *
@@ -546,6 +624,8 @@ public com.google.datastore.v1.Mutation getMutations(int index) {
     return mutations_.get(index);
   }
   /**
+   *
+   *
    * 
    * The mutations to perform.
    *
@@ -565,12 +645,12 @@ public com.google.datastore.v1.Mutation getMutations(int index) {
    * repeated .google.datastore.v1.Mutation mutations = 6;
    */
   @java.lang.Override
-  public com.google.datastore.v1.MutationOrBuilder getMutationsOrBuilder(
-      int index) {
+  public com.google.datastore.v1.MutationOrBuilder getMutationsOrBuilder(int index) {
     return mutations_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -582,11 +662,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 (transactionSelectorCase_ == 1) {
-      output.writeBytes(
-          1, (com.google.protobuf.ByteString) transactionSelector_);
+      output.writeBytes(1, (com.google.protobuf.ByteString) transactionSelector_);
     }
     if (mode_ != com.google.datastore.v1.CommitRequest.Mode.MODE_UNSPECIFIED.getNumber()) {
       output.writeEnum(5, mode_);
@@ -613,17 +691,15 @@ public int getSerializedSize() {
 
     size = 0;
     if (transactionSelectorCase_ == 1) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(
-            1, (com.google.protobuf.ByteString) transactionSelector_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeBytesSize(
+              1, (com.google.protobuf.ByteString) transactionSelector_);
     }
     if (mode_ != com.google.datastore.v1.CommitRequest.Mode.MODE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(5, mode_);
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, mode_);
     }
     for (int i = 0; i < mutations_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, mutations_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, mutations_.get(i));
     }
     if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, projectId_);
@@ -632,8 +708,9 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, databaseId_);
     }
     if (transactionSelectorCase_ == 10) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(10, (com.google.datastore.v1.TransactionOptions) transactionSelector_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              10, (com.google.datastore.v1.TransactionOptions) transactionSelector_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -643,29 +720,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.datastore.v1.CommitRequest)) {
       return super.equals(obj);
     }
     com.google.datastore.v1.CommitRequest other = (com.google.datastore.v1.CommitRequest) obj;
 
-    if (!getProjectId()
-        .equals(other.getProjectId())) return false;
-    if (!getDatabaseId()
-        .equals(other.getDatabaseId())) return false;
+    if (!getProjectId().equals(other.getProjectId())) return false;
+    if (!getDatabaseId().equals(other.getDatabaseId())) return false;
     if (mode_ != other.mode_) return false;
-    if (!getMutationsList()
-        .equals(other.getMutationsList())) return false;
+    if (!getMutationsList().equals(other.getMutationsList())) return false;
     if (!getTransactionSelectorCase().equals(other.getTransactionSelectorCase())) return false;
     switch (transactionSelectorCase_) {
       case 1:
-        if (!getTransaction()
-            .equals(other.getTransaction())) return false;
+        if (!getTransaction().equals(other.getTransaction())) return false;
         break;
       case 10:
-        if (!getSingleUseTransaction()
-            .equals(other.getSingleUseTransaction())) return false;
+        if (!getSingleUseTransaction().equals(other.getSingleUseTransaction())) return false;
         break;
       case 0:
       default:
@@ -708,132 +780,135 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.CommitRequest parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.CommitRequest parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.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.datastore.v1.CommitRequest parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.datastore.v1.CommitRequest parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.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.datastore.v1.CommitRequest parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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 [Datastore.Commit][google.datastore.v1.Datastore.Commit].
    * 
* * Protobuf type {@code google.datastore.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.datastore.v1.CommitRequest) com.google.datastore.v1.CommitRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_CommitRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_CommitRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_CommitRequest_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_CommitRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.CommitRequest.class, com.google.datastore.v1.CommitRequest.Builder.class); + com.google.datastore.v1.CommitRequest.class, + com.google.datastore.v1.CommitRequest.Builder.class); } // Construct using com.google.datastore.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(); @@ -857,9 +932,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_CommitRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_CommitRequest_descriptor; } @java.lang.Override @@ -878,9 +953,12 @@ public com.google.datastore.v1.CommitRequest build() { @java.lang.Override public com.google.datastore.v1.CommitRequest buildPartial() { - com.google.datastore.v1.CommitRequest result = new com.google.datastore.v1.CommitRequest(this); + com.google.datastore.v1.CommitRequest result = + new com.google.datastore.v1.CommitRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -914,8 +992,7 @@ private void buildPartial0(com.google.datastore.v1.CommitRequest result) { private void buildPartialOneofs(com.google.datastore.v1.CommitRequest result) { result.transactionSelectorCase_ = transactionSelectorCase_; result.transactionSelector_ = this.transactionSelector_; - if (transactionSelectorCase_ == 10 && - singleUseTransactionBuilder_ != null) { + if (transactionSelectorCase_ == 10 && singleUseTransactionBuilder_ != null) { result.transactionSelector_ = singleUseTransactionBuilder_.build(); } } @@ -924,38 +1001,39 @@ private void buildPartialOneofs(com.google.datastore.v1.CommitRequest result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.CommitRequest) { - return mergeFrom((com.google.datastore.v1.CommitRequest)other); + return mergeFrom((com.google.datastore.v1.CommitRequest) other); } else { super.mergeFrom(other); return this; @@ -995,26 +1073,30 @@ public Builder mergeFrom(com.google.datastore.v1.CommitRequest other) { mutationsBuilder_ = null; mutations_ = other.mutations_; bitField0_ = (bitField0_ & ~0x00000020); - mutationsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMutationsFieldBuilder() : null; + mutationsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMutationsFieldBuilder() + : null; } else { mutationsBuilder_.addAllMessages(other.mutations_); } } } switch (other.getTransactionSelectorCase()) { - case TRANSACTION: { - setTransaction(other.getTransaction()); - break; - } - case SINGLE_USE_TRANSACTION: { - mergeSingleUseTransaction(other.getSingleUseTransaction()); - break; - } - case TRANSACTIONSELECTOR_NOT_SET: { - break; - } + case TRANSACTION: + { + setTransaction(other.getTransaction()); + break; + } + case SINGLE_USE_TRANSACTION: + { + mergeSingleUseTransaction(other.getSingleUseTransaction()); + break; + } + case TRANSACTIONSELECTOR_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -1042,52 +1124,56 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - transactionSelector_ = input.readBytes(); - transactionSelectorCase_ = 1; - break; - } // case 10 - case 40: { - mode_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 40 - case 50: { - com.google.datastore.v1.Mutation m = - input.readMessage( - com.google.datastore.v1.Mutation.parser(), - extensionRegistry); - if (mutationsBuilder_ == null) { - ensureMutationsIsMutable(); - mutations_.add(m); - } else { - mutationsBuilder_.addMessage(m); - } - break; - } // case 50 - case 66: { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 66 - case 74: { - databaseId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 74 - case 82: { - input.readMessage( - getSingleUseTransactionFieldBuilder().getBuilder(), - extensionRegistry); - transactionSelectorCase_ = 10; - break; - } // case 82 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + transactionSelector_ = input.readBytes(); + transactionSelectorCase_ = 1; + break; + } // case 10 + case 40: + { + mode_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 40 + case 50: + { + com.google.datastore.v1.Mutation m = + input.readMessage(com.google.datastore.v1.Mutation.parser(), extensionRegistry); + if (mutationsBuilder_ == null) { + ensureMutationsIsMutable(); + mutations_.add(m); + } else { + mutationsBuilder_.addMessage(m); + } + break; + } // case 50 + case 66: + { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 66 + case 74: + { + databaseId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 74 + case 82: + { + input.readMessage( + getSingleUseTransactionFieldBuilder().getBuilder(), extensionRegistry); + transactionSelectorCase_ = 10; + break; + } // case 82 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1097,12 +1183,12 @@ public Builder mergeFrom( } // finally return this; } + private int transactionSelectorCase_ = 0; private java.lang.Object transactionSelector_; - public TransactionSelectorCase - getTransactionSelectorCase() { - return TransactionSelectorCase.forNumber( - transactionSelectorCase_); + + public TransactionSelectorCase getTransactionSelectorCase() { + return TransactionSelectorCase.forNumber(transactionSelectorCase_); } public Builder clearTransactionSelector() { @@ -1116,18 +1202,20 @@ public Builder clearTransactionSelector() { private java.lang.Object projectId_ = ""; /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -1136,20 +1224,21 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -1157,28 +1246,35 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -1188,17 +1284,21 @@ public Builder clearProjectId() { return this; } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -1208,6 +1308,8 @@ public Builder setProjectIdBytes( private java.lang.Object databaseId_ = ""; /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -1216,13 +1318,13 @@ public Builder setProjectIdBytes(
      * 
* * string database_id = 9; + * * @return The databaseId. */ public java.lang.String getDatabaseId() { java.lang.Object ref = databaseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; @@ -1231,6 +1333,8 @@ public java.lang.String getDatabaseId() { } } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -1239,15 +1343,14 @@ public java.lang.String getDatabaseId() {
      * 
* * string database_id = 9; + * * @return The bytes for databaseId. */ - public com.google.protobuf.ByteString - getDatabaseIdBytes() { + public com.google.protobuf.ByteString getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); databaseId_ = b; return b; } else { @@ -1255,6 +1358,8 @@ public java.lang.String getDatabaseId() { } } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -1263,18 +1368,22 @@ public java.lang.String getDatabaseId() {
      * 
* * string database_id = 9; + * * @param value The databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } databaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -1283,6 +1392,7 @@ public Builder setDatabaseId(
      * 
* * string database_id = 9; + * * @return This builder for chaining. */ public Builder clearDatabaseId() { @@ -1292,6 +1402,8 @@ public Builder clearDatabaseId() { return this; } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -1300,12 +1412,14 @@ public Builder clearDatabaseId() {
      * 
* * string database_id = 9; + * * @param value The bytes for databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); databaseId_ = value; bitField0_ |= 0x00000002; @@ -1315,22 +1429,29 @@ public Builder setDatabaseIdBytes( private int mode_ = 0; /** + * + * *
      * The type of commit to perform. Defaults to `TRANSACTIONAL`.
      * 
* * .google.datastore.v1.CommitRequest.Mode mode = 5; + * * @return The enum numeric value on the wire for mode. */ - @java.lang.Override public int getModeValue() { + @java.lang.Override + public int getModeValue() { return mode_; } /** + * + * *
      * The type of commit to perform. Defaults to `TRANSACTIONAL`.
      * 
* * .google.datastore.v1.CommitRequest.Mode mode = 5; + * * @param value The enum numeric value on the wire for mode to set. * @return This builder for chaining. */ @@ -1341,24 +1462,31 @@ public Builder setModeValue(int value) { return this; } /** + * + * *
      * The type of commit to perform. Defaults to `TRANSACTIONAL`.
      * 
* * .google.datastore.v1.CommitRequest.Mode mode = 5; + * * @return The mode. */ @java.lang.Override public com.google.datastore.v1.CommitRequest.Mode getMode() { - com.google.datastore.v1.CommitRequest.Mode result = com.google.datastore.v1.CommitRequest.Mode.forNumber(mode_); + com.google.datastore.v1.CommitRequest.Mode result = + com.google.datastore.v1.CommitRequest.Mode.forNumber(mode_); return result == null ? com.google.datastore.v1.CommitRequest.Mode.UNRECOGNIZED : result; } /** + * + * *
      * The type of commit to perform. Defaults to `TRANSACTIONAL`.
      * 
* * .google.datastore.v1.CommitRequest.Mode mode = 5; + * * @param value The mode to set. * @return This builder for chaining. */ @@ -1372,11 +1500,14 @@ public Builder setMode(com.google.datastore.v1.CommitRequest.Mode value) { return this; } /** + * + * *
      * The type of commit to perform. Defaults to `TRANSACTIONAL`.
      * 
* * .google.datastore.v1.CommitRequest.Mode mode = 5; + * * @return This builder for chaining. */ public Builder clearMode() { @@ -1387,6 +1518,8 @@ public Builder clearMode() { } /** + * + * *
      * The identifier of the transaction associated with the commit. A
      * transaction identifier is returned by a call to
@@ -1394,12 +1527,15 @@ public Builder clearMode() {
      * 
* * bytes transaction = 1; + * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return transactionSelectorCase_ == 1; } /** + * + * *
      * The identifier of the transaction associated with the commit. A
      * transaction identifier is returned by a call to
@@ -1407,6 +1543,7 @@ public boolean hasTransaction() {
      * 
* * bytes transaction = 1; + * * @return The transaction. */ public com.google.protobuf.ByteString getTransaction() { @@ -1416,6 +1553,8 @@ public com.google.protobuf.ByteString getTransaction() { return com.google.protobuf.ByteString.EMPTY; } /** + * + * *
      * The identifier of the transaction associated with the commit. A
      * transaction identifier is returned by a call to
@@ -1423,17 +1562,22 @@ public com.google.protobuf.ByteString getTransaction() {
      * 
* * bytes transaction = 1; + * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } transactionSelectorCase_ = 1; transactionSelector_ = value; onChanged(); return this; } /** + * + * *
      * The identifier of the transaction associated with the commit. A
      * transaction identifier is returned by a call to
@@ -1441,6 +1585,7 @@ public Builder setTransaction(com.google.protobuf.ByteString value) {
      * 
* * bytes transaction = 1; + * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -1453,8 +1598,13 @@ public Builder clearTransaction() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.TransactionOptions, com.google.datastore.v1.TransactionOptions.Builder, com.google.datastore.v1.TransactionOptionsOrBuilder> singleUseTransactionBuilder_; + com.google.datastore.v1.TransactionOptions, + com.google.datastore.v1.TransactionOptions.Builder, + com.google.datastore.v1.TransactionOptionsOrBuilder> + singleUseTransactionBuilder_; /** + * + * *
      * Options for beginning a new transaction for this request.
      * The transaction is committed when the request completes. If specified,
@@ -1463,6 +1613,7 @@ public Builder clearTransaction() {
      * 
* * .google.datastore.v1.TransactionOptions single_use_transaction = 10; + * * @return Whether the singleUseTransaction field is set. */ @java.lang.Override @@ -1470,6 +1621,8 @@ public boolean hasSingleUseTransaction() { return transactionSelectorCase_ == 10; } /** + * + * *
      * Options for beginning a new transaction for this request.
      * The transaction is committed when the request completes. If specified,
@@ -1478,6 +1631,7 @@ public boolean hasSingleUseTransaction() {
      * 
* * .google.datastore.v1.TransactionOptions single_use_transaction = 10; + * * @return The singleUseTransaction. */ @java.lang.Override @@ -1495,6 +1649,8 @@ public com.google.datastore.v1.TransactionOptions getSingleUseTransaction() { } } /** + * + * *
      * Options for beginning a new transaction for this request.
      * The transaction is committed when the request completes. If specified,
@@ -1518,6 +1674,8 @@ public Builder setSingleUseTransaction(com.google.datastore.v1.TransactionOption
       return this;
     }
     /**
+     *
+     *
      * 
      * Options for beginning a new transaction for this request.
      * The transaction is committed when the request completes. If specified,
@@ -1539,6 +1697,8 @@ public Builder setSingleUseTransaction(
       return this;
     }
     /**
+     *
+     *
      * 
      * Options for beginning a new transaction for this request.
      * The transaction is committed when the request completes. If specified,
@@ -1550,10 +1710,14 @@ public Builder setSingleUseTransaction(
      */
     public Builder mergeSingleUseTransaction(com.google.datastore.v1.TransactionOptions value) {
       if (singleUseTransactionBuilder_ == null) {
-        if (transactionSelectorCase_ == 10 &&
-            transactionSelector_ != com.google.datastore.v1.TransactionOptions.getDefaultInstance()) {
-          transactionSelector_ = com.google.datastore.v1.TransactionOptions.newBuilder((com.google.datastore.v1.TransactionOptions) transactionSelector_)
-              .mergeFrom(value).buildPartial();
+        if (transactionSelectorCase_ == 10
+            && transactionSelector_
+                != com.google.datastore.v1.TransactionOptions.getDefaultInstance()) {
+          transactionSelector_ =
+              com.google.datastore.v1.TransactionOptions.newBuilder(
+                      (com.google.datastore.v1.TransactionOptions) transactionSelector_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           transactionSelector_ = value;
         }
@@ -1569,6 +1733,8 @@ public Builder mergeSingleUseTransaction(com.google.datastore.v1.TransactionOpti
       return this;
     }
     /**
+     *
+     *
      * 
      * Options for beginning a new transaction for this request.
      * The transaction is committed when the request completes. If specified,
@@ -1595,6 +1761,8 @@ public Builder clearSingleUseTransaction() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Options for beginning a new transaction for this request.
      * The transaction is committed when the request completes. If specified,
@@ -1608,6 +1776,8 @@ public com.google.datastore.v1.TransactionOptions.Builder getSingleUseTransactio
       return getSingleUseTransactionFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Options for beginning a new transaction for this request.
      * The transaction is committed when the request completes. If specified,
@@ -1629,6 +1799,8 @@ public com.google.datastore.v1.TransactionOptionsOrBuilder getSingleUseTransacti
       }
     }
     /**
+     *
+     *
      * 
      * Options for beginning a new transaction for this request.
      * The transaction is committed when the request completes. If specified,
@@ -1639,14 +1811,19 @@ public com.google.datastore.v1.TransactionOptionsOrBuilder getSingleUseTransacti
      * .google.datastore.v1.TransactionOptions single_use_transaction = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.v1.TransactionOptions, com.google.datastore.v1.TransactionOptions.Builder, com.google.datastore.v1.TransactionOptionsOrBuilder> 
+            com.google.datastore.v1.TransactionOptions,
+            com.google.datastore.v1.TransactionOptions.Builder,
+            com.google.datastore.v1.TransactionOptionsOrBuilder>
         getSingleUseTransactionFieldBuilder() {
       if (singleUseTransactionBuilder_ == null) {
         if (!(transactionSelectorCase_ == 10)) {
           transactionSelector_ = com.google.datastore.v1.TransactionOptions.getDefaultInstance();
         }
-        singleUseTransactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.TransactionOptions, com.google.datastore.v1.TransactionOptions.Builder, com.google.datastore.v1.TransactionOptionsOrBuilder>(
+        singleUseTransactionBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.datastore.v1.TransactionOptions,
+                com.google.datastore.v1.TransactionOptions.Builder,
+                com.google.datastore.v1.TransactionOptionsOrBuilder>(
                 (com.google.datastore.v1.TransactionOptions) transactionSelector_,
                 getParentForChildren(),
                 isClean());
@@ -1658,18 +1835,24 @@ public com.google.datastore.v1.TransactionOptionsOrBuilder getSingleUseTransacti
     }
 
     private java.util.List mutations_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureMutationsIsMutable() {
       if (!((bitField0_ & 0x00000020) != 0)) {
         mutations_ = new java.util.ArrayList(mutations_);
         bitField0_ |= 0x00000020;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.datastore.v1.Mutation, com.google.datastore.v1.Mutation.Builder, com.google.datastore.v1.MutationOrBuilder> mutationsBuilder_;
+            com.google.datastore.v1.Mutation,
+            com.google.datastore.v1.Mutation.Builder,
+            com.google.datastore.v1.MutationOrBuilder>
+        mutationsBuilder_;
 
     /**
+     *
+     *
      * 
      * The mutations to perform.
      *
@@ -1696,6 +1879,8 @@ public java.util.List getMutationsList() {
       }
     }
     /**
+     *
+     *
      * 
      * The mutations to perform.
      *
@@ -1722,6 +1907,8 @@ public int getMutationsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The mutations to perform.
      *
@@ -1748,6 +1935,8 @@ public com.google.datastore.v1.Mutation getMutations(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The mutations to perform.
      *
@@ -1766,8 +1955,7 @@ public com.google.datastore.v1.Mutation getMutations(int index) {
      *
      * repeated .google.datastore.v1.Mutation mutations = 6;
      */
-    public Builder setMutations(
-        int index, com.google.datastore.v1.Mutation value) {
+    public Builder setMutations(int index, com.google.datastore.v1.Mutation value) {
       if (mutationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1781,6 +1969,8 @@ public Builder setMutations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The mutations to perform.
      *
@@ -1811,6 +2001,8 @@ public Builder setMutations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The mutations to perform.
      *
@@ -1843,6 +2035,8 @@ public Builder addMutations(com.google.datastore.v1.Mutation value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The mutations to perform.
      *
@@ -1861,8 +2055,7 @@ public Builder addMutations(com.google.datastore.v1.Mutation value) {
      *
      * repeated .google.datastore.v1.Mutation mutations = 6;
      */
-    public Builder addMutations(
-        int index, com.google.datastore.v1.Mutation value) {
+    public Builder addMutations(int index, com.google.datastore.v1.Mutation value) {
       if (mutationsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1876,6 +2069,8 @@ public Builder addMutations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The mutations to perform.
      *
@@ -1894,8 +2089,7 @@ public Builder addMutations(
      *
      * repeated .google.datastore.v1.Mutation mutations = 6;
      */
-    public Builder addMutations(
-        com.google.datastore.v1.Mutation.Builder builderForValue) {
+    public Builder addMutations(com.google.datastore.v1.Mutation.Builder builderForValue) {
       if (mutationsBuilder_ == null) {
         ensureMutationsIsMutable();
         mutations_.add(builderForValue.build());
@@ -1906,6 +2100,8 @@ public Builder addMutations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The mutations to perform.
      *
@@ -1936,6 +2132,8 @@ public Builder addMutations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The mutations to perform.
      *
@@ -1958,8 +2156,7 @@ public Builder addAllMutations(
         java.lang.Iterable values) {
       if (mutationsBuilder_ == null) {
         ensureMutationsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, mutations_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, mutations_);
         onChanged();
       } else {
         mutationsBuilder_.addAllMessages(values);
@@ -1967,6 +2164,8 @@ public Builder addAllMutations(
       return this;
     }
     /**
+     *
+     *
      * 
      * The mutations to perform.
      *
@@ -1996,6 +2195,8 @@ public Builder clearMutations() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The mutations to perform.
      *
@@ -2025,6 +2226,8 @@ public Builder removeMutations(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The mutations to perform.
      *
@@ -2043,11 +2246,12 @@ public Builder removeMutations(int index) {
      *
      * repeated .google.datastore.v1.Mutation mutations = 6;
      */
-    public com.google.datastore.v1.Mutation.Builder getMutationsBuilder(
-        int index) {
+    public com.google.datastore.v1.Mutation.Builder getMutationsBuilder(int index) {
       return getMutationsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The mutations to perform.
      *
@@ -2066,14 +2270,16 @@ public com.google.datastore.v1.Mutation.Builder getMutationsBuilder(
      *
      * repeated .google.datastore.v1.Mutation mutations = 6;
      */
-    public com.google.datastore.v1.MutationOrBuilder getMutationsOrBuilder(
-        int index) {
+    public com.google.datastore.v1.MutationOrBuilder getMutationsOrBuilder(int index) {
       if (mutationsBuilder_ == null) {
-        return mutations_.get(index);  } else {
+        return mutations_.get(index);
+      } else {
         return mutationsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The mutations to perform.
      *
@@ -2092,8 +2298,8 @@ public com.google.datastore.v1.MutationOrBuilder getMutationsOrBuilder(
      *
      * repeated .google.datastore.v1.Mutation mutations = 6;
      */
-    public java.util.List 
-         getMutationsOrBuilderList() {
+    public java.util.List
+        getMutationsOrBuilderList() {
       if (mutationsBuilder_ != null) {
         return mutationsBuilder_.getMessageOrBuilderList();
       } else {
@@ -2101,6 +2307,8 @@ public com.google.datastore.v1.MutationOrBuilder getMutationsOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The mutations to perform.
      *
@@ -2120,10 +2328,12 @@ public com.google.datastore.v1.MutationOrBuilder getMutationsOrBuilder(
      * repeated .google.datastore.v1.Mutation mutations = 6;
      */
     public com.google.datastore.v1.Mutation.Builder addMutationsBuilder() {
-      return getMutationsFieldBuilder().addBuilder(
-          com.google.datastore.v1.Mutation.getDefaultInstance());
+      return getMutationsFieldBuilder()
+          .addBuilder(com.google.datastore.v1.Mutation.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The mutations to perform.
      *
@@ -2142,12 +2352,13 @@ public com.google.datastore.v1.Mutation.Builder addMutationsBuilder() {
      *
      * repeated .google.datastore.v1.Mutation mutations = 6;
      */
-    public com.google.datastore.v1.Mutation.Builder addMutationsBuilder(
-        int index) {
-      return getMutationsFieldBuilder().addBuilder(
-          index, com.google.datastore.v1.Mutation.getDefaultInstance());
+    public com.google.datastore.v1.Mutation.Builder addMutationsBuilder(int index) {
+      return getMutationsFieldBuilder()
+          .addBuilder(index, com.google.datastore.v1.Mutation.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The mutations to perform.
      *
@@ -2166,27 +2377,29 @@ public com.google.datastore.v1.Mutation.Builder addMutationsBuilder(
      *
      * repeated .google.datastore.v1.Mutation mutations = 6;
      */
-    public java.util.List 
-         getMutationsBuilderList() {
+    public java.util.List getMutationsBuilderList() {
       return getMutationsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.datastore.v1.Mutation, com.google.datastore.v1.Mutation.Builder, com.google.datastore.v1.MutationOrBuilder> 
+            com.google.datastore.v1.Mutation,
+            com.google.datastore.v1.Mutation.Builder,
+            com.google.datastore.v1.MutationOrBuilder>
         getMutationsFieldBuilder() {
       if (mutationsBuilder_ == null) {
-        mutationsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.datastore.v1.Mutation, com.google.datastore.v1.Mutation.Builder, com.google.datastore.v1.MutationOrBuilder>(
-                mutations_,
-                ((bitField0_ & 0x00000020) != 0),
-                getParentForChildren(),
-                isClean());
+        mutationsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.datastore.v1.Mutation,
+                com.google.datastore.v1.Mutation.Builder,
+                com.google.datastore.v1.MutationOrBuilder>(
+                mutations_, ((bitField0_ & 0x00000020) != 0), getParentForChildren(), isClean());
         mutations_ = null;
       }
       return mutationsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2196,12 +2409,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.CommitRequest)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.CommitRequest)
   private static final com.google.datastore.v1.CommitRequest DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.CommitRequest();
   }
@@ -2210,27 +2423,27 @@ public static com.google.datastore.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;
@@ -2245,6 +2458,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.CommitRequest getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequestOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequestOrBuilder.java
similarity index 87%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequestOrBuilder.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequestOrBuilder.java
index e193d44d3..8da438a01 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequestOrBuilder.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitRequestOrBuilder.java
@@ -1,34 +1,57 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/datastore.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface CommitRequestOrBuilder extends
+public interface CommitRequestOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.CommitRequest)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -37,10 +60,13 @@ public interface CommitRequestOrBuilder extends
    * 
* * string database_id = 9; + * * @return The databaseId. */ java.lang.String getDatabaseId(); /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -49,31 +75,39 @@ public interface CommitRequestOrBuilder extends
    * 
* * string database_id = 9; + * * @return The bytes for databaseId. */ - com.google.protobuf.ByteString - getDatabaseIdBytes(); + com.google.protobuf.ByteString getDatabaseIdBytes(); /** + * + * *
    * The type of commit to perform. Defaults to `TRANSACTIONAL`.
    * 
* * .google.datastore.v1.CommitRequest.Mode mode = 5; + * * @return The enum numeric value on the wire for mode. */ int getModeValue(); /** + * + * *
    * The type of commit to perform. Defaults to `TRANSACTIONAL`.
    * 
* * .google.datastore.v1.CommitRequest.Mode mode = 5; + * * @return The mode. */ com.google.datastore.v1.CommitRequest.Mode getMode(); /** + * + * *
    * The identifier of the transaction associated with the commit. A
    * transaction identifier is returned by a call to
@@ -81,10 +115,13 @@ public interface CommitRequestOrBuilder extends
    * 
* * bytes transaction = 1; + * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** + * + * *
    * The identifier of the transaction associated with the commit. A
    * transaction identifier is returned by a call to
@@ -92,11 +129,14 @@ public interface CommitRequestOrBuilder extends
    * 
* * bytes transaction = 1; + * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** + * + * *
    * Options for beginning a new transaction for this request.
    * The transaction is committed when the request completes. If specified,
@@ -105,10 +145,13 @@ public interface CommitRequestOrBuilder extends
    * 
* * .google.datastore.v1.TransactionOptions single_use_transaction = 10; + * * @return Whether the singleUseTransaction field is set. */ boolean hasSingleUseTransaction(); /** + * + * *
    * Options for beginning a new transaction for this request.
    * The transaction is committed when the request completes. If specified,
@@ -117,10 +160,13 @@ public interface CommitRequestOrBuilder extends
    * 
* * .google.datastore.v1.TransactionOptions single_use_transaction = 10; + * * @return The singleUseTransaction. */ com.google.datastore.v1.TransactionOptions getSingleUseTransaction(); /** + * + * *
    * Options for beginning a new transaction for this request.
    * The transaction is committed when the request completes. If specified,
@@ -133,6 +179,8 @@ public interface CommitRequestOrBuilder extends
   com.google.datastore.v1.TransactionOptionsOrBuilder getSingleUseTransactionOrBuilder();
 
   /**
+   *
+   *
    * 
    * The mutations to perform.
    *
@@ -151,9 +199,10 @@ public interface CommitRequestOrBuilder extends
    *
    * repeated .google.datastore.v1.Mutation mutations = 6;
    */
-  java.util.List 
-      getMutationsList();
+  java.util.List getMutationsList();
   /**
+   *
+   *
    * 
    * The mutations to perform.
    *
@@ -174,6 +223,8 @@ public interface CommitRequestOrBuilder extends
    */
   com.google.datastore.v1.Mutation getMutations(int index);
   /**
+   *
+   *
    * 
    * The mutations to perform.
    *
@@ -194,6 +245,8 @@ public interface CommitRequestOrBuilder extends
    */
   int getMutationsCount();
   /**
+   *
+   *
    * 
    * The mutations to perform.
    *
@@ -212,9 +265,10 @@ public interface CommitRequestOrBuilder extends
    *
    * repeated .google.datastore.v1.Mutation mutations = 6;
    */
-  java.util.List 
-      getMutationsOrBuilderList();
+  java.util.List getMutationsOrBuilderList();
   /**
+   *
+   *
    * 
    * The mutations to perform.
    *
@@ -233,8 +287,7 @@ public interface CommitRequestOrBuilder extends
    *
    * repeated .google.datastore.v1.Mutation mutations = 6;
    */
-  com.google.datastore.v1.MutationOrBuilder getMutationsOrBuilder(
-      int index);
+  com.google.datastore.v1.MutationOrBuilder getMutationsOrBuilder(int index);
 
   com.google.datastore.v1.CommitRequest.TransactionSelectorCase getTransactionSelectorCase();
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitResponse.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitResponse.java
similarity index 75%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitResponse.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitResponse.java
index a9f2c5e73..610c275ea 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitResponse.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitResponse.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/datastore.proto
 
@@ -5,50 +20,57 @@
 package com.google.datastore.v1;
 
 /**
+ *
+ *
  * 
  * The response for [Datastore.Commit][google.datastore.v1.Datastore.Commit].
  * 
* * Protobuf type {@code google.datastore.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.datastore.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() { mutationResults_ = java.util.Collections.emptyList(); } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CommitResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_CommitResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_CommitResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_CommitResponse_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_CommitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.CommitResponse.class, com.google.datastore.v1.CommitResponse.Builder.class); + com.google.datastore.v1.CommitResponse.class, + com.google.datastore.v1.CommitResponse.Builder.class); } private int bitField0_; public static final int MUTATION_RESULTS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List mutationResults_; /** + * + * *
    * The result of performing the mutations.
    * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -61,6 +83,8 @@ public java.util.List getMutationResults
     return mutationResults_;
   }
   /**
+   *
+   *
    * 
    * The result of performing the mutations.
    * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -69,11 +93,13 @@ public java.util.List getMutationResults
    * repeated .google.datastore.v1.MutationResult mutation_results = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getMutationResultsOrBuilderList() {
     return mutationResults_;
   }
   /**
+   *
+   *
    * 
    * The result of performing the mutations.
    * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -86,6 +112,8 @@ public int getMutationResultsCount() {
     return mutationResults_.size();
   }
   /**
+   *
+   *
    * 
    * The result of performing the mutations.
    * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -98,6 +126,8 @@ public com.google.datastore.v1.MutationResult getMutationResults(int index) {
     return mutationResults_.get(index);
   }
   /**
+   *
+   *
    * 
    * The result of performing the mutations.
    * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -106,20 +136,22 @@ public com.google.datastore.v1.MutationResult getMutationResults(int index) {
    * repeated .google.datastore.v1.MutationResult mutation_results = 3;
    */
   @java.lang.Override
-  public com.google.datastore.v1.MutationResultOrBuilder getMutationResultsOrBuilder(
-      int index) {
+  public com.google.datastore.v1.MutationResultOrBuilder getMutationResultsOrBuilder(int index) {
     return mutationResults_.get(index);
   }
 
   public static final int INDEX_UPDATES_FIELD_NUMBER = 4;
   private int indexUpdates_ = 0;
   /**
+   *
+   *
    * 
    * The number of index entries updated during the commit, or zero if none were
    * updated.
    * 
* * int32 index_updates = 4; + * * @return The indexUpdates. */ @java.lang.Override @@ -130,11 +162,14 @@ public int getIndexUpdates() { public static final int COMMIT_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp commitTime_; /** + * + * *
    * The transaction commit timestamp. Not set for non-transactional commits.
    * 
* * .google.protobuf.Timestamp commit_time = 8; + * * @return Whether the commitTime field is set. */ @java.lang.Override @@ -142,11 +177,14 @@ public boolean hasCommitTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The transaction commit timestamp. Not set for non-transactional commits.
    * 
* * .google.protobuf.Timestamp commit_time = 8; + * * @return The commitTime. */ @java.lang.Override @@ -154,6 +192,8 @@ public com.google.protobuf.Timestamp getCommitTime() { return commitTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : commitTime_; } /** + * + * *
    * The transaction commit timestamp. Not set for non-transactional commits.
    * 
@@ -166,6 +206,7 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -177,8 +218,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < mutationResults_.size(); i++) { output.writeMessage(3, mutationResults_.get(i)); } @@ -198,16 +238,13 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < mutationResults_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, mutationResults_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, mutationResults_.get(i)); } if (indexUpdates_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(4, indexUpdates_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, indexUpdates_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(8, getCommitTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getCommitTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -217,21 +254,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.datastore.v1.CommitResponse)) { return super.equals(obj); } com.google.datastore.v1.CommitResponse other = (com.google.datastore.v1.CommitResponse) obj; - if (!getMutationResultsList() - .equals(other.getMutationResultsList())) return false; - if (getIndexUpdates() - != other.getIndexUpdates()) return false; + if (!getMutationResultsList().equals(other.getMutationResultsList())) return false; + if (getIndexUpdates() != other.getIndexUpdates()) 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; @@ -259,120 +293,127 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.CommitResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.datastore.v1.CommitResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.v1.CommitResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.v1.CommitResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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 [Datastore.Commit][google.datastore.v1.Datastore.Commit].
    * 
* * Protobuf type {@code google.datastore.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.datastore.v1.CommitResponse) com.google.datastore.v1.CommitResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_CommitResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_CommitResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_CommitResponse_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_CommitResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.CommitResponse.class, com.google.datastore.v1.CommitResponse.Builder.class); + com.google.datastore.v1.CommitResponse.class, + com.google.datastore.v1.CommitResponse.Builder.class); } // Construct using com.google.datastore.v1.CommitResponse.newBuilder() @@ -380,18 +421,18 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getMutationResultsFieldBuilder(); getCommitTimeFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -413,9 +454,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_CommitResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_CommitResponse_descriptor; } @java.lang.Override @@ -434,9 +475,12 @@ public com.google.datastore.v1.CommitResponse build() { @java.lang.Override public com.google.datastore.v1.CommitResponse buildPartial() { - com.google.datastore.v1.CommitResponse result = new com.google.datastore.v1.CommitResponse(this); + com.google.datastore.v1.CommitResponse result = + new com.google.datastore.v1.CommitResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -460,9 +504,7 @@ private void buildPartial0(com.google.datastore.v1.CommitResponse result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.commitTime_ = commitTimeBuilder_ == null - ? commitTime_ - : commitTimeBuilder_.build(); + result.commitTime_ = commitTimeBuilder_ == null ? commitTime_ : commitTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -472,38 +514,39 @@ private void buildPartial0(com.google.datastore.v1.CommitResponse result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.CommitResponse) { - return mergeFrom((com.google.datastore.v1.CommitResponse)other); + return mergeFrom((com.google.datastore.v1.CommitResponse) other); } else { super.mergeFrom(other); return this; @@ -530,9 +573,10 @@ public Builder mergeFrom(com.google.datastore.v1.CommitResponse other) { mutationResultsBuilder_ = null; mutationResults_ = other.mutationResults_; bitField0_ = (bitField0_ & ~0x00000001); - mutationResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMutationResultsFieldBuilder() : null; + mutationResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMutationResultsFieldBuilder() + : null; } else { mutationResultsBuilder_.addAllMessages(other.mutationResults_); } @@ -570,37 +614,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 26: { - com.google.datastore.v1.MutationResult m = - input.readMessage( - com.google.datastore.v1.MutationResult.parser(), - extensionRegistry); - if (mutationResultsBuilder_ == null) { - ensureMutationResultsIsMutable(); - mutationResults_.add(m); - } else { - mutationResultsBuilder_.addMessage(m); - } - break; - } // case 26 - case 32: { - indexUpdates_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 32 - case 66: { - input.readMessage( - getCommitTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 66 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 26: + { + com.google.datastore.v1.MutationResult m = + input.readMessage( + com.google.datastore.v1.MutationResult.parser(), extensionRegistry); + if (mutationResultsBuilder_ == null) { + ensureMutationResultsIsMutable(); + mutationResults_.add(m); + } else { + mutationResultsBuilder_.addMessage(m); + } + break; + } // case 26 + case 32: + { + indexUpdates_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 32 + case 66: + { + input.readMessage(getCommitTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + 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) { @@ -610,21 +655,29 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List mutationResults_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureMutationResultsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - mutationResults_ = new java.util.ArrayList(mutationResults_); + mutationResults_ = + new java.util.ArrayList(mutationResults_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.MutationResult, com.google.datastore.v1.MutationResult.Builder, com.google.datastore.v1.MutationResultOrBuilder> mutationResultsBuilder_; + com.google.datastore.v1.MutationResult, + com.google.datastore.v1.MutationResult.Builder, + com.google.datastore.v1.MutationResultOrBuilder> + mutationResultsBuilder_; /** + * + * *
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -640,6 +693,8 @@ public java.util.List getMutationResults
       }
     }
     /**
+     *
+     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -655,6 +710,8 @@ public int getMutationResultsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -670,6 +727,8 @@ public com.google.datastore.v1.MutationResult getMutationResults(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -677,8 +736,7 @@ public com.google.datastore.v1.MutationResult getMutationResults(int index) {
      *
      * repeated .google.datastore.v1.MutationResult mutation_results = 3;
      */
-    public Builder setMutationResults(
-        int index, com.google.datastore.v1.MutationResult value) {
+    public Builder setMutationResults(int index, com.google.datastore.v1.MutationResult value) {
       if (mutationResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -692,6 +750,8 @@ public Builder setMutationResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -711,6 +771,8 @@ public Builder setMutationResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -732,6 +794,8 @@ public Builder addMutationResults(com.google.datastore.v1.MutationResult value)
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -739,8 +803,7 @@ public Builder addMutationResults(com.google.datastore.v1.MutationResult value)
      *
      * repeated .google.datastore.v1.MutationResult mutation_results = 3;
      */
-    public Builder addMutationResults(
-        int index, com.google.datastore.v1.MutationResult value) {
+    public Builder addMutationResults(int index, com.google.datastore.v1.MutationResult value) {
       if (mutationResultsBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -754,6 +817,8 @@ public Builder addMutationResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -773,6 +838,8 @@ public Builder addMutationResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -792,6 +859,8 @@ public Builder addMutationResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -803,8 +872,7 @@ public Builder addAllMutationResults(
         java.lang.Iterable values) {
       if (mutationResultsBuilder_ == null) {
         ensureMutationResultsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, mutationResults_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, mutationResults_);
         onChanged();
       } else {
         mutationResultsBuilder_.addAllMessages(values);
@@ -812,6 +880,8 @@ public Builder addAllMutationResults(
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -830,6 +900,8 @@ public Builder clearMutationResults() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -848,6 +920,8 @@ public Builder removeMutationResults(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -855,11 +929,12 @@ public Builder removeMutationResults(int index) {
      *
      * repeated .google.datastore.v1.MutationResult mutation_results = 3;
      */
-    public com.google.datastore.v1.MutationResult.Builder getMutationResultsBuilder(
-        int index) {
+    public com.google.datastore.v1.MutationResult.Builder getMutationResultsBuilder(int index) {
       return getMutationResultsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -867,14 +942,16 @@ public com.google.datastore.v1.MutationResult.Builder getMutationResultsBuilder(
      *
      * repeated .google.datastore.v1.MutationResult mutation_results = 3;
      */
-    public com.google.datastore.v1.MutationResultOrBuilder getMutationResultsOrBuilder(
-        int index) {
+    public com.google.datastore.v1.MutationResultOrBuilder getMutationResultsOrBuilder(int index) {
       if (mutationResultsBuilder_ == null) {
-        return mutationResults_.get(index);  } else {
+        return mutationResults_.get(index);
+      } else {
         return mutationResultsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -882,8 +959,8 @@ public com.google.datastore.v1.MutationResultOrBuilder getMutationResultsOrBuild
      *
      * repeated .google.datastore.v1.MutationResult mutation_results = 3;
      */
-    public java.util.List 
-         getMutationResultsOrBuilderList() {
+    public java.util.List
+        getMutationResultsOrBuilderList() {
       if (mutationResultsBuilder_ != null) {
         return mutationResultsBuilder_.getMessageOrBuilderList();
       } else {
@@ -891,6 +968,8 @@ public com.google.datastore.v1.MutationResultOrBuilder getMutationResultsOrBuild
       }
     }
     /**
+     *
+     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -899,10 +978,12 @@ public com.google.datastore.v1.MutationResultOrBuilder getMutationResultsOrBuild
      * repeated .google.datastore.v1.MutationResult mutation_results = 3;
      */
     public com.google.datastore.v1.MutationResult.Builder addMutationResultsBuilder() {
-      return getMutationResultsFieldBuilder().addBuilder(
-          com.google.datastore.v1.MutationResult.getDefaultInstance());
+      return getMutationResultsFieldBuilder()
+          .addBuilder(com.google.datastore.v1.MutationResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -910,12 +991,13 @@ public com.google.datastore.v1.MutationResult.Builder addMutationResultsBuilder(
      *
      * repeated .google.datastore.v1.MutationResult mutation_results = 3;
      */
-    public com.google.datastore.v1.MutationResult.Builder addMutationResultsBuilder(
-        int index) {
-      return getMutationResultsFieldBuilder().addBuilder(
-          index, com.google.datastore.v1.MutationResult.getDefaultInstance());
+    public com.google.datastore.v1.MutationResult.Builder addMutationResultsBuilder(int index) {
+      return getMutationResultsFieldBuilder()
+          .addBuilder(index, com.google.datastore.v1.MutationResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The result of performing the mutations.
      * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -923,16 +1005,22 @@ public com.google.datastore.v1.MutationResult.Builder addMutationResultsBuilder(
      *
      * repeated .google.datastore.v1.MutationResult mutation_results = 3;
      */
-    public java.util.List 
-         getMutationResultsBuilderList() {
+    public java.util.List
+        getMutationResultsBuilderList() {
       return getMutationResultsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.datastore.v1.MutationResult, com.google.datastore.v1.MutationResult.Builder, com.google.datastore.v1.MutationResultOrBuilder> 
+            com.google.datastore.v1.MutationResult,
+            com.google.datastore.v1.MutationResult.Builder,
+            com.google.datastore.v1.MutationResultOrBuilder>
         getMutationResultsFieldBuilder() {
       if (mutationResultsBuilder_ == null) {
-        mutationResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.datastore.v1.MutationResult, com.google.datastore.v1.MutationResult.Builder, com.google.datastore.v1.MutationResultOrBuilder>(
+        mutationResultsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.datastore.v1.MutationResult,
+                com.google.datastore.v1.MutationResult.Builder,
+                com.google.datastore.v1.MutationResultOrBuilder>(
                 mutationResults_,
                 ((bitField0_ & 0x00000001) != 0),
                 getParentForChildren(),
@@ -942,14 +1030,17 @@ public com.google.datastore.v1.MutationResult.Builder addMutationResultsBuilder(
       return mutationResultsBuilder_;
     }
 
-    private int indexUpdates_ ;
+    private int indexUpdates_;
     /**
+     *
+     *
      * 
      * The number of index entries updated during the commit, or zero if none were
      * updated.
      * 
* * int32 index_updates = 4; + * * @return The indexUpdates. */ @java.lang.Override @@ -957,12 +1048,15 @@ public int getIndexUpdates() { return indexUpdates_; } /** + * + * *
      * The number of index entries updated during the commit, or zero if none were
      * updated.
      * 
* * int32 index_updates = 4; + * * @param value The indexUpdates to set. * @return This builder for chaining. */ @@ -974,12 +1068,15 @@ public Builder setIndexUpdates(int value) { return this; } /** + * + * *
      * The number of index entries updated during the commit, or zero if none were
      * updated.
      * 
* * int32 index_updates = 4; + * * @return This builder for chaining. */ public Builder clearIndexUpdates() { @@ -991,34 +1088,47 @@ public Builder clearIndexUpdates() { 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 transaction commit timestamp. Not set for non-transactional commits.
      * 
* * .google.protobuf.Timestamp commit_time = 8; + * * @return Whether the commitTime field is set. */ public boolean hasCommitTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The transaction commit timestamp. Not set for non-transactional commits.
      * 
* * .google.protobuf.Timestamp commit_time = 8; + * * @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 transaction commit timestamp. Not set for non-transactional commits.
      * 
@@ -1039,14 +1149,15 @@ public Builder setCommitTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The transaction commit timestamp. Not set for non-transactional commits.
      * 
* * .google.protobuf.Timestamp commit_time = 8; */ - public Builder setCommitTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCommitTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (commitTimeBuilder_ == null) { commitTime_ = builderForValue.build(); } else { @@ -1057,6 +1168,8 @@ public Builder setCommitTime( return this; } /** + * + * *
      * The transaction commit timestamp. Not set for non-transactional commits.
      * 
@@ -1065,9 +1178,9 @@ public Builder setCommitTime( */ public Builder mergeCommitTime(com.google.protobuf.Timestamp value) { if (commitTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - commitTime_ != null && - commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && commitTime_ != null + && commitTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCommitTimeBuilder().mergeFrom(value); } else { commitTime_ = value; @@ -1082,6 +1195,8 @@ public Builder mergeCommitTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The transaction commit timestamp. Not set for non-transactional commits.
      * 
@@ -1099,6 +1214,8 @@ public Builder clearCommitTime() { return this; } /** + * + * *
      * The transaction commit timestamp. Not set for non-transactional commits.
      * 
@@ -1111,6 +1228,8 @@ public com.google.protobuf.Timestamp.Builder getCommitTimeBuilder() { return getCommitTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The transaction commit timestamp. Not set for non-transactional commits.
      * 
@@ -1121,11 +1240,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 transaction commit timestamp. Not set for non-transactional commits.
      * 
@@ -1133,21 +1255,24 @@ public com.google.protobuf.TimestampOrBuilder getCommitTimeOrBuilder() { * .google.protobuf.Timestamp commit_time = 8; */ 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); } @@ -1157,12 +1282,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.v1.CommitResponse) } // @@protoc_insertion_point(class_scope:google.datastore.v1.CommitResponse) private static final com.google.datastore.v1.CommitResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.v1.CommitResponse(); } @@ -1171,27 +1296,27 @@ public static com.google.datastore.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; @@ -1206,6 +1331,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.CommitResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitResponseOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitResponseOrBuilder.java similarity index 76% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitResponseOrBuilder.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitResponseOrBuilder.java index ee27a4b9b..41d4a006d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitResponseOrBuilder.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CommitResponseOrBuilder.java @@ -1,14 +1,32 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface CommitResponseOrBuilder extends +public interface CommitResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.CommitResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The result of performing the mutations.
    * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -16,9 +34,10 @@ public interface CommitResponseOrBuilder extends
    *
    * repeated .google.datastore.v1.MutationResult mutation_results = 3;
    */
-  java.util.List 
-      getMutationResultsList();
+  java.util.List getMutationResultsList();
   /**
+   *
+   *
    * 
    * The result of performing the mutations.
    * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -28,6 +47,8 @@ public interface CommitResponseOrBuilder extends
    */
   com.google.datastore.v1.MutationResult getMutationResults(int index);
   /**
+   *
+   *
    * 
    * The result of performing the mutations.
    * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -37,6 +58,8 @@ public interface CommitResponseOrBuilder extends
    */
   int getMutationResultsCount();
   /**
+   *
+   *
    * 
    * The result of performing the mutations.
    * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -44,9 +67,11 @@ public interface CommitResponseOrBuilder extends
    *
    * repeated .google.datastore.v1.MutationResult mutation_results = 3;
    */
-  java.util.List 
+  java.util.List
       getMutationResultsOrBuilderList();
   /**
+   *
+   *
    * 
    * The result of performing the mutations.
    * The i-th mutation result corresponds to the i-th mutation in the request.
@@ -54,39 +79,49 @@ public interface CommitResponseOrBuilder extends
    *
    * repeated .google.datastore.v1.MutationResult mutation_results = 3;
    */
-  com.google.datastore.v1.MutationResultOrBuilder getMutationResultsOrBuilder(
-      int index);
+  com.google.datastore.v1.MutationResultOrBuilder getMutationResultsOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The number of index entries updated during the commit, or zero if none were
    * updated.
    * 
* * int32 index_updates = 4; + * * @return The indexUpdates. */ int getIndexUpdates(); /** + * + * *
    * The transaction commit timestamp. Not set for non-transactional commits.
    * 
* * .google.protobuf.Timestamp commit_time = 8; + * * @return Whether the commitTime field is set. */ boolean hasCommitTime(); /** + * + * *
    * The transaction commit timestamp. Not set for non-transactional commits.
    * 
* * .google.protobuf.Timestamp commit_time = 8; + * * @return The commitTime. */ com.google.protobuf.Timestamp getCommitTime(); /** + * + * *
    * The transaction commit timestamp. Not set for non-transactional commits.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CompositeFilter.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CompositeFilter.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CompositeFilter.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CompositeFilter.java index 8547fcbc1..500df91cc 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CompositeFilter.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CompositeFilter.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto @@ -5,21 +20,24 @@ package com.google.datastore.v1; /** + * + * *
  * A filter that merges multiple other filters using the given operator.
  * 
* * Protobuf type {@code google.datastore.v1.CompositeFilter} */ -public final class CompositeFilter extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CompositeFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.datastore.v1.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(); @@ -27,34 +45,38 @@ private CompositeFilter() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompositeFilter(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_CompositeFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_CompositeFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_CompositeFilter_fieldAccessorTable + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_CompositeFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.CompositeFilter.class, com.google.datastore.v1.CompositeFilter.Builder.class); + com.google.datastore.v1.CompositeFilter.class, + com.google.datastore.v1.CompositeFilter.Builder.class); } /** + * + * *
    * A composite filter operator.
    * 
* * Protobuf enum {@code google.datastore.v1.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.
      * 
@@ -63,6 +85,8 @@ public enum Operator */ OPERATOR_UNSPECIFIED(0), /** + * + * *
      * The results are required to satisfy each of the combined filters.
      * 
@@ -71,6 +95,8 @@ public enum Operator */ AND(1), /** + * + * *
      * Documents are required to satisfy at least one of the combined filters.
      * 
@@ -82,6 +108,8 @@ public enum Operator ; /** + * + * *
      * Unspecified. This value must not be used.
      * 
@@ -90,6 +118,8 @@ public enum Operator */ public static final int OPERATOR_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The results are required to satisfy each of the combined filters.
      * 
@@ -98,6 +128,8 @@ public enum Operator */ public static final int AND_VALUE = 1; /** + * + * *
      * Documents are required to satisfy at least one of the combined filters.
      * 
@@ -106,7 +138,6 @@ public enum Operator */ public static final int OR_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -131,49 +162,49 @@ public static Operator valueOf(int value) { */ public static Operator forNumber(int value) { switch (value) { - case 0: return OPERATOR_UNSPECIFIED; - case 1: return AND; - case 2: return OR; - default: return null; + case 0: + return OPERATOR_UNSPECIFIED; + case 1: + return AND; + case 2: + return OR; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Operator> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Operator findValueByNumber(int number) { - return Operator.forNumber(number); - } - }; - 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() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.datastore.v1.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; @@ -193,33 +224,45 @@ private Operator(int value) { public static final int OP_FIELD_NUMBER = 1; private int op_ = 0; /** + * + * *
    * The operator for combining multiple filters.
    * 
* * .google.datastore.v1.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.datastore.v1.CompositeFilter.Operator op = 1; + * * @return The op. */ - @java.lang.Override public com.google.datastore.v1.CompositeFilter.Operator getOp() { - com.google.datastore.v1.CompositeFilter.Operator result = com.google.datastore.v1.CompositeFilter.Operator.forNumber(op_); + @java.lang.Override + public com.google.datastore.v1.CompositeFilter.Operator getOp() { + com.google.datastore.v1.CompositeFilter.Operator result = + com.google.datastore.v1.CompositeFilter.Operator.forNumber(op_); return result == null ? com.google.datastore.v1.CompositeFilter.Operator.UNRECOGNIZED : result; } public static final int FILTERS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List filters_; /** + * + * *
    * The list of filters to combine.
    *
@@ -235,6 +278,8 @@ public java.util.List getFiltersList() {
     return filters_;
   }
   /**
+   *
+   *
    * 
    * The list of filters to combine.
    *
@@ -246,11 +291,13 @@ public java.util.List getFiltersList() {
    * repeated .google.datastore.v1.Filter filters = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getFiltersOrBuilderList() {
     return filters_;
   }
   /**
+   *
+   *
    * 
    * The list of filters to combine.
    *
@@ -266,6 +313,8 @@ public int getFiltersCount() {
     return filters_.size();
   }
   /**
+   *
+   *
    * 
    * The list of filters to combine.
    *
@@ -281,6 +330,8 @@ public com.google.datastore.v1.Filter getFilters(int index) {
     return filters_.get(index);
   }
   /**
+   *
+   *
    * 
    * The list of filters to combine.
    *
@@ -292,12 +343,12 @@ public com.google.datastore.v1.Filter getFilters(int index) {
    * repeated .google.datastore.v1.Filter filters = 2;
    */
   @java.lang.Override
-  public com.google.datastore.v1.FilterOrBuilder getFiltersOrBuilder(
-      int index) {
+  public com.google.datastore.v1.FilterOrBuilder getFiltersOrBuilder(int index) {
     return filters_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -309,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 (op_ != com.google.datastore.v1.CompositeFilter.Operator.OPERATOR_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, op_);
     }
@@ -327,12 +377,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (op_ != com.google.datastore.v1.CompositeFilter.Operator.OPERATOR_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(1, op_);
+      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;
@@ -342,7 +390,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.datastore.v1.CompositeFilter)) {
       return super.equals(obj);
@@ -350,8 +398,7 @@ public boolean equals(final java.lang.Object obj) {
     com.google.datastore.v1.CompositeFilter other = (com.google.datastore.v1.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;
   }
@@ -374,132 +421,136 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.CompositeFilter parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.CompositeFilter parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.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.datastore.v1.CompositeFilter parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.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.datastore.v1.CompositeFilter parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.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.datastore.v1.CompositeFilter parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.datastore.v1.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.datastore.v1.CompositeFilter parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.datastore.v1.CompositeFilter parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.datastore.v1.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.datastore.v1.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.datastore.v1.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.datastore.v1.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
-  protected 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 filter that merges multiple other filters using the given operator.
    * 
* * Protobuf type {@code google.datastore.v1.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.datastore.v1.CompositeFilter) com.google.datastore.v1.CompositeFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_CompositeFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_CompositeFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_CompositeFilter_fieldAccessorTable + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_CompositeFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.CompositeFilter.class, com.google.datastore.v1.CompositeFilter.Builder.class); + com.google.datastore.v1.CompositeFilter.class, + com.google.datastore.v1.CompositeFilter.Builder.class); } // Construct using com.google.datastore.v1.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(); @@ -516,9 +567,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_CompositeFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_CompositeFilter_descriptor; } @java.lang.Override @@ -537,9 +588,12 @@ public com.google.datastore.v1.CompositeFilter build() { @java.lang.Override public com.google.datastore.v1.CompositeFilter buildPartial() { - com.google.datastore.v1.CompositeFilter result = new com.google.datastore.v1.CompositeFilter(this); + com.google.datastore.v1.CompositeFilter result = + new com.google.datastore.v1.CompositeFilter(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -567,38 +621,39 @@ private void buildPartial0(com.google.datastore.v1.CompositeFilter result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.CompositeFilter) { - return mergeFrom((com.google.datastore.v1.CompositeFilter)other); + return mergeFrom((com.google.datastore.v1.CompositeFilter) other); } else { super.mergeFrom(other); return this; @@ -628,9 +683,10 @@ public Builder mergeFrom(com.google.datastore.v1.CompositeFilter other) { filtersBuilder_ = null; filters_ = other.filters_; bitField0_ = (bitField0_ & ~0x00000002); - filtersBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFiltersFieldBuilder() : null; + filtersBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFiltersFieldBuilder() + : null; } else { filtersBuilder_.addAllMessages(other.filters_); } @@ -662,30 +718,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - op_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - com.google.datastore.v1.Filter m = - input.readMessage( - com.google.datastore.v1.Filter.parser(), - extensionRegistry); - if (filtersBuilder_ == null) { - ensureFiltersIsMutable(); - filters_.add(m); - } else { - filtersBuilder_.addMessage(m); - } - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + op_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + com.google.datastore.v1.Filter m = + input.readMessage(com.google.datastore.v1.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) { @@ -695,26 +752,34 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int op_ = 0; /** + * + * *
      * The operator for combining multiple filters.
      * 
* * .google.datastore.v1.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.datastore.v1.CompositeFilter.Operator op = 1; + * * @param value The enum numeric value on the wire for op to set. * @return This builder for chaining. */ @@ -725,24 +790,33 @@ public Builder setOpValue(int value) { return this; } /** + * + * *
      * The operator for combining multiple filters.
      * 
* * .google.datastore.v1.CompositeFilter.Operator op = 1; + * * @return The op. */ @java.lang.Override public com.google.datastore.v1.CompositeFilter.Operator getOp() { - com.google.datastore.v1.CompositeFilter.Operator result = com.google.datastore.v1.CompositeFilter.Operator.forNumber(op_); - return result == null ? com.google.datastore.v1.CompositeFilter.Operator.UNRECOGNIZED : result; + com.google.datastore.v1.CompositeFilter.Operator result = + com.google.datastore.v1.CompositeFilter.Operator.forNumber(op_); + return result == null + ? com.google.datastore.v1.CompositeFilter.Operator.UNRECOGNIZED + : result; } /** + * + * *
      * The operator for combining multiple filters.
      * 
* * .google.datastore.v1.CompositeFilter.Operator op = 1; + * * @param value The op to set. * @return This builder for chaining. */ @@ -756,11 +830,14 @@ public Builder setOp(com.google.datastore.v1.CompositeFilter.Operator value) { return this; } /** + * + * *
      * The operator for combining multiple filters.
      * 
* * .google.datastore.v1.CompositeFilter.Operator op = 1; + * * @return This builder for chaining. */ public Builder clearOp() { @@ -771,18 +848,24 @@ public Builder clearOp() { } private java.util.List filters_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFiltersIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { filters_ = new java.util.ArrayList(filters_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.Filter, com.google.datastore.v1.Filter.Builder, com.google.datastore.v1.FilterOrBuilder> filtersBuilder_; + com.google.datastore.v1.Filter, + com.google.datastore.v1.Filter.Builder, + com.google.datastore.v1.FilterOrBuilder> + filtersBuilder_; /** + * + * *
      * The list of filters to combine.
      *
@@ -801,6 +884,8 @@ public java.util.List getFiltersList() {
       }
     }
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      *
@@ -819,6 +904,8 @@ public int getFiltersCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      *
@@ -837,6 +924,8 @@ public com.google.datastore.v1.Filter getFilters(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      *
@@ -847,8 +936,7 @@ public com.google.datastore.v1.Filter getFilters(int index) {
      *
      * repeated .google.datastore.v1.Filter filters = 2;
      */
-    public Builder setFilters(
-        int index, com.google.datastore.v1.Filter value) {
+    public Builder setFilters(int index, com.google.datastore.v1.Filter value) {
       if (filtersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -862,6 +950,8 @@ public Builder setFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      *
@@ -872,8 +962,7 @@ public Builder setFilters(
      *
      * repeated .google.datastore.v1.Filter filters = 2;
      */
-    public Builder setFilters(
-        int index, com.google.datastore.v1.Filter.Builder builderForValue) {
+    public Builder setFilters(int index, com.google.datastore.v1.Filter.Builder builderForValue) {
       if (filtersBuilder_ == null) {
         ensureFiltersIsMutable();
         filters_.set(index, builderForValue.build());
@@ -884,6 +973,8 @@ public Builder setFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      *
@@ -908,6 +999,8 @@ public Builder addFilters(com.google.datastore.v1.Filter value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      *
@@ -918,8 +1011,7 @@ public Builder addFilters(com.google.datastore.v1.Filter value) {
      *
      * repeated .google.datastore.v1.Filter filters = 2;
      */
-    public Builder addFilters(
-        int index, com.google.datastore.v1.Filter value) {
+    public Builder addFilters(int index, com.google.datastore.v1.Filter value) {
       if (filtersBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -933,6 +1025,8 @@ public Builder addFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      *
@@ -943,8 +1037,7 @@ public Builder addFilters(
      *
      * repeated .google.datastore.v1.Filter filters = 2;
      */
-    public Builder addFilters(
-        com.google.datastore.v1.Filter.Builder builderForValue) {
+    public Builder addFilters(com.google.datastore.v1.Filter.Builder builderForValue) {
       if (filtersBuilder_ == null) {
         ensureFiltersIsMutable();
         filters_.add(builderForValue.build());
@@ -955,6 +1048,8 @@ public Builder addFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      *
@@ -965,8 +1060,7 @@ public Builder addFilters(
      *
      * repeated .google.datastore.v1.Filter filters = 2;
      */
-    public Builder addFilters(
-        int index, com.google.datastore.v1.Filter.Builder builderForValue) {
+    public Builder addFilters(int index, com.google.datastore.v1.Filter.Builder builderForValue) {
       if (filtersBuilder_ == null) {
         ensureFiltersIsMutable();
         filters_.add(index, builderForValue.build());
@@ -977,6 +1071,8 @@ public Builder addFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      *
@@ -991,8 +1087,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);
@@ -1000,6 +1095,8 @@ public Builder addAllFilters(
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      *
@@ -1021,6 +1118,8 @@ public Builder clearFilters() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      *
@@ -1042,6 +1141,8 @@ public Builder removeFilters(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      *
@@ -1052,11 +1153,12 @@ public Builder removeFilters(int index) {
      *
      * repeated .google.datastore.v1.Filter filters = 2;
      */
-    public com.google.datastore.v1.Filter.Builder getFiltersBuilder(
-        int index) {
+    public com.google.datastore.v1.Filter.Builder getFiltersBuilder(int index) {
       return getFiltersFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      *
@@ -1067,14 +1169,16 @@ public com.google.datastore.v1.Filter.Builder getFiltersBuilder(
      *
      * repeated .google.datastore.v1.Filter filters = 2;
      */
-    public com.google.datastore.v1.FilterOrBuilder getFiltersOrBuilder(
-        int index) {
+    public com.google.datastore.v1.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.
      *
@@ -1085,8 +1189,8 @@ public com.google.datastore.v1.FilterOrBuilder getFiltersOrBuilder(
      *
      * repeated .google.datastore.v1.Filter filters = 2;
      */
-    public java.util.List 
-         getFiltersOrBuilderList() {
+    public java.util.List
+        getFiltersOrBuilderList() {
       if (filtersBuilder_ != null) {
         return filtersBuilder_.getMessageOrBuilderList();
       } else {
@@ -1094,6 +1198,8 @@ public com.google.datastore.v1.FilterOrBuilder getFiltersOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      *
@@ -1105,10 +1211,12 @@ public com.google.datastore.v1.FilterOrBuilder getFiltersOrBuilder(
      * repeated .google.datastore.v1.Filter filters = 2;
      */
     public com.google.datastore.v1.Filter.Builder addFiltersBuilder() {
-      return getFiltersFieldBuilder().addBuilder(
-          com.google.datastore.v1.Filter.getDefaultInstance());
+      return getFiltersFieldBuilder()
+          .addBuilder(com.google.datastore.v1.Filter.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      *
@@ -1119,12 +1227,13 @@ public com.google.datastore.v1.Filter.Builder addFiltersBuilder() {
      *
      * repeated .google.datastore.v1.Filter filters = 2;
      */
-    public com.google.datastore.v1.Filter.Builder addFiltersBuilder(
-        int index) {
-      return getFiltersFieldBuilder().addBuilder(
-          index, com.google.datastore.v1.Filter.getDefaultInstance());
+    public com.google.datastore.v1.Filter.Builder addFiltersBuilder(int index) {
+      return getFiltersFieldBuilder()
+          .addBuilder(index, com.google.datastore.v1.Filter.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The list of filters to combine.
      *
@@ -1135,27 +1244,29 @@ public com.google.datastore.v1.Filter.Builder addFiltersBuilder(
      *
      * repeated .google.datastore.v1.Filter filters = 2;
      */
-    public java.util.List 
-         getFiltersBuilderList() {
+    public java.util.List getFiltersBuilderList() {
       return getFiltersFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.datastore.v1.Filter, com.google.datastore.v1.Filter.Builder, com.google.datastore.v1.FilterOrBuilder> 
+            com.google.datastore.v1.Filter,
+            com.google.datastore.v1.Filter.Builder,
+            com.google.datastore.v1.FilterOrBuilder>
         getFiltersFieldBuilder() {
       if (filtersBuilder_ == null) {
-        filtersBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.datastore.v1.Filter, com.google.datastore.v1.Filter.Builder, com.google.datastore.v1.FilterOrBuilder>(
-                filters_,
-                ((bitField0_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        filtersBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.datastore.v1.Filter,
+                com.google.datastore.v1.Filter.Builder,
+                com.google.datastore.v1.FilterOrBuilder>(
+                filters_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
         filters_ = null;
       }
       return filtersBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1165,12 +1276,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.CompositeFilter)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.CompositeFilter)
   private static final com.google.datastore.v1.CompositeFilter DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.CompositeFilter();
   }
@@ -1179,27 +1290,27 @@ public static com.google.datastore.v1.CompositeFilter getDefaultInstance() {
     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;
@@ -1214,6 +1325,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.CompositeFilter getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CompositeFilterOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CompositeFilterOrBuilder.java
similarity index 68%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CompositeFilterOrBuilder.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CompositeFilterOrBuilder.java
index 07590ed29..b9d87ece8 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CompositeFilterOrBuilder.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/CompositeFilterOrBuilder.java
@@ -1,33 +1,57 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/query.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface CompositeFilterOrBuilder extends
+public interface CompositeFilterOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.CompositeFilter)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The operator for combining multiple filters.
    * 
* * .google.datastore.v1.CompositeFilter.Operator op = 1; + * * @return The enum numeric value on the wire for op. */ int getOpValue(); /** + * + * *
    * The operator for combining multiple filters.
    * 
* * .google.datastore.v1.CompositeFilter.Operator op = 1; + * * @return The op. */ com.google.datastore.v1.CompositeFilter.Operator getOp(); /** + * + * *
    * The list of filters to combine.
    *
@@ -38,9 +62,10 @@ public interface CompositeFilterOrBuilder extends
    *
    * repeated .google.datastore.v1.Filter filters = 2;
    */
-  java.util.List 
-      getFiltersList();
+  java.util.List getFiltersList();
   /**
+   *
+   *
    * 
    * The list of filters to combine.
    *
@@ -53,6 +78,8 @@ public interface CompositeFilterOrBuilder extends
    */
   com.google.datastore.v1.Filter getFilters(int index);
   /**
+   *
+   *
    * 
    * The list of filters to combine.
    *
@@ -65,6 +92,8 @@ public interface CompositeFilterOrBuilder extends
    */
   int getFiltersCount();
   /**
+   *
+   *
    * 
    * The list of filters to combine.
    *
@@ -75,9 +104,10 @@ public interface CompositeFilterOrBuilder extends
    *
    * repeated .google.datastore.v1.Filter filters = 2;
    */
-  java.util.List 
-      getFiltersOrBuilderList();
+  java.util.List getFiltersOrBuilderList();
   /**
+   *
+   *
    * 
    * The list of filters to combine.
    *
@@ -88,6 +118,5 @@ public interface CompositeFilterOrBuilder extends
    *
    * repeated .google.datastore.v1.Filter filters = 2;
    */
-  com.google.datastore.v1.FilterOrBuilder getFiltersOrBuilder(
-      int index);
+  com.google.datastore.v1.FilterOrBuilder getFiltersOrBuilder(int index);
 }
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/DatastoreProto.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/DatastoreProto.java
new file mode 100644
index 000000000..1b8753e35
--- /dev/null
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/DatastoreProto.java
@@ -0,0 +1,518 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/datastore/v1/datastore.proto
+
+// Protobuf Java Version: 3.25.3
+package com.google.datastore.v1;
+
+public final class DatastoreProto {
+  private DatastoreProto() {}
+
+  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_datastore_v1_LookupRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_LookupRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_LookupResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_LookupResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_RunQueryRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_RunQueryRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_RunQueryResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_RunQueryResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_RunAggregationQueryRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_RunAggregationQueryRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_RunAggregationQueryResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_RunAggregationQueryResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_BeginTransactionRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_BeginTransactionRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_BeginTransactionResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_BeginTransactionResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_RollbackRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_RollbackRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_RollbackResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_RollbackResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_CommitRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_CommitRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_CommitResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_CommitResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_AllocateIdsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_AllocateIdsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_AllocateIdsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_AllocateIdsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_ReserveIdsRequest_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_ReserveIdsRequest_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_ReserveIdsResponse_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_ReserveIdsResponse_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_Mutation_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_Mutation_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_MutationResult_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_MutationResult_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_ReadOptions_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_ReadOptions_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_TransactionOptions_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_TransactionOptions_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_TransactionOptions_ReadWrite_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_TransactionOptions_ReadWrite_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_TransactionOptions_ReadOnly_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_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/datastore/v1/datastore.proto\022\023g"
+          + "oogle.datastore.v1\032\034google/api/annotatio"
+          + "ns.proto\032\027google/api/client.proto\032\037googl"
+          + "e/api/field_behavior.proto\032\030google/api/r"
+          + "outing.proto\032,google/datastore/v1/aggreg"
+          + "ation_result.proto\032 google/datastore/v1/"
+          + "entity.proto\032\037google/datastore/v1/query."
+          + "proto\032\'google/datastore/v1/query_profile"
+          + ".proto\032\037google/protobuf/timestamp.proto\""
+          + "\242\001\n\rLookupRequest\022\027\n\nproject_id\030\010 \001(\tB\003\340"
+          + "A\002\022\023\n\013database_id\030\t \001(\t\0226\n\014read_options\030"
+          + "\001 \001(\0132 .google.datastore.v1.ReadOptions\022"
+          + "+\n\004keys\030\003 \003(\0132\030.google.datastore.v1.KeyB"
+          + "\003\340A\002\"\346\001\n\016LookupResponse\0220\n\005found\030\001 \003(\0132!"
+          + ".google.datastore.v1.EntityResult\0222\n\007mis"
+          + "sing\030\002 \003(\0132!.google.datastore.v1.EntityR"
+          + "esult\022*\n\010deferred\030\003 \003(\0132\030.google.datasto"
+          + "re.v1.Key\022\023\n\013transaction\030\005 \001(\014\022-\n\tread_t"
+          + "ime\030\007 \001(\0132\032.google.protobuf.Timestamp\"\341\002"
+          + "\n\017RunQueryRequest\022\027\n\nproject_id\030\010 \001(\tB\003\340"
+          + "A\002\022\023\n\013database_id\030\t \001(\t\0226\n\014partition_id\030"
+          + "\002 \001(\0132 .google.datastore.v1.PartitionId\022"
+          + "6\n\014read_options\030\001 \001(\0132 .google.datastore"
+          + ".v1.ReadOptions\022+\n\005query\030\003 \001(\0132\032.google."
+          + "datastore.v1.QueryH\000\0222\n\tgql_query\030\007 \001(\0132"
+          + "\035.google.datastore.v1.GqlQueryH\000\022A\n\017expl"
+          + "ain_options\030\014 \001(\0132#.google.datastore.v1."
+          + "ExplainOptionsB\003\340A\001B\014\n\nquery_type\"\306\001\n\020Ru"
+          + "nQueryResponse\0224\n\005batch\030\001 \001(\0132%.google.d"
+          + "atastore.v1.QueryResultBatch\022)\n\005query\030\002 "
+          + "\001(\0132\032.google.datastore.v1.Query\022\023\n\013trans"
+          + "action\030\005 \001(\014\022<\n\017explain_metrics\030\t \001(\0132#."
+          + "google.datastore.v1.ExplainMetrics\"\203\003\n\032R"
+          + "unAggregationQueryRequest\022\027\n\nproject_id\030"
+          + "\010 \001(\tB\003\340A\002\022\023\n\013database_id\030\t \001(\t\0226\n\014parti"
+          + "tion_id\030\002 \001(\0132 .google.datastore.v1.Part"
+          + "itionId\0226\n\014read_options\030\001 \001(\0132 .google.d"
+          + "atastore.v1.ReadOptions\022B\n\021aggregation_q"
+          + "uery\030\003 \001(\0132%.google.datastore.v1.Aggrega"
+          + "tionQueryH\000\0222\n\tgql_query\030\007 \001(\0132\035.google."
+          + "datastore.v1.GqlQueryH\000\022A\n\017explain_optio"
+          + "ns\030\013 \001(\0132#.google.datastore.v1.ExplainOp"
+          + "tionsB\003\340A\001B\014\n\nquery_type\"\342\001\n\033RunAggregat"
+          + "ionQueryResponse\022:\n\005batch\030\001 \001(\0132+.google"
+          + ".datastore.v1.AggregationResultBatch\0224\n\005"
+          + "query\030\002 \001(\0132%.google.datastore.v1.Aggreg"
+          + "ationQuery\022\023\n\013transaction\030\005 \001(\014\022<\n\017expla"
+          + "in_metrics\030\t \001(\0132#.google.datastore.v1.E"
+          + "xplainMetrics\"\215\001\n\027BeginTransactionReques"
+          + "t\022\027\n\nproject_id\030\010 \001(\tB\003\340A\002\022\023\n\013database_i"
+          + "d\030\t \001(\t\022D\n\023transaction_options\030\n \001(\0132\'.g"
+          + "oogle.datastore.v1.TransactionOptions\"/\n"
+          + "\030BeginTransactionResponse\022\023\n\013transaction"
+          + "\030\001 \001(\014\"Y\n\017RollbackRequest\022\027\n\nproject_id\030"
+          + "\010 \001(\tB\003\340A\002\022\023\n\013database_id\030\t \001(\t\022\030\n\013trans"
+          + "action\030\001 \001(\014B\003\340A\002\"\022\n\020RollbackResponse\"\350\002"
+          + "\n\rCommitRequest\022\027\n\nproject_id\030\010 \001(\tB\003\340A\002"
+          + "\022\023\n\013database_id\030\t \001(\t\0225\n\004mode\030\005 \001(\0162\'.go"
+          + "ogle.datastore.v1.CommitRequest.Mode\022\025\n\013"
+          + "transaction\030\001 \001(\014H\000\022I\n\026single_use_transa"
+          + "ction\030\n \001(\0132\'.google.datastore.v1.Transa"
+          + "ctionOptionsH\000\0220\n\tmutations\030\006 \003(\0132\035.goog"
+          + "le.datastore.v1.Mutation\"F\n\004Mode\022\024\n\020MODE"
+          + "_UNSPECIFIED\020\000\022\021\n\rTRANSACTIONAL\020\001\022\025\n\021NON"
+          + "_TRANSACTIONAL\020\002B\026\n\024transaction_selector"
+          + "\"\227\001\n\016CommitResponse\022=\n\020mutation_results\030"
+          + "\003 \003(\0132#.google.datastore.v1.MutationResu"
+          + "lt\022\025\n\rindex_updates\030\004 \001(\005\022/\n\013commit_time"
+          + "\030\010 \001(\0132\032.google.protobuf.Timestamp\"o\n\022Al"
+          + "locateIdsRequest\022\027\n\nproject_id\030\010 \001(\tB\003\340A"
+          + "\002\022\023\n\013database_id\030\t \001(\t\022+\n\004keys\030\001 \003(\0132\030.g"
+          + "oogle.datastore.v1.KeyB\003\340A\002\"=\n\023AllocateI"
+          + "dsResponse\022&\n\004keys\030\001 \003(\0132\030.google.datast"
+          + "ore.v1.Key\"n\n\021ReserveIdsRequest\022\027\n\nproje"
+          + "ct_id\030\010 \001(\tB\003\340A\002\022\023\n\013database_id\030\t \001(\t\022+\n"
+          + "\004keys\030\001 \003(\0132\030.google.datastore.v1.KeyB\003\340"
+          + "A\002\"\024\n\022ReserveIdsResponse\"\272\002\n\010Mutation\022-\n"
+          + "\006insert\030\004 \001(\0132\033.google.datastore.v1.Enti"
+          + "tyH\000\022-\n\006update\030\005 \001(\0132\033.google.datastore."
+          + "v1.EntityH\000\022-\n\006upsert\030\006 \001(\0132\033.google.dat"
+          + "astore.v1.EntityH\000\022*\n\006delete\030\007 \001(\0132\030.goo"
+          + "gle.datastore.v1.KeyH\000\022\026\n\014base_version\030\010"
+          + " \001(\003H\001\0221\n\013update_time\030\013 \001(\0132\032.google.pro"
+          + "tobuf.TimestampH\001B\013\n\toperationB\035\n\033confli"
+          + "ct_detection_strategy\"\305\001\n\016MutationResult"
+          + "\022%\n\003key\030\003 \001(\0132\030.google.datastore.v1.Key\022"
+          + "\017\n\007version\030\004 \001(\003\022/\n\013create_time\030\007 \001(\0132\032."
+          + "google.protobuf.Timestamp\022/\n\013update_time"
+          + "\030\006 \001(\0132\032.google.protobuf.Timestamp\022\031\n\021co"
+          + "nflict_detected\030\005 \001(\010\"\312\002\n\013ReadOptions\022L\n"
+          + "\020read_consistency\030\001 \001(\01620.google.datasto"
+          + "re.v1.ReadOptions.ReadConsistencyH\000\022\025\n\013t"
+          + "ransaction\030\002 \001(\014H\000\022B\n\017new_transaction\030\003 "
+          + "\001(\0132\'.google.datastore.v1.TransactionOpt"
+          + "ionsH\000\022/\n\tread_time\030\004 \001(\0132\032.google.proto"
+          + "buf.TimestampH\000\"M\n\017ReadConsistency\022 \n\034RE"
+          + "AD_CONSISTENCY_UNSPECIFIED\020\000\022\n\n\006STRONG\020\001"
+          + "\022\014\n\010EVENTUAL\020\002B\022\n\020consistency_type\"\222\002\n\022T"
+          + "ransactionOptions\022G\n\nread_write\030\001 \001(\01321."
+          + "google.datastore.v1.TransactionOptions.R"
+          + "eadWriteH\000\022E\n\tread_only\030\002 \001(\01320.google.d"
+          + "atastore.v1.TransactionOptions.ReadOnlyH"
+          + "\000\032)\n\tReadWrite\022\034\n\024previous_transaction\030\001"
+          + " \001(\014\0329\n\010ReadOnly\022-\n\tread_time\030\001 \001(\0132\032.go"
+          + "ogle.protobuf.TimestampB\006\n\004mode2\341\r\n\tData"
+          + "store\022\300\001\n\006Lookup\022\".google.datastore.v1.L"
+          + "ookupRequest\032#.google.datastore.v1.Looku"
+          + "pResponse\"m\332A\034project_id,read_options,ke"
+          + "ys\202\323\344\223\002%\" /v1/projects/{project_id}:look"
+          + "up:\001*\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n\013database_id"
+          + "\022\251\001\n\010RunQuery\022$.google.datastore.v1.RunQ"
+          + "ueryRequest\032%.google.datastore.v1.RunQue"
+          + "ryResponse\"P\202\323\344\223\002\'\"\"/v1/projects/{projec"
+          + "t_id}:runQuery:\001*\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n"
+          + "\013database_id\022\325\001\n\023RunAggregationQuery\022/.g"
+          + "oogle.datastore.v1.RunAggregationQueryRe"
+          + "quest\0320.google.datastore.v1.RunAggregati"
+          + "onQueryResponse\"[\202\323\344\223\0022\"-/v1/projects/{p"
+          + "roject_id}:runAggregationQuery:\001*\212\323\344\223\002\035\022"
+          + "\014\n\nproject_id\022\r\n\013database_id\022\326\001\n\020BeginTr"
+          + "ansaction\022,.google.datastore.v1.BeginTra"
+          + "nsactionRequest\032-.google.datastore.v1.Be"
+          + "ginTransactionResponse\"e\332A\nproject_id\202\323\344"
+          + "\223\002/\"*/v1/projects/{project_id}:beginTran"
+          + "saction:\001*\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n\013databa"
+          + "se_id\022\346\001\n\006Commit\022\".google.datastore.v1.C"
+          + "ommitRequest\032#.google.datastore.v1.Commi"
+          + "tResponse\"\222\001\332A%project_id,mode,transacti"
+          + "on,mutations\332A\031project_id,mode,mutations"
+          + "\202\323\344\223\002%\" /v1/projects/{project_id}:commit"
+          + ":\001*\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n\013database_id\022\302"
+          + "\001\n\010Rollback\022$.google.datastore.v1.Rollba"
+          + "ckRequest\032%.google.datastore.v1.Rollback"
+          + "Response\"i\332A\026project_id,transaction\202\323\344\223\002"
+          + "\'\"\"/v1/projects/{project_id}:rollback:\001*"
+          + "\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n\013database_id\022\307\001\n\013"
+          + "AllocateIds\022\'.google.datastore.v1.Alloca"
+          + "teIdsRequest\032(.google.datastore.v1.Alloc"
+          + "ateIdsResponse\"e\332A\017project_id,keys\202\323\344\223\002*"
+          + "\"%/v1/projects/{project_id}:allocateIds:"
+          + "\001*\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n\013database_id\022\303\001"
+          + "\n\nReserveIds\022&.google.datastore.v1.Reser"
+          + "veIdsRequest\032\'.google.datastore.v1.Reser"
+          + "veIdsResponse\"d\332A\017project_id,keys\202\323\344\223\002)\""
+          + "$/v1/projects/{project_id}:reserveIds:\001*"
+          + "\212\323\344\223\002\035\022\014\n\nproject_id\022\r\n\013database_id\032v\312A\030"
+          + "datastore.googleapis.com\322AXhttps://www.g"
+          + "oogleapis.com/auth/cloud-platform,https:"
+          + "//www.googleapis.com/auth/datastoreB\300\001\n\027"
+          + "com.google.datastore.v1B\016DatastoreProtoP"
+          + "\001Z
  * A Datastore data object.
  *
@@ -13,28 +30,27 @@
  *
  * Protobuf type {@code google.datastore.v1.Entity}
  */
-public final class Entity extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Entity extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.datastore.v1.Entity)
     EntityOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Entity.newBuilder() to construct.
   private Entity(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private Entity() {
-  }
+
+  private Entity() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Entity();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Entity_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.datastore.v1.EntityProto
+        .internal_static_google_datastore_v1_Entity_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
@@ -45,14 +61,15 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
       case 3:
         return internalGetProperties();
       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.datastore.v1.EntityProto.internal_static_google_datastore_v1_Entity_fieldAccessorTable
+    return com.google.datastore.v1.EntityProto
+        .internal_static_google_datastore_v1_Entity_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.datastore.v1.Entity.class, com.google.datastore.v1.Entity.Builder.class);
   }
@@ -61,6 +78,8 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
   public static final int KEY_FIELD_NUMBER = 1;
   private com.google.datastore.v1.Key key_;
   /**
+   *
+   *
    * 
    * The entity's key.
    *
@@ -71,6 +90,7 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
    * 
* * .google.datastore.v1.Key key = 1; + * * @return Whether the key field is set. */ @java.lang.Override @@ -78,6 +98,8 @@ public boolean hasKey() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The entity's key.
    *
@@ -88,6 +110,7 @@ public boolean hasKey() {
    * 
* * .google.datastore.v1.Key key = 1; + * * @return The key. */ @java.lang.Override @@ -95,6 +118,8 @@ public com.google.datastore.v1.Key getKey() { return key_ == null ? com.google.datastore.v1.Key.getDefaultInstance() : key_; } /** + * + * *
    * The entity's key.
    *
@@ -112,32 +137,37 @@ public com.google.datastore.v1.KeyOrBuilder getKeyOrBuilder() {
   }
 
   public static final int PROPERTIES_FIELD_NUMBER = 3;
+
   private static final class PropertiesDefaultEntryHolder {
-    static final com.google.protobuf.MapEntry<
-        java.lang.String, com.google.datastore.v1.Value> defaultEntry =
+    static final com.google.protobuf.MapEntry
+        defaultEntry =
             com.google.protobuf.MapEntry
-            .newDefaultInstance(
-                com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Entity_PropertiesEntry_descriptor, 
-                com.google.protobuf.WireFormat.FieldType.STRING,
-                "",
-                com.google.protobuf.WireFormat.FieldType.MESSAGE,
-                com.google.datastore.v1.Value.getDefaultInstance());
+                .newDefaultInstance(
+                    com.google.datastore.v1.EntityProto
+                        .internal_static_google_datastore_v1_Entity_PropertiesEntry_descriptor,
+                    com.google.protobuf.WireFormat.FieldType.STRING,
+                    "",
+                    com.google.protobuf.WireFormat.FieldType.MESSAGE,
+                    com.google.datastore.v1.Value.getDefaultInstance());
   }
+
   @SuppressWarnings("serial")
-  private com.google.protobuf.MapField<
-      java.lang.String, com.google.datastore.v1.Value> properties_;
+  private com.google.protobuf.MapField properties_;
+
   private com.google.protobuf.MapField
-  internalGetProperties() {
+      internalGetProperties() {
     if (properties_ == null) {
-      return com.google.protobuf.MapField.emptyMapField(
-          PropertiesDefaultEntryHolder.defaultEntry);
+      return com.google.protobuf.MapField.emptyMapField(PropertiesDefaultEntryHolder.defaultEntry);
     }
     return properties_;
   }
+
   public int getPropertiesCount() {
     return internalGetProperties().getMap().size();
   }
   /**
+   *
+   *
    * 
    * The entity's properties.
    * The map's keys are property names.
@@ -150,20 +180,21 @@ public int getPropertiesCount() {
    * map<string, .google.datastore.v1.Value> properties = 3;
    */
   @java.lang.Override
-  public boolean containsProperties(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsProperties(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetProperties().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getPropertiesMap()} instead.
-   */
+  /** Use {@link #getPropertiesMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getProperties() {
     return getPropertiesMap();
   }
   /**
+   *
+   *
    * 
    * The entity's properties.
    * The map's keys are property names.
@@ -180,6 +211,8 @@ public java.util.Map getPropert
     return internalGetProperties().getMap();
   }
   /**
+   *
+   *
    * 
    * The entity's properties.
    * The map's keys are property names.
@@ -192,17 +225,20 @@ public java.util.Map getPropert
    * map<string, .google.datastore.v1.Value> properties = 3;
    */
   @java.lang.Override
-  public /* nullable */
-com.google.datastore.v1.Value getPropertiesOrDefault(
+  public /* nullable */ com.google.datastore.v1.Value getPropertiesOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.datastore.v1.Value defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      com.google.datastore.v1.Value defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetProperties().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * The entity's properties.
    * The map's keys are property names.
@@ -215,9 +251,10 @@ com.google.datastore.v1.Value getPropertiesOrDefault(
    * map<string, .google.datastore.v1.Value> properties = 3;
    */
   @java.lang.Override
-  public com.google.datastore.v1.Value getPropertiesOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public com.google.datastore.v1.Value getPropertiesOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetProperties().getMap();
     if (!map.containsKey(key)) {
@@ -227,6 +264,7 @@ public com.google.datastore.v1.Value getPropertiesOrThrow(
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -238,17 +276,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 (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(1, getKey());
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetProperties(),
-        PropertiesDefaultEntryHolder.defaultEntry,
-        3);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetProperties(), PropertiesDefaultEntryHolder.defaultEntry, 3);
     getUnknownFields().writeTo(output);
   }
 
@@ -259,18 +292,17 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getKey());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getKey());
     }
-    for (java.util.Map.Entry entry
-         : internalGetProperties().getMap().entrySet()) {
-      com.google.protobuf.MapEntry
-      properties__ = PropertiesDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(3, properties__);
+    for (java.util.Map.Entry entry :
+        internalGetProperties().getMap().entrySet()) {
+      com.google.protobuf.MapEntry properties__ =
+          PropertiesDefaultEntryHolder.defaultEntry
+              .newBuilderForType()
+              .setKey(entry.getKey())
+              .setValue(entry.getValue())
+              .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, properties__);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -280,7 +312,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.datastore.v1.Entity)) {
       return super.equals(obj);
@@ -289,11 +321,9 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasKey() != other.hasKey()) return false;
     if (hasKey()) {
-      if (!getKey()
-          .equals(other.getKey())) return false;
+      if (!getKey().equals(other.getKey())) return false;
     }
-    if (!internalGetProperties().equals(
-        other.internalGetProperties())) return false;
+    if (!internalGetProperties().equals(other.internalGetProperties())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -318,99 +348,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.Entity parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.Entity parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.Entity parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.datastore.v1.Entity parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.datastore.v1.Entity parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.Entity parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.Entity parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.Entity parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.Entity parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.datastore.v1.Entity parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   public static com.google.datastore.v1.Entity 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.datastore.v1.Entity parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.datastore.v1.Entity parseFrom(
-      com.google.protobuf.CodedInputStream input)
+
+  public static com.google.datastore.v1.Entity 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.datastore.v1.Entity parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.datastore.v1.Entity prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 Datastore data object.
    *
@@ -419,13 +453,13 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.datastore.v1.Entity}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.datastore.v1.Entity)
       com.google.datastore.v1.EntityOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Entity_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.datastore.v1.EntityProto
+          .internal_static_google_datastore_v1_Entity_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
@@ -435,10 +469,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
         case 3:
           return internalGetProperties();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
     protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
         int number) {
@@ -446,14 +480,15 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi
         case 3:
           return internalGetMutableProperties();
         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.datastore.v1.EntityProto.internal_static_google_datastore_v1_Entity_fieldAccessorTable
+      return com.google.datastore.v1.EntityProto
+          .internal_static_google_datastore_v1_Entity_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.datastore.v1.Entity.class, com.google.datastore.v1.Entity.Builder.class);
     }
@@ -463,17 +498,17 @@ 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) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getKeyFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -488,9 +523,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Entity_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.datastore.v1.EntityProto
+          .internal_static_google_datastore_v1_Entity_descriptor;
     }
 
     @java.lang.Override
@@ -510,7 +545,9 @@ public com.google.datastore.v1.Entity build() {
     @java.lang.Override
     public com.google.datastore.v1.Entity buildPartial() {
       com.google.datastore.v1.Entity result = new com.google.datastore.v1.Entity(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -519,13 +556,12 @@ private void buildPartial0(com.google.datastore.v1.Entity result) {
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.key_ = keyBuilder_ == null
-            ? key_
-            : keyBuilder_.build();
+        result.key_ = keyBuilder_ == null ? key_ : keyBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.properties_ = internalGetProperties().build(PropertiesDefaultEntryHolder.defaultEntry);
+        result.properties_ =
+            internalGetProperties().build(PropertiesDefaultEntryHolder.defaultEntry);
       }
       result.bitField0_ |= to_bitField0_;
     }
@@ -534,38 +570,39 @@ private void buildPartial0(com.google.datastore.v1.Entity result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.Entity) {
-        return mergeFrom((com.google.datastore.v1.Entity)other);
+        return mergeFrom((com.google.datastore.v1.Entity) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -577,8 +614,7 @@ public Builder mergeFrom(com.google.datastore.v1.Entity other) {
       if (other.hasKey()) {
         mergeKey(other.getKey());
       }
-      internalGetMutableProperties().mergeFrom(
-          other.internalGetProperties());
+      internalGetMutableProperties().mergeFrom(other.internalGetProperties());
       bitField0_ |= 0x00000002;
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -606,28 +642,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getKeyFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 26: {
-              com.google.protobuf.MapEntry
-              properties__ = input.readMessage(
-                  PropertiesDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableProperties().ensureBuilderMap().put(
-                  properties__.getKey(), properties__.getValue());
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 26
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getKeyFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 26:
+              {
+                com.google.protobuf.MapEntry
+                    properties__ =
+                        input.readMessage(
+                            PropertiesDefaultEntryHolder.defaultEntry.getParserForType(),
+                            extensionRegistry);
+                internalGetMutableProperties()
+                    .ensureBuilderMap()
+                    .put(properties__.getKey(), properties__.getValue());
+                bitField0_ |= 0x00000002;
+                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) {
@@ -637,12 +677,18 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.datastore.v1.Key key_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> keyBuilder_;
+            com.google.datastore.v1.Key,
+            com.google.datastore.v1.Key.Builder,
+            com.google.datastore.v1.KeyOrBuilder>
+        keyBuilder_;
     /**
+     *
+     *
      * 
      * The entity's key.
      *
@@ -653,12 +699,15 @@ public Builder mergeFrom(
      * 
* * .google.datastore.v1.Key key = 1; + * * @return Whether the key field is set. */ public boolean hasKey() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The entity's key.
      *
@@ -669,6 +718,7 @@ public boolean hasKey() {
      * 
* * .google.datastore.v1.Key key = 1; + * * @return The key. */ public com.google.datastore.v1.Key getKey() { @@ -679,6 +729,8 @@ public com.google.datastore.v1.Key getKey() { } } /** + * + * *
      * The entity's key.
      *
@@ -704,6 +756,8 @@ public Builder setKey(com.google.datastore.v1.Key value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity's key.
      *
@@ -715,8 +769,7 @@ public Builder setKey(com.google.datastore.v1.Key value) {
      *
      * .google.datastore.v1.Key key = 1;
      */
-    public Builder setKey(
-        com.google.datastore.v1.Key.Builder builderForValue) {
+    public Builder setKey(com.google.datastore.v1.Key.Builder builderForValue) {
       if (keyBuilder_ == null) {
         key_ = builderForValue.build();
       } else {
@@ -727,6 +780,8 @@ public Builder setKey(
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity's key.
      *
@@ -740,9 +795,9 @@ public Builder setKey(
      */
     public Builder mergeKey(com.google.datastore.v1.Key value) {
       if (keyBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          key_ != null &&
-          key_ != com.google.datastore.v1.Key.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && key_ != null
+            && key_ != com.google.datastore.v1.Key.getDefaultInstance()) {
           getKeyBuilder().mergeFrom(value);
         } else {
           key_ = value;
@@ -757,6 +812,8 @@ public Builder mergeKey(com.google.datastore.v1.Key value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity's key.
      *
@@ -779,6 +836,8 @@ public Builder clearKey() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity's key.
      *
@@ -796,6 +855,8 @@ public com.google.datastore.v1.Key.Builder getKeyBuilder() {
       return getKeyFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The entity's key.
      *
@@ -811,11 +872,12 @@ public com.google.datastore.v1.KeyOrBuilder getKeyOrBuilder() {
       if (keyBuilder_ != null) {
         return keyBuilder_.getMessageOrBuilder();
       } else {
-        return key_ == null ?
-            com.google.datastore.v1.Key.getDefaultInstance() : key_;
+        return key_ == null ? com.google.datastore.v1.Key.getDefaultInstance() : key_;
       }
     }
     /**
+     *
+     *
      * 
      * The entity's key.
      *
@@ -828,43 +890,67 @@ public com.google.datastore.v1.KeyOrBuilder getKeyOrBuilder() {
      * .google.datastore.v1.Key key = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> 
+            com.google.datastore.v1.Key,
+            com.google.datastore.v1.Key.Builder,
+            com.google.datastore.v1.KeyOrBuilder>
         getKeyFieldBuilder() {
       if (keyBuilder_ == null) {
-        keyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder>(
-                getKey(),
-                getParentForChildren(),
-                isClean());
+        keyBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.datastore.v1.Key,
+                com.google.datastore.v1.Key.Builder,
+                com.google.datastore.v1.KeyOrBuilder>(getKey(), getParentForChildren(), isClean());
         key_ = null;
       }
       return keyBuilder_;
     }
 
-    private static final class PropertiesConverter implements com.google.protobuf.MapFieldBuilder.Converter {
+    private static final class PropertiesConverter
+        implements com.google.protobuf.MapFieldBuilder.Converter<
+            java.lang.String,
+            com.google.datastore.v1.ValueOrBuilder,
+            com.google.datastore.v1.Value> {
       @java.lang.Override
       public com.google.datastore.v1.Value build(com.google.datastore.v1.ValueOrBuilder val) {
-        if (val instanceof com.google.datastore.v1.Value) { return (com.google.datastore.v1.Value) val; }
+        if (val instanceof com.google.datastore.v1.Value) {
+          return (com.google.datastore.v1.Value) val;
+        }
         return ((com.google.datastore.v1.Value.Builder) val).build();
       }
 
       @java.lang.Override
-      public com.google.protobuf.MapEntry defaultEntry() {
+      public com.google.protobuf.MapEntry
+          defaultEntry() {
         return PropertiesDefaultEntryHolder.defaultEntry;
       }
     };
+
     private static final PropertiesConverter propertiesConverter = new PropertiesConverter();
 
     private com.google.protobuf.MapFieldBuilder<
-        java.lang.String, com.google.datastore.v1.ValueOrBuilder, com.google.datastore.v1.Value, com.google.datastore.v1.Value.Builder> properties_;
-    private com.google.protobuf.MapFieldBuilder
+            java.lang.String,
+            com.google.datastore.v1.ValueOrBuilder,
+            com.google.datastore.v1.Value,
+            com.google.datastore.v1.Value.Builder>
+        properties_;
+
+    private com.google.protobuf.MapFieldBuilder<
+            java.lang.String,
+            com.google.datastore.v1.ValueOrBuilder,
+            com.google.datastore.v1.Value,
+            com.google.datastore.v1.Value.Builder>
         internalGetProperties() {
       if (properties_ == null) {
         return new com.google.protobuf.MapFieldBuilder<>(propertiesConverter);
       }
       return properties_;
     }
-    private com.google.protobuf.MapFieldBuilder
+
+    private com.google.protobuf.MapFieldBuilder<
+            java.lang.String,
+            com.google.datastore.v1.ValueOrBuilder,
+            com.google.datastore.v1.Value,
+            com.google.datastore.v1.Value.Builder>
         internalGetMutableProperties() {
       if (properties_ == null) {
         properties_ = new com.google.protobuf.MapFieldBuilder<>(propertiesConverter);
@@ -873,10 +959,13 @@ public com.google.protobuf.MapEntry
      * The entity's properties.
      * The map's keys are property names.
@@ -889,20 +978,21 @@ public int getPropertiesCount() {
      * map<string, .google.datastore.v1.Value> properties = 3;
      */
     @java.lang.Override
-    public boolean containsProperties(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsProperties(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetProperties().ensureBuilderMap().containsKey(key);
     }
-    /**
-     * Use {@link #getPropertiesMap()} instead.
-     */
+    /** Use {@link #getPropertiesMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getProperties() {
       return getPropertiesMap();
     }
     /**
+     *
+     *
      * 
      * The entity's properties.
      * The map's keys are property names.
@@ -919,6 +1009,8 @@ public java.util.Map getPropert
       return internalGetProperties().getImmutableMap();
     }
     /**
+     *
+     *
      * 
      * The entity's properties.
      * The map's keys are property names.
@@ -931,16 +1023,20 @@ public java.util.Map getPropert
      * map<string, .google.datastore.v1.Value> properties = 3;
      */
     @java.lang.Override
-    public /* nullable */
-com.google.datastore.v1.Value getPropertiesOrDefault(
+    public /* nullable */ com.google.datastore.v1.Value getPropertiesOrDefault(
         java.lang.String key,
         /* nullable */
-com.google.datastore.v1.Value defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map = internalGetMutableProperties().ensureBuilderMap();
+        com.google.datastore.v1.Value defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map =
+          internalGetMutableProperties().ensureBuilderMap();
       return map.containsKey(key) ? propertiesConverter.build(map.get(key)) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * The entity's properties.
      * The map's keys are property names.
@@ -953,21 +1049,26 @@ com.google.datastore.v1.Value getPropertiesOrDefault(
      * map<string, .google.datastore.v1.Value> properties = 3;
      */
     @java.lang.Override
-    public com.google.datastore.v1.Value getPropertiesOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map = internalGetMutableProperties().ensureBuilderMap();
+    public com.google.datastore.v1.Value getPropertiesOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map =
+          internalGetMutableProperties().ensureBuilderMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return propertiesConverter.build(map.get(key));
     }
+
     public Builder clearProperties() {
       bitField0_ = (bitField0_ & ~0x00000002);
       internalGetMutableProperties().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity's properties.
      * The map's keys are property names.
@@ -979,23 +1080,22 @@ public Builder clearProperties() {
      *
      * map<string, .google.datastore.v1.Value> properties = 3;
      */
-    public Builder removeProperties(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableProperties().ensureBuilderMap()
-          .remove(key);
+    public Builder removeProperties(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableProperties().ensureBuilderMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableProperties() {
+    public java.util.Map getMutableProperties() {
       bitField0_ |= 0x00000002;
       return internalGetMutableProperties().ensureMessageMap();
     }
     /**
+     *
+     *
      * 
      * The entity's properties.
      * The map's keys are property names.
@@ -1007,17 +1107,20 @@ public Builder removeProperties(
      *
      * map<string, .google.datastore.v1.Value> properties = 3;
      */
-    public Builder putProperties(
-        java.lang.String key,
-        com.google.datastore.v1.Value value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableProperties().ensureBuilderMap()
-          .put(key, value);
+    public Builder putProperties(java.lang.String key, com.google.datastore.v1.Value value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableProperties().ensureBuilderMap().put(key, value);
       bitField0_ |= 0x00000002;
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity's properties.
      * The map's keys are property names.
@@ -1031,17 +1134,19 @@ public Builder putProperties(
      */
     public Builder putAllProperties(
         java.util.Map values) {
-      for (java.util.Map.Entry e : values.entrySet()) {
+      for (java.util.Map.Entry e :
+          values.entrySet()) {
         if (e.getKey() == null || e.getValue() == null) {
           throw new NullPointerException();
         }
       }
-      internalGetMutableProperties().ensureBuilderMap()
-          .putAll(values);
+      internalGetMutableProperties().ensureBuilderMap().putAll(values);
       bitField0_ |= 0x00000002;
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity's properties.
      * The map's keys are property names.
@@ -1055,7 +1160,8 @@ public Builder putAllProperties(
      */
     public com.google.datastore.v1.Value.Builder putPropertiesBuilderIfAbsent(
         java.lang.String key) {
-      java.util.Map builderMap = internalGetMutableProperties().ensureBuilderMap();
+      java.util.Map builderMap =
+          internalGetMutableProperties().ensureBuilderMap();
       com.google.datastore.v1.ValueOrBuilder entry = builderMap.get(key);
       if (entry == null) {
         entry = com.google.datastore.v1.Value.newBuilder();
@@ -1067,9 +1173,9 @@ public com.google.datastore.v1.Value.Builder putPropertiesBuilderIfAbsent(
       }
       return (com.google.datastore.v1.Value.Builder) entry;
     }
+
     @java.lang.Override
-    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 +1185,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.Entity)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.Entity)
   private static final com.google.datastore.v1.Entity DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.Entity();
   }
@@ -1093,27 +1199,27 @@ public static com.google.datastore.v1.Entity getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Entity parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Entity parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1128,6 +1234,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.Entity getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityOrBuilder.java
similarity index 78%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityOrBuilder.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityOrBuilder.java
index 76165612e..cc8398b53 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityOrBuilder.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityOrBuilder.java
@@ -1,14 +1,32 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/entity.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface EntityOrBuilder extends
+public interface EntityOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.Entity)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The entity's key.
    *
@@ -19,10 +37,13 @@ public interface EntityOrBuilder extends
    * 
* * .google.datastore.v1.Key key = 1; + * * @return Whether the key field is set. */ boolean hasKey(); /** + * + * *
    * The entity's key.
    *
@@ -33,10 +54,13 @@ public interface EntityOrBuilder extends
    * 
* * .google.datastore.v1.Key key = 1; + * * @return The key. */ com.google.datastore.v1.Key getKey(); /** + * + * *
    * The entity's key.
    *
@@ -51,6 +75,8 @@ public interface EntityOrBuilder extends
   com.google.datastore.v1.KeyOrBuilder getKeyOrBuilder();
 
   /**
+   *
+   *
    * 
    * The entity's properties.
    * The map's keys are property names.
@@ -64,6 +90,8 @@ public interface EntityOrBuilder extends
    */
   int getPropertiesCount();
   /**
+   *
+   *
    * 
    * The entity's properties.
    * The map's keys are property names.
@@ -75,15 +103,13 @@ public interface EntityOrBuilder extends
    *
    * map<string, .google.datastore.v1.Value> properties = 3;
    */
-  boolean containsProperties(
-      java.lang.String key);
-  /**
-   * Use {@link #getPropertiesMap()} instead.
-   */
+  boolean containsProperties(java.lang.String key);
+  /** Use {@link #getPropertiesMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getProperties();
+  java.util.Map getProperties();
   /**
+   *
+   *
    * 
    * The entity's properties.
    * The map's keys are property names.
@@ -95,9 +121,10 @@ boolean containsProperties(
    *
    * map<string, .google.datastore.v1.Value> properties = 3;
    */
-  java.util.Map
-  getPropertiesMap();
+  java.util.Map getPropertiesMap();
   /**
+   *
+   *
    * 
    * The entity's properties.
    * The map's keys are property names.
@@ -110,11 +137,13 @@ boolean containsProperties(
    * map<string, .google.datastore.v1.Value> properties = 3;
    */
   /* nullable */
-com.google.datastore.v1.Value getPropertiesOrDefault(
+  com.google.datastore.v1.Value getPropertiesOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.datastore.v1.Value defaultValue);
+      com.google.datastore.v1.Value defaultValue);
   /**
+   *
+   *
    * 
    * The entity's properties.
    * The map's keys are property names.
@@ -126,6 +155,5 @@ com.google.datastore.v1.Value getPropertiesOrDefault(
    *
    * map<string, .google.datastore.v1.Value> properties = 3;
    */
-  com.google.datastore.v1.Value getPropertiesOrThrow(
-      java.lang.String key);
+  com.google.datastore.v1.Value getPropertiesOrThrow(java.lang.String key);
 }
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityProto.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityProto.java
new file mode 100644
index 000000000..1239bbd98
--- /dev/null
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityProto.java
@@ -0,0 +1,184 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/datastore/v1/entity.proto
+
+// Protobuf Java Version: 3.25.3
+package com.google.datastore.v1;
+
+public final class EntityProto {
+  private EntityProto() {}
+
+  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_datastore_v1_PartitionId_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_PartitionId_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_Key_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_Key_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_Key_PathElement_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_Key_PathElement_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_ArrayValue_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_ArrayValue_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_Value_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_Value_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_Entity_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_Entity_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_Entity_PropertiesEntry_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_Entity_PropertiesEntry_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/datastore/v1/entity.proto\022\023goog"
+          + "le.datastore.v1\032\034google/protobuf/struct."
+          + "proto\032\037google/protobuf/timestamp.proto\032\030"
+          + "google/type/latlng.proto\"L\n\013PartitionId\022"
+          + "\022\n\nproject_id\030\002 \001(\t\022\023\n\013database_id\030\003 \001(\t"
+          + "\022\024\n\014namespace_id\030\004 \001(\t\"\267\001\n\003Key\0226\n\014partit"
+          + "ion_id\030\001 \001(\0132 .google.datastore.v1.Parti"
+          + "tionId\0222\n\004path\030\002 \003(\0132$.google.datastore."
+          + "v1.Key.PathElement\032D\n\013PathElement\022\014\n\004kin"
+          + "d\030\001 \001(\t\022\014\n\002id\030\002 \001(\003H\000\022\016\n\004name\030\003 \001(\tH\000B\t\n"
+          + "\007id_type\"8\n\nArrayValue\022*\n\006values\030\001 \003(\0132\032"
+          + ".google.datastore.v1.Value\"\361\003\n\005Value\0220\n\n"
+          + "null_value\030\013 \001(\0162\032.google.protobuf.NullV"
+          + "alueH\000\022\027\n\rboolean_value\030\001 \001(\010H\000\022\027\n\rinteg"
+          + "er_value\030\002 \001(\003H\000\022\026\n\014double_value\030\003 \001(\001H\000"
+          + "\0225\n\017timestamp_value\030\n \001(\0132\032.google.proto"
+          + "buf.TimestampH\000\022-\n\tkey_value\030\005 \001(\0132\030.goo"
+          + "gle.datastore.v1.KeyH\000\022\026\n\014string_value\030\021"
+          + " \001(\tH\000\022\024\n\nblob_value\030\022 \001(\014H\000\022.\n\017geo_poin"
+          + "t_value\030\010 \001(\0132\023.google.type.LatLngH\000\0223\n\014"
+          + "entity_value\030\006 \001(\0132\033.google.datastore.v1"
+          + ".EntityH\000\0226\n\013array_value\030\t \001(\0132\037.google."
+          + "datastore.v1.ArrayValueH\000\022\017\n\007meaning\030\016 \001"
+          + "(\005\022\034\n\024exclude_from_indexes\030\023 \001(\010B\014\n\nvalu"
+          + "e_type\"\277\001\n\006Entity\022%\n\003key\030\001 \001(\0132\030.google."
+          + "datastore.v1.Key\022?\n\nproperties\030\003 \003(\0132+.g"
+          + "oogle.datastore.v1.Entity.PropertiesEntr"
+          + "y\032M\n\017PropertiesEntry\022\013\n\003key\030\001 \001(\t\022)\n\005val"
+          + "ue\030\002 \001(\0132\032.google.datastore.v1.Value:\0028\001"
+          + "B\275\001\n\027com.google.datastore.v1B\013EntityProt"
+          + "oP\001Z
  * The result of fetching an entity from Datastore.
  * 
* * Protobuf type {@code google.datastore.v1.EntityResult} */ -public final class EntityResult extends - com.google.protobuf.GeneratedMessageV3 implements +public final class EntityResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.datastore.v1.EntityResult) EntityResultOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use EntityResult.newBuilder() to construct. private EntityResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private EntityResult() { cursor_ = 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 EntityResult(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_EntityResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_EntityResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_EntityResult_fieldAccessorTable + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_EntityResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.EntityResult.class, com.google.datastore.v1.EntityResult.Builder.class); + com.google.datastore.v1.EntityResult.class, + com.google.datastore.v1.EntityResult.Builder.class); } /** + * + * *
    * Specifies what data the 'entity' field contains.
    * A `ResultType` is either implied (for example, in `LookupResponse.missing`
@@ -55,9 +76,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.datastore.v1.EntityResult.ResultType}
    */
-  public enum ResultType
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum ResultType implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Unspecified. This value is never used.
      * 
@@ -66,6 +88,8 @@ public enum ResultType */ RESULT_TYPE_UNSPECIFIED(0), /** + * + * *
      * The key and properties.
      * 
@@ -74,6 +98,8 @@ public enum ResultType */ FULL(1), /** + * + * *
      * A projected subset of properties. The entity may have no key.
      * 
@@ -82,6 +108,8 @@ public enum ResultType */ PROJECTION(2), /** + * + * *
      * Only the key.
      * 
@@ -93,6 +121,8 @@ public enum ResultType ; /** + * + * *
      * Unspecified. This value is never used.
      * 
@@ -101,6 +131,8 @@ public enum ResultType */ public static final int RESULT_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The key and properties.
      * 
@@ -109,6 +141,8 @@ public enum ResultType */ public static final int FULL_VALUE = 1; /** + * + * *
      * A projected subset of properties. The entity may have no key.
      * 
@@ -117,6 +151,8 @@ public enum ResultType */ public static final int PROJECTION_VALUE = 2; /** + * + * *
      * Only the key.
      * 
@@ -125,7 +161,6 @@ public enum ResultType */ public static final int KEY_ONLY_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -150,50 +185,51 @@ public static ResultType valueOf(int value) { */ public static ResultType forNumber(int value) { switch (value) { - case 0: return RESULT_TYPE_UNSPECIFIED; - case 1: return FULL; - case 2: return PROJECTION; - case 3: return KEY_ONLY; - default: return null; + case 0: + return RESULT_TYPE_UNSPECIFIED; + case 1: + return FULL; + case 2: + return PROJECTION; + case 3: + return KEY_ONLY; + 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< - ResultType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ResultType findValueByNumber(int number) { - return ResultType.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 ResultType findValueByNumber(int number) { + return ResultType.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.datastore.v1.EntityResult.getDescriptor().getEnumTypes().get(0); } private static final ResultType[] VALUES = values(); - public static ResultType valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ResultType 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; @@ -214,11 +250,14 @@ private ResultType(int value) { public static final int ENTITY_FIELD_NUMBER = 1; private com.google.datastore.v1.Entity entity_; /** + * + * *
    * The resulting entity.
    * 
* * .google.datastore.v1.Entity entity = 1; + * * @return Whether the entity field is set. */ @java.lang.Override @@ -226,11 +265,14 @@ public boolean hasEntity() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The resulting entity.
    * 
* * .google.datastore.v1.Entity entity = 1; + * * @return The entity. */ @java.lang.Override @@ -238,6 +280,8 @@ public com.google.datastore.v1.Entity getEntity() { return entity_ == null ? com.google.datastore.v1.Entity.getDefaultInstance() : entity_; } /** + * + * *
    * The resulting entity.
    * 
@@ -252,6 +296,8 @@ public com.google.datastore.v1.EntityOrBuilder getEntityOrBuilder() { public static final int VERSION_FIELD_NUMBER = 4; private long version_ = 0L; /** + * + * *
    * The version of the entity, a strictly positive number that monotonically
    * increases with changes to the entity.
@@ -265,6 +311,7 @@ public com.google.datastore.v1.EntityOrBuilder getEntityOrBuilder() {
    * 
* * int64 version = 4; + * * @return The version. */ @java.lang.Override @@ -275,6 +322,8 @@ public long getVersion() { public static final int CREATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The time at which the entity was created.
    * This field is set for
@@ -283,6 +332,7 @@ public long getVersion() {
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -290,6 +340,8 @@ public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * The time at which the entity was created.
    * This field is set for
@@ -298,6 +350,7 @@ public boolean hasCreateTime() {
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ @java.lang.Override @@ -305,6 +358,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The time at which the entity was created.
    * This field is set for
@@ -322,6 +377,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
   public static final int UPDATE_TIME_FIELD_NUMBER = 5;
   private com.google.protobuf.Timestamp updateTime_;
   /**
+   *
+   *
    * 
    * The time at which the entity was last changed.
    * This field is set for
@@ -330,6 +387,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp update_time = 5; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -337,6 +395,8 @@ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
    * The time at which the entity was last changed.
    * This field is set for
@@ -345,6 +405,7 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 5; + * * @return The updateTime. */ @java.lang.Override @@ -352,6 +413,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The time at which the entity was last changed.
    * This field is set for
@@ -369,12 +432,15 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   public static final int CURSOR_FIELD_NUMBER = 3;
   private com.google.protobuf.ByteString cursor_ = com.google.protobuf.ByteString.EMPTY;
   /**
+   *
+   *
    * 
    * A cursor that points to the position after the result entity.
    * Set only when the `EntityResult` is part of a `QueryResultBatch` message.
    * 
* * bytes cursor = 3; + * * @return The cursor. */ @java.lang.Override @@ -383,6 +449,7 @@ public com.google.protobuf.ByteString getCursor() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -394,8 +461,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getEntity()); } @@ -421,24 +487,19 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getEntity()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getEntity()); } if (!cursor_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(3, cursor_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(3, cursor_); } if (version_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, version_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, version_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(5, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getUpdateTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -448,7 +509,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.datastore.v1.EntityResult)) { return super.equals(obj); @@ -457,23 +518,18 @@ public boolean equals(final java.lang.Object obj) { if (hasEntity() != other.hasEntity()) return false; if (hasEntity()) { - if (!getEntity() - .equals(other.getEntity())) return false; + if (!getEntity().equals(other.getEntity())) return false; } - if (getVersion() - != other.getVersion()) return false; + if (getVersion() != other.getVersion()) 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 (!getCursor() - .equals(other.getCursor())) return false; + if (!getCursor().equals(other.getCursor())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -490,8 +546,7 @@ public int hashCode() { hash = (53 * hash) + getEntity().hashCode(); } hash = (37 * hash) + VERSION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getVersion()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getVersion()); if (hasCreateTime()) { hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime().hashCode(); @@ -507,120 +562,126 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.EntityResult parseFrom( - java.nio.ByteBuffer data) + public static com.google.datastore.v1.EntityResult parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.EntityResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.EntityResult parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.datastore.v1.EntityResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.EntityResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.EntityResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.EntityResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.EntityResult parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.EntityResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.datastore.v1.EntityResult 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.datastore.v1.EntityResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.datastore.v1.EntityResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.EntityResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.datastore.v1.EntityResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 fetching an entity from Datastore.
    * 
* * Protobuf type {@code google.datastore.v1.EntityResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.EntityResult) com.google.datastore.v1.EntityResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_EntityResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_EntityResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_EntityResult_fieldAccessorTable + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_EntityResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.EntityResult.class, com.google.datastore.v1.EntityResult.Builder.class); + com.google.datastore.v1.EntityResult.class, + com.google.datastore.v1.EntityResult.Builder.class); } // Construct using com.google.datastore.v1.EntityResult.newBuilder() @@ -628,19 +689,19 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getEntityFieldBuilder(); getCreateTimeFieldBuilder(); getUpdateTimeFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -666,9 +727,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_EntityResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_EntityResult_descriptor; } @java.lang.Override @@ -688,7 +749,9 @@ public com.google.datastore.v1.EntityResult build() { @java.lang.Override public com.google.datastore.v1.EntityResult buildPartial() { com.google.datastore.v1.EntityResult result = new com.google.datastore.v1.EntityResult(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -697,24 +760,18 @@ private void buildPartial0(com.google.datastore.v1.EntityResult result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.entity_ = entityBuilder_ == null - ? entity_ - : entityBuilder_.build(); + result.entity_ = entityBuilder_ == null ? entity_ : entityBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.version_ = version_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000010) != 0)) { @@ -727,38 +784,39 @@ private void buildPartial0(com.google.datastore.v1.EntityResult result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.EntityResult) { - return mergeFrom((com.google.datastore.v1.EntityResult)other); + return mergeFrom((com.google.datastore.v1.EntityResult) other); } else { super.mergeFrom(other); return this; @@ -808,43 +866,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getEntityFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 26: { - cursor_ = input.readBytes(); - bitField0_ |= 0x00000010; - break; - } // case 26 - case 32: { - version_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 32 - case 42: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 42 - case 50: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 50 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getEntityFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 26: + { + cursor_ = input.readBytes(); + bitField0_ |= 0x00000010; + break; + } // case 26 + case 32: + { + version_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 32 + case 42: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 50: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + 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) { @@ -854,28 +912,38 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.datastore.v1.Entity entity_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Entity, com.google.datastore.v1.Entity.Builder, com.google.datastore.v1.EntityOrBuilder> entityBuilder_; + com.google.datastore.v1.Entity, + com.google.datastore.v1.Entity.Builder, + com.google.datastore.v1.EntityOrBuilder> + entityBuilder_; /** + * + * *
      * The resulting entity.
      * 
* * .google.datastore.v1.Entity entity = 1; + * * @return Whether the entity field is set. */ public boolean hasEntity() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The resulting entity.
      * 
* * .google.datastore.v1.Entity entity = 1; + * * @return The entity. */ public com.google.datastore.v1.Entity getEntity() { @@ -886,6 +954,8 @@ public com.google.datastore.v1.Entity getEntity() { } } /** + * + * *
      * The resulting entity.
      * 
@@ -906,14 +976,15 @@ public Builder setEntity(com.google.datastore.v1.Entity value) { return this; } /** + * + * *
      * The resulting entity.
      * 
* * .google.datastore.v1.Entity entity = 1; */ - public Builder setEntity( - com.google.datastore.v1.Entity.Builder builderForValue) { + public Builder setEntity(com.google.datastore.v1.Entity.Builder builderForValue) { if (entityBuilder_ == null) { entity_ = builderForValue.build(); } else { @@ -924,6 +995,8 @@ public Builder setEntity( return this; } /** + * + * *
      * The resulting entity.
      * 
@@ -932,9 +1005,9 @@ public Builder setEntity( */ public Builder mergeEntity(com.google.datastore.v1.Entity value) { if (entityBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - entity_ != null && - entity_ != com.google.datastore.v1.Entity.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && entity_ != null + && entity_ != com.google.datastore.v1.Entity.getDefaultInstance()) { getEntityBuilder().mergeFrom(value); } else { entity_ = value; @@ -949,6 +1022,8 @@ public Builder mergeEntity(com.google.datastore.v1.Entity value) { return this; } /** + * + * *
      * The resulting entity.
      * 
@@ -966,6 +1041,8 @@ public Builder clearEntity() { return this; } /** + * + * *
      * The resulting entity.
      * 
@@ -978,6 +1055,8 @@ public com.google.datastore.v1.Entity.Builder getEntityBuilder() { return getEntityFieldBuilder().getBuilder(); } /** + * + * *
      * The resulting entity.
      * 
@@ -988,11 +1067,12 @@ public com.google.datastore.v1.EntityOrBuilder getEntityOrBuilder() { if (entityBuilder_ != null) { return entityBuilder_.getMessageOrBuilder(); } else { - return entity_ == null ? - com.google.datastore.v1.Entity.getDefaultInstance() : entity_; + return entity_ == null ? com.google.datastore.v1.Entity.getDefaultInstance() : entity_; } } /** + * + * *
      * The resulting entity.
      * 
@@ -1000,21 +1080,26 @@ public com.google.datastore.v1.EntityOrBuilder getEntityOrBuilder() { * .google.datastore.v1.Entity entity = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Entity, com.google.datastore.v1.Entity.Builder, com.google.datastore.v1.EntityOrBuilder> + com.google.datastore.v1.Entity, + com.google.datastore.v1.Entity.Builder, + com.google.datastore.v1.EntityOrBuilder> getEntityFieldBuilder() { if (entityBuilder_ == null) { - entityBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Entity, com.google.datastore.v1.Entity.Builder, com.google.datastore.v1.EntityOrBuilder>( - getEntity(), - getParentForChildren(), - isClean()); + entityBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.Entity, + com.google.datastore.v1.Entity.Builder, + com.google.datastore.v1.EntityOrBuilder>( + getEntity(), getParentForChildren(), isClean()); entity_ = null; } return entityBuilder_; } - private long version_ ; + private long version_; /** + * + * *
      * The version of the entity, a strictly positive number that monotonically
      * increases with changes to the entity.
@@ -1028,6 +1113,7 @@ public com.google.datastore.v1.EntityOrBuilder getEntityOrBuilder() {
      * 
* * int64 version = 4; + * * @return The version. */ @java.lang.Override @@ -1035,6 +1121,8 @@ public long getVersion() { return version_; } /** + * + * *
      * The version of the entity, a strictly positive number that monotonically
      * increases with changes to the entity.
@@ -1048,6 +1136,7 @@ public long getVersion() {
      * 
* * int64 version = 4; + * * @param value The version to set. * @return This builder for chaining. */ @@ -1059,6 +1148,8 @@ public Builder setVersion(long value) { return this; } /** + * + * *
      * The version of the entity, a strictly positive number that monotonically
      * increases with changes to the entity.
@@ -1072,6 +1163,7 @@ public Builder setVersion(long value) {
      * 
* * int64 version = 4; + * * @return This builder for chaining. */ public Builder clearVersion() { @@ -1083,8 +1175,13 @@ public Builder clearVersion() { 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_; /** + * + * *
      * The time at which the entity was created.
      * This field is set for
@@ -1093,12 +1190,15 @@ public Builder clearVersion() {
      * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The time at which the entity was created.
      * This field is set for
@@ -1107,16 +1207,21 @@ public boolean hasCreateTime() {
      * 
* * .google.protobuf.Timestamp create_time = 6; + * * @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(); } } /** + * + * *
      * The time at which the entity was created.
      * This field is set for
@@ -1140,6 +1245,8 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the entity was created.
      * This field is set for
@@ -1149,8 +1256,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp create_time = 6;
      */
-    public Builder setCreateTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (createTimeBuilder_ == null) {
         createTime_ = builderForValue.build();
       } else {
@@ -1161,6 +1267,8 @@ public Builder setCreateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the entity was created.
      * This field is set for
@@ -1172,9 +1280,9 @@ public Builder setCreateTime(
      */
     public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       if (createTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          createTime_ != null &&
-          createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && createTime_ != null
+            && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getCreateTimeBuilder().mergeFrom(value);
         } else {
           createTime_ = value;
@@ -1189,6 +1297,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the entity was created.
      * This field is set for
@@ -1209,6 +1319,8 @@ public Builder clearCreateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the entity was created.
      * This field is set for
@@ -1224,6 +1336,8 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
       return getCreateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time at which the entity was created.
      * This field is set for
@@ -1237,11 +1351,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_;
       }
     }
     /**
+     *
+     *
      * 
      * The time at which the entity was created.
      * This field is set for
@@ -1252,14 +1369,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * .google.protobuf.Timestamp create_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>
         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_;
@@ -1267,8 +1387,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_;
     /**
+     *
+     *
      * 
      * The time at which the entity was last changed.
      * This field is set for
@@ -1277,12 +1402,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp update_time = 5; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * The time at which the entity was last changed.
      * This field is set for
@@ -1291,16 +1419,21 @@ public boolean hasUpdateTime() {
      * 
* * .google.protobuf.Timestamp update_time = 5; + * * @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 time at which the entity was last changed.
      * This field is set for
@@ -1324,6 +1457,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the entity was last changed.
      * This field is set for
@@ -1333,8 +1468,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 5;
      */
-    public Builder setUpdateTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
       } else {
@@ -1345,6 +1479,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the entity was last changed.
      * This field is set for
@@ -1356,9 +1492,9 @@ public Builder setUpdateTime(
      */
     public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0) &&
-          updateTime_ != null &&
-          updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && updateTime_ != null
+            && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getUpdateTimeBuilder().mergeFrom(value);
         } else {
           updateTime_ = value;
@@ -1373,6 +1509,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the entity was last changed.
      * This field is set for
@@ -1393,6 +1531,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The time at which the entity was last changed.
      * This field is set for
@@ -1408,6 +1548,8 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The time at which the entity was last changed.
      * This field is set for
@@ -1421,11 +1563,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 time at which the entity was last changed.
      * This field is set for
@@ -1436,14 +1581,17 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_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>
         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_;
@@ -1451,12 +1599,15 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
 
     private com.google.protobuf.ByteString cursor_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * A cursor that points to the position after the result entity.
      * Set only when the `EntityResult` is part of a `QueryResultBatch` message.
      * 
* * bytes cursor = 3; + * * @return The cursor. */ @java.lang.Override @@ -1464,29 +1615,37 @@ public com.google.protobuf.ByteString getCursor() { return cursor_; } /** + * + * *
      * A cursor that points to the position after the result entity.
      * Set only when the `EntityResult` is part of a `QueryResultBatch` message.
      * 
* * bytes cursor = 3; + * * @param value The cursor to set. * @return This builder for chaining. */ public Builder setCursor(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } cursor_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * A cursor that points to the position after the result entity.
      * Set only when the `EntityResult` is part of a `QueryResultBatch` message.
      * 
* * bytes cursor = 3; + * * @return This builder for chaining. */ public Builder clearCursor() { @@ -1495,9 +1654,9 @@ public Builder clearCursor() { 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); } @@ -1507,12 +1666,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.v1.EntityResult) } // @@protoc_insertion_point(class_scope:google.datastore.v1.EntityResult) private static final com.google.datastore.v1.EntityResult DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.v1.EntityResult(); } @@ -1521,27 +1680,27 @@ public static com.google.datastore.v1.EntityResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public EntityResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public EntityResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1556,6 +1715,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.EntityResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityResultOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityResultOrBuilder.java similarity index 83% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityResultOrBuilder.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityResultOrBuilder.java index 9ef39d31c..b8262fd26 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityResultOrBuilder.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/EntityResultOrBuilder.java @@ -1,32 +1,56 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface EntityResultOrBuilder extends +public interface EntityResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.EntityResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The resulting entity.
    * 
* * .google.datastore.v1.Entity entity = 1; + * * @return Whether the entity field is set. */ boolean hasEntity(); /** + * + * *
    * The resulting entity.
    * 
* * .google.datastore.v1.Entity entity = 1; + * * @return The entity. */ com.google.datastore.v1.Entity getEntity(); /** + * + * *
    * The resulting entity.
    * 
@@ -36,6 +60,8 @@ public interface EntityResultOrBuilder extends com.google.datastore.v1.EntityOrBuilder getEntityOrBuilder(); /** + * + * *
    * The version of the entity, a strictly positive number that monotonically
    * increases with changes to the entity.
@@ -49,11 +75,14 @@ public interface EntityResultOrBuilder extends
    * 
* * int64 version = 4; + * * @return The version. */ long getVersion(); /** + * + * *
    * The time at which the entity was created.
    * This field is set for
@@ -62,10 +91,13 @@ public interface EntityResultOrBuilder extends
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The time at which the entity was created.
    * This field is set for
@@ -74,10 +106,13 @@ public interface EntityResultOrBuilder extends
    * 
* * .google.protobuf.Timestamp create_time = 6; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The time at which the entity was created.
    * This field is set for
@@ -90,6 +125,8 @@ public interface EntityResultOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * The time at which the entity was last changed.
    * This field is set for
@@ -98,10 +135,13 @@ public interface EntityResultOrBuilder extends
    * 
* * .google.protobuf.Timestamp update_time = 5; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The time at which the entity was last changed.
    * This field is set for
@@ -110,10 +150,13 @@ public interface EntityResultOrBuilder extends
    * 
* * .google.protobuf.Timestamp update_time = 5; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The time at which the entity was last changed.
    * This field is set for
@@ -126,12 +169,15 @@ public interface EntityResultOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * A cursor that points to the position after the result entity.
    * Set only when the `EntityResult` is part of a `QueryResultBatch` message.
    * 
* * bytes cursor = 3; + * * @return The cursor. */ com.google.protobuf.ByteString getCursor(); diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExecutionStats.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExecutionStats.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExecutionStats.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExecutionStats.java index da73b594c..7530347c4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExecutionStats.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExecutionStats.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query_profile.proto @@ -5,54 +20,60 @@ package com.google.datastore.v1; /** + * + * *
  * Execution statistics for the query.
  * 
* * Protobuf type {@code google.datastore.v1.ExecutionStats} */ -public final class ExecutionStats extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExecutionStats extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.datastore.v1.ExecutionStats) ExecutionStatsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExecutionStats.newBuilder() to construct. private ExecutionStats(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExecutionStats() { - } + + private ExecutionStats() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExecutionStats(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_ExecutionStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.QueryProfileProto + .internal_static_google_datastore_v1_ExecutionStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_ExecutionStats_fieldAccessorTable + return com.google.datastore.v1.QueryProfileProto + .internal_static_google_datastore_v1_ExecutionStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.ExecutionStats.class, com.google.datastore.v1.ExecutionStats.Builder.class); + com.google.datastore.v1.ExecutionStats.class, + com.google.datastore.v1.ExecutionStats.Builder.class); } private int bitField0_; public static final int RESULTS_RETURNED_FIELD_NUMBER = 1; private long resultsReturned_ = 0L; /** + * + * *
    * Total number of results returned, including documents, projections,
    * aggregation results, keys.
    * 
* * int64 results_returned = 1; + * * @return The resultsReturned. */ @java.lang.Override @@ -63,11 +84,14 @@ public long getResultsReturned() { public static final int EXECUTION_DURATION_FIELD_NUMBER = 3; private com.google.protobuf.Duration executionDuration_; /** + * + * *
    * Total time to execute the query in the backend.
    * 
* * .google.protobuf.Duration execution_duration = 3; + * * @return Whether the executionDuration field is set. */ @java.lang.Override @@ -75,18 +99,25 @@ public boolean hasExecutionDuration() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Total time to execute the query in the backend.
    * 
* * .google.protobuf.Duration execution_duration = 3; + * * @return The executionDuration. */ @java.lang.Override public com.google.protobuf.Duration getExecutionDuration() { - return executionDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : executionDuration_; + return executionDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : executionDuration_; } /** + * + * *
    * Total time to execute the query in the backend.
    * 
@@ -95,17 +126,22 @@ public com.google.protobuf.Duration getExecutionDuration() { */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getExecutionDurationOrBuilder() { - return executionDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : executionDuration_; + return executionDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : executionDuration_; } public static final int READ_OPERATIONS_FIELD_NUMBER = 4; private long readOperations_ = 0L; /** + * + * *
    * Total billable read operations.
    * 
* * int64 read_operations = 4; + * * @return The readOperations. */ @java.lang.Override @@ -116,6 +152,8 @@ public long getReadOperations() { public static final int DEBUG_STATS_FIELD_NUMBER = 5; private com.google.protobuf.Struct debugStats_; /** + * + * *
    * Debugging statistics from the execution of the query. Note that the
    * debugging stats are subject to change as Firestore evolves. It could
@@ -132,6 +170,7 @@ public long getReadOperations() {
    * 
* * .google.protobuf.Struct debug_stats = 5; + * * @return Whether the debugStats field is set. */ @java.lang.Override @@ -139,6 +178,8 @@ public boolean hasDebugStats() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Debugging statistics from the execution of the query. Note that the
    * debugging stats are subject to change as Firestore evolves. It could
@@ -155,6 +196,7 @@ public boolean hasDebugStats() {
    * 
* * .google.protobuf.Struct debug_stats = 5; + * * @return The debugStats. */ @java.lang.Override @@ -162,6 +204,8 @@ public com.google.protobuf.Struct getDebugStats() { return debugStats_ == null ? com.google.protobuf.Struct.getDefaultInstance() : debugStats_; } /** + * + * *
    * Debugging statistics from the execution of the query. Note that the
    * debugging stats are subject to change as Firestore evolves. It could
@@ -185,6 +229,7 @@ public com.google.protobuf.StructOrBuilder getDebugStatsOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -196,8 +241,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (resultsReturned_ != 0L) {
       output.writeInt64(1, resultsReturned_);
     }
@@ -220,20 +264,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (resultsReturned_ != 0L) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt64Size(1, resultsReturned_);
+      size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, resultsReturned_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, getExecutionDuration());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getExecutionDuration());
     }
     if (readOperations_ != 0L) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt64Size(4, readOperations_);
+      size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, readOperations_);
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, getDebugStats());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getDebugStats());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -243,26 +283,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.datastore.v1.ExecutionStats)) {
       return super.equals(obj);
     }
     com.google.datastore.v1.ExecutionStats other = (com.google.datastore.v1.ExecutionStats) obj;
 
-    if (getResultsReturned()
-        != other.getResultsReturned()) return false;
+    if (getResultsReturned() != other.getResultsReturned()) return false;
     if (hasExecutionDuration() != other.hasExecutionDuration()) return false;
     if (hasExecutionDuration()) {
-      if (!getExecutionDuration()
-          .equals(other.getExecutionDuration())) return false;
+      if (!getExecutionDuration().equals(other.getExecutionDuration())) return false;
     }
-    if (getReadOperations()
-        != other.getReadOperations()) return false;
+    if (getReadOperations() != other.getReadOperations()) return false;
     if (hasDebugStats() != other.hasDebugStats()) return false;
     if (hasDebugStats()) {
-      if (!getDebugStats()
-          .equals(other.getDebugStats())) return false;
+      if (!getDebugStats().equals(other.getDebugStats())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -276,15 +312,13 @@ public int hashCode() {
     int hash = 41;
     hash = (19 * hash) + getDescriptor().hashCode();
     hash = (37 * hash) + RESULTS_RETURNED_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
-        getResultsReturned());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getResultsReturned());
     if (hasExecutionDuration()) {
       hash = (37 * hash) + EXECUTION_DURATION_FIELD_NUMBER;
       hash = (53 * hash) + getExecutionDuration().hashCode();
     }
     hash = (37 * hash) + READ_OPERATIONS_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
-        getReadOperations());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getReadOperations());
     if (hasDebugStats()) {
       hash = (37 * hash) + DEBUG_STATS_FIELD_NUMBER;
       hash = (53 * hash) + getDebugStats().hashCode();
@@ -294,120 +328,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.ExecutionStats parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.ExecutionStats parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.ExecutionStats parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.ExecutionStats parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.ExecutionStats parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.ExecutionStats parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.ExecutionStats parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.ExecutionStats parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.datastore.v1.ExecutionStats parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   public static com.google.datastore.v1.ExecutionStats 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.datastore.v1.ExecutionStats parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.datastore.v1.ExecutionStats parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.datastore.v1.ExecutionStats parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.datastore.v1.ExecutionStats prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Execution statistics for the query.
    * 
* * Protobuf type {@code google.datastore.v1.ExecutionStats} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.ExecutionStats) com.google.datastore.v1.ExecutionStatsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_ExecutionStats_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.QueryProfileProto + .internal_static_google_datastore_v1_ExecutionStats_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_ExecutionStats_fieldAccessorTable + return com.google.datastore.v1.QueryProfileProto + .internal_static_google_datastore_v1_ExecutionStats_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.ExecutionStats.class, com.google.datastore.v1.ExecutionStats.Builder.class); + com.google.datastore.v1.ExecutionStats.class, + com.google.datastore.v1.ExecutionStats.Builder.class); } // Construct using com.google.datastore.v1.ExecutionStats.newBuilder() @@ -415,18 +456,18 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getExecutionDurationFieldBuilder(); getDebugStatsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -447,9 +488,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_ExecutionStats_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.v1.QueryProfileProto + .internal_static_google_datastore_v1_ExecutionStats_descriptor; } @java.lang.Override @@ -468,8 +509,11 @@ public com.google.datastore.v1.ExecutionStats build() { @java.lang.Override public com.google.datastore.v1.ExecutionStats buildPartial() { - com.google.datastore.v1.ExecutionStats result = new com.google.datastore.v1.ExecutionStats(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.datastore.v1.ExecutionStats result = + new com.google.datastore.v1.ExecutionStats(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -481,18 +525,17 @@ private void buildPartial0(com.google.datastore.v1.ExecutionStats result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { - result.executionDuration_ = executionDurationBuilder_ == null - ? executionDuration_ - : executionDurationBuilder_.build(); + result.executionDuration_ = + executionDurationBuilder_ == null + ? executionDuration_ + : executionDurationBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000004) != 0)) { result.readOperations_ = readOperations_; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.debugStats_ = debugStatsBuilder_ == null - ? debugStats_ - : debugStatsBuilder_.build(); + result.debugStats_ = debugStatsBuilder_ == null ? debugStats_ : debugStatsBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -502,38 +545,39 @@ private void buildPartial0(com.google.datastore.v1.ExecutionStats result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.ExecutionStats) { - return mergeFrom((com.google.datastore.v1.ExecutionStats)other); + return mergeFrom((com.google.datastore.v1.ExecutionStats) other); } else { super.mergeFrom(other); return this; @@ -580,36 +624,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - resultsReturned_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 26: { - input.readMessage( - getExecutionDurationFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 32: { - readOperations_ = input.readInt64(); - bitField0_ |= 0x00000004; - break; - } // case 32 - case 42: { - input.readMessage( - getDebugStatsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 42 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + resultsReturned_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 26: + { + input.readMessage( + getExecutionDurationFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 32: + { + readOperations_ = input.readInt64(); + bitField0_ |= 0x00000004; + break; + } // case 32 + case 42: + { + input.readMessage(getDebugStatsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + 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) { @@ -619,16 +665,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private long resultsReturned_ ; + private long resultsReturned_; /** + * + * *
      * Total number of results returned, including documents, projections,
      * aggregation results, keys.
      * 
* * int64 results_returned = 1; + * * @return The resultsReturned. */ @java.lang.Override @@ -636,12 +686,15 @@ public long getResultsReturned() { return resultsReturned_; } /** + * + * *
      * Total number of results returned, including documents, projections,
      * aggregation results, keys.
      * 
* * int64 results_returned = 1; + * * @param value The resultsReturned to set. * @return This builder for chaining. */ @@ -653,12 +706,15 @@ public Builder setResultsReturned(long value) { return this; } /** + * + * *
      * Total number of results returned, including documents, projections,
      * aggregation results, keys.
      * 
* * int64 results_returned = 1; + * * @return This builder for chaining. */ public Builder clearResultsReturned() { @@ -670,34 +726,47 @@ public Builder clearResultsReturned() { private com.google.protobuf.Duration executionDuration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> executionDurationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + executionDurationBuilder_; /** + * + * *
      * Total time to execute the query in the backend.
      * 
* * .google.protobuf.Duration execution_duration = 3; + * * @return Whether the executionDuration field is set. */ public boolean hasExecutionDuration() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Total time to execute the query in the backend.
      * 
* * .google.protobuf.Duration execution_duration = 3; + * * @return The executionDuration. */ public com.google.protobuf.Duration getExecutionDuration() { if (executionDurationBuilder_ == null) { - return executionDuration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : executionDuration_; + return executionDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : executionDuration_; } else { return executionDurationBuilder_.getMessage(); } } /** + * + * *
      * Total time to execute the query in the backend.
      * 
@@ -718,14 +787,15 @@ public Builder setExecutionDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Total time to execute the query in the backend.
      * 
* * .google.protobuf.Duration execution_duration = 3; */ - public Builder setExecutionDuration( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setExecutionDuration(com.google.protobuf.Duration.Builder builderForValue) { if (executionDurationBuilder_ == null) { executionDuration_ = builderForValue.build(); } else { @@ -736,6 +806,8 @@ public Builder setExecutionDuration( return this; } /** + * + * *
      * Total time to execute the query in the backend.
      * 
@@ -744,9 +816,9 @@ public Builder setExecutionDuration( */ public Builder mergeExecutionDuration(com.google.protobuf.Duration value) { if (executionDurationBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - executionDuration_ != null && - executionDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && executionDuration_ != null + && executionDuration_ != com.google.protobuf.Duration.getDefaultInstance()) { getExecutionDurationBuilder().mergeFrom(value); } else { executionDuration_ = value; @@ -761,6 +833,8 @@ public Builder mergeExecutionDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Total time to execute the query in the backend.
      * 
@@ -778,6 +852,8 @@ public Builder clearExecutionDuration() { return this; } /** + * + * *
      * Total time to execute the query in the backend.
      * 
@@ -790,6 +866,8 @@ public com.google.protobuf.Duration.Builder getExecutionDurationBuilder() { return getExecutionDurationFieldBuilder().getBuilder(); } /** + * + * *
      * Total time to execute the query in the backend.
      * 
@@ -800,11 +878,14 @@ public com.google.protobuf.DurationOrBuilder getExecutionDurationOrBuilder() { if (executionDurationBuilder_ != null) { return executionDurationBuilder_.getMessageOrBuilder(); } else { - return executionDuration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : executionDuration_; + return executionDuration_ == null + ? com.google.protobuf.Duration.getDefaultInstance() + : executionDuration_; } } /** + * + * *
      * Total time to execute the query in the backend.
      * 
@@ -812,26 +893,32 @@ public com.google.protobuf.DurationOrBuilder getExecutionDurationOrBuilder() { * .google.protobuf.Duration execution_duration = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> getExecutionDurationFieldBuilder() { if (executionDurationBuilder_ == null) { - executionDurationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getExecutionDuration(), - getParentForChildren(), - isClean()); + executionDurationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getExecutionDuration(), getParentForChildren(), isClean()); executionDuration_ = null; } return executionDurationBuilder_; } - private long readOperations_ ; + private long readOperations_; /** + * + * *
      * Total billable read operations.
      * 
* * int64 read_operations = 4; + * * @return The readOperations. */ @java.lang.Override @@ -839,11 +926,14 @@ public long getReadOperations() { return readOperations_; } /** + * + * *
      * Total billable read operations.
      * 
* * int64 read_operations = 4; + * * @param value The readOperations to set. * @return This builder for chaining. */ @@ -855,11 +945,14 @@ public Builder setReadOperations(long value) { return this; } /** + * + * *
      * Total billable read operations.
      * 
* * int64 read_operations = 4; + * * @return This builder for chaining. */ public Builder clearReadOperations() { @@ -871,8 +964,13 @@ public Builder clearReadOperations() { private com.google.protobuf.Struct debugStats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> debugStatsBuilder_; + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + debugStatsBuilder_; /** + * + * *
      * Debugging statistics from the execution of the query. Note that the
      * debugging stats are subject to change as Firestore evolves. It could
@@ -889,12 +987,15 @@ public Builder clearReadOperations() {
      * 
* * .google.protobuf.Struct debug_stats = 5; + * * @return Whether the debugStats field is set. */ public boolean hasDebugStats() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Debugging statistics from the execution of the query. Note that the
      * debugging stats are subject to change as Firestore evolves. It could
@@ -911,6 +1012,7 @@ public boolean hasDebugStats() {
      * 
* * .google.protobuf.Struct debug_stats = 5; + * * @return The debugStats. */ public com.google.protobuf.Struct getDebugStats() { @@ -921,6 +1023,8 @@ public com.google.protobuf.Struct getDebugStats() { } } /** + * + * *
      * Debugging statistics from the execution of the query. Note that the
      * debugging stats are subject to change as Firestore evolves. It could
@@ -952,6 +1056,8 @@ public Builder setDebugStats(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Debugging statistics from the execution of the query. Note that the
      * debugging stats are subject to change as Firestore evolves. It could
@@ -969,8 +1075,7 @@ public Builder setDebugStats(com.google.protobuf.Struct value) {
      *
      * .google.protobuf.Struct debug_stats = 5;
      */
-    public Builder setDebugStats(
-        com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setDebugStats(com.google.protobuf.Struct.Builder builderForValue) {
       if (debugStatsBuilder_ == null) {
         debugStats_ = builderForValue.build();
       } else {
@@ -981,6 +1086,8 @@ public Builder setDebugStats(
       return this;
     }
     /**
+     *
+     *
      * 
      * Debugging statistics from the execution of the query. Note that the
      * debugging stats are subject to change as Firestore evolves. It could
@@ -1000,9 +1107,9 @@ public Builder setDebugStats(
      */
     public Builder mergeDebugStats(com.google.protobuf.Struct value) {
       if (debugStatsBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0) &&
-          debugStats_ != null &&
-          debugStats_ != com.google.protobuf.Struct.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && debugStats_ != null
+            && debugStats_ != com.google.protobuf.Struct.getDefaultInstance()) {
           getDebugStatsBuilder().mergeFrom(value);
         } else {
           debugStats_ = value;
@@ -1017,6 +1124,8 @@ public Builder mergeDebugStats(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Debugging statistics from the execution of the query. Note that the
      * debugging stats are subject to change as Firestore evolves. It could
@@ -1045,6 +1154,8 @@ public Builder clearDebugStats() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Debugging statistics from the execution of the query. Note that the
      * debugging stats are subject to change as Firestore evolves. It could
@@ -1068,6 +1179,8 @@ public com.google.protobuf.Struct.Builder getDebugStatsBuilder() {
       return getDebugStatsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Debugging statistics from the execution of the query. Note that the
      * debugging stats are subject to change as Firestore evolves. It could
@@ -1089,11 +1202,12 @@ public com.google.protobuf.StructOrBuilder getDebugStatsOrBuilder() {
       if (debugStatsBuilder_ != null) {
         return debugStatsBuilder_.getMessageOrBuilder();
       } else {
-        return debugStats_ == null ?
-            com.google.protobuf.Struct.getDefaultInstance() : debugStats_;
+        return debugStats_ == null ? com.google.protobuf.Struct.getDefaultInstance() : debugStats_;
       }
     }
     /**
+     *
+     *
      * 
      * Debugging statistics from the execution of the query. Note that the
      * debugging stats are subject to change as Firestore evolves. It could
@@ -1112,21 +1226,24 @@ public com.google.protobuf.StructOrBuilder getDebugStatsOrBuilder() {
      * .google.protobuf.Struct debug_stats = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
+            com.google.protobuf.Struct,
+            com.google.protobuf.Struct.Builder,
+            com.google.protobuf.StructOrBuilder>
         getDebugStatsFieldBuilder() {
       if (debugStatsBuilder_ == null) {
-        debugStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
-                getDebugStats(),
-                getParentForChildren(),
-                isClean());
+        debugStatsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Struct,
+                com.google.protobuf.Struct.Builder,
+                com.google.protobuf.StructOrBuilder>(
+                getDebugStats(), getParentForChildren(), isClean());
         debugStats_ = null;
       }
       return debugStatsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1136,12 +1253,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.ExecutionStats)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.ExecutionStats)
   private static final com.google.datastore.v1.ExecutionStats DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.ExecutionStats();
   }
@@ -1150,27 +1267,27 @@ public static com.google.datastore.v1.ExecutionStats getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ExecutionStats parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ExecutionStats parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1185,6 +1302,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.ExecutionStats getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExecutionStatsOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExecutionStatsOrBuilder.java
similarity index 81%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExecutionStatsOrBuilder.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExecutionStatsOrBuilder.java
index 149802a07..b31b1227b 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExecutionStatsOrBuilder.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExecutionStatsOrBuilder.java
@@ -1,43 +1,70 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/query_profile.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface ExecutionStatsOrBuilder extends
+public interface ExecutionStatsOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.ExecutionStats)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Total number of results returned, including documents, projections,
    * aggregation results, keys.
    * 
* * int64 results_returned = 1; + * * @return The resultsReturned. */ long getResultsReturned(); /** + * + * *
    * Total time to execute the query in the backend.
    * 
* * .google.protobuf.Duration execution_duration = 3; + * * @return Whether the executionDuration field is set. */ boolean hasExecutionDuration(); /** + * + * *
    * Total time to execute the query in the backend.
    * 
* * .google.protobuf.Duration execution_duration = 3; + * * @return The executionDuration. */ com.google.protobuf.Duration getExecutionDuration(); /** + * + * *
    * Total time to execute the query in the backend.
    * 
@@ -47,16 +74,21 @@ public interface ExecutionStatsOrBuilder extends com.google.protobuf.DurationOrBuilder getExecutionDurationOrBuilder(); /** + * + * *
    * Total billable read operations.
    * 
* * int64 read_operations = 4; + * * @return The readOperations. */ long getReadOperations(); /** + * + * *
    * Debugging statistics from the execution of the query. Note that the
    * debugging stats are subject to change as Firestore evolves. It could
@@ -73,10 +105,13 @@ public interface ExecutionStatsOrBuilder extends
    * 
* * .google.protobuf.Struct debug_stats = 5; + * * @return Whether the debugStats field is set. */ boolean hasDebugStats(); /** + * + * *
    * Debugging statistics from the execution of the query. Note that the
    * debugging stats are subject to change as Firestore evolves. It could
@@ -93,10 +128,13 @@ public interface ExecutionStatsOrBuilder extends
    * 
* * .google.protobuf.Struct debug_stats = 5; + * * @return The debugStats. */ com.google.protobuf.Struct getDebugStats(); /** + * + * *
    * Debugging statistics from the execution of the query. Note that the
    * debugging stats are subject to change as Firestore evolves. It could
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainMetrics.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainMetrics.java
similarity index 69%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainMetrics.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainMetrics.java
index 519b3b78e..423b58973 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainMetrics.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainMetrics.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/query_profile.proto
 
@@ -5,53 +20,59 @@
 package com.google.datastore.v1;
 
 /**
+ *
+ *
  * 
  * Explain metrics for the query.
  * 
* * Protobuf type {@code google.datastore.v1.ExplainMetrics} */ -public final class ExplainMetrics extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExplainMetrics extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.datastore.v1.ExplainMetrics) ExplainMetricsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExplainMetrics.newBuilder() to construct. private ExplainMetrics(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExplainMetrics() { - } + + private ExplainMetrics() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExplainMetrics(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_ExplainMetrics_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.QueryProfileProto + .internal_static_google_datastore_v1_ExplainMetrics_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_ExplainMetrics_fieldAccessorTable + return com.google.datastore.v1.QueryProfileProto + .internal_static_google_datastore_v1_ExplainMetrics_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.ExplainMetrics.class, com.google.datastore.v1.ExplainMetrics.Builder.class); + com.google.datastore.v1.ExplainMetrics.class, + com.google.datastore.v1.ExplainMetrics.Builder.class); } private int bitField0_; public static final int PLAN_SUMMARY_FIELD_NUMBER = 1; private com.google.datastore.v1.PlanSummary planSummary_; /** + * + * *
    * Planning phase information for the query.
    * 
* * .google.datastore.v1.PlanSummary plan_summary = 1; + * * @return Whether the planSummary field is set. */ @java.lang.Override @@ -59,18 +80,25 @@ public boolean hasPlanSummary() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Planning phase information for the query.
    * 
* * .google.datastore.v1.PlanSummary plan_summary = 1; + * * @return The planSummary. */ @java.lang.Override public com.google.datastore.v1.PlanSummary getPlanSummary() { - return planSummary_ == null ? com.google.datastore.v1.PlanSummary.getDefaultInstance() : planSummary_; + return planSummary_ == null + ? com.google.datastore.v1.PlanSummary.getDefaultInstance() + : planSummary_; } /** + * + * *
    * Planning phase information for the query.
    * 
@@ -79,12 +107,16 @@ public com.google.datastore.v1.PlanSummary getPlanSummary() { */ @java.lang.Override public com.google.datastore.v1.PlanSummaryOrBuilder getPlanSummaryOrBuilder() { - return planSummary_ == null ? com.google.datastore.v1.PlanSummary.getDefaultInstance() : planSummary_; + return planSummary_ == null + ? com.google.datastore.v1.PlanSummary.getDefaultInstance() + : planSummary_; } public static final int EXECUTION_STATS_FIELD_NUMBER = 2; private com.google.datastore.v1.ExecutionStats executionStats_; /** + * + * *
    * Aggregated stats from the execution of the query. Only present when
    * [ExplainOptions.analyze][google.datastore.v1.ExplainOptions.analyze] is set
@@ -92,6 +124,7 @@ public com.google.datastore.v1.PlanSummaryOrBuilder getPlanSummaryOrBuilder() {
    * 
* * .google.datastore.v1.ExecutionStats execution_stats = 2; + * * @return Whether the executionStats field is set. */ @java.lang.Override @@ -99,6 +132,8 @@ public boolean hasExecutionStats() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * Aggregated stats from the execution of the query. Only present when
    * [ExplainOptions.analyze][google.datastore.v1.ExplainOptions.analyze] is set
@@ -106,13 +141,18 @@ public boolean hasExecutionStats() {
    * 
* * .google.datastore.v1.ExecutionStats execution_stats = 2; + * * @return The executionStats. */ @java.lang.Override public com.google.datastore.v1.ExecutionStats getExecutionStats() { - return executionStats_ == null ? com.google.datastore.v1.ExecutionStats.getDefaultInstance() : executionStats_; + return executionStats_ == null + ? com.google.datastore.v1.ExecutionStats.getDefaultInstance() + : executionStats_; } /** + * + * *
    * Aggregated stats from the execution of the query. Only present when
    * [ExplainOptions.analyze][google.datastore.v1.ExplainOptions.analyze] is set
@@ -123,10 +163,13 @@ public com.google.datastore.v1.ExecutionStats getExecutionStats() {
    */
   @java.lang.Override
   public com.google.datastore.v1.ExecutionStatsOrBuilder getExecutionStatsOrBuilder() {
-    return executionStats_ == null ? com.google.datastore.v1.ExecutionStats.getDefaultInstance() : executionStats_;
+    return executionStats_ == null
+        ? com.google.datastore.v1.ExecutionStats.getDefaultInstance()
+        : executionStats_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -138,8 +181,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(1, getPlanSummary());
     }
@@ -156,12 +198,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getPlanSummary());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPlanSummary());
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getExecutionStats());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExecutionStats());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -171,7 +211,7 @@ public int getSerializedSize() {
   @java.lang.Override
   public boolean equals(final java.lang.Object obj) {
     if (obj == this) {
-     return true;
+      return true;
     }
     if (!(obj instanceof com.google.datastore.v1.ExplainMetrics)) {
       return super.equals(obj);
@@ -180,13 +220,11 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasPlanSummary() != other.hasPlanSummary()) return false;
     if (hasPlanSummary()) {
-      if (!getPlanSummary()
-          .equals(other.getPlanSummary())) return false;
+      if (!getPlanSummary().equals(other.getPlanSummary())) return false;
     }
     if (hasExecutionStats() != other.hasExecutionStats()) return false;
     if (hasExecutionStats()) {
-      if (!getExecutionStats()
-          .equals(other.getExecutionStats())) return false;
+      if (!getExecutionStats().equals(other.getExecutionStats())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -212,120 +250,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.ExplainMetrics parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.ExplainMetrics parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.ExplainMetrics parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.ExplainMetrics parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.ExplainMetrics parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.ExplainMetrics parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.ExplainMetrics parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.ExplainMetrics parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.datastore.v1.ExplainMetrics parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   public static com.google.datastore.v1.ExplainMetrics 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.datastore.v1.ExplainMetrics parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.datastore.v1.ExplainMetrics parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.datastore.v1.ExplainMetrics parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.datastore.v1.ExplainMetrics prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Explain metrics for the query.
    * 
* * Protobuf type {@code google.datastore.v1.ExplainMetrics} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.ExplainMetrics) com.google.datastore.v1.ExplainMetricsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_ExplainMetrics_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.QueryProfileProto + .internal_static_google_datastore_v1_ExplainMetrics_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_ExplainMetrics_fieldAccessorTable + return com.google.datastore.v1.QueryProfileProto + .internal_static_google_datastore_v1_ExplainMetrics_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.ExplainMetrics.class, com.google.datastore.v1.ExplainMetrics.Builder.class); + com.google.datastore.v1.ExplainMetrics.class, + com.google.datastore.v1.ExplainMetrics.Builder.class); } // Construct using com.google.datastore.v1.ExplainMetrics.newBuilder() @@ -333,18 +378,18 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPlanSummaryFieldBuilder(); getExecutionStatsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -363,9 +408,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_ExplainMetrics_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.v1.QueryProfileProto + .internal_static_google_datastore_v1_ExplainMetrics_descriptor; } @java.lang.Override @@ -384,8 +429,11 @@ public com.google.datastore.v1.ExplainMetrics build() { @java.lang.Override public com.google.datastore.v1.ExplainMetrics buildPartial() { - com.google.datastore.v1.ExplainMetrics result = new com.google.datastore.v1.ExplainMetrics(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.datastore.v1.ExplainMetrics result = + new com.google.datastore.v1.ExplainMetrics(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -394,15 +442,13 @@ private void buildPartial0(com.google.datastore.v1.ExplainMetrics result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.planSummary_ = planSummaryBuilder_ == null - ? planSummary_ - : planSummaryBuilder_.build(); + result.planSummary_ = + planSummaryBuilder_ == null ? planSummary_ : planSummaryBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.executionStats_ = executionStatsBuilder_ == null - ? executionStats_ - : executionStatsBuilder_.build(); + result.executionStats_ = + executionStatsBuilder_ == null ? executionStats_ : executionStatsBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -412,38 +458,39 @@ private void buildPartial0(com.google.datastore.v1.ExplainMetrics result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.ExplainMetrics) { - return mergeFrom((com.google.datastore.v1.ExplainMetrics)other); + return mergeFrom((com.google.datastore.v1.ExplainMetrics) other); } else { super.mergeFrom(other); return this; @@ -484,26 +531,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getPlanSummaryFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getExecutionStatsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getPlanSummaryFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getExecutionStatsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -513,38 +559,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.datastore.v1.PlanSummary planSummary_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PlanSummary, com.google.datastore.v1.PlanSummary.Builder, com.google.datastore.v1.PlanSummaryOrBuilder> planSummaryBuilder_; + com.google.datastore.v1.PlanSummary, + com.google.datastore.v1.PlanSummary.Builder, + com.google.datastore.v1.PlanSummaryOrBuilder> + planSummaryBuilder_; /** + * + * *
      * Planning phase information for the query.
      * 
* * .google.datastore.v1.PlanSummary plan_summary = 1; + * * @return Whether the planSummary field is set. */ public boolean hasPlanSummary() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Planning phase information for the query.
      * 
* * .google.datastore.v1.PlanSummary plan_summary = 1; + * * @return The planSummary. */ public com.google.datastore.v1.PlanSummary getPlanSummary() { if (planSummaryBuilder_ == null) { - return planSummary_ == null ? com.google.datastore.v1.PlanSummary.getDefaultInstance() : planSummary_; + return planSummary_ == null + ? com.google.datastore.v1.PlanSummary.getDefaultInstance() + : planSummary_; } else { return planSummaryBuilder_.getMessage(); } } /** + * + * *
      * Planning phase information for the query.
      * 
@@ -565,14 +625,15 @@ public Builder setPlanSummary(com.google.datastore.v1.PlanSummary value) { return this; } /** + * + * *
      * Planning phase information for the query.
      * 
* * .google.datastore.v1.PlanSummary plan_summary = 1; */ - public Builder setPlanSummary( - com.google.datastore.v1.PlanSummary.Builder builderForValue) { + public Builder setPlanSummary(com.google.datastore.v1.PlanSummary.Builder builderForValue) { if (planSummaryBuilder_ == null) { planSummary_ = builderForValue.build(); } else { @@ -583,6 +644,8 @@ public Builder setPlanSummary( return this; } /** + * + * *
      * Planning phase information for the query.
      * 
@@ -591,9 +654,9 @@ public Builder setPlanSummary( */ public Builder mergePlanSummary(com.google.datastore.v1.PlanSummary value) { if (planSummaryBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - planSummary_ != null && - planSummary_ != com.google.datastore.v1.PlanSummary.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && planSummary_ != null + && planSummary_ != com.google.datastore.v1.PlanSummary.getDefaultInstance()) { getPlanSummaryBuilder().mergeFrom(value); } else { planSummary_ = value; @@ -608,6 +671,8 @@ public Builder mergePlanSummary(com.google.datastore.v1.PlanSummary value) { return this; } /** + * + * *
      * Planning phase information for the query.
      * 
@@ -625,6 +690,8 @@ public Builder clearPlanSummary() { return this; } /** + * + * *
      * Planning phase information for the query.
      * 
@@ -637,6 +704,8 @@ public com.google.datastore.v1.PlanSummary.Builder getPlanSummaryBuilder() { return getPlanSummaryFieldBuilder().getBuilder(); } /** + * + * *
      * Planning phase information for the query.
      * 
@@ -647,11 +716,14 @@ public com.google.datastore.v1.PlanSummaryOrBuilder getPlanSummaryOrBuilder() { if (planSummaryBuilder_ != null) { return planSummaryBuilder_.getMessageOrBuilder(); } else { - return planSummary_ == null ? - com.google.datastore.v1.PlanSummary.getDefaultInstance() : planSummary_; + return planSummary_ == null + ? com.google.datastore.v1.PlanSummary.getDefaultInstance() + : planSummary_; } } /** + * + * *
      * Planning phase information for the query.
      * 
@@ -659,14 +731,17 @@ public com.google.datastore.v1.PlanSummaryOrBuilder getPlanSummaryOrBuilder() { * .google.datastore.v1.PlanSummary plan_summary = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PlanSummary, com.google.datastore.v1.PlanSummary.Builder, com.google.datastore.v1.PlanSummaryOrBuilder> + com.google.datastore.v1.PlanSummary, + com.google.datastore.v1.PlanSummary.Builder, + com.google.datastore.v1.PlanSummaryOrBuilder> getPlanSummaryFieldBuilder() { if (planSummaryBuilder_ == null) { - planSummaryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PlanSummary, com.google.datastore.v1.PlanSummary.Builder, com.google.datastore.v1.PlanSummaryOrBuilder>( - getPlanSummary(), - getParentForChildren(), - isClean()); + planSummaryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.PlanSummary, + com.google.datastore.v1.PlanSummary.Builder, + com.google.datastore.v1.PlanSummaryOrBuilder>( + getPlanSummary(), getParentForChildren(), isClean()); planSummary_ = null; } return planSummaryBuilder_; @@ -674,8 +749,13 @@ public com.google.datastore.v1.PlanSummaryOrBuilder getPlanSummaryOrBuilder() { private com.google.datastore.v1.ExecutionStats executionStats_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ExecutionStats, com.google.datastore.v1.ExecutionStats.Builder, com.google.datastore.v1.ExecutionStatsOrBuilder> executionStatsBuilder_; + com.google.datastore.v1.ExecutionStats, + com.google.datastore.v1.ExecutionStats.Builder, + com.google.datastore.v1.ExecutionStatsOrBuilder> + executionStatsBuilder_; /** + * + * *
      * Aggregated stats from the execution of the query. Only present when
      * [ExplainOptions.analyze][google.datastore.v1.ExplainOptions.analyze] is set
@@ -683,12 +763,15 @@ public com.google.datastore.v1.PlanSummaryOrBuilder getPlanSummaryOrBuilder() {
      * 
* * .google.datastore.v1.ExecutionStats execution_stats = 2; + * * @return Whether the executionStats field is set. */ public boolean hasExecutionStats() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Aggregated stats from the execution of the query. Only present when
      * [ExplainOptions.analyze][google.datastore.v1.ExplainOptions.analyze] is set
@@ -696,16 +779,21 @@ public boolean hasExecutionStats() {
      * 
* * .google.datastore.v1.ExecutionStats execution_stats = 2; + * * @return The executionStats. */ public com.google.datastore.v1.ExecutionStats getExecutionStats() { if (executionStatsBuilder_ == null) { - return executionStats_ == null ? com.google.datastore.v1.ExecutionStats.getDefaultInstance() : executionStats_; + return executionStats_ == null + ? com.google.datastore.v1.ExecutionStats.getDefaultInstance() + : executionStats_; } else { return executionStatsBuilder_.getMessage(); } } /** + * + * *
      * Aggregated stats from the execution of the query. Only present when
      * [ExplainOptions.analyze][google.datastore.v1.ExplainOptions.analyze] is set
@@ -728,6 +816,8 @@ public Builder setExecutionStats(com.google.datastore.v1.ExecutionStats value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Aggregated stats from the execution of the query. Only present when
      * [ExplainOptions.analyze][google.datastore.v1.ExplainOptions.analyze] is set
@@ -748,6 +838,8 @@ public Builder setExecutionStats(
       return this;
     }
     /**
+     *
+     *
      * 
      * Aggregated stats from the execution of the query. Only present when
      * [ExplainOptions.analyze][google.datastore.v1.ExplainOptions.analyze] is set
@@ -758,9 +850,9 @@ public Builder setExecutionStats(
      */
     public Builder mergeExecutionStats(com.google.datastore.v1.ExecutionStats value) {
       if (executionStatsBuilder_ == null) {
-        if (((bitField0_ & 0x00000002) != 0) &&
-          executionStats_ != null &&
-          executionStats_ != com.google.datastore.v1.ExecutionStats.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000002) != 0)
+            && executionStats_ != null
+            && executionStats_ != com.google.datastore.v1.ExecutionStats.getDefaultInstance()) {
           getExecutionStatsBuilder().mergeFrom(value);
         } else {
           executionStats_ = value;
@@ -775,6 +867,8 @@ public Builder mergeExecutionStats(com.google.datastore.v1.ExecutionStats value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Aggregated stats from the execution of the query. Only present when
      * [ExplainOptions.analyze][google.datastore.v1.ExplainOptions.analyze] is set
@@ -794,6 +888,8 @@ public Builder clearExecutionStats() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Aggregated stats from the execution of the query. Only present when
      * [ExplainOptions.analyze][google.datastore.v1.ExplainOptions.analyze] is set
@@ -808,6 +904,8 @@ public com.google.datastore.v1.ExecutionStats.Builder getExecutionStatsBuilder()
       return getExecutionStatsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Aggregated stats from the execution of the query. Only present when
      * [ExplainOptions.analyze][google.datastore.v1.ExplainOptions.analyze] is set
@@ -820,11 +918,14 @@ public com.google.datastore.v1.ExecutionStatsOrBuilder getExecutionStatsOrBuilde
       if (executionStatsBuilder_ != null) {
         return executionStatsBuilder_.getMessageOrBuilder();
       } else {
-        return executionStats_ == null ?
-            com.google.datastore.v1.ExecutionStats.getDefaultInstance() : executionStats_;
+        return executionStats_ == null
+            ? com.google.datastore.v1.ExecutionStats.getDefaultInstance()
+            : executionStats_;
       }
     }
     /**
+     *
+     *
      * 
      * Aggregated stats from the execution of the query. Only present when
      * [ExplainOptions.analyze][google.datastore.v1.ExplainOptions.analyze] is set
@@ -834,21 +935,24 @@ public com.google.datastore.v1.ExecutionStatsOrBuilder getExecutionStatsOrBuilde
      * .google.datastore.v1.ExecutionStats execution_stats = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.v1.ExecutionStats, com.google.datastore.v1.ExecutionStats.Builder, com.google.datastore.v1.ExecutionStatsOrBuilder> 
+            com.google.datastore.v1.ExecutionStats,
+            com.google.datastore.v1.ExecutionStats.Builder,
+            com.google.datastore.v1.ExecutionStatsOrBuilder>
         getExecutionStatsFieldBuilder() {
       if (executionStatsBuilder_ == null) {
-        executionStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.ExecutionStats, com.google.datastore.v1.ExecutionStats.Builder, com.google.datastore.v1.ExecutionStatsOrBuilder>(
-                getExecutionStats(),
-                getParentForChildren(),
-                isClean());
+        executionStatsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.datastore.v1.ExecutionStats,
+                com.google.datastore.v1.ExecutionStats.Builder,
+                com.google.datastore.v1.ExecutionStatsOrBuilder>(
+                getExecutionStats(), getParentForChildren(), isClean());
         executionStats_ = null;
       }
       return executionStatsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -858,12 +962,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.ExplainMetrics)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.ExplainMetrics)
   private static final com.google.datastore.v1.ExplainMetrics DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.ExplainMetrics();
   }
@@ -872,27 +976,27 @@ public static com.google.datastore.v1.ExplainMetrics getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ExplainMetrics parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ExplainMetrics parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -907,6 +1011,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.ExplainMetrics getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainMetricsOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainMetricsOrBuilder.java
similarity index 74%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainMetricsOrBuilder.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainMetricsOrBuilder.java
index c4a37abbf..c6b995167 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainMetricsOrBuilder.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainMetricsOrBuilder.java
@@ -1,32 +1,56 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/query_profile.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface ExplainMetricsOrBuilder extends
+public interface ExplainMetricsOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.ExplainMetrics)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Planning phase information for the query.
    * 
* * .google.datastore.v1.PlanSummary plan_summary = 1; + * * @return Whether the planSummary field is set. */ boolean hasPlanSummary(); /** + * + * *
    * Planning phase information for the query.
    * 
* * .google.datastore.v1.PlanSummary plan_summary = 1; + * * @return The planSummary. */ com.google.datastore.v1.PlanSummary getPlanSummary(); /** + * + * *
    * Planning phase information for the query.
    * 
@@ -36,6 +60,8 @@ public interface ExplainMetricsOrBuilder extends com.google.datastore.v1.PlanSummaryOrBuilder getPlanSummaryOrBuilder(); /** + * + * *
    * Aggregated stats from the execution of the query. Only present when
    * [ExplainOptions.analyze][google.datastore.v1.ExplainOptions.analyze] is set
@@ -43,10 +69,13 @@ public interface ExplainMetricsOrBuilder extends
    * 
* * .google.datastore.v1.ExecutionStats execution_stats = 2; + * * @return Whether the executionStats field is set. */ boolean hasExecutionStats(); /** + * + * *
    * Aggregated stats from the execution of the query. Only present when
    * [ExplainOptions.analyze][google.datastore.v1.ExplainOptions.analyze] is set
@@ -54,10 +83,13 @@ public interface ExplainMetricsOrBuilder extends
    * 
* * .google.datastore.v1.ExecutionStats execution_stats = 2; + * * @return The executionStats. */ com.google.datastore.v1.ExecutionStats getExecutionStats(); /** + * + * *
    * Aggregated stats from the execution of the query. Only present when
    * [ExplainOptions.analyze][google.datastore.v1.ExplainOptions.analyze] is set
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainOptions.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainOptions.java
similarity index 67%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainOptions.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainOptions.java
index f822cf27c..4e2f32872 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainOptions.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainOptions.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/query_profile.proto
 
@@ -5,47 +20,52 @@
 package com.google.datastore.v1;
 
 /**
+ *
+ *
  * 
  * Explain options for the query.
  * 
* * Protobuf type {@code google.datastore.v1.ExplainOptions} */ -public final class ExplainOptions extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ExplainOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.datastore.v1.ExplainOptions) ExplainOptionsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ExplainOptions.newBuilder() to construct. private ExplainOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ExplainOptions() { - } + + private ExplainOptions() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExplainOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_ExplainOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.QueryProfileProto + .internal_static_google_datastore_v1_ExplainOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_ExplainOptions_fieldAccessorTable + return com.google.datastore.v1.QueryProfileProto + .internal_static_google_datastore_v1_ExplainOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.ExplainOptions.class, com.google.datastore.v1.ExplainOptions.Builder.class); + com.google.datastore.v1.ExplainOptions.class, + com.google.datastore.v1.ExplainOptions.Builder.class); } public static final int ANALYZE_FIELD_NUMBER = 1; private boolean analyze_ = false; /** + * + * *
    * Optional. Whether to execute this query.
    *
@@ -57,6 +77,7 @@ protected java.lang.Object newInstance(
    * 
* * bool analyze = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The analyze. */ @java.lang.Override @@ -65,6 +86,7 @@ public boolean getAnalyze() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -76,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 (analyze_ != false) { output.writeBool(1, analyze_); } @@ -91,8 +112,7 @@ public int getSerializedSize() { size = 0; if (analyze_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(1, analyze_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, analyze_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -102,15 +122,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.datastore.v1.ExplainOptions)) { return super.equals(obj); } com.google.datastore.v1.ExplainOptions other = (com.google.datastore.v1.ExplainOptions) obj; - if (getAnalyze() - != other.getAnalyze()) return false; + if (getAnalyze() != other.getAnalyze()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -123,139 +142,142 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + ANALYZE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getAnalyze()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAnalyze()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.datastore.v1.ExplainOptions parseFrom( - java.nio.ByteBuffer data) + public static com.google.datastore.v1.ExplainOptions parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.ExplainOptions parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.ExplainOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.ExplainOptions parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.ExplainOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.ExplainOptions parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.ExplainOptions parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.ExplainOptions parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.datastore.v1.ExplainOptions 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.datastore.v1.ExplainOptions parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.datastore.v1.ExplainOptions parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.ExplainOptions parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.datastore.v1.ExplainOptions prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Explain options for the query.
    * 
* * Protobuf type {@code google.datastore.v1.ExplainOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.ExplainOptions) com.google.datastore.v1.ExplainOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_ExplainOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.QueryProfileProto + .internal_static_google_datastore_v1_ExplainOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_ExplainOptions_fieldAccessorTable + return com.google.datastore.v1.QueryProfileProto + .internal_static_google_datastore_v1_ExplainOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.ExplainOptions.class, com.google.datastore.v1.ExplainOptions.Builder.class); + com.google.datastore.v1.ExplainOptions.class, + com.google.datastore.v1.ExplainOptions.Builder.class); } // Construct using com.google.datastore.v1.ExplainOptions.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -265,9 +287,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_ExplainOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.v1.QueryProfileProto + .internal_static_google_datastore_v1_ExplainOptions_descriptor; } @java.lang.Override @@ -286,8 +308,11 @@ public com.google.datastore.v1.ExplainOptions build() { @java.lang.Override public com.google.datastore.v1.ExplainOptions buildPartial() { - com.google.datastore.v1.ExplainOptions result = new com.google.datastore.v1.ExplainOptions(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.datastore.v1.ExplainOptions result = + new com.google.datastore.v1.ExplainOptions(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -303,38 +328,39 @@ private void buildPartial0(com.google.datastore.v1.ExplainOptions result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.ExplainOptions) { - return mergeFrom((com.google.datastore.v1.ExplainOptions)other); + return mergeFrom((com.google.datastore.v1.ExplainOptions) other); } else { super.mergeFrom(other); return this; @@ -372,17 +398,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - analyze_ = input.readBool(); - bitField0_ |= 0x00000001; - break; - } // case 8 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + analyze_ = input.readBool(); + bitField0_ |= 0x00000001; + break; + } // case 8 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -392,10 +420,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private boolean analyze_ ; + private boolean analyze_; /** + * + * *
      * Optional. Whether to execute this query.
      *
@@ -407,6 +438,7 @@ public Builder mergeFrom(
      * 
* * bool analyze = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The analyze. */ @java.lang.Override @@ -414,6 +446,8 @@ public boolean getAnalyze() { return analyze_; } /** + * + * *
      * Optional. Whether to execute this query.
      *
@@ -425,6 +459,7 @@ public boolean getAnalyze() {
      * 
* * bool analyze = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The analyze to set. * @return This builder for chaining. */ @@ -436,6 +471,8 @@ public Builder setAnalyze(boolean value) { return this; } /** + * + * *
      * Optional. Whether to execute this query.
      *
@@ -447,6 +484,7 @@ public Builder setAnalyze(boolean value) {
      * 
* * bool analyze = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearAnalyze() { @@ -455,9 +493,9 @@ public Builder clearAnalyze() { 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); } @@ -467,12 +505,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.v1.ExplainOptions) } // @@protoc_insertion_point(class_scope:google.datastore.v1.ExplainOptions) private static final com.google.datastore.v1.ExplainOptions DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.v1.ExplainOptions(); } @@ -481,27 +519,27 @@ public static com.google.datastore.v1.ExplainOptions getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ExplainOptions parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ExplainOptions parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -516,6 +554,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.ExplainOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainOptionsOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainOptionsOrBuilder.java similarity index 54% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainOptionsOrBuilder.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainOptionsOrBuilder.java index ec5b3faee..0248d5101 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainOptionsOrBuilder.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ExplainOptionsOrBuilder.java @@ -1,14 +1,32 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query_profile.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface ExplainOptionsOrBuilder extends +public interface ExplainOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.ExplainOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Optional. Whether to execute this query.
    *
@@ -20,6 +38,7 @@ public interface ExplainOptionsOrBuilder extends
    * 
* * bool analyze = 1 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The analyze. */ boolean getAnalyze(); diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Filter.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Filter.java similarity index 71% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Filter.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Filter.java index 97c1c9398..b9b60db38 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Filter.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Filter.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto @@ -5,54 +20,59 @@ package com.google.datastore.v1; /** + * + * *
  * A holder for any type of filter.
  * 
* * Protobuf type {@code google.datastore.v1.Filter} */ -public final class Filter extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Filter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.datastore.v1.Filter) FilterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Filter.newBuilder() to construct. private Filter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Filter() { - } + + private Filter() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Filter(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_Filter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_Filter_fieldAccessorTable + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_Filter_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.datastore.v1.Filter.class, com.google.datastore.v1.Filter.Builder.class); } private int filterTypeCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object filterType_; + public enum FilterTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { COMPOSITE_FILTER(1), PROPERTY_FILTER(2), FILTERTYPE_NOT_SET(0); private final int value; + private FilterTypeCase(int value) { this.value = value; } @@ -68,30 +88,36 @@ public static FilterTypeCase valueOf(int value) { public static FilterTypeCase forNumber(int value) { switch (value) { - case 1: return COMPOSITE_FILTER; - case 2: return PROPERTY_FILTER; - case 0: return FILTERTYPE_NOT_SET; - default: return null; + case 1: + return COMPOSITE_FILTER; + case 2: + return PROPERTY_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.datastore.v1.CompositeFilter composite_filter = 1; + * * @return Whether the compositeFilter field is set. */ @java.lang.Override @@ -99,21 +125,26 @@ public boolean hasCompositeFilter() { return filterTypeCase_ == 1; } /** + * + * *
    * A composite filter.
    * 
* * .google.datastore.v1.CompositeFilter composite_filter = 1; + * * @return The compositeFilter. */ @java.lang.Override public com.google.datastore.v1.CompositeFilter getCompositeFilter() { if (filterTypeCase_ == 1) { - return (com.google.datastore.v1.CompositeFilter) filterType_; + return (com.google.datastore.v1.CompositeFilter) filterType_; } return com.google.datastore.v1.CompositeFilter.getDefaultInstance(); } /** + * + * *
    * A composite filter.
    * 
@@ -123,18 +154,21 @@ public com.google.datastore.v1.CompositeFilter getCompositeFilter() { @java.lang.Override public com.google.datastore.v1.CompositeFilterOrBuilder getCompositeFilterOrBuilder() { if (filterTypeCase_ == 1) { - return (com.google.datastore.v1.CompositeFilter) filterType_; + return (com.google.datastore.v1.CompositeFilter) filterType_; } return com.google.datastore.v1.CompositeFilter.getDefaultInstance(); } public static final int PROPERTY_FILTER_FIELD_NUMBER = 2; /** + * + * *
    * A filter on a property.
    * 
* * .google.datastore.v1.PropertyFilter property_filter = 2; + * * @return Whether the propertyFilter field is set. */ @java.lang.Override @@ -142,21 +176,26 @@ public boolean hasPropertyFilter() { return filterTypeCase_ == 2; } /** + * + * *
    * A filter on a property.
    * 
* * .google.datastore.v1.PropertyFilter property_filter = 2; + * * @return The propertyFilter. */ @java.lang.Override public com.google.datastore.v1.PropertyFilter getPropertyFilter() { if (filterTypeCase_ == 2) { - return (com.google.datastore.v1.PropertyFilter) filterType_; + return (com.google.datastore.v1.PropertyFilter) filterType_; } return com.google.datastore.v1.PropertyFilter.getDefaultInstance(); } /** + * + * *
    * A filter on a property.
    * 
@@ -166,12 +205,13 @@ public com.google.datastore.v1.PropertyFilter getPropertyFilter() { @java.lang.Override public com.google.datastore.v1.PropertyFilterOrBuilder getPropertyFilterOrBuilder() { if (filterTypeCase_ == 2) { - return (com.google.datastore.v1.PropertyFilter) filterType_; + return (com.google.datastore.v1.PropertyFilter) filterType_; } return com.google.datastore.v1.PropertyFilter.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,8 +223,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 (filterTypeCase_ == 1) { output.writeMessage(1, (com.google.datastore.v1.CompositeFilter) filterType_); } @@ -201,12 +240,14 @@ public int getSerializedSize() { size = 0; if (filterTypeCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.datastore.v1.CompositeFilter) filterType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.datastore.v1.CompositeFilter) filterType_); } if (filterTypeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.datastore.v1.PropertyFilter) filterType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.datastore.v1.PropertyFilter) filterType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -216,7 +257,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.datastore.v1.Filter)) { return super.equals(obj); @@ -226,12 +267,10 @@ public boolean equals(final java.lang.Object 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 (!getPropertyFilter() - .equals(other.getPropertyFilter())) return false; + if (!getPropertyFilter().equals(other.getPropertyFilter())) return false; break; case 0: default: @@ -264,132 +303,134 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.Filter parseFrom( - java.nio.ByteBuffer data) + public static com.google.datastore.v1.Filter parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.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.datastore.v1.Filter parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.datastore.v1.Filter parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.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.datastore.v1.Filter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.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.datastore.v1.Filter parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.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.datastore.v1.Filter 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.datastore.v1.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.datastore.v1.Filter parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.datastore.v1.Filter 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.datastore.v1.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.datastore.v1.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 - protected 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 holder for any type of filter.
    * 
* * Protobuf type {@code google.datastore.v1.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.datastore.v1.Filter) com.google.datastore.v1.FilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_Filter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_Filter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_Filter_fieldAccessorTable + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_Filter_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.datastore.v1.Filter.class, com.google.datastore.v1.Filter.Builder.class); } // Construct using com.google.datastore.v1.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(); @@ -406,9 +447,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_Filter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_Filter_descriptor; } @java.lang.Override @@ -428,7 +469,9 @@ public com.google.datastore.v1.Filter build() { @java.lang.Override public com.google.datastore.v1.Filter buildPartial() { com.google.datastore.v1.Filter result = new com.google.datastore.v1.Filter(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -441,12 +484,10 @@ private void buildPartial0(com.google.datastore.v1.Filter result) { private void buildPartialOneofs(com.google.datastore.v1.Filter result) { result.filterTypeCase_ = filterTypeCase_; result.filterType_ = this.filterType_; - if (filterTypeCase_ == 1 && - compositeFilterBuilder_ != null) { + if (filterTypeCase_ == 1 && compositeFilterBuilder_ != null) { result.filterType_ = compositeFilterBuilder_.build(); } - if (filterTypeCase_ == 2 && - propertyFilterBuilder_ != null) { + if (filterTypeCase_ == 2 && propertyFilterBuilder_ != null) { result.filterType_ = propertyFilterBuilder_.build(); } } @@ -455,38 +496,39 @@ private void buildPartialOneofs(com.google.datastore.v1.Filter result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.Filter) { - return mergeFrom((com.google.datastore.v1.Filter)other); + return mergeFrom((com.google.datastore.v1.Filter) other); } else { super.mergeFrom(other); return this; @@ -496,17 +538,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.datastore.v1.Filter other) { if (other == com.google.datastore.v1.Filter.getDefaultInstance()) return this; switch (other.getFilterTypeCase()) { - case COMPOSITE_FILTER: { - mergeCompositeFilter(other.getCompositeFilter()); - break; - } - case PROPERTY_FILTER: { - mergePropertyFilter(other.getPropertyFilter()); - break; - } - case FILTERTYPE_NOT_SET: { - break; - } + case COMPOSITE_FILTER: + { + mergeCompositeFilter(other.getCompositeFilter()); + break; + } + case PROPERTY_FILTER: + { + mergePropertyFilter(other.getPropertyFilter()); + break; + } + case FILTERTYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -534,26 +579,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getCompositeFilterFieldBuilder().getBuilder(), - extensionRegistry); - filterTypeCase_ = 1; - break; - } // case 10 - case 18: { - input.readMessage( - getPropertyFilterFieldBuilder().getBuilder(), - extensionRegistry); - filterTypeCase_ = 2; - break; - } // case 18 - 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(getPropertyFilterFieldBuilder().getBuilder(), extensionRegistry); + filterTypeCase_ = 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) { @@ -563,12 +607,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() { @@ -581,13 +625,19 @@ public Builder clearFilterType() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.CompositeFilter, com.google.datastore.v1.CompositeFilter.Builder, com.google.datastore.v1.CompositeFilterOrBuilder> compositeFilterBuilder_; + com.google.datastore.v1.CompositeFilter, + com.google.datastore.v1.CompositeFilter.Builder, + com.google.datastore.v1.CompositeFilterOrBuilder> + compositeFilterBuilder_; /** + * + * *
      * A composite filter.
      * 
* * .google.datastore.v1.CompositeFilter composite_filter = 1; + * * @return Whether the compositeFilter field is set. */ @java.lang.Override @@ -595,11 +645,14 @@ public boolean hasCompositeFilter() { return filterTypeCase_ == 1; } /** + * + * *
      * A composite filter.
      * 
* * .google.datastore.v1.CompositeFilter composite_filter = 1; + * * @return The compositeFilter. */ @java.lang.Override @@ -617,6 +670,8 @@ public com.google.datastore.v1.CompositeFilter getCompositeFilter() { } } /** + * + * *
      * A composite filter.
      * 
@@ -637,6 +692,8 @@ public Builder setCompositeFilter(com.google.datastore.v1.CompositeFilter value) return this; } /** + * + * *
      * A composite filter.
      * 
@@ -655,6 +712,8 @@ public Builder setCompositeFilter( return this; } /** + * + * *
      * A composite filter.
      * 
@@ -663,10 +722,13 @@ public Builder setCompositeFilter( */ public Builder mergeCompositeFilter(com.google.datastore.v1.CompositeFilter value) { if (compositeFilterBuilder_ == null) { - if (filterTypeCase_ == 1 && - filterType_ != com.google.datastore.v1.CompositeFilter.getDefaultInstance()) { - filterType_ = com.google.datastore.v1.CompositeFilter.newBuilder((com.google.datastore.v1.CompositeFilter) filterType_) - .mergeFrom(value).buildPartial(); + if (filterTypeCase_ == 1 + && filterType_ != com.google.datastore.v1.CompositeFilter.getDefaultInstance()) { + filterType_ = + com.google.datastore.v1.CompositeFilter.newBuilder( + (com.google.datastore.v1.CompositeFilter) filterType_) + .mergeFrom(value) + .buildPartial(); } else { filterType_ = value; } @@ -682,6 +744,8 @@ public Builder mergeCompositeFilter(com.google.datastore.v1.CompositeFilter valu return this; } /** + * + * *
      * A composite filter.
      * 
@@ -705,6 +769,8 @@ public Builder clearCompositeFilter() { return this; } /** + * + * *
      * A composite filter.
      * 
@@ -715,6 +781,8 @@ public com.google.datastore.v1.CompositeFilter.Builder getCompositeFilterBuilder return getCompositeFilterFieldBuilder().getBuilder(); } /** + * + * *
      * A composite filter.
      * 
@@ -733,6 +801,8 @@ public com.google.datastore.v1.CompositeFilterOrBuilder getCompositeFilterOrBuil } } /** + * + * *
      * A composite filter.
      * 
@@ -740,14 +810,19 @@ public com.google.datastore.v1.CompositeFilterOrBuilder getCompositeFilterOrBuil * .google.datastore.v1.CompositeFilter composite_filter = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.CompositeFilter, com.google.datastore.v1.CompositeFilter.Builder, com.google.datastore.v1.CompositeFilterOrBuilder> + com.google.datastore.v1.CompositeFilter, + com.google.datastore.v1.CompositeFilter.Builder, + com.google.datastore.v1.CompositeFilterOrBuilder> getCompositeFilterFieldBuilder() { if (compositeFilterBuilder_ == null) { if (!(filterTypeCase_ == 1)) { filterType_ = com.google.datastore.v1.CompositeFilter.getDefaultInstance(); } - compositeFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.CompositeFilter, com.google.datastore.v1.CompositeFilter.Builder, com.google.datastore.v1.CompositeFilterOrBuilder>( + compositeFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.CompositeFilter, + com.google.datastore.v1.CompositeFilter.Builder, + com.google.datastore.v1.CompositeFilterOrBuilder>( (com.google.datastore.v1.CompositeFilter) filterType_, getParentForChildren(), isClean()); @@ -759,13 +834,19 @@ public com.google.datastore.v1.CompositeFilterOrBuilder getCompositeFilterOrBuil } private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyFilter, com.google.datastore.v1.PropertyFilter.Builder, com.google.datastore.v1.PropertyFilterOrBuilder> propertyFilterBuilder_; + com.google.datastore.v1.PropertyFilter, + com.google.datastore.v1.PropertyFilter.Builder, + com.google.datastore.v1.PropertyFilterOrBuilder> + propertyFilterBuilder_; /** + * + * *
      * A filter on a property.
      * 
* * .google.datastore.v1.PropertyFilter property_filter = 2; + * * @return Whether the propertyFilter field is set. */ @java.lang.Override @@ -773,11 +854,14 @@ public boolean hasPropertyFilter() { return filterTypeCase_ == 2; } /** + * + * *
      * A filter on a property.
      * 
* * .google.datastore.v1.PropertyFilter property_filter = 2; + * * @return The propertyFilter. */ @java.lang.Override @@ -795,6 +879,8 @@ public com.google.datastore.v1.PropertyFilter getPropertyFilter() { } } /** + * + * *
      * A filter on a property.
      * 
@@ -815,6 +901,8 @@ public Builder setPropertyFilter(com.google.datastore.v1.PropertyFilter value) { return this; } /** + * + * *
      * A filter on a property.
      * 
@@ -833,6 +921,8 @@ public Builder setPropertyFilter( return this; } /** + * + * *
      * A filter on a property.
      * 
@@ -841,10 +931,13 @@ public Builder setPropertyFilter( */ public Builder mergePropertyFilter(com.google.datastore.v1.PropertyFilter value) { if (propertyFilterBuilder_ == null) { - if (filterTypeCase_ == 2 && - filterType_ != com.google.datastore.v1.PropertyFilter.getDefaultInstance()) { - filterType_ = com.google.datastore.v1.PropertyFilter.newBuilder((com.google.datastore.v1.PropertyFilter) filterType_) - .mergeFrom(value).buildPartial(); + if (filterTypeCase_ == 2 + && filterType_ != com.google.datastore.v1.PropertyFilter.getDefaultInstance()) { + filterType_ = + com.google.datastore.v1.PropertyFilter.newBuilder( + (com.google.datastore.v1.PropertyFilter) filterType_) + .mergeFrom(value) + .buildPartial(); } else { filterType_ = value; } @@ -860,6 +953,8 @@ public Builder mergePropertyFilter(com.google.datastore.v1.PropertyFilter value) return this; } /** + * + * *
      * A filter on a property.
      * 
@@ -883,6 +978,8 @@ public Builder clearPropertyFilter() { return this; } /** + * + * *
      * A filter on a property.
      * 
@@ -893,6 +990,8 @@ public com.google.datastore.v1.PropertyFilter.Builder getPropertyFilterBuilder() return getPropertyFilterFieldBuilder().getBuilder(); } /** + * + * *
      * A filter on a property.
      * 
@@ -911,6 +1010,8 @@ public com.google.datastore.v1.PropertyFilterOrBuilder getPropertyFilterOrBuilde } } /** + * + * *
      * A filter on a property.
      * 
@@ -918,14 +1019,19 @@ public com.google.datastore.v1.PropertyFilterOrBuilder getPropertyFilterOrBuilde * .google.datastore.v1.PropertyFilter property_filter = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyFilter, com.google.datastore.v1.PropertyFilter.Builder, com.google.datastore.v1.PropertyFilterOrBuilder> + com.google.datastore.v1.PropertyFilter, + com.google.datastore.v1.PropertyFilter.Builder, + com.google.datastore.v1.PropertyFilterOrBuilder> getPropertyFilterFieldBuilder() { if (propertyFilterBuilder_ == null) { if (!(filterTypeCase_ == 2)) { filterType_ = com.google.datastore.v1.PropertyFilter.getDefaultInstance(); } - propertyFilterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyFilter, com.google.datastore.v1.PropertyFilter.Builder, com.google.datastore.v1.PropertyFilterOrBuilder>( + propertyFilterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.PropertyFilter, + com.google.datastore.v1.PropertyFilter.Builder, + com.google.datastore.v1.PropertyFilterOrBuilder>( (com.google.datastore.v1.PropertyFilter) filterType_, getParentForChildren(), isClean()); @@ -935,9 +1041,9 @@ public com.google.datastore.v1.PropertyFilterOrBuilder getPropertyFilterOrBuilde onChanged(); return propertyFilterBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -947,12 +1053,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.v1.Filter) } // @@protoc_insertion_point(class_scope:google.datastore.v1.Filter) private static final com.google.datastore.v1.Filter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.v1.Filter(); } @@ -961,27 +1067,27 @@ public static com.google.datastore.v1.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; @@ -996,6 +1102,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.Filter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/FilterOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/FilterOrBuilder.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/FilterOrBuilder.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/FilterOrBuilder.java index fa66948e6..b7a38fddf 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/FilterOrBuilder.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/FilterOrBuilder.java @@ -1,32 +1,56 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface FilterOrBuilder extends +public interface FilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.Filter) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A composite filter.
    * 
* * .google.datastore.v1.CompositeFilter composite_filter = 1; + * * @return Whether the compositeFilter field is set. */ boolean hasCompositeFilter(); /** + * + * *
    * A composite filter.
    * 
* * .google.datastore.v1.CompositeFilter composite_filter = 1; + * * @return The compositeFilter. */ com.google.datastore.v1.CompositeFilter getCompositeFilter(); /** + * + * *
    * A composite filter.
    * 
@@ -36,24 +60,32 @@ public interface FilterOrBuilder extends com.google.datastore.v1.CompositeFilterOrBuilder getCompositeFilterOrBuilder(); /** + * + * *
    * A filter on a property.
    * 
* * .google.datastore.v1.PropertyFilter property_filter = 2; + * * @return Whether the propertyFilter field is set. */ boolean hasPropertyFilter(); /** + * + * *
    * A filter on a property.
    * 
* * .google.datastore.v1.PropertyFilter property_filter = 2; + * * @return The propertyFilter. */ com.google.datastore.v1.PropertyFilter getPropertyFilter(); /** + * + * *
    * A filter on a property.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQuery.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQuery.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQuery.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQuery.java index e6406ca8f..0c7eb2a61 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQuery.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQuery.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto @@ -5,6 +20,8 @@ package com.google.datastore.v1; /** + * + * *
  * A [GQL
  * query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.datastore.v1.GqlQuery}
  */
-public final class GqlQuery extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class GqlQuery extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.datastore.v1.GqlQuery)
     GqlQueryOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use GqlQuery.newBuilder() to construct.
   private GqlQuery(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private GqlQuery() {
     queryString_ = "";
     positionalBindings_ = java.util.Collections.emptyList();
@@ -28,14 +46,13 @@ private GqlQuery() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new GqlQuery();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_GqlQuery_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.datastore.v1.QueryProto
+        .internal_static_google_datastore_v1_GqlQuery_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
@@ -46,28 +63,33 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
       case 5:
         return internalGetNamedBindings();
       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.datastore.v1.QueryProto.internal_static_google_datastore_v1_GqlQuery_fieldAccessorTable
+    return com.google.datastore.v1.QueryProto
+        .internal_static_google_datastore_v1_GqlQuery_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.datastore.v1.GqlQuery.class, com.google.datastore.v1.GqlQuery.Builder.class);
   }
 
   public static final int QUERY_STRING_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object queryString_ = "";
   /**
+   *
+   *
    * 
    * A string of the format described
    * [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
    * 
* * string query_string = 1; + * * @return The queryString. */ @java.lang.Override @@ -76,30 +98,30 @@ public java.lang.String getQueryString() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryString_ = s; return s; } } /** + * + * *
    * A string of the format described
    * [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
    * 
* * string query_string = 1; + * * @return The bytes for queryString. */ @java.lang.Override - public com.google.protobuf.ByteString - getQueryStringBytes() { + public com.google.protobuf.ByteString getQueryStringBytes() { java.lang.Object ref = queryString_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); queryString_ = b; return b; } else { @@ -110,6 +132,8 @@ public java.lang.String getQueryString() { public static final int ALLOW_LITERALS_FIELD_NUMBER = 2; private boolean allowLiterals_ = false; /** + * + * *
    * When false, the query string must not contain any literals and instead must
    * bind all values. For example,
@@ -118,6 +142,7 @@ public java.lang.String getQueryString() {
    * 
* * bool allow_literals = 2; + * * @return The allowLiterals. */ @java.lang.Override @@ -126,32 +151,40 @@ public boolean getAllowLiterals() { } public static final int NAMED_BINDINGS_FIELD_NUMBER = 5; + private static final class NamedBindingsDefaultEntryHolder { static final com.google.protobuf.MapEntry< - java.lang.String, com.google.datastore.v1.GqlQueryParameter> defaultEntry = + java.lang.String, com.google.datastore.v1.GqlQueryParameter> + defaultEntry = com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_GqlQuery_NamedBindingsEntry_descriptor, - com.google.protobuf.WireFormat.FieldType.STRING, - "", - com.google.protobuf.WireFormat.FieldType.MESSAGE, - com.google.datastore.v1.GqlQueryParameter.getDefaultInstance()); + .newDefaultInstance( + com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_GqlQuery_NamedBindingsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.MESSAGE, + com.google.datastore.v1.GqlQueryParameter.getDefaultInstance()); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, com.google.datastore.v1.GqlQueryParameter> namedBindings_; private com.google.protobuf.MapField - internalGetNamedBindings() { + namedBindings_; + + private com.google.protobuf.MapField + internalGetNamedBindings() { if (namedBindings_ == null) { return com.google.protobuf.MapField.emptyMapField( NamedBindingsDefaultEntryHolder.defaultEntry); } return namedBindings_; } + public int getNamedBindingsCount() { return internalGetNamedBindings().getMap().size(); } /** + * + * *
    * For each non-reserved named binding site in the query string, there must be
    * a named parameter with that name, but not necessarily the inverse.
@@ -163,20 +196,22 @@ public int getNamedBindingsCount() {
    * map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
    */
   @java.lang.Override
-  public boolean containsNamedBindings(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsNamedBindings(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetNamedBindings().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getNamedBindingsMap()} instead.
-   */
+  /** Use {@link #getNamedBindingsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
-  public java.util.Map getNamedBindings() {
+  public java.util.Map
+      getNamedBindings() {
     return getNamedBindingsMap();
   }
   /**
+   *
+   *
    * 
    * For each non-reserved named binding site in the query string, there must be
    * a named parameter with that name, but not necessarily the inverse.
@@ -188,10 +223,13 @@ public java.util.Mapmap<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
    */
   @java.lang.Override
-  public java.util.Map getNamedBindingsMap() {
+  public java.util.Map
+      getNamedBindingsMap() {
     return internalGetNamedBindings().getMap();
   }
   /**
+   *
+   *
    * 
    * For each non-reserved named binding site in the query string, there must be
    * a named parameter with that name, but not necessarily the inverse.
@@ -203,17 +241,20 @@ public java.util.Mapmap<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
    */
   @java.lang.Override
-  public /* nullable */
-com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrDefault(
+  public /* nullable */ com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.datastore.v1.GqlQueryParameter defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
+      com.google.datastore.v1.GqlQueryParameter defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetNamedBindings().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * For each non-reserved named binding site in the query string, there must be
    * a named parameter with that name, but not necessarily the inverse.
@@ -225,9 +266,10 @@ com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrDefault(
    * map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
    */
   @java.lang.Override
-  public com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     java.util.Map map =
         internalGetNamedBindings().getMap();
     if (!map.containsKey(key)) {
@@ -237,9 +279,12 @@ public com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrThrow(
   }
 
   public static final int POSITIONAL_BINDINGS_FIELD_NUMBER = 4;
+
   @SuppressWarnings("serial")
   private java.util.List positionalBindings_;
   /**
+   *
+   *
    * 
    * Numbered binding site @1 references the first numbered parameter,
    * effectively using 1-based indexing, rather than the usual 0.
@@ -255,6 +300,8 @@ public java.util.List getPositionalBi
     return positionalBindings_;
   }
   /**
+   *
+   *
    * 
    * Numbered binding site @1 references the first numbered parameter,
    * effectively using 1-based indexing, rather than the usual 0.
@@ -266,11 +313,13 @@ public java.util.List getPositionalBi
    * repeated .google.datastore.v1.GqlQueryParameter positional_bindings = 4;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getPositionalBindingsOrBuilderList() {
     return positionalBindings_;
   }
   /**
+   *
+   *
    * 
    * Numbered binding site @1 references the first numbered parameter,
    * effectively using 1-based indexing, rather than the usual 0.
@@ -286,6 +335,8 @@ public int getPositionalBindingsCount() {
     return positionalBindings_.size();
   }
   /**
+   *
+   *
    * 
    * Numbered binding site @1 references the first numbered parameter,
    * effectively using 1-based indexing, rather than the usual 0.
@@ -301,6 +352,8 @@ public com.google.datastore.v1.GqlQueryParameter getPositionalBindings(int index
     return positionalBindings_.get(index);
   }
   /**
+   *
+   *
    * 
    * Numbered binding site @1 references the first numbered parameter,
    * effectively using 1-based indexing, rather than the usual 0.
@@ -318,6 +371,7 @@ public com.google.datastore.v1.GqlQueryParameterOrBuilder getPositionalBindingsO
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -329,8 +383,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(queryString_)) {
       com.google.protobuf.GeneratedMessageV3.writeString(output, 1, queryString_);
     }
@@ -340,12 +393,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
     for (int i = 0; i < positionalBindings_.size(); i++) {
       output.writeMessage(4, positionalBindings_.get(i));
     }
-    com.google.protobuf.GeneratedMessageV3
-      .serializeStringMapTo(
-        output,
-        internalGetNamedBindings(),
-        NamedBindingsDefaultEntryHolder.defaultEntry,
-        5);
+    com.google.protobuf.GeneratedMessageV3.serializeStringMapTo(
+        output, internalGetNamedBindings(), NamedBindingsDefaultEntryHolder.defaultEntry, 5);
     getUnknownFields().writeTo(output);
   }
 
@@ -359,22 +408,22 @@ public int getSerializedSize() {
       size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, queryString_);
     }
     if (allowLiterals_ != false) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBoolSize(2, allowLiterals_);
+      size += com.google.protobuf.CodedOutputStream.computeBoolSize(2, allowLiterals_);
     }
     for (int i = 0; i < positionalBindings_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, positionalBindings_.get(i));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(4, positionalBindings_.get(i));
     }
-    for (java.util.Map.Entry entry
-         : internalGetNamedBindings().getMap().entrySet()) {
+    for (java.util.Map.Entry entry :
+        internalGetNamedBindings().getMap().entrySet()) {
       com.google.protobuf.MapEntry
-      namedBindings__ = NamedBindingsDefaultEntryHolder.defaultEntry.newBuilderForType()
-          .setKey(entry.getKey())
-          .setValue(entry.getValue())
-          .build();
-      size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(5, namedBindings__);
+          namedBindings__ =
+              NamedBindingsDefaultEntryHolder.defaultEntry
+                  .newBuilderForType()
+                  .setKey(entry.getKey())
+                  .setValue(entry.getValue())
+                  .build();
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, namedBindings__);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -384,21 +433,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.datastore.v1.GqlQuery)) {
       return super.equals(obj);
     }
     com.google.datastore.v1.GqlQuery other = (com.google.datastore.v1.GqlQuery) obj;
 
-    if (!getQueryString()
-        .equals(other.getQueryString())) return false;
-    if (getAllowLiterals()
-        != other.getAllowLiterals()) return false;
-    if (!internalGetNamedBindings().equals(
-        other.internalGetNamedBindings())) return false;
-    if (!getPositionalBindingsList()
-        .equals(other.getPositionalBindingsList())) return false;
+    if (!getQueryString().equals(other.getQueryString())) return false;
+    if (getAllowLiterals() != other.getAllowLiterals()) return false;
+    if (!internalGetNamedBindings().equals(other.internalGetNamedBindings())) return false;
+    if (!getPositionalBindingsList().equals(other.getPositionalBindingsList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -413,8 +458,7 @@ public int hashCode() {
     hash = (37 * hash) + QUERY_STRING_FIELD_NUMBER;
     hash = (53 * hash) + getQueryString().hashCode();
     hash = (37 * hash) + ALLOW_LITERALS_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
-        getAllowLiterals());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getAllowLiterals());
     if (!internalGetNamedBindings().getMap().isEmpty()) {
       hash = (37 * hash) + NAMED_BINDINGS_FIELD_NUMBER;
       hash = (53 * hash) + internalGetNamedBindings().hashCode();
@@ -428,99 +472,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.GqlQuery parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.GqlQuery parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.GqlQuery parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.datastore.v1.GqlQuery parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.datastore.v1.GqlQuery parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.GqlQuery parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.GqlQuery parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.GqlQuery parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.GqlQuery parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.datastore.v1.GqlQuery parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   public static com.google.datastore.v1.GqlQuery 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.datastore.v1.GqlQuery parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.datastore.v1.GqlQuery parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.datastore.v1.GqlQuery parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.datastore.v1.GqlQuery prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 [GQL
    * query](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
@@ -528,13 +576,13 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.datastore.v1.GqlQuery}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.datastore.v1.GqlQuery)
       com.google.datastore.v1.GqlQueryOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_GqlQuery_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.datastore.v1.QueryProto
+          .internal_static_google_datastore_v1_GqlQuery_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
@@ -544,10 +592,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
         case 5:
           return internalGetNamedBindings();
         default:
-          throw new RuntimeException(
-              "Invalid map field number: " + number);
+          throw new RuntimeException("Invalid map field number: " + number);
       }
     }
+
     @SuppressWarnings({"rawtypes"})
     protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
         int number) {
@@ -555,28 +603,27 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi
         case 5:
           return internalGetMutableNamedBindings();
         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.datastore.v1.QueryProto.internal_static_google_datastore_v1_GqlQuery_fieldAccessorTable
+      return com.google.datastore.v1.QueryProto
+          .internal_static_google_datastore_v1_GqlQuery_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.GqlQuery.class, com.google.datastore.v1.GqlQuery.Builder.class);
+              com.google.datastore.v1.GqlQuery.class,
+              com.google.datastore.v1.GqlQuery.Builder.class);
     }
 
     // Construct using com.google.datastore.v1.GqlQuery.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -595,9 +642,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_GqlQuery_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.datastore.v1.QueryProto
+          .internal_static_google_datastore_v1_GqlQuery_descriptor;
     }
 
     @java.lang.Override
@@ -618,7 +665,9 @@ public com.google.datastore.v1.GqlQuery build() {
     public com.google.datastore.v1.GqlQuery buildPartial() {
       com.google.datastore.v1.GqlQuery result = new com.google.datastore.v1.GqlQuery(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -644,7 +693,8 @@ private void buildPartial0(com.google.datastore.v1.GqlQuery result) {
         result.allowLiterals_ = allowLiterals_;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.namedBindings_ = internalGetNamedBindings().build(NamedBindingsDefaultEntryHolder.defaultEntry);
+        result.namedBindings_ =
+            internalGetNamedBindings().build(NamedBindingsDefaultEntryHolder.defaultEntry);
       }
     }
 
@@ -652,38 +702,39 @@ private void buildPartial0(com.google.datastore.v1.GqlQuery result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.GqlQuery) {
-        return mergeFrom((com.google.datastore.v1.GqlQuery)other);
+        return mergeFrom((com.google.datastore.v1.GqlQuery) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -700,8 +751,7 @@ public Builder mergeFrom(com.google.datastore.v1.GqlQuery other) {
       if (other.getAllowLiterals() != false) {
         setAllowLiterals(other.getAllowLiterals());
       }
-      internalGetMutableNamedBindings().mergeFrom(
-          other.internalGetNamedBindings());
+      internalGetMutableNamedBindings().mergeFrom(other.internalGetNamedBindings());
       bitField0_ |= 0x00000004;
       if (positionalBindingsBuilder_ == null) {
         if (!other.positionalBindings_.isEmpty()) {
@@ -721,9 +771,10 @@ public Builder mergeFrom(com.google.datastore.v1.GqlQuery other) {
             positionalBindingsBuilder_ = null;
             positionalBindings_ = other.positionalBindings_;
             bitField0_ = (bitField0_ & ~0x00000008);
-            positionalBindingsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getPositionalBindingsFieldBuilder() : null;
+            positionalBindingsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getPositionalBindingsFieldBuilder()
+                    : null;
           } else {
             positionalBindingsBuilder_.addAllMessages(other.positionalBindings_);
           }
@@ -755,44 +806,52 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              queryString_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              allowLiterals_ = input.readBool();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 34: {
-              com.google.datastore.v1.GqlQueryParameter m =
-                  input.readMessage(
-                      com.google.datastore.v1.GqlQueryParameter.parser(),
-                      extensionRegistry);
-              if (positionalBindingsBuilder_ == null) {
-                ensurePositionalBindingsIsMutable();
-                positionalBindings_.add(m);
-              } else {
-                positionalBindingsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 34
-            case 42: {
-              com.google.protobuf.MapEntry
-              namedBindings__ = input.readMessage(
-                  NamedBindingsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableNamedBindings().ensureBuilderMap().put(
-                  namedBindings__.getKey(), namedBindings__.getValue());
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 42
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                queryString_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                allowLiterals_ = input.readBool();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 34:
+              {
+                com.google.datastore.v1.GqlQueryParameter m =
+                    input.readMessage(
+                        com.google.datastore.v1.GqlQueryParameter.parser(), extensionRegistry);
+                if (positionalBindingsBuilder_ == null) {
+                  ensurePositionalBindingsIsMutable();
+                  positionalBindings_.add(m);
+                } else {
+                  positionalBindingsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 34
+            case 42:
+              {
+                com.google.protobuf.MapEntry<
+                        java.lang.String, com.google.datastore.v1.GqlQueryParameter>
+                    namedBindings__ =
+                        input.readMessage(
+                            NamedBindingsDefaultEntryHolder.defaultEntry.getParserForType(),
+                            extensionRegistry);
+                internalGetMutableNamedBindings()
+                    .ensureBuilderMap()
+                    .put(namedBindings__.getKey(), namedBindings__.getValue());
+                bitField0_ |= 0x00000004;
+                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) {
@@ -802,23 +861,26 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object queryString_ = "";
     /**
+     *
+     *
      * 
      * A string of the format described
      * [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
      * 
* * string query_string = 1; + * * @return The queryString. */ public java.lang.String getQueryString() { java.lang.Object ref = queryString_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); queryString_ = s; return s; @@ -827,21 +889,22 @@ public java.lang.String getQueryString() { } } /** + * + * *
      * A string of the format described
      * [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
      * 
* * string query_string = 1; + * * @return The bytes for queryString. */ - public com.google.protobuf.ByteString - getQueryStringBytes() { + public com.google.protobuf.ByteString getQueryStringBytes() { java.lang.Object ref = queryString_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); queryString_ = b; return b; } else { @@ -849,30 +912,37 @@ public java.lang.String getQueryString() { } } /** + * + * *
      * A string of the format described
      * [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
      * 
* * string query_string = 1; + * * @param value The queryString to set. * @return This builder for chaining. */ - public Builder setQueryString( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setQueryString(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } queryString_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * A string of the format described
      * [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
      * 
* * string query_string = 1; + * * @return This builder for chaining. */ public Builder clearQueryString() { @@ -882,18 +952,22 @@ public Builder clearQueryString() { return this; } /** + * + * *
      * A string of the format described
      * [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
      * 
* * string query_string = 1; + * * @param value The bytes for queryString to set. * @return This builder for chaining. */ - public Builder setQueryStringBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setQueryStringBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); queryString_ = value; bitField0_ |= 0x00000001; @@ -901,8 +975,10 @@ public Builder setQueryStringBytes( return this; } - private boolean allowLiterals_ ; + private boolean allowLiterals_; /** + * + * *
      * When false, the query string must not contain any literals and instead must
      * bind all values. For example,
@@ -911,6 +987,7 @@ public Builder setQueryStringBytes(
      * 
* * bool allow_literals = 2; + * * @return The allowLiterals. */ @java.lang.Override @@ -918,6 +995,8 @@ public boolean getAllowLiterals() { return allowLiterals_; } /** + * + * *
      * When false, the query string must not contain any literals and instead must
      * bind all values. For example,
@@ -926,6 +1005,7 @@ public boolean getAllowLiterals() {
      * 
* * bool allow_literals = 2; + * * @param value The allowLiterals to set. * @return This builder for chaining. */ @@ -937,6 +1017,8 @@ public Builder setAllowLiterals(boolean value) { return this; } /** + * + * *
      * When false, the query string must not contain any literals and instead must
      * bind all values. For example,
@@ -945,6 +1027,7 @@ public Builder setAllowLiterals(boolean value) {
      * 
* * bool allow_literals = 2; + * * @return This builder for chaining. */ public Builder clearAllowLiterals() { @@ -954,30 +1037,55 @@ public Builder clearAllowLiterals() { return this; } - private static final class NamedBindingsConverter implements com.google.protobuf.MapFieldBuilder.Converter { + private static final class NamedBindingsConverter + implements com.google.protobuf.MapFieldBuilder.Converter< + java.lang.String, + com.google.datastore.v1.GqlQueryParameterOrBuilder, + com.google.datastore.v1.GqlQueryParameter> { @java.lang.Override - public com.google.datastore.v1.GqlQueryParameter build(com.google.datastore.v1.GqlQueryParameterOrBuilder val) { - if (val instanceof com.google.datastore.v1.GqlQueryParameter) { return (com.google.datastore.v1.GqlQueryParameter) val; } + public com.google.datastore.v1.GqlQueryParameter build( + com.google.datastore.v1.GqlQueryParameterOrBuilder val) { + if (val instanceof com.google.datastore.v1.GqlQueryParameter) { + return (com.google.datastore.v1.GqlQueryParameter) val; + } return ((com.google.datastore.v1.GqlQueryParameter.Builder) val).build(); } @java.lang.Override - public com.google.protobuf.MapEntry defaultEntry() { + public com.google.protobuf.MapEntry< + java.lang.String, com.google.datastore.v1.GqlQueryParameter> + defaultEntry() { return NamedBindingsDefaultEntryHolder.defaultEntry; } }; - private static final NamedBindingsConverter namedBindingsConverter = new NamedBindingsConverter(); + + private static final NamedBindingsConverter namedBindingsConverter = + new NamedBindingsConverter(); + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, + com.google.datastore.v1.GqlQueryParameterOrBuilder, + com.google.datastore.v1.GqlQueryParameter, + com.google.datastore.v1.GqlQueryParameter.Builder> + namedBindings_; private com.google.protobuf.MapFieldBuilder< - java.lang.String, com.google.datastore.v1.GqlQueryParameterOrBuilder, com.google.datastore.v1.GqlQueryParameter, com.google.datastore.v1.GqlQueryParameter.Builder> namedBindings_; - private com.google.protobuf.MapFieldBuilder + java.lang.String, + com.google.datastore.v1.GqlQueryParameterOrBuilder, + com.google.datastore.v1.GqlQueryParameter, + com.google.datastore.v1.GqlQueryParameter.Builder> internalGetNamedBindings() { if (namedBindings_ == null) { return new com.google.protobuf.MapFieldBuilder<>(namedBindingsConverter); } return namedBindings_; } - private com.google.protobuf.MapFieldBuilder + + private com.google.protobuf.MapFieldBuilder< + java.lang.String, + com.google.datastore.v1.GqlQueryParameterOrBuilder, + com.google.datastore.v1.GqlQueryParameter, + com.google.datastore.v1.GqlQueryParameter.Builder> internalGetMutableNamedBindings() { if (namedBindings_ == null) { namedBindings_ = new com.google.protobuf.MapFieldBuilder<>(namedBindingsConverter); @@ -986,10 +1094,13 @@ public com.google.protobuf.MapEntry * For each non-reserved named binding site in the query string, there must be * a named parameter with that name, but not necessarily the inverse. @@ -1001,20 +1112,22 @@ public int getNamedBindingsCount() { * map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5; */ @java.lang.Override - public boolean containsNamedBindings( - java.lang.String key) { - if (key == null) { throw new NullPointerException("map key"); } + public boolean containsNamedBindings(java.lang.String key) { + if (key == null) { + throw new NullPointerException("map key"); + } return internalGetNamedBindings().ensureBuilderMap().containsKey(key); } - /** - * Use {@link #getNamedBindingsMap()} instead. - */ + /** Use {@link #getNamedBindingsMap()} instead. */ @java.lang.Override @java.lang.Deprecated - public java.util.Map getNamedBindings() { + public java.util.Map + getNamedBindings() { return getNamedBindingsMap(); } /** + * + * *
      * For each non-reserved named binding site in the query string, there must be
      * a named parameter with that name, but not necessarily the inverse.
@@ -1026,10 +1139,13 @@ public java.util.Mapmap<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
      */
     @java.lang.Override
-    public java.util.Map getNamedBindingsMap() {
+    public java.util.Map
+        getNamedBindingsMap() {
       return internalGetNamedBindings().getImmutableMap();
     }
     /**
+     *
+     *
      * 
      * For each non-reserved named binding site in the query string, there must be
      * a named parameter with that name, but not necessarily the inverse.
@@ -1041,16 +1157,20 @@ public java.util.Mapmap<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
      */
     @java.lang.Override
-    public /* nullable */
-com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrDefault(
+    public /* nullable */ com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrDefault(
         java.lang.String key,
         /* nullable */
-com.google.datastore.v1.GqlQueryParameter defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map = internalGetMutableNamedBindings().ensureBuilderMap();
+        com.google.datastore.v1.GqlQueryParameter defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map =
+          internalGetMutableNamedBindings().ensureBuilderMap();
       return map.containsKey(key) ? namedBindingsConverter.build(map.get(key)) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * For each non-reserved named binding site in the query string, there must be
      * a named parameter with that name, but not necessarily the inverse.
@@ -1062,21 +1182,26 @@ com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrDefault(
      * map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
      */
     @java.lang.Override
-    public com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map = internalGetMutableNamedBindings().ensureBuilderMap();
+    public com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map =
+          internalGetMutableNamedBindings().ensureBuilderMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return namedBindingsConverter.build(map.get(key));
     }
+
     public Builder clearNamedBindings() {
       bitField0_ = (bitField0_ & ~0x00000004);
       internalGetMutableNamedBindings().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * For each non-reserved named binding site in the query string, there must be
      * a named parameter with that name, but not necessarily the inverse.
@@ -1087,16 +1212,14 @@ public Builder clearNamedBindings() {
      *
      * map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
      */
-    public Builder removeNamedBindings(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableNamedBindings().ensureBuilderMap()
-          .remove(key);
+    public Builder removeNamedBindings(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableNamedBindings().ensureBuilderMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
     public java.util.Map
         getMutableNamedBindings() {
@@ -1104,6 +1227,8 @@ public Builder removeNamedBindings(
       return internalGetMutableNamedBindings().ensureMessageMap();
     }
     /**
+     *
+     *
      * 
      * For each non-reserved named binding site in the query string, there must be
      * a named parameter with that name, but not necessarily the inverse.
@@ -1115,16 +1240,20 @@ public Builder removeNamedBindings(
      * map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
      */
     public Builder putNamedBindings(
-        java.lang.String key,
-        com.google.datastore.v1.GqlQueryParameter value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableNamedBindings().ensureBuilderMap()
-          .put(key, value);
+        java.lang.String key, com.google.datastore.v1.GqlQueryParameter value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableNamedBindings().ensureBuilderMap().put(key, value);
       bitField0_ |= 0x00000004;
       return this;
     }
     /**
+     *
+     *
      * 
      * For each non-reserved named binding site in the query string, there must be
      * a named parameter with that name, but not necessarily the inverse.
@@ -1137,17 +1266,19 @@ public Builder putNamedBindings(
      */
     public Builder putAllNamedBindings(
         java.util.Map values) {
-      for (java.util.Map.Entry e : values.entrySet()) {
+      for (java.util.Map.Entry e :
+          values.entrySet()) {
         if (e.getKey() == null || e.getValue() == null) {
           throw new NullPointerException();
         }
       }
-      internalGetMutableNamedBindings().ensureBuilderMap()
-          .putAll(values);
+      internalGetMutableNamedBindings().ensureBuilderMap().putAll(values);
       bitField0_ |= 0x00000004;
       return this;
     }
     /**
+     *
+     *
      * 
      * For each non-reserved named binding site in the query string, there must be
      * a named parameter with that name, but not necessarily the inverse.
@@ -1160,7 +1291,8 @@ public Builder putAllNamedBindings(
      */
     public com.google.datastore.v1.GqlQueryParameter.Builder putNamedBindingsBuilderIfAbsent(
         java.lang.String key) {
-      java.util.Map builderMap = internalGetMutableNamedBindings().ensureBuilderMap();
+      java.util.Map
+          builderMap = internalGetMutableNamedBindings().ensureBuilderMap();
       com.google.datastore.v1.GqlQueryParameterOrBuilder entry = builderMap.get(key);
       if (entry == null) {
         entry = com.google.datastore.v1.GqlQueryParameter.newBuilder();
@@ -1174,18 +1306,25 @@ public com.google.datastore.v1.GqlQueryParameter.Builder putNamedBindingsBuilder
     }
 
     private java.util.List positionalBindings_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensurePositionalBindingsIsMutable() {
       if (!((bitField0_ & 0x00000008) != 0)) {
-        positionalBindings_ = new java.util.ArrayList(positionalBindings_);
+        positionalBindings_ =
+            new java.util.ArrayList(positionalBindings_);
         bitField0_ |= 0x00000008;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.datastore.v1.GqlQueryParameter, com.google.datastore.v1.GqlQueryParameter.Builder, com.google.datastore.v1.GqlQueryParameterOrBuilder> positionalBindingsBuilder_;
+            com.google.datastore.v1.GqlQueryParameter,
+            com.google.datastore.v1.GqlQueryParameter.Builder,
+            com.google.datastore.v1.GqlQueryParameterOrBuilder>
+        positionalBindingsBuilder_;
 
     /**
+     *
+     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1204,6 +1343,8 @@ public java.util.List getPositionalBi
       }
     }
     /**
+     *
+     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1222,6 +1363,8 @@ public int getPositionalBindingsCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1240,6 +1383,8 @@ public com.google.datastore.v1.GqlQueryParameter getPositionalBindings(int index
       }
     }
     /**
+     *
+     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1265,6 +1410,8 @@ public Builder setPositionalBindings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1287,6 +1434,8 @@ public Builder setPositionalBindings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1311,6 +1460,8 @@ public Builder addPositionalBindings(com.google.datastore.v1.GqlQueryParameter v
       return this;
     }
     /**
+     *
+     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1336,6 +1487,8 @@ public Builder addPositionalBindings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1358,6 +1511,8 @@ public Builder addPositionalBindings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1380,6 +1535,8 @@ public Builder addPositionalBindings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1394,8 +1551,7 @@ public Builder addAllPositionalBindings(
         java.lang.Iterable values) {
       if (positionalBindingsBuilder_ == null) {
         ensurePositionalBindingsIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, positionalBindings_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, positionalBindings_);
         onChanged();
       } else {
         positionalBindingsBuilder_.addAllMessages(values);
@@ -1403,6 +1559,8 @@ public Builder addAllPositionalBindings(
       return this;
     }
     /**
+     *
+     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1424,6 +1582,8 @@ public Builder clearPositionalBindings() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1445,6 +1605,8 @@ public Builder removePositionalBindings(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1460,6 +1622,8 @@ public com.google.datastore.v1.GqlQueryParameter.Builder getPositionalBindingsBu
       return getPositionalBindingsFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1473,11 +1637,14 @@ public com.google.datastore.v1.GqlQueryParameter.Builder getPositionalBindingsBu
     public com.google.datastore.v1.GqlQueryParameterOrBuilder getPositionalBindingsOrBuilder(
         int index) {
       if (positionalBindingsBuilder_ == null) {
-        return positionalBindings_.get(index);  } else {
+        return positionalBindings_.get(index);
+      } else {
         return positionalBindingsBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1488,8 +1655,8 @@ public com.google.datastore.v1.GqlQueryParameterOrBuilder getPositionalBindingsO
      *
      * repeated .google.datastore.v1.GqlQueryParameter positional_bindings = 4;
      */
-    public java.util.List 
-         getPositionalBindingsOrBuilderList() {
+    public java.util.List
+        getPositionalBindingsOrBuilderList() {
       if (positionalBindingsBuilder_ != null) {
         return positionalBindingsBuilder_.getMessageOrBuilderList();
       } else {
@@ -1497,6 +1664,8 @@ public com.google.datastore.v1.GqlQueryParameterOrBuilder getPositionalBindingsO
       }
     }
     /**
+     *
+     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1508,10 +1677,12 @@ public com.google.datastore.v1.GqlQueryParameterOrBuilder getPositionalBindingsO
      * repeated .google.datastore.v1.GqlQueryParameter positional_bindings = 4;
      */
     public com.google.datastore.v1.GqlQueryParameter.Builder addPositionalBindingsBuilder() {
-      return getPositionalBindingsFieldBuilder().addBuilder(
-          com.google.datastore.v1.GqlQueryParameter.getDefaultInstance());
+      return getPositionalBindingsFieldBuilder()
+          .addBuilder(com.google.datastore.v1.GqlQueryParameter.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1524,10 +1695,12 @@ public com.google.datastore.v1.GqlQueryParameter.Builder addPositionalBindingsBu
      */
     public com.google.datastore.v1.GqlQueryParameter.Builder addPositionalBindingsBuilder(
         int index) {
-      return getPositionalBindingsFieldBuilder().addBuilder(
-          index, com.google.datastore.v1.GqlQueryParameter.getDefaultInstance());
+      return getPositionalBindingsFieldBuilder()
+          .addBuilder(index, com.google.datastore.v1.GqlQueryParameter.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Numbered binding site @1 references the first numbered parameter,
      * effectively using 1-based indexing, rather than the usual 0.
@@ -1538,16 +1711,22 @@ public com.google.datastore.v1.GqlQueryParameter.Builder addPositionalBindingsBu
      *
      * repeated .google.datastore.v1.GqlQueryParameter positional_bindings = 4;
      */
-    public java.util.List 
-         getPositionalBindingsBuilderList() {
+    public java.util.List
+        getPositionalBindingsBuilderList() {
       return getPositionalBindingsFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.datastore.v1.GqlQueryParameter, com.google.datastore.v1.GqlQueryParameter.Builder, com.google.datastore.v1.GqlQueryParameterOrBuilder> 
+            com.google.datastore.v1.GqlQueryParameter,
+            com.google.datastore.v1.GqlQueryParameter.Builder,
+            com.google.datastore.v1.GqlQueryParameterOrBuilder>
         getPositionalBindingsFieldBuilder() {
       if (positionalBindingsBuilder_ == null) {
-        positionalBindingsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.datastore.v1.GqlQueryParameter, com.google.datastore.v1.GqlQueryParameter.Builder, com.google.datastore.v1.GqlQueryParameterOrBuilder>(
+        positionalBindingsBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.datastore.v1.GqlQueryParameter,
+                com.google.datastore.v1.GqlQueryParameter.Builder,
+                com.google.datastore.v1.GqlQueryParameterOrBuilder>(
                 positionalBindings_,
                 ((bitField0_ & 0x00000008) != 0),
                 getParentForChildren(),
@@ -1556,9 +1735,9 @@ public com.google.datastore.v1.GqlQueryParameter.Builder addPositionalBindingsBu
       }
       return positionalBindingsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1568,12 +1747,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.GqlQuery)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.GqlQuery)
   private static final com.google.datastore.v1.GqlQuery DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.GqlQuery();
   }
@@ -1582,27 +1761,27 @@ public static com.google.datastore.v1.GqlQuery getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public GqlQuery parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public GqlQuery parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1617,6 +1796,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.GqlQuery getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryOrBuilder.java
similarity index 81%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryOrBuilder.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryOrBuilder.java
index b8701d9cc..7cedc2fd3 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryOrBuilder.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryOrBuilder.java
@@ -1,36 +1,59 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/query.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface GqlQueryOrBuilder extends
+public interface GqlQueryOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.GqlQuery)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * A string of the format described
    * [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
    * 
* * string query_string = 1; + * * @return The queryString. */ java.lang.String getQueryString(); /** + * + * *
    * A string of the format described
    * [here](https://cloud.google.com/datastore/docs/apis/gql/gql_reference).
    * 
* * string query_string = 1; + * * @return The bytes for queryString. */ - com.google.protobuf.ByteString - getQueryStringBytes(); + com.google.protobuf.ByteString getQueryStringBytes(); /** + * + * *
    * When false, the query string must not contain any literals and instead must
    * bind all values. For example,
@@ -39,11 +62,14 @@ public interface GqlQueryOrBuilder extends
    * 
* * bool allow_literals = 2; + * * @return The allowLiterals. */ boolean getAllowLiterals(); /** + * + * *
    * For each non-reserved named binding site in the query string, there must be
    * a named parameter with that name, but not necessarily the inverse.
@@ -56,6 +82,8 @@ public interface GqlQueryOrBuilder extends
    */
   int getNamedBindingsCount();
   /**
+   *
+   *
    * 
    * For each non-reserved named binding site in the query string, there must be
    * a named parameter with that name, but not necessarily the inverse.
@@ -66,15 +94,13 @@ public interface GqlQueryOrBuilder extends
    *
    * map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
    */
-  boolean containsNamedBindings(
-      java.lang.String key);
-  /**
-   * Use {@link #getNamedBindingsMap()} instead.
-   */
+  boolean containsNamedBindings(java.lang.String key);
+  /** Use {@link #getNamedBindingsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getNamedBindings();
+  java.util.Map getNamedBindings();
   /**
+   *
+   *
    * 
    * For each non-reserved named binding site in the query string, there must be
    * a named parameter with that name, but not necessarily the inverse.
@@ -85,9 +111,10 @@ boolean containsNamedBindings(
    *
    * map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
    */
-  java.util.Map
-  getNamedBindingsMap();
+  java.util.Map getNamedBindingsMap();
   /**
+   *
+   *
    * 
    * For each non-reserved named binding site in the query string, there must be
    * a named parameter with that name, but not necessarily the inverse.
@@ -99,11 +126,13 @@ boolean containsNamedBindings(
    * map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
    */
   /* nullable */
-com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrDefault(
+  com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrDefault(
       java.lang.String key,
       /* nullable */
-com.google.datastore.v1.GqlQueryParameter defaultValue);
+      com.google.datastore.v1.GqlQueryParameter defaultValue);
   /**
+   *
+   *
    * 
    * For each non-reserved named binding site in the query string, there must be
    * a named parameter with that name, but not necessarily the inverse.
@@ -114,10 +143,11 @@ com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrDefault(
    *
    * map<string, .google.datastore.v1.GqlQueryParameter> named_bindings = 5;
    */
-  com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrThrow(
-      java.lang.String key);
+  com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Numbered binding site @1 references the first numbered parameter,
    * effectively using 1-based indexing, rather than the usual 0.
@@ -128,9 +158,10 @@ com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrThrow(
    *
    * repeated .google.datastore.v1.GqlQueryParameter positional_bindings = 4;
    */
-  java.util.List 
-      getPositionalBindingsList();
+  java.util.List getPositionalBindingsList();
   /**
+   *
+   *
    * 
    * Numbered binding site @1 references the first numbered parameter,
    * effectively using 1-based indexing, rather than the usual 0.
@@ -143,6 +174,8 @@ com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrThrow(
    */
   com.google.datastore.v1.GqlQueryParameter getPositionalBindings(int index);
   /**
+   *
+   *
    * 
    * Numbered binding site @1 references the first numbered parameter,
    * effectively using 1-based indexing, rather than the usual 0.
@@ -155,6 +188,8 @@ com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrThrow(
    */
   int getPositionalBindingsCount();
   /**
+   *
+   *
    * 
    * Numbered binding site @1 references the first numbered parameter,
    * effectively using 1-based indexing, rather than the usual 0.
@@ -165,9 +200,11 @@ com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrThrow(
    *
    * repeated .google.datastore.v1.GqlQueryParameter positional_bindings = 4;
    */
-  java.util.List 
+  java.util.List
       getPositionalBindingsOrBuilderList();
   /**
+   *
+   *
    * 
    * Numbered binding site @1 references the first numbered parameter,
    * effectively using 1-based indexing, rather than the usual 0.
@@ -178,6 +215,5 @@ com.google.datastore.v1.GqlQueryParameter getNamedBindingsOrThrow(
    *
    * repeated .google.datastore.v1.GqlQueryParameter positional_bindings = 4;
    */
-  com.google.datastore.v1.GqlQueryParameterOrBuilder getPositionalBindingsOrBuilder(
-      int index);
+  com.google.datastore.v1.GqlQueryParameterOrBuilder getPositionalBindingsOrBuilder(int index);
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameter.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameter.java
similarity index 68%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameter.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameter.java
index 84fd7e28f..866409cff 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameter.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameter.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/query.proto
 
@@ -5,54 +20,61 @@
 package com.google.datastore.v1;
 
 /**
+ *
+ *
  * 
  * A binding parameter for a GQL query.
  * 
* * Protobuf type {@code google.datastore.v1.GqlQueryParameter} */ -public final class GqlQueryParameter extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GqlQueryParameter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.datastore.v1.GqlQueryParameter) GqlQueryParameterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GqlQueryParameter.newBuilder() to construct. private GqlQueryParameter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GqlQueryParameter() { - } + + private GqlQueryParameter() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GqlQueryParameter(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_GqlQueryParameter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_GqlQueryParameter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_GqlQueryParameter_fieldAccessorTable + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_GqlQueryParameter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.GqlQueryParameter.class, com.google.datastore.v1.GqlQueryParameter.Builder.class); + com.google.datastore.v1.GqlQueryParameter.class, + com.google.datastore.v1.GqlQueryParameter.Builder.class); } private int parameterTypeCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object parameterType_; + public enum ParameterTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { VALUE(2), CURSOR(3), PARAMETERTYPE_NOT_SET(0); private final int value; + private ParameterTypeCase(int value) { this.value = value; } @@ -68,30 +90,36 @@ public static ParameterTypeCase valueOf(int value) { public static ParameterTypeCase forNumber(int value) { switch (value) { - case 2: return VALUE; - case 3: return CURSOR; - case 0: return PARAMETERTYPE_NOT_SET; - default: return null; + case 2: + return VALUE; + case 3: + return CURSOR; + case 0: + return PARAMETERTYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ParameterTypeCase - getParameterTypeCase() { - return ParameterTypeCase.forNumber( - parameterTypeCase_); + public ParameterTypeCase getParameterTypeCase() { + return ParameterTypeCase.forNumber(parameterTypeCase_); } public static final int VALUE_FIELD_NUMBER = 2; /** + * + * *
    * A value parameter.
    * 
* * .google.datastore.v1.Value value = 2; + * * @return Whether the value field is set. */ @java.lang.Override @@ -99,21 +127,26 @@ public boolean hasValue() { return parameterTypeCase_ == 2; } /** + * + * *
    * A value parameter.
    * 
* * .google.datastore.v1.Value value = 2; + * * @return The value. */ @java.lang.Override public com.google.datastore.v1.Value getValue() { if (parameterTypeCase_ == 2) { - return (com.google.datastore.v1.Value) parameterType_; + return (com.google.datastore.v1.Value) parameterType_; } return com.google.datastore.v1.Value.getDefaultInstance(); } /** + * + * *
    * A value parameter.
    * 
@@ -123,19 +156,22 @@ public com.google.datastore.v1.Value getValue() { @java.lang.Override public com.google.datastore.v1.ValueOrBuilder getValueOrBuilder() { if (parameterTypeCase_ == 2) { - return (com.google.datastore.v1.Value) parameterType_; + return (com.google.datastore.v1.Value) parameterType_; } return com.google.datastore.v1.Value.getDefaultInstance(); } public static final int CURSOR_FIELD_NUMBER = 3; /** + * + * *
    * A query cursor. Query cursors are returned in query
    * result batches.
    * 
* * bytes cursor = 3; + * * @return Whether the cursor field is set. */ @java.lang.Override @@ -143,12 +179,15 @@ public boolean hasCursor() { return parameterTypeCase_ == 3; } /** + * + * *
    * A query cursor. Query cursors are returned in query
    * result batches.
    * 
* * bytes cursor = 3; + * * @return The cursor. */ @java.lang.Override @@ -160,6 +199,7 @@ public com.google.protobuf.ByteString getCursor() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -171,14 +211,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 (parameterTypeCase_ == 2) { output.writeMessage(2, (com.google.datastore.v1.Value) parameterType_); } if (parameterTypeCase_ == 3) { - output.writeBytes( - 3, (com.google.protobuf.ByteString) parameterType_); + output.writeBytes(3, (com.google.protobuf.ByteString) parameterType_); } getUnknownFields().writeTo(output); } @@ -190,13 +228,14 @@ public int getSerializedSize() { size = 0; if (parameterTypeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.datastore.v1.Value) parameterType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.datastore.v1.Value) parameterType_); } if (parameterTypeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize( - 3, (com.google.protobuf.ByteString) parameterType_); + size += + com.google.protobuf.CodedOutputStream.computeBytesSize( + 3, (com.google.protobuf.ByteString) parameterType_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -206,22 +245,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.datastore.v1.GqlQueryParameter)) { return super.equals(obj); } - com.google.datastore.v1.GqlQueryParameter other = (com.google.datastore.v1.GqlQueryParameter) obj; + com.google.datastore.v1.GqlQueryParameter other = + (com.google.datastore.v1.GqlQueryParameter) obj; if (!getParameterTypeCase().equals(other.getParameterTypeCase())) return false; switch (parameterTypeCase_) { case 2: - if (!getValue() - .equals(other.getValue())) return false; + if (!getValue().equals(other.getValue())) return false; break; case 3: - if (!getCursor() - .equals(other.getCursor())) return false; + if (!getCursor().equals(other.getCursor())) return false; break; case 0: default: @@ -254,132 +292,136 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.GqlQueryParameter parseFrom( - java.nio.ByteBuffer data) + public static com.google.datastore.v1.GqlQueryParameter parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.GqlQueryParameter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.GqlQueryParameter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.GqlQueryParameter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.GqlQueryParameter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.GqlQueryParameter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.GqlQueryParameter parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.GqlQueryParameter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.GqlQueryParameter parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.GqlQueryParameter parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.v1.GqlQueryParameter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.datastore.v1.GqlQueryParameter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.GqlQueryParameter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.datastore.v1.GqlQueryParameter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 binding parameter for a GQL query.
    * 
* * Protobuf type {@code google.datastore.v1.GqlQueryParameter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.GqlQueryParameter) com.google.datastore.v1.GqlQueryParameterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_GqlQueryParameter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_GqlQueryParameter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_GqlQueryParameter_fieldAccessorTable + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_GqlQueryParameter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.GqlQueryParameter.class, com.google.datastore.v1.GqlQueryParameter.Builder.class); + com.google.datastore.v1.GqlQueryParameter.class, + com.google.datastore.v1.GqlQueryParameter.Builder.class); } // Construct using com.google.datastore.v1.GqlQueryParameter.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -393,9 +435,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_GqlQueryParameter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_GqlQueryParameter_descriptor; } @java.lang.Override @@ -414,8 +456,11 @@ public com.google.datastore.v1.GqlQueryParameter build() { @java.lang.Override public com.google.datastore.v1.GqlQueryParameter buildPartial() { - com.google.datastore.v1.GqlQueryParameter result = new com.google.datastore.v1.GqlQueryParameter(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.datastore.v1.GqlQueryParameter result = + new com.google.datastore.v1.GqlQueryParameter(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -428,8 +473,7 @@ private void buildPartial0(com.google.datastore.v1.GqlQueryParameter result) { private void buildPartialOneofs(com.google.datastore.v1.GqlQueryParameter result) { result.parameterTypeCase_ = parameterTypeCase_; result.parameterType_ = this.parameterType_; - if (parameterTypeCase_ == 2 && - valueBuilder_ != null) { + if (parameterTypeCase_ == 2 && valueBuilder_ != null) { result.parameterType_ = valueBuilder_.build(); } } @@ -438,38 +482,39 @@ private void buildPartialOneofs(com.google.datastore.v1.GqlQueryParameter result public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.GqlQueryParameter) { - return mergeFrom((com.google.datastore.v1.GqlQueryParameter)other); + return mergeFrom((com.google.datastore.v1.GqlQueryParameter) other); } else { super.mergeFrom(other); return this; @@ -479,17 +524,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.datastore.v1.GqlQueryParameter other) { if (other == com.google.datastore.v1.GqlQueryParameter.getDefaultInstance()) return this; switch (other.getParameterTypeCase()) { - case VALUE: { - mergeValue(other.getValue()); - break; - } - case CURSOR: { - setCursor(other.getCursor()); - break; - } - case PARAMETERTYPE_NOT_SET: { - break; - } + case VALUE: + { + mergeValue(other.getValue()); + break; + } + case CURSOR: + { + setCursor(other.getCursor()); + break; + } + case PARAMETERTYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -517,24 +565,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - input.readMessage( - getValueFieldBuilder().getBuilder(), - extensionRegistry); - parameterTypeCase_ = 2; - break; - } // case 18 - case 26: { - parameterType_ = input.readBytes(); - parameterTypeCase_ = 3; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + input.readMessage(getValueFieldBuilder().getBuilder(), extensionRegistry); + parameterTypeCase_ = 2; + break; + } // case 18 + case 26: + { + parameterType_ = input.readBytes(); + parameterTypeCase_ = 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) { @@ -544,12 +593,12 @@ public Builder mergeFrom( } // finally return this; } + private int parameterTypeCase_ = 0; private java.lang.Object parameterType_; - public ParameterTypeCase - getParameterTypeCase() { - return ParameterTypeCase.forNumber( - parameterTypeCase_); + + public ParameterTypeCase getParameterTypeCase() { + return ParameterTypeCase.forNumber(parameterTypeCase_); } public Builder clearParameterType() { @@ -562,13 +611,19 @@ public Builder clearParameterType() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Value, com.google.datastore.v1.Value.Builder, com.google.datastore.v1.ValueOrBuilder> valueBuilder_; + com.google.datastore.v1.Value, + com.google.datastore.v1.Value.Builder, + com.google.datastore.v1.ValueOrBuilder> + valueBuilder_; /** + * + * *
      * A value parameter.
      * 
* * .google.datastore.v1.Value value = 2; + * * @return Whether the value field is set. */ @java.lang.Override @@ -576,11 +631,14 @@ public boolean hasValue() { return parameterTypeCase_ == 2; } /** + * + * *
      * A value parameter.
      * 
* * .google.datastore.v1.Value value = 2; + * * @return The value. */ @java.lang.Override @@ -598,6 +656,8 @@ public com.google.datastore.v1.Value getValue() { } } /** + * + * *
      * A value parameter.
      * 
@@ -618,14 +678,15 @@ public Builder setValue(com.google.datastore.v1.Value value) { return this; } /** + * + * *
      * A value parameter.
      * 
* * .google.datastore.v1.Value value = 2; */ - public Builder setValue( - com.google.datastore.v1.Value.Builder builderForValue) { + public Builder setValue(com.google.datastore.v1.Value.Builder builderForValue) { if (valueBuilder_ == null) { parameterType_ = builderForValue.build(); onChanged(); @@ -636,6 +697,8 @@ public Builder setValue( return this; } /** + * + * *
      * A value parameter.
      * 
@@ -644,10 +707,13 @@ public Builder setValue( */ public Builder mergeValue(com.google.datastore.v1.Value value) { if (valueBuilder_ == null) { - if (parameterTypeCase_ == 2 && - parameterType_ != com.google.datastore.v1.Value.getDefaultInstance()) { - parameterType_ = com.google.datastore.v1.Value.newBuilder((com.google.datastore.v1.Value) parameterType_) - .mergeFrom(value).buildPartial(); + if (parameterTypeCase_ == 2 + && parameterType_ != com.google.datastore.v1.Value.getDefaultInstance()) { + parameterType_ = + com.google.datastore.v1.Value.newBuilder( + (com.google.datastore.v1.Value) parameterType_) + .mergeFrom(value) + .buildPartial(); } else { parameterType_ = value; } @@ -663,6 +729,8 @@ public Builder mergeValue(com.google.datastore.v1.Value value) { return this; } /** + * + * *
      * A value parameter.
      * 
@@ -686,6 +754,8 @@ public Builder clearValue() { return this; } /** + * + * *
      * A value parameter.
      * 
@@ -696,6 +766,8 @@ public com.google.datastore.v1.Value.Builder getValueBuilder() { return getValueFieldBuilder().getBuilder(); } /** + * + * *
      * A value parameter.
      * 
@@ -714,6 +786,8 @@ public com.google.datastore.v1.ValueOrBuilder getValueOrBuilder() { } } /** + * + * *
      * A value parameter.
      * 
@@ -721,17 +795,20 @@ public com.google.datastore.v1.ValueOrBuilder getValueOrBuilder() { * .google.datastore.v1.Value value = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Value, com.google.datastore.v1.Value.Builder, com.google.datastore.v1.ValueOrBuilder> + com.google.datastore.v1.Value, + com.google.datastore.v1.Value.Builder, + com.google.datastore.v1.ValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { if (!(parameterTypeCase_ == 2)) { parameterType_ = com.google.datastore.v1.Value.getDefaultInstance(); } - valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Value, com.google.datastore.v1.Value.Builder, com.google.datastore.v1.ValueOrBuilder>( - (com.google.datastore.v1.Value) parameterType_, - getParentForChildren(), - isClean()); + valueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.Value, + com.google.datastore.v1.Value.Builder, + com.google.datastore.v1.ValueOrBuilder>( + (com.google.datastore.v1.Value) parameterType_, getParentForChildren(), isClean()); parameterType_ = null; } parameterTypeCase_ = 2; @@ -740,24 +817,30 @@ public com.google.datastore.v1.ValueOrBuilder getValueOrBuilder() { } /** + * + * *
      * A query cursor. Query cursors are returned in query
      * result batches.
      * 
* * bytes cursor = 3; + * * @return Whether the cursor field is set. */ public boolean hasCursor() { return parameterTypeCase_ == 3; } /** + * + * *
      * A query cursor. Query cursors are returned in query
      * result batches.
      * 
* * bytes cursor = 3; + * * @return The cursor. */ public com.google.protobuf.ByteString getCursor() { @@ -767,29 +850,37 @@ public com.google.protobuf.ByteString getCursor() { return com.google.protobuf.ByteString.EMPTY; } /** + * + * *
      * A query cursor. Query cursors are returned in query
      * result batches.
      * 
* * bytes cursor = 3; + * * @param value The cursor to set. * @return This builder for chaining. */ public Builder setCursor(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } parameterTypeCase_ = 3; parameterType_ = value; onChanged(); return this; } /** + * + * *
      * A query cursor. Query cursors are returned in query
      * result batches.
      * 
* * bytes cursor = 3; + * * @return This builder for chaining. */ public Builder clearCursor() { @@ -800,9 +891,9 @@ public Builder clearCursor() { } 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); } @@ -812,12 +903,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.v1.GqlQueryParameter) } // @@protoc_insertion_point(class_scope:google.datastore.v1.GqlQueryParameter) private static final com.google.datastore.v1.GqlQueryParameter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.v1.GqlQueryParameter(); } @@ -826,27 +917,27 @@ public static com.google.datastore.v1.GqlQueryParameter getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GqlQueryParameter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GqlQueryParameter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -861,6 +952,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.GqlQueryParameter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameterOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameterOrBuilder.java similarity index 65% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameterOrBuilder.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameterOrBuilder.java index 0ceec612a..c4faa7547 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameterOrBuilder.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/GqlQueryParameterOrBuilder.java @@ -1,32 +1,56 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface GqlQueryParameterOrBuilder extends +public interface GqlQueryParameterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.GqlQueryParameter) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A value parameter.
    * 
* * .google.datastore.v1.Value value = 2; + * * @return Whether the value field is set. */ boolean hasValue(); /** + * + * *
    * A value parameter.
    * 
* * .google.datastore.v1.Value value = 2; + * * @return The value. */ com.google.datastore.v1.Value getValue(); /** + * + * *
    * A value parameter.
    * 
@@ -36,22 +60,28 @@ public interface GqlQueryParameterOrBuilder extends com.google.datastore.v1.ValueOrBuilder getValueOrBuilder(); /** + * + * *
    * A query cursor. Query cursors are returned in query
    * result batches.
    * 
* * bytes cursor = 3; + * * @return Whether the cursor field is set. */ boolean hasCursor(); /** + * + * *
    * A query cursor. Query cursors are returned in query
    * result batches.
    * 
* * bytes cursor = 3; + * * @return The cursor. */ com.google.protobuf.ByteString getCursor(); diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Key.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Key.java similarity index 81% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Key.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Key.java index 68d734f7c..693c867fb 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Key.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Key.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/entity.proto @@ -5,6 +20,8 @@ package com.google.datastore.v1; /** + * + * *
  * A unique identifier for an entity.
  * If a key's partition ID or any of its path kinds or names are
@@ -14,44 +31,47 @@
  *
  * Protobuf type {@code google.datastore.v1.Key}
  */
-public final class Key extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Key extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.datastore.v1.Key)
     KeyOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Key.newBuilder() to construct.
   private Key(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Key() {
     path_ = 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 Key();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Key_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Key_fieldAccessorTable
+    return com.google.datastore.v1.EntityProto
+        .internal_static_google_datastore_v1_Key_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.datastore.v1.Key.class, com.google.datastore.v1.Key.Builder.class);
   }
 
-  public interface PathElementOrBuilder extends
+  public interface PathElementOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.datastore.v1.Key.PathElement)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The kind of the entity.
      *
@@ -65,10 +85,13 @@ public interface PathElementOrBuilder extends
      * 
* * string kind = 1; + * * @return The kind. */ java.lang.String getKind(); /** + * + * *
      * The kind of the entity.
      *
@@ -82,12 +105,14 @@ public interface PathElementOrBuilder extends
      * 
* * string kind = 1; + * * @return The bytes for kind. */ - com.google.protobuf.ByteString - getKindBytes(); + com.google.protobuf.ByteString getKindBytes(); /** + * + * *
      * The auto-allocated ID of the entity.
      *
@@ -96,10 +121,13 @@ public interface PathElementOrBuilder extends
      * 
* * int64 id = 2; + * * @return Whether the id field is set. */ boolean hasId(); /** + * + * *
      * The auto-allocated ID of the entity.
      *
@@ -108,11 +136,14 @@ public interface PathElementOrBuilder extends
      * 
* * int64 id = 2; + * * @return The id. */ long getId(); /** + * + * *
      * The name of the entity.
      *
@@ -126,10 +157,13 @@ public interface PathElementOrBuilder extends
      * 
* * string name = 3; + * * @return Whether the name field is set. */ boolean hasName(); /** + * + * *
      * The name of the entity.
      *
@@ -143,10 +177,13 @@ public interface PathElementOrBuilder extends
      * 
* * string name = 3; + * * @return The name. */ java.lang.String getName(); /** + * + * *
      * The name of the entity.
      *
@@ -160,14 +197,16 @@ public interface PathElementOrBuilder extends
      * 
* * string name = 3; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); com.google.datastore.v1.Key.PathElement.IdTypeCase getIdTypeCase(); } /** + * + * *
    * A (kind, ID/name) pair used to construct a key path.
    *
@@ -177,49 +216,55 @@ public interface PathElementOrBuilder extends
    *
    * Protobuf type {@code google.datastore.v1.Key.PathElement}
    */
-  public static final class PathElement extends
-      com.google.protobuf.GeneratedMessageV3 implements
+  public static final class PathElement extends com.google.protobuf.GeneratedMessageV3
+      implements
       // @@protoc_insertion_point(message_implements:google.datastore.v1.Key.PathElement)
       PathElementOrBuilder {
-  private static final long serialVersionUID = 0L;
+    private static final long serialVersionUID = 0L;
     // Use PathElement.newBuilder() to construct.
     private PathElement(com.google.protobuf.GeneratedMessageV3.Builder builder) {
       super(builder);
     }
+
     private PathElement() {
       kind_ = "";
     }
 
     @java.lang.Override
     @SuppressWarnings({"unused"})
-    protected java.lang.Object newInstance(
-        UnusedPrivateParameter unused) {
+    protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
       return new PathElement();
     }
 
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Key_PathElement_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.datastore.v1.EntityProto
+          .internal_static_google_datastore_v1_Key_PathElement_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Key_PathElement_fieldAccessorTable
+      return com.google.datastore.v1.EntityProto
+          .internal_static_google_datastore_v1_Key_PathElement_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.Key.PathElement.class, com.google.datastore.v1.Key.PathElement.Builder.class);
+              com.google.datastore.v1.Key.PathElement.class,
+              com.google.datastore.v1.Key.PathElement.Builder.class);
     }
 
     private int idTypeCase_ = 0;
+
     @SuppressWarnings("serial")
     private java.lang.Object idType_;
+
     public enum IdTypeCase
-        implements com.google.protobuf.Internal.EnumLite,
+        implements
+            com.google.protobuf.Internal.EnumLite,
             com.google.protobuf.AbstractMessage.InternalOneOfEnum {
       ID(2),
       NAME(3),
       IDTYPE_NOT_SET(0);
       private final int value;
+
       private IdTypeCase(int value) {
         this.value = value;
       }
@@ -235,27 +280,33 @@ public static IdTypeCase valueOf(int value) {
 
       public static IdTypeCase forNumber(int value) {
         switch (value) {
-          case 2: return ID;
-          case 3: return NAME;
-          case 0: return IDTYPE_NOT_SET;
-          default: return null;
+          case 2:
+            return ID;
+          case 3:
+            return NAME;
+          case 0:
+            return IDTYPE_NOT_SET;
+          default:
+            return null;
         }
       }
+
       public int getNumber() {
         return this.value;
       }
     };
 
-    public IdTypeCase
-    getIdTypeCase() {
-      return IdTypeCase.forNumber(
-          idTypeCase_);
+    public IdTypeCase getIdTypeCase() {
+      return IdTypeCase.forNumber(idTypeCase_);
     }
 
     public static final int KIND_FIELD_NUMBER = 1;
+
     @SuppressWarnings("serial")
     private volatile java.lang.Object kind_ = "";
     /**
+     *
+     *
      * 
      * The kind of the entity.
      *
@@ -269,6 +320,7 @@ public int getNumber() {
      * 
* * string kind = 1; + * * @return The kind. */ @java.lang.Override @@ -277,14 +329,15 @@ public java.lang.String getKind() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; } } /** + * + * *
      * The kind of the entity.
      *
@@ -298,16 +351,15 @@ public java.lang.String getKind() {
      * 
* * string kind = 1; + * * @return The bytes for kind. */ @java.lang.Override - public com.google.protobuf.ByteString - getKindBytes() { + public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kind_ = b; return b; } else { @@ -317,6 +369,8 @@ public java.lang.String getKind() { public static final int ID_FIELD_NUMBER = 2; /** + * + * *
      * The auto-allocated ID of the entity.
      *
@@ -325,6 +379,7 @@ public java.lang.String getKind() {
      * 
* * int64 id = 2; + * * @return Whether the id field is set. */ @java.lang.Override @@ -332,6 +387,8 @@ public boolean hasId() { return idTypeCase_ == 2; } /** + * + * *
      * The auto-allocated ID of the entity.
      *
@@ -340,6 +397,7 @@ public boolean hasId() {
      * 
* * int64 id = 2; + * * @return The id. */ @java.lang.Override @@ -352,6 +410,8 @@ public long getId() { public static final int NAME_FIELD_NUMBER = 3; /** + * + * *
      * The name of the entity.
      *
@@ -365,12 +425,15 @@ public long getId() {
      * 
* * string name = 3; + * * @return Whether the name field is set. */ public boolean hasName() { return idTypeCase_ == 3; } /** + * + * *
      * The name of the entity.
      *
@@ -384,6 +447,7 @@ public boolean hasName() {
      * 
* * string name = 3; + * * @return The name. */ public java.lang.String getName() { @@ -394,8 +458,7 @@ 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(); if (idTypeCase_ == 3) { idType_ = s; @@ -404,6 +467,8 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the entity.
      *
@@ -417,18 +482,17 @@ public java.lang.String getName() {
      * 
* * string name = 3; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = ""; if (idTypeCase_ == 3) { ref = idType_; } if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString 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 (idTypeCase_ == 3) { idType_ = b; } @@ -439,6 +503,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -450,14 +515,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(kind_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, kind_); } if (idTypeCase_ == 2) { - output.writeInt64( - 2, (long)((java.lang.Long) idType_)); + output.writeInt64(2, (long) ((java.lang.Long) idType_)); } if (idTypeCase_ == 3) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, idType_); @@ -475,9 +538,9 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, kind_); } if (idTypeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size( - 2, (long)((java.lang.Long) idType_)); + size += + com.google.protobuf.CodedOutputStream.computeInt64Size( + 2, (long) ((java.lang.Long) idType_)); } if (idTypeCase_ == 3) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, idType_); @@ -490,24 +553,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.datastore.v1.Key.PathElement)) { return super.equals(obj); } com.google.datastore.v1.Key.PathElement other = (com.google.datastore.v1.Key.PathElement) obj; - if (!getKind() - .equals(other.getKind())) return false; + if (!getKind().equals(other.getKind())) return false; if (!getIdTypeCase().equals(other.getIdTypeCase())) return false; switch (idTypeCase_) { case 2: - if (getId() - != other.getId()) return false; + if (getId() != other.getId()) return false; break; case 3: - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; break; case 0: default: @@ -528,8 +588,7 @@ public int hashCode() { switch (idTypeCase_) { case 2: hash = (37 * hash) + ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getId()); break; case 3: hash = (37 * hash) + NAME_FIELD_NUMBER; @@ -543,90 +602,94 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.Key.PathElement parseFrom( - java.nio.ByteBuffer data) + public static com.google.datastore.v1.Key.PathElement parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.Key.PathElement parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.Key.PathElement parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.Key.PathElement parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.Key.PathElement parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.Key.PathElement parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.Key.PathElement parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.Key.PathElement parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.Key.PathElement parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.Key.PathElement parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.v1.Key.PathElement parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.datastore.v1.Key.PathElement parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.Key.PathElement parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.datastore.v1.Key.PathElement prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -636,6 +699,8 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A (kind, ID/name) pair used to construct a key path.
      *
@@ -645,33 +710,33 @@ protected Builder newBuilderForType(
      *
      * Protobuf type {@code google.datastore.v1.Key.PathElement}
      */
-    public static final class Builder extends
-        com.google.protobuf.GeneratedMessageV3.Builder implements
+    public static final class Builder
+        extends com.google.protobuf.GeneratedMessageV3.Builder
+        implements
         // @@protoc_insertion_point(builder_implements:google.datastore.v1.Key.PathElement)
         com.google.datastore.v1.Key.PathElementOrBuilder {
-      public static final com.google.protobuf.Descriptors.Descriptor
-          getDescriptor() {
-        return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Key_PathElement_descriptor;
+      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+        return com.google.datastore.v1.EntityProto
+            .internal_static_google_datastore_v1_Key_PathElement_descriptor;
       }
 
       @java.lang.Override
       protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
           internalGetFieldAccessorTable() {
-        return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Key_PathElement_fieldAccessorTable
+        return com.google.datastore.v1.EntityProto
+            .internal_static_google_datastore_v1_Key_PathElement_fieldAccessorTable
             .ensureFieldAccessorsInitialized(
-                com.google.datastore.v1.Key.PathElement.class, com.google.datastore.v1.Key.PathElement.Builder.class);
+                com.google.datastore.v1.Key.PathElement.class,
+                com.google.datastore.v1.Key.PathElement.Builder.class);
       }
 
       // Construct using com.google.datastore.v1.Key.PathElement.newBuilder()
-      private Builder() {
+      private Builder() {}
 
-      }
-
-      private Builder(
-          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
         super(parent);
-
       }
+
       @java.lang.Override
       public Builder clear() {
         super.clear();
@@ -683,9 +748,9 @@ public Builder clear() {
       }
 
       @java.lang.Override
-      public com.google.protobuf.Descriptors.Descriptor
-          getDescriptorForType() {
-        return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Key_PathElement_descriptor;
+      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+        return com.google.datastore.v1.EntityProto
+            .internal_static_google_datastore_v1_Key_PathElement_descriptor;
       }
 
       @java.lang.Override
@@ -704,8 +769,11 @@ public com.google.datastore.v1.Key.PathElement build() {
 
       @java.lang.Override
       public com.google.datastore.v1.Key.PathElement buildPartial() {
-        com.google.datastore.v1.Key.PathElement result = new com.google.datastore.v1.Key.PathElement(this);
-        if (bitField0_ != 0) { buildPartial0(result); }
+        com.google.datastore.v1.Key.PathElement result =
+            new com.google.datastore.v1.Key.PathElement(this);
+        if (bitField0_ != 0) {
+          buildPartial0(result);
+        }
         buildPartialOneofs(result);
         onBuilt();
         return result;
@@ -727,38 +795,41 @@ private void buildPartialOneofs(com.google.datastore.v1.Key.PathElement result)
       public Builder clone() {
         return super.clone();
       }
+
       @java.lang.Override
       public Builder setField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.setField(field, value);
       }
+
       @java.lang.Override
-      public Builder clearField(
-          com.google.protobuf.Descriptors.FieldDescriptor field) {
+      public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
         return super.clearField(field);
       }
+
       @java.lang.Override
-      public Builder clearOneof(
-          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+      public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
         return super.clearOneof(oneof);
       }
+
       @java.lang.Override
       public Builder setRepeatedField(
           com.google.protobuf.Descriptors.FieldDescriptor field,
-          int index, java.lang.Object value) {
+          int index,
+          java.lang.Object value) {
         return super.setRepeatedField(field, index, value);
       }
+
       @java.lang.Override
       public Builder addRepeatedField(
-          com.google.protobuf.Descriptors.FieldDescriptor field,
-          java.lang.Object value) {
+          com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
         return super.addRepeatedField(field, value);
       }
+
       @java.lang.Override
       public Builder mergeFrom(com.google.protobuf.Message other) {
         if (other instanceof com.google.datastore.v1.Key.PathElement) {
-          return mergeFrom((com.google.datastore.v1.Key.PathElement)other);
+          return mergeFrom((com.google.datastore.v1.Key.PathElement) other);
         } else {
           super.mergeFrom(other);
           return this;
@@ -773,19 +844,22 @@ public Builder mergeFrom(com.google.datastore.v1.Key.PathElement other) {
           onChanged();
         }
         switch (other.getIdTypeCase()) {
-          case ID: {
-            setId(other.getId());
-            break;
-          }
-          case NAME: {
-            idTypeCase_ = 3;
-            idType_ = other.idType_;
-            onChanged();
-            break;
-          }
-          case IDTYPE_NOT_SET: {
-            break;
-          }
+          case ID:
+            {
+              setId(other.getId());
+              break;
+            }
+          case NAME:
+            {
+              idTypeCase_ = 3;
+              idType_ = other.idType_;
+              onChanged();
+              break;
+            }
+          case IDTYPE_NOT_SET:
+            {
+              break;
+            }
         }
         this.mergeUnknownFields(other.getUnknownFields());
         onChanged();
@@ -813,28 +887,32 @@ public Builder mergeFrom(
               case 0:
                 done = true;
                 break;
-              case 10: {
-                kind_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-              case 16: {
-                idType_ = input.readInt64();
-                idTypeCase_ = 2;
-                break;
-              } // case 16
-              case 26: {
-                java.lang.String s = input.readStringRequireUtf8();
-                idTypeCase_ = 3;
-                idType_ = s;
-                break;
-              } // case 26
-              default: {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+              case 10:
+                {
+                  kind_ = input.readStringRequireUtf8();
+                  bitField0_ |= 0x00000001;
+                  break;
+                } // case 10
+              case 16:
+                {
+                  idType_ = input.readInt64();
+                  idTypeCase_ = 2;
+                  break;
+                } // case 16
+              case 26:
+                {
+                  java.lang.String s = input.readStringRequireUtf8();
+                  idTypeCase_ = 3;
+                  idType_ = s;
+                  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) {
@@ -844,12 +922,12 @@ public Builder mergeFrom(
         } // finally
         return this;
       }
+
       private int idTypeCase_ = 0;
       private java.lang.Object idType_;
-      public IdTypeCase
-          getIdTypeCase() {
-        return IdTypeCase.forNumber(
-            idTypeCase_);
+
+      public IdTypeCase getIdTypeCase() {
+        return IdTypeCase.forNumber(idTypeCase_);
       }
 
       public Builder clearIdType() {
@@ -863,6 +941,8 @@ public Builder clearIdType() {
 
       private java.lang.Object kind_ = "";
       /**
+       *
+       *
        * 
        * The kind of the entity.
        *
@@ -876,13 +956,13 @@ public Builder clearIdType() {
        * 
* * string kind = 1; + * * @return The kind. */ public java.lang.String getKind() { java.lang.Object ref = kind_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); kind_ = s; return s; @@ -891,6 +971,8 @@ public java.lang.String getKind() { } } /** + * + * *
        * The kind of the entity.
        *
@@ -904,15 +986,14 @@ public java.lang.String getKind() {
        * 
* * string kind = 1; + * * @return The bytes for kind. */ - public com.google.protobuf.ByteString - getKindBytes() { + public com.google.protobuf.ByteString getKindBytes() { java.lang.Object ref = kind_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); kind_ = b; return b; } else { @@ -920,6 +1001,8 @@ public java.lang.String getKind() { } } /** + * + * *
        * The kind of the entity.
        *
@@ -933,18 +1016,22 @@ public java.lang.String getKind() {
        * 
* * string kind = 1; + * * @param value The kind to set. * @return This builder for chaining. */ - public Builder setKind( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKind(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } kind_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The kind of the entity.
        *
@@ -958,6 +1045,7 @@ public Builder setKind(
        * 
* * string kind = 1; + * * @return This builder for chaining. */ public Builder clearKind() { @@ -967,6 +1055,8 @@ public Builder clearKind() { return this; } /** + * + * *
        * The kind of the entity.
        *
@@ -980,12 +1070,14 @@ public Builder clearKind() {
        * 
* * string kind = 1; + * * @param value The bytes for kind to set. * @return This builder for chaining. */ - public Builder setKindBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setKindBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); kind_ = value; bitField0_ |= 0x00000001; @@ -994,6 +1086,8 @@ public Builder setKindBytes( } /** + * + * *
        * The auto-allocated ID of the entity.
        *
@@ -1002,12 +1096,15 @@ public Builder setKindBytes(
        * 
* * int64 id = 2; + * * @return Whether the id field is set. */ public boolean hasId() { return idTypeCase_ == 2; } /** + * + * *
        * The auto-allocated ID of the entity.
        *
@@ -1016,6 +1113,7 @@ public boolean hasId() {
        * 
* * int64 id = 2; + * * @return The id. */ public long getId() { @@ -1025,6 +1123,8 @@ public long getId() { return 0L; } /** + * + * *
        * The auto-allocated ID of the entity.
        *
@@ -1033,6 +1133,7 @@ public long getId() {
        * 
* * int64 id = 2; + * * @param value The id to set. * @return This builder for chaining. */ @@ -1044,6 +1145,8 @@ public Builder setId(long value) { return this; } /** + * + * *
        * The auto-allocated ID of the entity.
        *
@@ -1052,6 +1155,7 @@ public Builder setId(long value) {
        * 
* * int64 id = 2; + * * @return This builder for chaining. */ public Builder clearId() { @@ -1064,6 +1168,8 @@ public Builder clearId() { } /** + * + * *
        * The name of the entity.
        *
@@ -1077,6 +1183,7 @@ public Builder clearId() {
        * 
* * string name = 3; + * * @return Whether the name field is set. */ @java.lang.Override @@ -1084,6 +1191,8 @@ public boolean hasName() { return idTypeCase_ == 3; } /** + * + * *
        * The name of the entity.
        *
@@ -1097,6 +1206,7 @@ public boolean hasName() {
        * 
* * string name = 3; + * * @return The name. */ @java.lang.Override @@ -1106,8 +1216,7 @@ public java.lang.String getName() { ref = idType_; } if (!(ref instanceof java.lang.String)) { - com.google.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 (idTypeCase_ == 3) { idType_ = s; @@ -1118,6 +1227,8 @@ public java.lang.String getName() { } } /** + * + * *
        * The name of the entity.
        *
@@ -1131,19 +1242,18 @@ public java.lang.String getName() {
        * 
* * string name = 3; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = ""; if (idTypeCase_ == 3) { ref = idType_; } if (ref instanceof String) { - com.google.protobuf.ByteString 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 (idTypeCase_ == 3) { idType_ = b; } @@ -1153,6 +1263,8 @@ public java.lang.String getName() { } } /** + * + * *
        * The name of the entity.
        *
@@ -1166,18 +1278,22 @@ public java.lang.String getName() {
        * 
* * string name = 3; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } idTypeCase_ = 3; idType_ = value; onChanged(); return this; } /** + * + * *
        * The name of the entity.
        *
@@ -1191,6 +1307,7 @@ public Builder setName(
        * 
* * string name = 3; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1202,6 +1319,8 @@ public Builder clearName() { return this; } /** + * + * *
        * The name of the entity.
        *
@@ -1215,18 +1334,21 @@ public Builder clearName() {
        * 
* * string name = 3; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); idTypeCase_ = 3; idType_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1239,12 +1361,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.v1.Key.PathElement) } // @@protoc_insertion_point(class_scope:google.datastore.v1.Key.PathElement) private static final com.google.datastore.v1.Key.PathElement DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.v1.Key.PathElement(); } @@ -1253,27 +1375,28 @@ public static com.google.datastore.v1.Key.PathElement getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PathElement parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PathElement parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1288,13 +1411,14 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.Key.PathElement getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } private int bitField0_; public static final int PARTITION_ID_FIELD_NUMBER = 1; private com.google.datastore.v1.PartitionId partitionId_; /** + * + * *
    * Entities are partitioned into subsets, currently identified by a project
    * ID and namespace ID.
@@ -1302,6 +1426,7 @@ public com.google.datastore.v1.Key.PathElement getDefaultInstanceForType() {
    * 
* * .google.datastore.v1.PartitionId partition_id = 1; + * * @return Whether the partitionId field is set. */ @java.lang.Override @@ -1309,6 +1434,8 @@ public boolean hasPartitionId() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Entities are partitioned into subsets, currently identified by a project
    * ID and namespace ID.
@@ -1316,13 +1443,18 @@ public boolean hasPartitionId() {
    * 
* * .google.datastore.v1.PartitionId partition_id = 1; + * * @return The partitionId. */ @java.lang.Override public com.google.datastore.v1.PartitionId getPartitionId() { - return partitionId_ == null ? com.google.datastore.v1.PartitionId.getDefaultInstance() : partitionId_; + return partitionId_ == null + ? com.google.datastore.v1.PartitionId.getDefaultInstance() + : partitionId_; } /** + * + * *
    * Entities are partitioned into subsets, currently identified by a project
    * ID and namespace ID.
@@ -1333,13 +1465,18 @@ public com.google.datastore.v1.PartitionId getPartitionId() {
    */
   @java.lang.Override
   public com.google.datastore.v1.PartitionIdOrBuilder getPartitionIdOrBuilder() {
-    return partitionId_ == null ? com.google.datastore.v1.PartitionId.getDefaultInstance() : partitionId_;
+    return partitionId_ == null
+        ? com.google.datastore.v1.PartitionId.getDefaultInstance()
+        : partitionId_;
   }
 
   public static final int PATH_FIELD_NUMBER = 2;
+
   @SuppressWarnings("serial")
   private java.util.List path_;
   /**
+   *
+   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -1366,6 +1503,8 @@ public java.util.List getPathList() {
     return path_;
   }
   /**
+   *
+   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -1388,11 +1527,13 @@ public java.util.List getPathList() {
    * repeated .google.datastore.v1.Key.PathElement path = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getPathOrBuilderList() {
     return path_;
   }
   /**
+   *
+   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -1419,6 +1560,8 @@ public int getPathCount() {
     return path_.size();
   }
   /**
+   *
+   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -1445,6 +1588,8 @@ public com.google.datastore.v1.Key.PathElement getPath(int index) {
     return path_.get(index);
   }
   /**
+   *
+   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -1467,12 +1612,12 @@ public com.google.datastore.v1.Key.PathElement getPath(int index) {
    * repeated .google.datastore.v1.Key.PathElement path = 2;
    */
   @java.lang.Override
-  public com.google.datastore.v1.Key.PathElementOrBuilder getPathOrBuilder(
-      int index) {
+  public com.google.datastore.v1.Key.PathElementOrBuilder getPathOrBuilder(int index) {
     return path_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -1484,8 +1629,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 (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(1, getPartitionId());
     }
@@ -1502,12 +1646,10 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getPartitionId());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getPartitionId());
     }
     for (int i = 0; i < path_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, path_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, path_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -1517,7 +1659,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.datastore.v1.Key)) {
       return super.equals(obj);
@@ -1526,11 +1668,9 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasPartitionId() != other.hasPartitionId()) return false;
     if (hasPartitionId()) {
-      if (!getPartitionId()
-          .equals(other.getPartitionId())) return false;
+      if (!getPartitionId().equals(other.getPartitionId())) return false;
     }
-    if (!getPathList()
-        .equals(other.getPathList())) return false;
+    if (!getPathList().equals(other.getPathList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -1555,99 +1695,103 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.Key parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.Key parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.Key parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.datastore.v1.Key parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.datastore.v1.Key parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.Key parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.Key parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.Key parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.Key parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.datastore.v1.Key parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   public static com.google.datastore.v1.Key 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.datastore.v1.Key parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.datastore.v1.Key parseFrom(
-      com.google.protobuf.CodedInputStream input)
+
+  public static com.google.datastore.v1.Key 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.datastore.v1.Key parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.datastore.v1.Key prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 unique identifier for an entity.
    * If a key's partition ID or any of its path kinds or names are
@@ -1657,19 +1801,19 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.datastore.v1.Key}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.datastore.v1.Key)
       com.google.datastore.v1.KeyOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
       return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Key_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Key_fieldAccessorTable
+      return com.google.datastore.v1.EntityProto
+          .internal_static_google_datastore_v1_Key_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.datastore.v1.Key.class, com.google.datastore.v1.Key.Builder.class);
     }
@@ -1679,18 +1823,18 @@ 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) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getPartitionIdFieldBuilder();
         getPathFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1711,8 +1855,7 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
       return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Key_descriptor;
     }
 
@@ -1734,7 +1877,9 @@ public com.google.datastore.v1.Key build() {
     public com.google.datastore.v1.Key buildPartial() {
       com.google.datastore.v1.Key result = new com.google.datastore.v1.Key(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -1755,9 +1900,8 @@ private void buildPartial0(com.google.datastore.v1.Key result) {
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.partitionId_ = partitionIdBuilder_ == null
-            ? partitionId_
-            : partitionIdBuilder_.build();
+        result.partitionId_ =
+            partitionIdBuilder_ == null ? partitionId_ : partitionIdBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       result.bitField0_ |= to_bitField0_;
@@ -1767,38 +1911,39 @@ private void buildPartial0(com.google.datastore.v1.Key result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.Key) {
-        return mergeFrom((com.google.datastore.v1.Key)other);
+        return mergeFrom((com.google.datastore.v1.Key) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1828,9 +1973,10 @@ public Builder mergeFrom(com.google.datastore.v1.Key other) {
             pathBuilder_ = null;
             path_ = other.path_;
             bitField0_ = (bitField0_ & ~0x00000002);
-            pathBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getPathFieldBuilder() : null;
+            pathBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getPathFieldBuilder()
+                    : null;
           } else {
             pathBuilder_.addAllMessages(other.path_);
           }
@@ -1862,32 +2008,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getPartitionIdFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              com.google.datastore.v1.Key.PathElement m =
-                  input.readMessage(
-                      com.google.datastore.v1.Key.PathElement.parser(),
-                      extensionRegistry);
-              if (pathBuilder_ == null) {
-                ensurePathIsMutable();
-                path_.add(m);
-              } else {
-                pathBuilder_.addMessage(m);
-              }
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getPartitionIdFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                com.google.datastore.v1.Key.PathElement m =
+                    input.readMessage(
+                        com.google.datastore.v1.Key.PathElement.parser(), extensionRegistry);
+                if (pathBuilder_ == null) {
+                  ensurePathIsMutable();
+                  path_.add(m);
+                } else {
+                  pathBuilder_.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) {
@@ -1897,12 +2043,18 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.datastore.v1.PartitionId partitionId_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.v1.PartitionId, com.google.datastore.v1.PartitionId.Builder, com.google.datastore.v1.PartitionIdOrBuilder> partitionIdBuilder_;
+            com.google.datastore.v1.PartitionId,
+            com.google.datastore.v1.PartitionId.Builder,
+            com.google.datastore.v1.PartitionIdOrBuilder>
+        partitionIdBuilder_;
     /**
+     *
+     *
      * 
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -1910,12 +2062,15 @@ public Builder mergeFrom(
      * 
* * .google.datastore.v1.PartitionId partition_id = 1; + * * @return Whether the partitionId field is set. */ public boolean hasPartitionId() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -1923,16 +2078,21 @@ public boolean hasPartitionId() {
      * 
* * .google.datastore.v1.PartitionId partition_id = 1; + * * @return The partitionId. */ public com.google.datastore.v1.PartitionId getPartitionId() { if (partitionIdBuilder_ == null) { - return partitionId_ == null ? com.google.datastore.v1.PartitionId.getDefaultInstance() : partitionId_; + return partitionId_ == null + ? com.google.datastore.v1.PartitionId.getDefaultInstance() + : partitionId_; } else { return partitionIdBuilder_.getMessage(); } } /** + * + * *
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -1955,6 +2115,8 @@ public Builder setPartitionId(com.google.datastore.v1.PartitionId value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -1963,8 +2125,7 @@ public Builder setPartitionId(com.google.datastore.v1.PartitionId value) {
      *
      * .google.datastore.v1.PartitionId partition_id = 1;
      */
-    public Builder setPartitionId(
-        com.google.datastore.v1.PartitionId.Builder builderForValue) {
+    public Builder setPartitionId(com.google.datastore.v1.PartitionId.Builder builderForValue) {
       if (partitionIdBuilder_ == null) {
         partitionId_ = builderForValue.build();
       } else {
@@ -1975,6 +2136,8 @@ public Builder setPartitionId(
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -1985,9 +2148,9 @@ public Builder setPartitionId(
      */
     public Builder mergePartitionId(com.google.datastore.v1.PartitionId value) {
       if (partitionIdBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          partitionId_ != null &&
-          partitionId_ != com.google.datastore.v1.PartitionId.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && partitionId_ != null
+            && partitionId_ != com.google.datastore.v1.PartitionId.getDefaultInstance()) {
           getPartitionIdBuilder().mergeFrom(value);
         } else {
           partitionId_ = value;
@@ -2002,6 +2165,8 @@ public Builder mergePartitionId(com.google.datastore.v1.PartitionId value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -2021,6 +2186,8 @@ public Builder clearPartitionId() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -2035,6 +2202,8 @@ public com.google.datastore.v1.PartitionId.Builder getPartitionIdBuilder() {
       return getPartitionIdFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -2047,11 +2216,14 @@ public com.google.datastore.v1.PartitionIdOrBuilder getPartitionIdOrBuilder() {
       if (partitionIdBuilder_ != null) {
         return partitionIdBuilder_.getMessageOrBuilder();
       } else {
-        return partitionId_ == null ?
-            com.google.datastore.v1.PartitionId.getDefaultInstance() : partitionId_;
+        return partitionId_ == null
+            ? com.google.datastore.v1.PartitionId.getDefaultInstance()
+            : partitionId_;
       }
     }
     /**
+     *
+     *
      * 
      * Entities are partitioned into subsets, currently identified by a project
      * ID and namespace ID.
@@ -2061,32 +2233,41 @@ public com.google.datastore.v1.PartitionIdOrBuilder getPartitionIdOrBuilder() {
      * .google.datastore.v1.PartitionId partition_id = 1;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.v1.PartitionId, com.google.datastore.v1.PartitionId.Builder, com.google.datastore.v1.PartitionIdOrBuilder> 
+            com.google.datastore.v1.PartitionId,
+            com.google.datastore.v1.PartitionId.Builder,
+            com.google.datastore.v1.PartitionIdOrBuilder>
         getPartitionIdFieldBuilder() {
       if (partitionIdBuilder_ == null) {
-        partitionIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.PartitionId, com.google.datastore.v1.PartitionId.Builder, com.google.datastore.v1.PartitionIdOrBuilder>(
-                getPartitionId(),
-                getParentForChildren(),
-                isClean());
+        partitionIdBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.datastore.v1.PartitionId,
+                com.google.datastore.v1.PartitionId.Builder,
+                com.google.datastore.v1.PartitionIdOrBuilder>(
+                getPartitionId(), getParentForChildren(), isClean());
         partitionId_ = null;
       }
       return partitionIdBuilder_;
     }
 
     private java.util.List path_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensurePathIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         path_ = new java.util.ArrayList(path_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.datastore.v1.Key.PathElement, com.google.datastore.v1.Key.PathElement.Builder, com.google.datastore.v1.Key.PathElementOrBuilder> pathBuilder_;
+            com.google.datastore.v1.Key.PathElement,
+            com.google.datastore.v1.Key.PathElement.Builder,
+            com.google.datastore.v1.Key.PathElementOrBuilder>
+        pathBuilder_;
 
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2116,6 +2297,8 @@ public java.util.List getPathList() {
       }
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2145,6 +2328,8 @@ public int getPathCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2174,6 +2359,8 @@ public com.google.datastore.v1.Key.PathElement getPath(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2195,8 +2382,7 @@ public com.google.datastore.v1.Key.PathElement getPath(int index) {
      *
      * repeated .google.datastore.v1.Key.PathElement path = 2;
      */
-    public Builder setPath(
-        int index, com.google.datastore.v1.Key.PathElement value) {
+    public Builder setPath(int index, com.google.datastore.v1.Key.PathElement value) {
       if (pathBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2210,6 +2396,8 @@ public Builder setPath(
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2243,6 +2431,8 @@ public Builder setPath(
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2278,6 +2468,8 @@ public Builder addPath(com.google.datastore.v1.Key.PathElement value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2299,8 +2491,7 @@ public Builder addPath(com.google.datastore.v1.Key.PathElement value) {
      *
      * repeated .google.datastore.v1.Key.PathElement path = 2;
      */
-    public Builder addPath(
-        int index, com.google.datastore.v1.Key.PathElement value) {
+    public Builder addPath(int index, com.google.datastore.v1.Key.PathElement value) {
       if (pathBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2314,6 +2505,8 @@ public Builder addPath(
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2335,8 +2528,7 @@ public Builder addPath(
      *
      * repeated .google.datastore.v1.Key.PathElement path = 2;
      */
-    public Builder addPath(
-        com.google.datastore.v1.Key.PathElement.Builder builderForValue) {
+    public Builder addPath(com.google.datastore.v1.Key.PathElement.Builder builderForValue) {
       if (pathBuilder_ == null) {
         ensurePathIsMutable();
         path_.add(builderForValue.build());
@@ -2347,6 +2539,8 @@ public Builder addPath(
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2380,6 +2574,8 @@ public Builder addPath(
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2405,8 +2601,7 @@ public Builder addAllPath(
         java.lang.Iterable values) {
       if (pathBuilder_ == null) {
         ensurePathIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, path_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, path_);
         onChanged();
       } else {
         pathBuilder_.addAllMessages(values);
@@ -2414,6 +2609,8 @@ public Builder addAllPath(
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2446,6 +2643,8 @@ public Builder clearPath() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2478,6 +2677,8 @@ public Builder removePath(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2499,11 +2700,12 @@ public Builder removePath(int index) {
      *
      * repeated .google.datastore.v1.Key.PathElement path = 2;
      */
-    public com.google.datastore.v1.Key.PathElement.Builder getPathBuilder(
-        int index) {
+    public com.google.datastore.v1.Key.PathElement.Builder getPathBuilder(int index) {
       return getPathFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2525,14 +2727,16 @@ public com.google.datastore.v1.Key.PathElement.Builder getPathBuilder(
      *
      * repeated .google.datastore.v1.Key.PathElement path = 2;
      */
-    public com.google.datastore.v1.Key.PathElementOrBuilder getPathOrBuilder(
-        int index) {
+    public com.google.datastore.v1.Key.PathElementOrBuilder getPathOrBuilder(int index) {
       if (pathBuilder_ == null) {
-        return path_.get(index);  } else {
+        return path_.get(index);
+      } else {
         return pathBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2554,8 +2758,8 @@ public com.google.datastore.v1.Key.PathElementOrBuilder getPathOrBuilder(
      *
      * repeated .google.datastore.v1.Key.PathElement path = 2;
      */
-    public java.util.List 
-         getPathOrBuilderList() {
+    public java.util.List
+        getPathOrBuilderList() {
       if (pathBuilder_ != null) {
         return pathBuilder_.getMessageOrBuilderList();
       } else {
@@ -2563,6 +2767,8 @@ public com.google.datastore.v1.Key.PathElementOrBuilder getPathOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2585,10 +2791,12 @@ public com.google.datastore.v1.Key.PathElementOrBuilder getPathOrBuilder(
      * repeated .google.datastore.v1.Key.PathElement path = 2;
      */
     public com.google.datastore.v1.Key.PathElement.Builder addPathBuilder() {
-      return getPathFieldBuilder().addBuilder(
-          com.google.datastore.v1.Key.PathElement.getDefaultInstance());
+      return getPathFieldBuilder()
+          .addBuilder(com.google.datastore.v1.Key.PathElement.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2610,12 +2818,13 @@ public com.google.datastore.v1.Key.PathElement.Builder addPathBuilder() {
      *
      * repeated .google.datastore.v1.Key.PathElement path = 2;
      */
-    public com.google.datastore.v1.Key.PathElement.Builder addPathBuilder(
-        int index) {
-      return getPathFieldBuilder().addBuilder(
-          index, com.google.datastore.v1.Key.PathElement.getDefaultInstance());
+    public com.google.datastore.v1.Key.PathElement.Builder addPathBuilder(int index) {
+      return getPathFieldBuilder()
+          .addBuilder(index, com.google.datastore.v1.Key.PathElement.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The entity path.
      * An entity path consists of one or more elements composed of a kind and a
@@ -2637,27 +2846,29 @@ public com.google.datastore.v1.Key.PathElement.Builder addPathBuilder(
      *
      * repeated .google.datastore.v1.Key.PathElement path = 2;
      */
-    public java.util.List 
-         getPathBuilderList() {
+    public java.util.List getPathBuilderList() {
       return getPathFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.datastore.v1.Key.PathElement, com.google.datastore.v1.Key.PathElement.Builder, com.google.datastore.v1.Key.PathElementOrBuilder> 
+            com.google.datastore.v1.Key.PathElement,
+            com.google.datastore.v1.Key.PathElement.Builder,
+            com.google.datastore.v1.Key.PathElementOrBuilder>
         getPathFieldBuilder() {
       if (pathBuilder_ == null) {
-        pathBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.datastore.v1.Key.PathElement, com.google.datastore.v1.Key.PathElement.Builder, com.google.datastore.v1.Key.PathElementOrBuilder>(
-                path_,
-                ((bitField0_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        pathBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.datastore.v1.Key.PathElement,
+                com.google.datastore.v1.Key.PathElement.Builder,
+                com.google.datastore.v1.Key.PathElementOrBuilder>(
+                path_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
         path_ = null;
       }
       return pathBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -2667,12 +2878,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.Key)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.Key)
   private static final com.google.datastore.v1.Key DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.Key();
   }
@@ -2681,27 +2892,27 @@ public static com.google.datastore.v1.Key getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Key parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Key parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2716,6 +2927,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.Key getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KeyOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KeyOrBuilder.java
similarity index 88%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KeyOrBuilder.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KeyOrBuilder.java
index 2d940904b..b88c3493e 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KeyOrBuilder.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KeyOrBuilder.java
@@ -1,14 +1,32 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/entity.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface KeyOrBuilder extends
+public interface KeyOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.Key)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * Entities are partitioned into subsets, currently identified by a project
    * ID and namespace ID.
@@ -16,10 +34,13 @@ public interface KeyOrBuilder extends
    * 
* * .google.datastore.v1.PartitionId partition_id = 1; + * * @return Whether the partitionId field is set. */ boolean hasPartitionId(); /** + * + * *
    * Entities are partitioned into subsets, currently identified by a project
    * ID and namespace ID.
@@ -27,10 +48,13 @@ public interface KeyOrBuilder extends
    * 
* * .google.datastore.v1.PartitionId partition_id = 1; + * * @return The partitionId. */ com.google.datastore.v1.PartitionId getPartitionId(); /** + * + * *
    * Entities are partitioned into subsets, currently identified by a project
    * ID and namespace ID.
@@ -42,6 +66,8 @@ public interface KeyOrBuilder extends
   com.google.datastore.v1.PartitionIdOrBuilder getPartitionIdOrBuilder();
 
   /**
+   *
+   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -63,9 +89,10 @@ public interface KeyOrBuilder extends
    *
    * repeated .google.datastore.v1.Key.PathElement path = 2;
    */
-  java.util.List 
-      getPathList();
+  java.util.List getPathList();
   /**
+   *
+   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -89,6 +116,8 @@ public interface KeyOrBuilder extends
    */
   com.google.datastore.v1.Key.PathElement getPath(int index);
   /**
+   *
+   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -112,6 +141,8 @@ public interface KeyOrBuilder extends
    */
   int getPathCount();
   /**
+   *
+   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -133,9 +164,10 @@ public interface KeyOrBuilder extends
    *
    * repeated .google.datastore.v1.Key.PathElement path = 2;
    */
-  java.util.List 
-      getPathOrBuilderList();
+  java.util.List getPathOrBuilderList();
   /**
+   *
+   *
    * 
    * The entity path.
    * An entity path consists of one or more elements composed of a kind and a
@@ -157,6 +189,5 @@ public interface KeyOrBuilder extends
    *
    * repeated .google.datastore.v1.Key.PathElement path = 2;
    */
-  com.google.datastore.v1.Key.PathElementOrBuilder getPathOrBuilder(
-      int index);
+  com.google.datastore.v1.Key.PathElementOrBuilder getPathOrBuilder(int index);
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KindExpression.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KindExpression.java
similarity index 65%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KindExpression.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KindExpression.java
index d8bbee77e..fde068625 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KindExpression.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KindExpression.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/query.proto
 
@@ -5,54 +20,62 @@
 package com.google.datastore.v1;
 
 /**
+ *
+ *
  * 
  * A representation of a kind.
  * 
* * Protobuf type {@code google.datastore.v1.KindExpression} */ -public final class KindExpression extends - com.google.protobuf.GeneratedMessageV3 implements +public final class KindExpression extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.datastore.v1.KindExpression) KindExpressionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use KindExpression.newBuilder() to construct. private KindExpression(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private KindExpression() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new KindExpression(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_KindExpression_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_KindExpression_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_KindExpression_fieldAccessorTable + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_KindExpression_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.KindExpression.class, com.google.datastore.v1.KindExpression.Builder.class); + com.google.datastore.v1.KindExpression.class, + com.google.datastore.v1.KindExpression.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * The name of the kind.
    * 
* * string name = 1; + * * @return The name. */ @java.lang.Override @@ -61,29 +84,29 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * The name of the kind.
    * 
* * 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 { @@ -92,6 +115,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -103,8 +127,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_); } @@ -128,15 +151,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.datastore.v1.KindExpression)) { return super.equals(obj); } com.google.datastore.v1.KindExpression other = (com.google.datastore.v1.KindExpression) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -155,132 +177,136 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.KindExpression parseFrom( - java.nio.ByteBuffer data) + public static com.google.datastore.v1.KindExpression parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.KindExpression parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.KindExpression parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.KindExpression parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.KindExpression parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.KindExpression parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.KindExpression parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.KindExpression parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.datastore.v1.KindExpression 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.datastore.v1.KindExpression parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.datastore.v1.KindExpression parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.KindExpression parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.datastore.v1.KindExpression prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 representation of a kind.
    * 
* * Protobuf type {@code google.datastore.v1.KindExpression} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.KindExpression) com.google.datastore.v1.KindExpressionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_KindExpression_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_KindExpression_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_KindExpression_fieldAccessorTable + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_KindExpression_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.KindExpression.class, com.google.datastore.v1.KindExpression.Builder.class); + com.google.datastore.v1.KindExpression.class, + com.google.datastore.v1.KindExpression.Builder.class); } // Construct using com.google.datastore.v1.KindExpression.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - 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.datastore.v1.QueryProto.internal_static_google_datastore_v1_KindExpression_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_KindExpression_descriptor; } @java.lang.Override @@ -311,8 +337,11 @@ public com.google.datastore.v1.KindExpression build() { @java.lang.Override public com.google.datastore.v1.KindExpression buildPartial() { - com.google.datastore.v1.KindExpression result = new com.google.datastore.v1.KindExpression(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.datastore.v1.KindExpression result = + new com.google.datastore.v1.KindExpression(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -328,38 +357,39 @@ private void buildPartial0(com.google.datastore.v1.KindExpression result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.KindExpression) { - return mergeFrom((com.google.datastore.v1.KindExpression)other); + return mergeFrom((com.google.datastore.v1.KindExpression) other); } else { super.mergeFrom(other); return this; @@ -399,17 +429,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -419,22 +451,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * The name of the kind.
      * 
* * 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; @@ -443,20 +478,21 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the kind.
      * 
* * 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 { @@ -464,28 +500,35 @@ public java.lang.String getName() { } } /** + * + * *
      * The name of the kind.
      * 
* * string name = 1; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The name of the kind.
      * 
* * string name = 1; + * * @return This builder for chaining. */ public Builder clearName() { @@ -495,26 +538,30 @@ public Builder clearName() { return this; } /** + * + * *
      * The name of the kind.
      * 
* * string name = 1; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; 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); } @@ -524,12 +571,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.v1.KindExpression) } // @@protoc_insertion_point(class_scope:google.datastore.v1.KindExpression) private static final com.google.datastore.v1.KindExpression DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.v1.KindExpression(); } @@ -538,27 +585,27 @@ public static com.google.datastore.v1.KindExpression getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public KindExpression parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public KindExpression parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -573,6 +620,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.KindExpression getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KindExpressionOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KindExpressionOrBuilder.java new file mode 100644 index 000000000..b3c48590c --- /dev/null +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/KindExpressionOrBuilder.java @@ -0,0 +1,51 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/datastore/v1/query.proto + +// Protobuf Java Version: 3.25.3 +package com.google.datastore.v1; + +public interface KindExpressionOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.datastore.v1.KindExpression) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * The name of the kind.
+   * 
+ * + * string name = 1; + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * The name of the kind.
+   * 
+ * + * string name = 1; + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupRequest.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupRequest.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupRequest.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupRequest.java index 7a516ac4e..cd95d3a06 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupRequest.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupRequest.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto @@ -5,21 +20,24 @@ package com.google.datastore.v1; /** + * + * *
  * The request for [Datastore.Lookup][google.datastore.v1.Datastore.Lookup].
  * 
* * Protobuf type {@code google.datastore.v1.LookupRequest} */ -public final class LookupRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LookupRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.datastore.v1.LookupRequest) LookupRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LookupRequest.newBuilder() to construct. private LookupRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LookupRequest() { projectId_ = ""; databaseId_ = ""; @@ -28,34 +46,39 @@ private LookupRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LookupRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_LookupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_LookupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_LookupRequest_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_LookupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.LookupRequest.class, com.google.datastore.v1.LookupRequest.Builder.class); + com.google.datastore.v1.LookupRequest.class, + com.google.datastore.v1.LookupRequest.Builder.class); } private int bitField0_; public static final int PROJECT_ID_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** + * + * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ @java.lang.Override @@ -64,29 +87,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -95,9 +118,12 @@ public java.lang.String getProjectId() { } public static final int DATABASE_ID_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object databaseId_ = ""; /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -106,6 +132,7 @@ public java.lang.String getProjectId() {
    * 
* * string database_id = 9; + * * @return The databaseId. */ @java.lang.Override @@ -114,14 +141,15 @@ public java.lang.String getDatabaseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; } } /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -130,16 +158,15 @@ public java.lang.String getDatabaseId() {
    * 
* * string database_id = 9; + * * @return The bytes for databaseId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseIdBytes() { + public com.google.protobuf.ByteString getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); databaseId_ = b; return b; } else { @@ -150,11 +177,14 @@ public java.lang.String getDatabaseId() { public static final int READ_OPTIONS_FIELD_NUMBER = 1; private com.google.datastore.v1.ReadOptions readOptions_; /** + * + * *
    * The options for this lookup request.
    * 
* * .google.datastore.v1.ReadOptions read_options = 1; + * * @return Whether the readOptions field is set. */ @java.lang.Override @@ -162,18 +192,25 @@ public boolean hasReadOptions() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The options for this lookup request.
    * 
* * .google.datastore.v1.ReadOptions read_options = 1; + * * @return The readOptions. */ @java.lang.Override public com.google.datastore.v1.ReadOptions getReadOptions() { - return readOptions_ == null ? com.google.datastore.v1.ReadOptions.getDefaultInstance() : readOptions_; + return readOptions_ == null + ? com.google.datastore.v1.ReadOptions.getDefaultInstance() + : readOptions_; } /** + * + * *
    * The options for this lookup request.
    * 
@@ -182,71 +219,88 @@ public com.google.datastore.v1.ReadOptions getReadOptions() { */ @java.lang.Override public com.google.datastore.v1.ReadOptionsOrBuilder getReadOptionsOrBuilder() { - return readOptions_ == null ? com.google.datastore.v1.ReadOptions.getDefaultInstance() : readOptions_; + return readOptions_ == null + ? com.google.datastore.v1.ReadOptions.getDefaultInstance() + : readOptions_; } public static final int KEYS_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List keys_; /** + * + * *
    * Required. Keys of entities to look up.
    * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getKeysList() { return keys_; } /** + * + * *
    * Required. Keys of entities to look up.
    * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List - getKeysOrBuilderList() { + public java.util.List getKeysOrBuilderList() { return keys_; } /** + * + * *
    * Required. Keys of entities to look up.
    * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getKeysCount() { return keys_.size(); } /** + * + * *
    * Required. Keys of entities to look up.
    * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.datastore.v1.Key getKeys(int index) { return keys_.get(index); } /** + * + * *
    * Required. Keys of entities to look up.
    * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder( - int index) { + public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(int index) { return keys_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -258,8 +312,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getReadOptions()); } @@ -282,12 +335,10 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getReadOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReadOptions()); } for (int i = 0; i < keys_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, keys_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, keys_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, projectId_); @@ -303,24 +354,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.datastore.v1.LookupRequest)) { return super.equals(obj); } com.google.datastore.v1.LookupRequest other = (com.google.datastore.v1.LookupRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getDatabaseId() - .equals(other.getDatabaseId())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getDatabaseId().equals(other.getDatabaseId())) return false; if (hasReadOptions() != other.hasReadOptions()) return false; if (hasReadOptions()) { - if (!getReadOptions() - .equals(other.getReadOptions())) return false; + if (!getReadOptions().equals(other.getReadOptions())) return false; } - if (!getKeysList() - .equals(other.getKeysList())) return false; + if (!getKeysList().equals(other.getKeysList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -349,120 +396,126 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.LookupRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.datastore.v1.LookupRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.LookupRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.LookupRequest parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.datastore.v1.LookupRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.LookupRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.LookupRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.LookupRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.LookupRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.LookupRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.datastore.v1.LookupRequest 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.datastore.v1.LookupRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.datastore.v1.LookupRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.LookupRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.datastore.v1.LookupRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [Datastore.Lookup][google.datastore.v1.Datastore.Lookup].
    * 
* * Protobuf type {@code google.datastore.v1.LookupRequest} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.LookupRequest) com.google.datastore.v1.LookupRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_LookupRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_LookupRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_LookupRequest_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_LookupRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.LookupRequest.class, com.google.datastore.v1.LookupRequest.Builder.class); + com.google.datastore.v1.LookupRequest.class, + com.google.datastore.v1.LookupRequest.Builder.class); } // Construct using com.google.datastore.v1.LookupRequest.newBuilder() @@ -470,18 +523,18 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getReadOptionsFieldBuilder(); getKeysFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -504,9 +557,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_LookupRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_LookupRequest_descriptor; } @java.lang.Override @@ -525,9 +578,12 @@ public com.google.datastore.v1.LookupRequest build() { @java.lang.Override public com.google.datastore.v1.LookupRequest buildPartial() { - com.google.datastore.v1.LookupRequest result = new com.google.datastore.v1.LookupRequest(this); + com.google.datastore.v1.LookupRequest result = + new com.google.datastore.v1.LookupRequest(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -554,9 +610,8 @@ private void buildPartial0(com.google.datastore.v1.LookupRequest result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.readOptions_ = readOptionsBuilder_ == null - ? readOptions_ - : readOptionsBuilder_.build(); + result.readOptions_ = + readOptionsBuilder_ == null ? readOptions_ : readOptionsBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -566,38 +621,39 @@ private void buildPartial0(com.google.datastore.v1.LookupRequest result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.LookupRequest) { - return mergeFrom((com.google.datastore.v1.LookupRequest)other); + return mergeFrom((com.google.datastore.v1.LookupRequest) other); } else { super.mergeFrom(other); return this; @@ -637,9 +693,10 @@ public Builder mergeFrom(com.google.datastore.v1.LookupRequest other) { keysBuilder_ = null; keys_ = other.keys_; bitField0_ = (bitField0_ & ~0x00000008); - keysBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getKeysFieldBuilder() : null; + keysBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getKeysFieldBuilder() + : null; } else { keysBuilder_.addAllMessages(other.keys_); } @@ -671,42 +728,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getReadOptionsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 10 - case 26: { - com.google.datastore.v1.Key m = - input.readMessage( - com.google.datastore.v1.Key.parser(), - extensionRegistry); - if (keysBuilder_ == null) { - ensureKeysIsMutable(); - keys_.add(m); - } else { - keysBuilder_.addMessage(m); - } - break; - } // case 26 - case 66: { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 66 - case 74: { - databaseId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 74 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getReadOptionsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 10 + case 26: + { + com.google.datastore.v1.Key m = + input.readMessage(com.google.datastore.v1.Key.parser(), extensionRegistry); + if (keysBuilder_ == null) { + ensureKeysIsMutable(); + keys_.add(m); + } else { + keysBuilder_.addMessage(m); + } + break; + } // case 26 + case 66: + { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 66 + case 74: + { + databaseId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 74 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -716,22 +774,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object projectId_ = ""; /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -740,20 +801,21 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -761,28 +823,35 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -792,17 +861,21 @@ public Builder clearProjectId() { return this; } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -812,6 +885,8 @@ public Builder setProjectIdBytes( private java.lang.Object databaseId_ = ""; /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -820,13 +895,13 @@ public Builder setProjectIdBytes(
      * 
* * string database_id = 9; + * * @return The databaseId. */ public java.lang.String getDatabaseId() { java.lang.Object ref = databaseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; @@ -835,6 +910,8 @@ public java.lang.String getDatabaseId() { } } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -843,15 +920,14 @@ public java.lang.String getDatabaseId() {
      * 
* * string database_id = 9; + * * @return The bytes for databaseId. */ - public com.google.protobuf.ByteString - getDatabaseIdBytes() { + public com.google.protobuf.ByteString getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); databaseId_ = b; return b; } else { @@ -859,6 +935,8 @@ public java.lang.String getDatabaseId() { } } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -867,18 +945,22 @@ public java.lang.String getDatabaseId() {
      * 
* * string database_id = 9; + * * @param value The databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } databaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -887,6 +969,7 @@ public Builder setDatabaseId(
      * 
* * string database_id = 9; + * * @return This builder for chaining. */ public Builder clearDatabaseId() { @@ -896,6 +979,8 @@ public Builder clearDatabaseId() { return this; } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -904,12 +989,14 @@ public Builder clearDatabaseId() {
      * 
* * string database_id = 9; + * * @param value The bytes for databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); databaseId_ = value; bitField0_ |= 0x00000002; @@ -919,34 +1006,47 @@ public Builder setDatabaseIdBytes( private com.google.datastore.v1.ReadOptions readOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ReadOptions, com.google.datastore.v1.ReadOptions.Builder, com.google.datastore.v1.ReadOptionsOrBuilder> readOptionsBuilder_; + com.google.datastore.v1.ReadOptions, + com.google.datastore.v1.ReadOptions.Builder, + com.google.datastore.v1.ReadOptionsOrBuilder> + readOptionsBuilder_; /** + * + * *
      * The options for this lookup request.
      * 
* * .google.datastore.v1.ReadOptions read_options = 1; + * * @return Whether the readOptions field is set. */ public boolean hasReadOptions() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The options for this lookup request.
      * 
* * .google.datastore.v1.ReadOptions read_options = 1; + * * @return The readOptions. */ public com.google.datastore.v1.ReadOptions getReadOptions() { if (readOptionsBuilder_ == null) { - return readOptions_ == null ? com.google.datastore.v1.ReadOptions.getDefaultInstance() : readOptions_; + return readOptions_ == null + ? com.google.datastore.v1.ReadOptions.getDefaultInstance() + : readOptions_; } else { return readOptionsBuilder_.getMessage(); } } /** + * + * *
      * The options for this lookup request.
      * 
@@ -967,14 +1067,15 @@ public Builder setReadOptions(com.google.datastore.v1.ReadOptions value) { return this; } /** + * + * *
      * The options for this lookup request.
      * 
* * .google.datastore.v1.ReadOptions read_options = 1; */ - public Builder setReadOptions( - com.google.datastore.v1.ReadOptions.Builder builderForValue) { + public Builder setReadOptions(com.google.datastore.v1.ReadOptions.Builder builderForValue) { if (readOptionsBuilder_ == null) { readOptions_ = builderForValue.build(); } else { @@ -985,6 +1086,8 @@ public Builder setReadOptions( return this; } /** + * + * *
      * The options for this lookup request.
      * 
@@ -993,9 +1096,9 @@ public Builder setReadOptions( */ public Builder mergeReadOptions(com.google.datastore.v1.ReadOptions value) { if (readOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - readOptions_ != null && - readOptions_ != com.google.datastore.v1.ReadOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && readOptions_ != null + && readOptions_ != com.google.datastore.v1.ReadOptions.getDefaultInstance()) { getReadOptionsBuilder().mergeFrom(value); } else { readOptions_ = value; @@ -1010,6 +1113,8 @@ public Builder mergeReadOptions(com.google.datastore.v1.ReadOptions value) { return this; } /** + * + * *
      * The options for this lookup request.
      * 
@@ -1027,6 +1132,8 @@ public Builder clearReadOptions() { return this; } /** + * + * *
      * The options for this lookup request.
      * 
@@ -1039,6 +1146,8 @@ public com.google.datastore.v1.ReadOptions.Builder getReadOptionsBuilder() { return getReadOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * The options for this lookup request.
      * 
@@ -1049,11 +1158,14 @@ public com.google.datastore.v1.ReadOptionsOrBuilder getReadOptionsOrBuilder() { if (readOptionsBuilder_ != null) { return readOptionsBuilder_.getMessageOrBuilder(); } else { - return readOptions_ == null ? - com.google.datastore.v1.ReadOptions.getDefaultInstance() : readOptions_; + return readOptions_ == null + ? com.google.datastore.v1.ReadOptions.getDefaultInstance() + : readOptions_; } } /** + * + * *
      * The options for this lookup request.
      * 
@@ -1061,37 +1173,46 @@ public com.google.datastore.v1.ReadOptionsOrBuilder getReadOptionsOrBuilder() { * .google.datastore.v1.ReadOptions read_options = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ReadOptions, com.google.datastore.v1.ReadOptions.Builder, com.google.datastore.v1.ReadOptionsOrBuilder> + com.google.datastore.v1.ReadOptions, + com.google.datastore.v1.ReadOptions.Builder, + com.google.datastore.v1.ReadOptionsOrBuilder> getReadOptionsFieldBuilder() { if (readOptionsBuilder_ == null) { - readOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ReadOptions, com.google.datastore.v1.ReadOptions.Builder, com.google.datastore.v1.ReadOptionsOrBuilder>( - getReadOptions(), - getParentForChildren(), - isClean()); + readOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.ReadOptions, + com.google.datastore.v1.ReadOptions.Builder, + com.google.datastore.v1.ReadOptionsOrBuilder>( + getReadOptions(), getParentForChildren(), isClean()); readOptions_ = null; } return readOptionsBuilder_; } - private java.util.List keys_ = - java.util.Collections.emptyList(); + private java.util.List keys_ = java.util.Collections.emptyList(); + private void ensureKeysIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { keys_ = new java.util.ArrayList(keys_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> keysBuilder_; + com.google.datastore.v1.Key, + com.google.datastore.v1.Key.Builder, + com.google.datastore.v1.KeyOrBuilder> + keysBuilder_; /** + * + * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getKeysList() { if (keysBuilder_ == null) { @@ -1101,11 +1222,14 @@ public java.util.List getKeysList() { } } /** + * + * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getKeysCount() { if (keysBuilder_ == null) { @@ -1115,11 +1239,14 @@ public int getKeysCount() { } } /** + * + * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.datastore.v1.Key getKeys(int index) { if (keysBuilder_ == null) { @@ -1129,14 +1256,16 @@ public com.google.datastore.v1.Key getKeys(int index) { } } /** + * + * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setKeys( - int index, com.google.datastore.v1.Key value) { + public Builder setKeys(int index, com.google.datastore.v1.Key value) { if (keysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1150,14 +1279,16 @@ public Builder setKeys( return this; } /** + * + * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setKeys( - int index, com.google.datastore.v1.Key.Builder builderForValue) { + public Builder setKeys(int index, com.google.datastore.v1.Key.Builder builderForValue) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.set(index, builderForValue.build()); @@ -1168,11 +1299,14 @@ public Builder setKeys( return this; } /** + * + * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addKeys(com.google.datastore.v1.Key value) { if (keysBuilder_ == null) { @@ -1188,14 +1322,16 @@ public Builder addKeys(com.google.datastore.v1.Key value) { return this; } /** + * + * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addKeys( - int index, com.google.datastore.v1.Key value) { + public Builder addKeys(int index, com.google.datastore.v1.Key value) { if (keysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1209,14 +1345,16 @@ public Builder addKeys( return this; } /** + * + * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addKeys( - com.google.datastore.v1.Key.Builder builderForValue) { + public Builder addKeys(com.google.datastore.v1.Key.Builder builderForValue) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.add(builderForValue.build()); @@ -1227,14 +1365,16 @@ public Builder addKeys( return this; } /** + * + * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addKeys( - int index, com.google.datastore.v1.Key.Builder builderForValue) { + public Builder addKeys(int index, com.google.datastore.v1.Key.Builder builderForValue) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.add(index, builderForValue.build()); @@ -1245,18 +1385,19 @@ public Builder addKeys( return this; } /** + * + * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addAllKeys( - java.lang.Iterable values) { + public Builder addAllKeys(java.lang.Iterable values) { if (keysBuilder_ == null) { ensureKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, keys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, keys_); onChanged(); } else { keysBuilder_.addAllMessages(values); @@ -1264,11 +1405,14 @@ public Builder addAllKeys( return this; } /** + * + * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearKeys() { if (keysBuilder_ == null) { @@ -1281,11 +1425,14 @@ public Builder clearKeys() { return this; } /** + * + * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeKeys(int index) { if (keysBuilder_ == null) { @@ -1298,39 +1445,46 @@ public Builder removeKeys(int index) { return this; } /** + * + * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.datastore.v1.Key.Builder getKeysBuilder( - int index) { + public com.google.datastore.v1.Key.Builder getKeysBuilder(int index) { return getKeysFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder( - int index) { + public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(int index) { if (keysBuilder_ == null) { - return keys_.get(index); } else { + return keys_.get(index); + } else { return keysBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getKeysOrBuilderList() { + public java.util.List getKeysOrBuilderList() { if (keysBuilder_ != null) { return keysBuilder_.getMessageOrBuilderList(); } else { @@ -1338,56 +1492,65 @@ public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder( } } /** + * + * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.datastore.v1.Key.Builder addKeysBuilder() { - return getKeysFieldBuilder().addBuilder( - com.google.datastore.v1.Key.getDefaultInstance()); + return getKeysFieldBuilder().addBuilder(com.google.datastore.v1.Key.getDefaultInstance()); } /** + * + * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.datastore.v1.Key.Builder addKeysBuilder( - int index) { - return getKeysFieldBuilder().addBuilder( - index, com.google.datastore.v1.Key.getDefaultInstance()); + public com.google.datastore.v1.Key.Builder addKeysBuilder(int index) { + return getKeysFieldBuilder() + .addBuilder(index, com.google.datastore.v1.Key.getDefaultInstance()); } /** + * + * *
      * Required. Keys of entities to look up.
      * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getKeysBuilderList() { + public java.util.List getKeysBuilderList() { return getKeysFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> + com.google.datastore.v1.Key, + com.google.datastore.v1.Key.Builder, + com.google.datastore.v1.KeyOrBuilder> getKeysFieldBuilder() { if (keysBuilder_ == null) { - keysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder>( - keys_, - ((bitField0_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); + keysBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.datastore.v1.Key, + com.google.datastore.v1.Key.Builder, + com.google.datastore.v1.KeyOrBuilder>( + keys_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); keys_ = null; } return keysBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1397,12 +1560,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.v1.LookupRequest) } // @@protoc_insertion_point(class_scope:google.datastore.v1.LookupRequest) private static final com.google.datastore.v1.LookupRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.v1.LookupRequest(); } @@ -1411,27 +1574,27 @@ public static com.google.datastore.v1.LookupRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LookupRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LookupRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1446,6 +1609,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.LookupRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupRequestOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupRequestOrBuilder.java similarity index 69% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupRequestOrBuilder.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupRequestOrBuilder.java index 804dfaeb8..82fe24661 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupRequestOrBuilder.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupRequestOrBuilder.java @@ -1,34 +1,57 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface LookupRequestOrBuilder extends +public interface LookupRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.LookupRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -37,10 +60,13 @@ public interface LookupRequestOrBuilder extends
    * 
* * string database_id = 9; + * * @return The databaseId. */ java.lang.String getDatabaseId(); /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -49,30 +75,38 @@ public interface LookupRequestOrBuilder extends
    * 
* * string database_id = 9; + * * @return The bytes for databaseId. */ - com.google.protobuf.ByteString - getDatabaseIdBytes(); + com.google.protobuf.ByteString getDatabaseIdBytes(); /** + * + * *
    * The options for this lookup request.
    * 
* * .google.datastore.v1.ReadOptions read_options = 1; + * * @return Whether the readOptions field is set. */ boolean hasReadOptions(); /** + * + * *
    * The options for this lookup request.
    * 
* * .google.datastore.v1.ReadOptions read_options = 1; + * * @return The readOptions. */ com.google.datastore.v1.ReadOptions getReadOptions(); /** + * + * *
    * The options for this lookup request.
    * 
@@ -82,46 +116,58 @@ public interface LookupRequestOrBuilder extends com.google.datastore.v1.ReadOptionsOrBuilder getReadOptionsOrBuilder(); /** + * + * *
    * Required. Keys of entities to look up.
    * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getKeysList(); + java.util.List getKeysList(); /** + * + * *
    * Required. Keys of entities to look up.
    * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.datastore.v1.Key getKeys(int index); /** + * + * *
    * Required. Keys of entities to look up.
    * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ int getKeysCount(); /** + * + * *
    * Required. Keys of entities to look up.
    * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getKeysOrBuilderList(); + java.util.List getKeysOrBuilderList(); /** + * + * *
    * Required. Keys of entities to look up.
    * 
* - * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 3 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder( - int index); + com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupResponse.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupResponse.java similarity index 79% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupResponse.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupResponse.java index 89208df09..6b56e1025 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupResponse.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupResponse.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto @@ -5,21 +20,24 @@ package com.google.datastore.v1; /** + * + * *
  * The response for [Datastore.Lookup][google.datastore.v1.Datastore.Lookup].
  * 
* * Protobuf type {@code google.datastore.v1.LookupResponse} */ -public final class LookupResponse extends - com.google.protobuf.GeneratedMessageV3 implements +public final class LookupResponse extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.datastore.v1.LookupResponse) LookupResponseOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use LookupResponse.newBuilder() to construct. private LookupResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private LookupResponse() { found_ = java.util.Collections.emptyList(); missing_ = java.util.Collections.emptyList(); @@ -29,29 +47,33 @@ private LookupResponse() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new LookupResponse(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_LookupResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_LookupResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_LookupResponse_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_LookupResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.LookupResponse.class, com.google.datastore.v1.LookupResponse.Builder.class); + com.google.datastore.v1.LookupResponse.class, + com.google.datastore.v1.LookupResponse.Builder.class); } private int bitField0_; public static final int FOUND_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List found_; /** + * + * *
    * Entities found as `ResultType.FULL` entities. The order of results in this
    * field is undefined and has no relation to the order of the keys in the
@@ -65,6 +87,8 @@ public java.util.List getFoundList() {
     return found_;
   }
   /**
+   *
+   *
    * 
    * Entities found as `ResultType.FULL` entities. The order of results in this
    * field is undefined and has no relation to the order of the keys in the
@@ -74,11 +98,13 @@ public java.util.List getFoundList() {
    * repeated .google.datastore.v1.EntityResult found = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getFoundOrBuilderList() {
     return found_;
   }
   /**
+   *
+   *
    * 
    * Entities found as `ResultType.FULL` entities. The order of results in this
    * field is undefined and has no relation to the order of the keys in the
@@ -92,6 +118,8 @@ public int getFoundCount() {
     return found_.size();
   }
   /**
+   *
+   *
    * 
    * Entities found as `ResultType.FULL` entities. The order of results in this
    * field is undefined and has no relation to the order of the keys in the
@@ -105,6 +133,8 @@ public com.google.datastore.v1.EntityResult getFound(int index) {
     return found_.get(index);
   }
   /**
+   *
+   *
    * 
    * Entities found as `ResultType.FULL` entities. The order of results in this
    * field is undefined and has no relation to the order of the keys in the
@@ -114,15 +144,17 @@ public com.google.datastore.v1.EntityResult getFound(int index) {
    * repeated .google.datastore.v1.EntityResult found = 1;
    */
   @java.lang.Override
-  public com.google.datastore.v1.EntityResultOrBuilder getFoundOrBuilder(
-      int index) {
+  public com.google.datastore.v1.EntityResultOrBuilder getFoundOrBuilder(int index) {
     return found_.get(index);
   }
 
   public static final int MISSING_FIELD_NUMBER = 2;
+
   @SuppressWarnings("serial")
   private java.util.List missing_;
   /**
+   *
+   *
    * 
    * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
    * in this field is undefined and has no relation to the order of the keys
@@ -136,6 +168,8 @@ public java.util.List getMissingList() {
     return missing_;
   }
   /**
+   *
+   *
    * 
    * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
    * in this field is undefined and has no relation to the order of the keys
@@ -145,11 +179,13 @@ public java.util.List getMissingList() {
    * repeated .google.datastore.v1.EntityResult missing = 2;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getMissingOrBuilderList() {
     return missing_;
   }
   /**
+   *
+   *
    * 
    * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
    * in this field is undefined and has no relation to the order of the keys
@@ -163,6 +199,8 @@ public int getMissingCount() {
     return missing_.size();
   }
   /**
+   *
+   *
    * 
    * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
    * in this field is undefined and has no relation to the order of the keys
@@ -176,6 +214,8 @@ public com.google.datastore.v1.EntityResult getMissing(int index) {
     return missing_.get(index);
   }
   /**
+   *
+   *
    * 
    * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
    * in this field is undefined and has no relation to the order of the keys
@@ -185,15 +225,17 @@ public com.google.datastore.v1.EntityResult getMissing(int index) {
    * repeated .google.datastore.v1.EntityResult missing = 2;
    */
   @java.lang.Override
-  public com.google.datastore.v1.EntityResultOrBuilder getMissingOrBuilder(
-      int index) {
+  public com.google.datastore.v1.EntityResultOrBuilder getMissingOrBuilder(int index) {
     return missing_.get(index);
   }
 
   public static final int DEFERRED_FIELD_NUMBER = 3;
+
   @SuppressWarnings("serial")
   private java.util.List deferred_;
   /**
+   *
+   *
    * 
    * A list of keys that were not looked up due to resource constraints. The
    * order of results in this field is undefined and has no relation to the
@@ -207,6 +249,8 @@ public java.util.List getDeferredList() {
     return deferred_;
   }
   /**
+   *
+   *
    * 
    * A list of keys that were not looked up due to resource constraints. The
    * order of results in this field is undefined and has no relation to the
@@ -216,11 +260,12 @@ public java.util.List getDeferredList() {
    * repeated .google.datastore.v1.Key deferred = 3;
    */
   @java.lang.Override
-  public java.util.List 
-      getDeferredOrBuilderList() {
+  public java.util.List getDeferredOrBuilderList() {
     return deferred_;
   }
   /**
+   *
+   *
    * 
    * A list of keys that were not looked up due to resource constraints. The
    * order of results in this field is undefined and has no relation to the
@@ -234,6 +279,8 @@ public int getDeferredCount() {
     return deferred_.size();
   }
   /**
+   *
+   *
    * 
    * A list of keys that were not looked up due to resource constraints. The
    * order of results in this field is undefined and has no relation to the
@@ -247,6 +294,8 @@ public com.google.datastore.v1.Key getDeferred(int index) {
     return deferred_.get(index);
   }
   /**
+   *
+   *
    * 
    * A list of keys that were not looked up due to resource constraints. The
    * order of results in this field is undefined and has no relation to the
@@ -256,14 +305,15 @@ public com.google.datastore.v1.Key getDeferred(int index) {
    * repeated .google.datastore.v1.Key deferred = 3;
    */
   @java.lang.Override
-  public com.google.datastore.v1.KeyOrBuilder getDeferredOrBuilder(
-      int index) {
+  public com.google.datastore.v1.KeyOrBuilder getDeferredOrBuilder(int index) {
     return deferred_.get(index);
   }
 
   public static final int TRANSACTION_FIELD_NUMBER = 5;
   private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY;
   /**
+   *
+   *
    * 
    * The identifier of the transaction that was started as part of this Lookup
    * request.
@@ -275,6 +325,7 @@ public com.google.datastore.v1.KeyOrBuilder getDeferredOrBuilder(
    * 
* * bytes transaction = 5; + * * @return The transaction. */ @java.lang.Override @@ -285,11 +336,14 @@ public com.google.protobuf.ByteString getTransaction() { public static final int READ_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp readTime_; /** + * + * *
    * The time at which these entities were read or found missing.
    * 
* * .google.protobuf.Timestamp read_time = 7; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -297,11 +351,14 @@ public boolean hasReadTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The time at which these entities were read or found missing.
    * 
* * .google.protobuf.Timestamp read_time = 7; + * * @return The readTime. */ @java.lang.Override @@ -309,6 +366,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * The time at which these entities were read or found missing.
    * 
@@ -321,6 +380,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -332,8 +392,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 < found_.size(); i++) { output.writeMessage(1, found_.get(i)); } @@ -359,24 +418,19 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < found_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, found_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, found_.get(i)); } for (int i = 0; i < missing_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, missing_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, missing_.get(i)); } for (int i = 0; i < deferred_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, deferred_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, deferred_.get(i)); } if (!transaction_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(5, transaction_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, transaction_); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getReadTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getReadTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -386,25 +440,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.datastore.v1.LookupResponse)) { return super.equals(obj); } com.google.datastore.v1.LookupResponse other = (com.google.datastore.v1.LookupResponse) obj; - if (!getFoundList() - .equals(other.getFoundList())) return false; - if (!getMissingList() - .equals(other.getMissingList())) return false; - if (!getDeferredList() - .equals(other.getDeferredList())) return false; - if (!getTransaction() - .equals(other.getTransaction())) return false; + if (!getFoundList().equals(other.getFoundList())) return false; + if (!getMissingList().equals(other.getMissingList())) return false; + if (!getDeferredList().equals(other.getDeferredList())) 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; @@ -440,120 +489,127 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.LookupResponse parseFrom( - java.nio.ByteBuffer data) + public static com.google.datastore.v1.LookupResponse parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.LookupResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.LookupResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.LookupResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.LookupResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.LookupResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.LookupResponse parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.LookupResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.datastore.v1.LookupResponse 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.datastore.v1.LookupResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.datastore.v1.LookupResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.LookupResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.datastore.v1.LookupResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 [Datastore.Lookup][google.datastore.v1.Datastore.Lookup].
    * 
* * Protobuf type {@code google.datastore.v1.LookupResponse} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.LookupResponse) com.google.datastore.v1.LookupResponseOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_LookupResponse_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_LookupResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_LookupResponse_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_LookupResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.LookupResponse.class, com.google.datastore.v1.LookupResponse.Builder.class); + com.google.datastore.v1.LookupResponse.class, + com.google.datastore.v1.LookupResponse.Builder.class); } // Construct using com.google.datastore.v1.LookupResponse.newBuilder() @@ -561,20 +617,20 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getFoundFieldBuilder(); getMissingFieldBuilder(); getDeferredFieldBuilder(); getReadTimeFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -610,9 +666,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_LookupResponse_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_LookupResponse_descriptor; } @java.lang.Override @@ -631,9 +687,12 @@ public com.google.datastore.v1.LookupResponse build() { @java.lang.Override public com.google.datastore.v1.LookupResponse buildPartial() { - com.google.datastore.v1.LookupResponse result = new com.google.datastore.v1.LookupResponse(this); + com.google.datastore.v1.LookupResponse result = + new com.google.datastore.v1.LookupResponse(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -675,9 +734,7 @@ private void buildPartial0(com.google.datastore.v1.LookupResponse result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000010) != 0)) { - result.readTime_ = readTimeBuilder_ == null - ? readTime_ - : readTimeBuilder_.build(); + result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -687,38 +744,39 @@ private void buildPartial0(com.google.datastore.v1.LookupResponse result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.LookupResponse) { - return mergeFrom((com.google.datastore.v1.LookupResponse)other); + return mergeFrom((com.google.datastore.v1.LookupResponse) other); } else { super.mergeFrom(other); return this; @@ -745,9 +803,10 @@ public Builder mergeFrom(com.google.datastore.v1.LookupResponse other) { foundBuilder_ = null; found_ = other.found_; bitField0_ = (bitField0_ & ~0x00000001); - foundBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getFoundFieldBuilder() : null; + foundBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFoundFieldBuilder() + : null; } else { foundBuilder_.addAllMessages(other.found_); } @@ -771,9 +830,10 @@ public Builder mergeFrom(com.google.datastore.v1.LookupResponse other) { missingBuilder_ = null; missing_ = other.missing_; bitField0_ = (bitField0_ & ~0x00000002); - missingBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getMissingFieldBuilder() : null; + missingBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getMissingFieldBuilder() + : null; } else { missingBuilder_.addAllMessages(other.missing_); } @@ -797,9 +857,10 @@ public Builder mergeFrom(com.google.datastore.v1.LookupResponse other) { deferredBuilder_ = null; deferred_ = other.deferred_; bitField0_ = (bitField0_ & ~0x00000004); - deferredBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDeferredFieldBuilder() : null; + deferredBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDeferredFieldBuilder() + : null; } else { deferredBuilder_.addAllMessages(other.deferred_); } @@ -837,63 +898,63 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.datastore.v1.EntityResult m = - input.readMessage( - com.google.datastore.v1.EntityResult.parser(), - extensionRegistry); - if (foundBuilder_ == null) { - ensureFoundIsMutable(); - found_.add(m); - } else { - foundBuilder_.addMessage(m); - } - break; - } // case 10 - case 18: { - com.google.datastore.v1.EntityResult m = - input.readMessage( - com.google.datastore.v1.EntityResult.parser(), - extensionRegistry); - if (missingBuilder_ == null) { - ensureMissingIsMutable(); - missing_.add(m); - } else { - missingBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: { - com.google.datastore.v1.Key m = - input.readMessage( - com.google.datastore.v1.Key.parser(), - extensionRegistry); - if (deferredBuilder_ == null) { - ensureDeferredIsMutable(); - deferred_.add(m); - } else { - deferredBuilder_.addMessage(m); - } - break; - } // case 26 - case 42: { - transaction_ = input.readBytes(); - bitField0_ |= 0x00000008; - break; - } // case 42 - case 58: { - input.readMessage( - getReadTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000010; - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.datastore.v1.EntityResult m = + input.readMessage( + com.google.datastore.v1.EntityResult.parser(), extensionRegistry); + if (foundBuilder_ == null) { + ensureFoundIsMutable(); + found_.add(m); + } else { + foundBuilder_.addMessage(m); + } + break; + } // case 10 + case 18: + { + com.google.datastore.v1.EntityResult m = + input.readMessage( + com.google.datastore.v1.EntityResult.parser(), extensionRegistry); + if (missingBuilder_ == null) { + ensureMissingIsMutable(); + missing_.add(m); + } else { + missingBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: + { + com.google.datastore.v1.Key m = + input.readMessage(com.google.datastore.v1.Key.parser(), extensionRegistry); + if (deferredBuilder_ == null) { + ensureDeferredIsMutable(); + deferred_.add(m); + } else { + deferredBuilder_.addMessage(m); + } + break; + } // case 26 + case 42: + { + transaction_ = input.readBytes(); + bitField0_ |= 0x00000008; + break; + } // case 42 + case 58: + { + input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000010; + 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) { @@ -903,21 +964,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List found_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureFoundIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { found_ = new java.util.ArrayList(found_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.EntityResult, com.google.datastore.v1.EntityResult.Builder, com.google.datastore.v1.EntityResultOrBuilder> foundBuilder_; + com.google.datastore.v1.EntityResult, + com.google.datastore.v1.EntityResult.Builder, + com.google.datastore.v1.EntityResultOrBuilder> + foundBuilder_; /** + * + * *
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -934,6 +1002,8 @@ public java.util.List getFoundList() {
       }
     }
     /**
+     *
+     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -950,6 +1020,8 @@ public int getFoundCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -966,6 +1038,8 @@ public com.google.datastore.v1.EntityResult getFound(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -974,8 +1048,7 @@ public com.google.datastore.v1.EntityResult getFound(int index) {
      *
      * repeated .google.datastore.v1.EntityResult found = 1;
      */
-    public Builder setFound(
-        int index, com.google.datastore.v1.EntityResult value) {
+    public Builder setFound(int index, com.google.datastore.v1.EntityResult value) {
       if (foundBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -989,6 +1062,8 @@ public Builder setFound(
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1009,6 +1084,8 @@ public Builder setFound(
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1031,6 +1108,8 @@ public Builder addFound(com.google.datastore.v1.EntityResult value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1039,8 +1118,7 @@ public Builder addFound(com.google.datastore.v1.EntityResult value) {
      *
      * repeated .google.datastore.v1.EntityResult found = 1;
      */
-    public Builder addFound(
-        int index, com.google.datastore.v1.EntityResult value) {
+    public Builder addFound(int index, com.google.datastore.v1.EntityResult value) {
       if (foundBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1054,6 +1132,8 @@ public Builder addFound(
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1062,8 +1142,7 @@ public Builder addFound(
      *
      * repeated .google.datastore.v1.EntityResult found = 1;
      */
-    public Builder addFound(
-        com.google.datastore.v1.EntityResult.Builder builderForValue) {
+    public Builder addFound(com.google.datastore.v1.EntityResult.Builder builderForValue) {
       if (foundBuilder_ == null) {
         ensureFoundIsMutable();
         found_.add(builderForValue.build());
@@ -1074,6 +1153,8 @@ public Builder addFound(
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1094,6 +1175,8 @@ public Builder addFound(
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1106,8 +1189,7 @@ public Builder addAllFound(
         java.lang.Iterable values) {
       if (foundBuilder_ == null) {
         ensureFoundIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, found_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, found_);
         onChanged();
       } else {
         foundBuilder_.addAllMessages(values);
@@ -1115,6 +1197,8 @@ public Builder addAllFound(
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1134,6 +1218,8 @@ public Builder clearFound() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1153,6 +1239,8 @@ public Builder removeFound(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1161,11 +1249,12 @@ public Builder removeFound(int index) {
      *
      * repeated .google.datastore.v1.EntityResult found = 1;
      */
-    public com.google.datastore.v1.EntityResult.Builder getFoundBuilder(
-        int index) {
+    public com.google.datastore.v1.EntityResult.Builder getFoundBuilder(int index) {
       return getFoundFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1174,14 +1263,16 @@ public com.google.datastore.v1.EntityResult.Builder getFoundBuilder(
      *
      * repeated .google.datastore.v1.EntityResult found = 1;
      */
-    public com.google.datastore.v1.EntityResultOrBuilder getFoundOrBuilder(
-        int index) {
+    public com.google.datastore.v1.EntityResultOrBuilder getFoundOrBuilder(int index) {
       if (foundBuilder_ == null) {
-        return found_.get(index);  } else {
+        return found_.get(index);
+      } else {
         return foundBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1190,8 +1281,8 @@ public com.google.datastore.v1.EntityResultOrBuilder getFoundOrBuilder(
      *
      * repeated .google.datastore.v1.EntityResult found = 1;
      */
-    public java.util.List 
-         getFoundOrBuilderList() {
+    public java.util.List
+        getFoundOrBuilderList() {
       if (foundBuilder_ != null) {
         return foundBuilder_.getMessageOrBuilderList();
       } else {
@@ -1199,6 +1290,8 @@ public com.google.datastore.v1.EntityResultOrBuilder getFoundOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1208,10 +1301,12 @@ public com.google.datastore.v1.EntityResultOrBuilder getFoundOrBuilder(
      * repeated .google.datastore.v1.EntityResult found = 1;
      */
     public com.google.datastore.v1.EntityResult.Builder addFoundBuilder() {
-      return getFoundFieldBuilder().addBuilder(
-          com.google.datastore.v1.EntityResult.getDefaultInstance());
+      return getFoundFieldBuilder()
+          .addBuilder(com.google.datastore.v1.EntityResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1220,12 +1315,13 @@ public com.google.datastore.v1.EntityResult.Builder addFoundBuilder() {
      *
      * repeated .google.datastore.v1.EntityResult found = 1;
      */
-    public com.google.datastore.v1.EntityResult.Builder addFoundBuilder(
-        int index) {
-      return getFoundFieldBuilder().addBuilder(
-          index, com.google.datastore.v1.EntityResult.getDefaultInstance());
+    public com.google.datastore.v1.EntityResult.Builder addFoundBuilder(int index) {
+      return getFoundFieldBuilder()
+          .addBuilder(index, com.google.datastore.v1.EntityResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Entities found as `ResultType.FULL` entities. The order of results in this
      * field is undefined and has no relation to the order of the keys in the
@@ -1234,38 +1330,46 @@ public com.google.datastore.v1.EntityResult.Builder addFoundBuilder(
      *
      * repeated .google.datastore.v1.EntityResult found = 1;
      */
-    public java.util.List 
-         getFoundBuilderList() {
+    public java.util.List getFoundBuilderList() {
       return getFoundFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.datastore.v1.EntityResult, com.google.datastore.v1.EntityResult.Builder, com.google.datastore.v1.EntityResultOrBuilder> 
+            com.google.datastore.v1.EntityResult,
+            com.google.datastore.v1.EntityResult.Builder,
+            com.google.datastore.v1.EntityResultOrBuilder>
         getFoundFieldBuilder() {
       if (foundBuilder_ == null) {
-        foundBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.datastore.v1.EntityResult, com.google.datastore.v1.EntityResult.Builder, com.google.datastore.v1.EntityResultOrBuilder>(
-                found_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        foundBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.datastore.v1.EntityResult,
+                com.google.datastore.v1.EntityResult.Builder,
+                com.google.datastore.v1.EntityResultOrBuilder>(
+                found_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         found_ = null;
       }
       return foundBuilder_;
     }
 
     private java.util.List missing_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureMissingIsMutable() {
       if (!((bitField0_ & 0x00000002) != 0)) {
         missing_ = new java.util.ArrayList(missing_);
         bitField0_ |= 0x00000002;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.datastore.v1.EntityResult, com.google.datastore.v1.EntityResult.Builder, com.google.datastore.v1.EntityResultOrBuilder> missingBuilder_;
+            com.google.datastore.v1.EntityResult,
+            com.google.datastore.v1.EntityResult.Builder,
+            com.google.datastore.v1.EntityResultOrBuilder>
+        missingBuilder_;
 
     /**
+     *
+     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1282,6 +1386,8 @@ public java.util.List getMissingList() {
       }
     }
     /**
+     *
+     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1298,6 +1404,8 @@ public int getMissingCount() {
       }
     }
     /**
+     *
+     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1314,6 +1422,8 @@ public com.google.datastore.v1.EntityResult getMissing(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1322,8 +1432,7 @@ public com.google.datastore.v1.EntityResult getMissing(int index) {
      *
      * repeated .google.datastore.v1.EntityResult missing = 2;
      */
-    public Builder setMissing(
-        int index, com.google.datastore.v1.EntityResult value) {
+    public Builder setMissing(int index, com.google.datastore.v1.EntityResult value) {
       if (missingBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1337,6 +1446,8 @@ public Builder setMissing(
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1357,6 +1468,8 @@ public Builder setMissing(
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1379,6 +1492,8 @@ public Builder addMissing(com.google.datastore.v1.EntityResult value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1387,8 +1502,7 @@ public Builder addMissing(com.google.datastore.v1.EntityResult value) {
      *
      * repeated .google.datastore.v1.EntityResult missing = 2;
      */
-    public Builder addMissing(
-        int index, com.google.datastore.v1.EntityResult value) {
+    public Builder addMissing(int index, com.google.datastore.v1.EntityResult value) {
       if (missingBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1402,6 +1516,8 @@ public Builder addMissing(
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1410,8 +1526,7 @@ public Builder addMissing(
      *
      * repeated .google.datastore.v1.EntityResult missing = 2;
      */
-    public Builder addMissing(
-        com.google.datastore.v1.EntityResult.Builder builderForValue) {
+    public Builder addMissing(com.google.datastore.v1.EntityResult.Builder builderForValue) {
       if (missingBuilder_ == null) {
         ensureMissingIsMutable();
         missing_.add(builderForValue.build());
@@ -1422,6 +1537,8 @@ public Builder addMissing(
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1442,6 +1559,8 @@ public Builder addMissing(
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1454,8 +1573,7 @@ public Builder addAllMissing(
         java.lang.Iterable values) {
       if (missingBuilder_ == null) {
         ensureMissingIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, missing_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, missing_);
         onChanged();
       } else {
         missingBuilder_.addAllMessages(values);
@@ -1463,6 +1581,8 @@ public Builder addAllMissing(
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1482,6 +1602,8 @@ public Builder clearMissing() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1501,6 +1623,8 @@ public Builder removeMissing(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1509,11 +1633,12 @@ public Builder removeMissing(int index) {
      *
      * repeated .google.datastore.v1.EntityResult missing = 2;
      */
-    public com.google.datastore.v1.EntityResult.Builder getMissingBuilder(
-        int index) {
+    public com.google.datastore.v1.EntityResult.Builder getMissingBuilder(int index) {
       return getMissingFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1522,14 +1647,16 @@ public com.google.datastore.v1.EntityResult.Builder getMissingBuilder(
      *
      * repeated .google.datastore.v1.EntityResult missing = 2;
      */
-    public com.google.datastore.v1.EntityResultOrBuilder getMissingOrBuilder(
-        int index) {
+    public com.google.datastore.v1.EntityResultOrBuilder getMissingOrBuilder(int index) {
       if (missingBuilder_ == null) {
-        return missing_.get(index);  } else {
+        return missing_.get(index);
+      } else {
         return missingBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1538,8 +1665,8 @@ public com.google.datastore.v1.EntityResultOrBuilder getMissingOrBuilder(
      *
      * repeated .google.datastore.v1.EntityResult missing = 2;
      */
-    public java.util.List 
-         getMissingOrBuilderList() {
+    public java.util.List
+        getMissingOrBuilderList() {
       if (missingBuilder_ != null) {
         return missingBuilder_.getMessageOrBuilderList();
       } else {
@@ -1547,6 +1674,8 @@ public com.google.datastore.v1.EntityResultOrBuilder getMissingOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1556,10 +1685,12 @@ public com.google.datastore.v1.EntityResultOrBuilder getMissingOrBuilder(
      * repeated .google.datastore.v1.EntityResult missing = 2;
      */
     public com.google.datastore.v1.EntityResult.Builder addMissingBuilder() {
-      return getMissingFieldBuilder().addBuilder(
-          com.google.datastore.v1.EntityResult.getDefaultInstance());
+      return getMissingFieldBuilder()
+          .addBuilder(com.google.datastore.v1.EntityResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1568,12 +1699,13 @@ public com.google.datastore.v1.EntityResult.Builder addMissingBuilder() {
      *
      * repeated .google.datastore.v1.EntityResult missing = 2;
      */
-    public com.google.datastore.v1.EntityResult.Builder addMissingBuilder(
-        int index) {
-      return getMissingFieldBuilder().addBuilder(
-          index, com.google.datastore.v1.EntityResult.getDefaultInstance());
+    public com.google.datastore.v1.EntityResult.Builder addMissingBuilder(int index) {
+      return getMissingFieldBuilder()
+          .addBuilder(index, com.google.datastore.v1.EntityResult.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
      * in this field is undefined and has no relation to the order of the keys
@@ -1582,38 +1714,46 @@ public com.google.datastore.v1.EntityResult.Builder addMissingBuilder(
      *
      * repeated .google.datastore.v1.EntityResult missing = 2;
      */
-    public java.util.List 
-         getMissingBuilderList() {
+    public java.util.List getMissingBuilderList() {
       return getMissingFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.datastore.v1.EntityResult, com.google.datastore.v1.EntityResult.Builder, com.google.datastore.v1.EntityResultOrBuilder> 
+            com.google.datastore.v1.EntityResult,
+            com.google.datastore.v1.EntityResult.Builder,
+            com.google.datastore.v1.EntityResultOrBuilder>
         getMissingFieldBuilder() {
       if (missingBuilder_ == null) {
-        missingBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.datastore.v1.EntityResult, com.google.datastore.v1.EntityResult.Builder, com.google.datastore.v1.EntityResultOrBuilder>(
-                missing_,
-                ((bitField0_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        missingBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.datastore.v1.EntityResult,
+                com.google.datastore.v1.EntityResult.Builder,
+                com.google.datastore.v1.EntityResultOrBuilder>(
+                missing_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
         missing_ = null;
       }
       return missingBuilder_;
     }
 
     private java.util.List deferred_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureDeferredIsMutable() {
       if (!((bitField0_ & 0x00000004) != 0)) {
         deferred_ = new java.util.ArrayList(deferred_);
         bitField0_ |= 0x00000004;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> deferredBuilder_;
+            com.google.datastore.v1.Key,
+            com.google.datastore.v1.Key.Builder,
+            com.google.datastore.v1.KeyOrBuilder>
+        deferredBuilder_;
 
     /**
+     *
+     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -1630,6 +1770,8 @@ public java.util.List getDeferredList() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -1646,6 +1788,8 @@ public int getDeferredCount() {
       }
     }
     /**
+     *
+     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -1662,6 +1806,8 @@ public com.google.datastore.v1.Key getDeferred(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -1670,8 +1816,7 @@ public com.google.datastore.v1.Key getDeferred(int index) {
      *
      * repeated .google.datastore.v1.Key deferred = 3;
      */
-    public Builder setDeferred(
-        int index, com.google.datastore.v1.Key value) {
+    public Builder setDeferred(int index, com.google.datastore.v1.Key value) {
       if (deferredBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1685,6 +1830,8 @@ public Builder setDeferred(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -1693,8 +1840,7 @@ public Builder setDeferred(
      *
      * repeated .google.datastore.v1.Key deferred = 3;
      */
-    public Builder setDeferred(
-        int index, com.google.datastore.v1.Key.Builder builderForValue) {
+    public Builder setDeferred(int index, com.google.datastore.v1.Key.Builder builderForValue) {
       if (deferredBuilder_ == null) {
         ensureDeferredIsMutable();
         deferred_.set(index, builderForValue.build());
@@ -1705,6 +1851,8 @@ public Builder setDeferred(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -1727,6 +1875,8 @@ public Builder addDeferred(com.google.datastore.v1.Key value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -1735,8 +1885,7 @@ public Builder addDeferred(com.google.datastore.v1.Key value) {
      *
      * repeated .google.datastore.v1.Key deferred = 3;
      */
-    public Builder addDeferred(
-        int index, com.google.datastore.v1.Key value) {
+    public Builder addDeferred(int index, com.google.datastore.v1.Key value) {
       if (deferredBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1750,6 +1899,8 @@ public Builder addDeferred(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -1758,8 +1909,7 @@ public Builder addDeferred(
      *
      * repeated .google.datastore.v1.Key deferred = 3;
      */
-    public Builder addDeferred(
-        com.google.datastore.v1.Key.Builder builderForValue) {
+    public Builder addDeferred(com.google.datastore.v1.Key.Builder builderForValue) {
       if (deferredBuilder_ == null) {
         ensureDeferredIsMutable();
         deferred_.add(builderForValue.build());
@@ -1770,6 +1920,8 @@ public Builder addDeferred(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -1778,8 +1930,7 @@ public Builder addDeferred(
      *
      * repeated .google.datastore.v1.Key deferred = 3;
      */
-    public Builder addDeferred(
-        int index, com.google.datastore.v1.Key.Builder builderForValue) {
+    public Builder addDeferred(int index, com.google.datastore.v1.Key.Builder builderForValue) {
       if (deferredBuilder_ == null) {
         ensureDeferredIsMutable();
         deferred_.add(index, builderForValue.build());
@@ -1790,6 +1941,8 @@ public Builder addDeferred(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -1802,8 +1955,7 @@ public Builder addAllDeferred(
         java.lang.Iterable values) {
       if (deferredBuilder_ == null) {
         ensureDeferredIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, deferred_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, deferred_);
         onChanged();
       } else {
         deferredBuilder_.addAllMessages(values);
@@ -1811,6 +1963,8 @@ public Builder addAllDeferred(
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -1830,6 +1984,8 @@ public Builder clearDeferred() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -1849,6 +2005,8 @@ public Builder removeDeferred(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -1857,11 +2015,12 @@ public Builder removeDeferred(int index) {
      *
      * repeated .google.datastore.v1.Key deferred = 3;
      */
-    public com.google.datastore.v1.Key.Builder getDeferredBuilder(
-        int index) {
+    public com.google.datastore.v1.Key.Builder getDeferredBuilder(int index) {
       return getDeferredFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -1870,14 +2029,16 @@ public com.google.datastore.v1.Key.Builder getDeferredBuilder(
      *
      * repeated .google.datastore.v1.Key deferred = 3;
      */
-    public com.google.datastore.v1.KeyOrBuilder getDeferredOrBuilder(
-        int index) {
+    public com.google.datastore.v1.KeyOrBuilder getDeferredOrBuilder(int index) {
       if (deferredBuilder_ == null) {
-        return deferred_.get(index);  } else {
+        return deferred_.get(index);
+      } else {
         return deferredBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -1886,8 +2047,8 @@ public com.google.datastore.v1.KeyOrBuilder getDeferredOrBuilder(
      *
      * repeated .google.datastore.v1.Key deferred = 3;
      */
-    public java.util.List 
-         getDeferredOrBuilderList() {
+    public java.util.List
+        getDeferredOrBuilderList() {
       if (deferredBuilder_ != null) {
         return deferredBuilder_.getMessageOrBuilderList();
       } else {
@@ -1895,6 +2056,8 @@ public com.google.datastore.v1.KeyOrBuilder getDeferredOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -1904,10 +2067,11 @@ public com.google.datastore.v1.KeyOrBuilder getDeferredOrBuilder(
      * repeated .google.datastore.v1.Key deferred = 3;
      */
     public com.google.datastore.v1.Key.Builder addDeferredBuilder() {
-      return getDeferredFieldBuilder().addBuilder(
-          com.google.datastore.v1.Key.getDefaultInstance());
+      return getDeferredFieldBuilder().addBuilder(com.google.datastore.v1.Key.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -1916,12 +2080,13 @@ public com.google.datastore.v1.Key.Builder addDeferredBuilder() {
      *
      * repeated .google.datastore.v1.Key deferred = 3;
      */
-    public com.google.datastore.v1.Key.Builder addDeferredBuilder(
-        int index) {
-      return getDeferredFieldBuilder().addBuilder(
-          index, com.google.datastore.v1.Key.getDefaultInstance());
+    public com.google.datastore.v1.Key.Builder addDeferredBuilder(int index) {
+      return getDeferredFieldBuilder()
+          .addBuilder(index, com.google.datastore.v1.Key.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * A list of keys that were not looked up due to resource constraints. The
      * order of results in this field is undefined and has no relation to the
@@ -1930,20 +2095,22 @@ public com.google.datastore.v1.Key.Builder addDeferredBuilder(
      *
      * repeated .google.datastore.v1.Key deferred = 3;
      */
-    public java.util.List 
-         getDeferredBuilderList() {
+    public java.util.List getDeferredBuilderList() {
       return getDeferredFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> 
+            com.google.datastore.v1.Key,
+            com.google.datastore.v1.Key.Builder,
+            com.google.datastore.v1.KeyOrBuilder>
         getDeferredFieldBuilder() {
       if (deferredBuilder_ == null) {
-        deferredBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder>(
-                deferred_,
-                ((bitField0_ & 0x00000004) != 0),
-                getParentForChildren(),
-                isClean());
+        deferredBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.datastore.v1.Key,
+                com.google.datastore.v1.Key.Builder,
+                com.google.datastore.v1.KeyOrBuilder>(
+                deferred_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean());
         deferred_ = null;
       }
       return deferredBuilder_;
@@ -1951,6 +2118,8 @@ public com.google.datastore.v1.Key.Builder addDeferredBuilder(
 
     private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * The identifier of the transaction that was started as part of this Lookup
      * request.
@@ -1962,6 +2131,7 @@ public com.google.datastore.v1.Key.Builder addDeferredBuilder(
      * 
* * bytes transaction = 5; + * * @return The transaction. */ @java.lang.Override @@ -1969,6 +2139,8 @@ public com.google.protobuf.ByteString getTransaction() { return transaction_; } /** + * + * *
      * The identifier of the transaction that was started as part of this Lookup
      * request.
@@ -1980,17 +2152,22 @@ public com.google.protobuf.ByteString getTransaction() {
      * 
* * bytes transaction = 5; + * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } transaction_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * *
      * The identifier of the transaction that was started as part of this Lookup
      * request.
@@ -2002,6 +2179,7 @@ public Builder setTransaction(com.google.protobuf.ByteString value) {
      * 
* * bytes transaction = 5; + * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -2013,24 +2191,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 these entities were read or found missing.
      * 
* * .google.protobuf.Timestamp read_time = 7; + * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * *
      * The time at which these entities were read or found missing.
      * 
* * .google.protobuf.Timestamp read_time = 7; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -2041,6 +2228,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * The time at which these entities were read or found missing.
      * 
@@ -2061,14 +2250,15 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which these entities were read or found missing.
      * 
* * .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) { readTime_ = builderForValue.build(); } else { @@ -2079,6 +2269,8 @@ public Builder setReadTime( return this; } /** + * + * *
      * The time at which these entities were read or found missing.
      * 
@@ -2087,9 +2279,9 @@ public Builder setReadTime( */ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { if (readTimeBuilder_ == null) { - if (((bitField0_ & 0x00000010) != 0) && - readTime_ != null && - readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000010) != 0) + && readTime_ != null + && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getReadTimeBuilder().mergeFrom(value); } else { readTime_ = value; @@ -2104,6 +2296,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The time at which these entities were read or found missing.
      * 
@@ -2121,6 +2315,8 @@ public Builder clearReadTime() { return this; } /** + * + * *
      * The time at which these entities were read or found missing.
      * 
@@ -2133,6 +2329,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() { return getReadTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The time at which these entities were read or found missing.
      * 
@@ -2143,11 +2341,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 these entities were read or found missing.
      * 
@@ -2155,21 +2354,24 @@ 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) { - 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); } @@ -2179,12 +2381,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.v1.LookupResponse) } // @@protoc_insertion_point(class_scope:google.datastore.v1.LookupResponse) private static final com.google.datastore.v1.LookupResponse DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.v1.LookupResponse(); } @@ -2193,27 +2395,27 @@ public static com.google.datastore.v1.LookupResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public LookupResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public LookupResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2228,6 +2430,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.LookupResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupResponseOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupResponseOrBuilder.java similarity index 83% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupResponseOrBuilder.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupResponseOrBuilder.java index d63f8b611..2935a1b62 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupResponseOrBuilder.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/LookupResponseOrBuilder.java @@ -1,14 +1,32 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface LookupResponseOrBuilder extends +public interface LookupResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.LookupResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Entities found as `ResultType.FULL` entities. The order of results in this
    * field is undefined and has no relation to the order of the keys in the
@@ -17,9 +35,10 @@ public interface LookupResponseOrBuilder extends
    *
    * repeated .google.datastore.v1.EntityResult found = 1;
    */
-  java.util.List 
-      getFoundList();
+  java.util.List getFoundList();
   /**
+   *
+   *
    * 
    * Entities found as `ResultType.FULL` entities. The order of results in this
    * field is undefined and has no relation to the order of the keys in the
@@ -30,6 +49,8 @@ public interface LookupResponseOrBuilder extends
    */
   com.google.datastore.v1.EntityResult getFound(int index);
   /**
+   *
+   *
    * 
    * Entities found as `ResultType.FULL` entities. The order of results in this
    * field is undefined and has no relation to the order of the keys in the
@@ -40,6 +61,8 @@ public interface LookupResponseOrBuilder extends
    */
   int getFoundCount();
   /**
+   *
+   *
    * 
    * Entities found as `ResultType.FULL` entities. The order of results in this
    * field is undefined and has no relation to the order of the keys in the
@@ -48,9 +71,10 @@ public interface LookupResponseOrBuilder extends
    *
    * repeated .google.datastore.v1.EntityResult found = 1;
    */
-  java.util.List 
-      getFoundOrBuilderList();
+  java.util.List getFoundOrBuilderList();
   /**
+   *
+   *
    * 
    * Entities found as `ResultType.FULL` entities. The order of results in this
    * field is undefined and has no relation to the order of the keys in the
@@ -59,10 +83,11 @@ public interface LookupResponseOrBuilder extends
    *
    * repeated .google.datastore.v1.EntityResult found = 1;
    */
-  com.google.datastore.v1.EntityResultOrBuilder getFoundOrBuilder(
-      int index);
+  com.google.datastore.v1.EntityResultOrBuilder getFoundOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
    * in this field is undefined and has no relation to the order of the keys
@@ -71,9 +96,10 @@ com.google.datastore.v1.EntityResultOrBuilder getFoundOrBuilder(
    *
    * repeated .google.datastore.v1.EntityResult missing = 2;
    */
-  java.util.List 
-      getMissingList();
+  java.util.List getMissingList();
   /**
+   *
+   *
    * 
    * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
    * in this field is undefined and has no relation to the order of the keys
@@ -84,6 +110,8 @@ com.google.datastore.v1.EntityResultOrBuilder getFoundOrBuilder(
    */
   com.google.datastore.v1.EntityResult getMissing(int index);
   /**
+   *
+   *
    * 
    * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
    * in this field is undefined and has no relation to the order of the keys
@@ -94,6 +122,8 @@ com.google.datastore.v1.EntityResultOrBuilder getFoundOrBuilder(
    */
   int getMissingCount();
   /**
+   *
+   *
    * 
    * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
    * in this field is undefined and has no relation to the order of the keys
@@ -102,9 +132,10 @@ com.google.datastore.v1.EntityResultOrBuilder getFoundOrBuilder(
    *
    * repeated .google.datastore.v1.EntityResult missing = 2;
    */
-  java.util.List 
-      getMissingOrBuilderList();
+  java.util.List getMissingOrBuilderList();
   /**
+   *
+   *
    * 
    * Entities not found as `ResultType.KEY_ONLY` entities. The order of results
    * in this field is undefined and has no relation to the order of the keys
@@ -113,10 +144,11 @@ com.google.datastore.v1.EntityResultOrBuilder getFoundOrBuilder(
    *
    * repeated .google.datastore.v1.EntityResult missing = 2;
    */
-  com.google.datastore.v1.EntityResultOrBuilder getMissingOrBuilder(
-      int index);
+  com.google.datastore.v1.EntityResultOrBuilder getMissingOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * A list of keys that were not looked up due to resource constraints. The
    * order of results in this field is undefined and has no relation to the
@@ -125,9 +157,10 @@ com.google.datastore.v1.EntityResultOrBuilder getMissingOrBuilder(
    *
    * repeated .google.datastore.v1.Key deferred = 3;
    */
-  java.util.List 
-      getDeferredList();
+  java.util.List getDeferredList();
   /**
+   *
+   *
    * 
    * A list of keys that were not looked up due to resource constraints. The
    * order of results in this field is undefined and has no relation to the
@@ -138,6 +171,8 @@ com.google.datastore.v1.EntityResultOrBuilder getMissingOrBuilder(
    */
   com.google.datastore.v1.Key getDeferred(int index);
   /**
+   *
+   *
    * 
    * A list of keys that were not looked up due to resource constraints. The
    * order of results in this field is undefined and has no relation to the
@@ -148,6 +183,8 @@ com.google.datastore.v1.EntityResultOrBuilder getMissingOrBuilder(
    */
   int getDeferredCount();
   /**
+   *
+   *
    * 
    * A list of keys that were not looked up due to resource constraints. The
    * order of results in this field is undefined and has no relation to the
@@ -156,9 +193,10 @@ com.google.datastore.v1.EntityResultOrBuilder getMissingOrBuilder(
    *
    * repeated .google.datastore.v1.Key deferred = 3;
    */
-  java.util.List 
-      getDeferredOrBuilderList();
+  java.util.List getDeferredOrBuilderList();
   /**
+   *
+   *
    * 
    * A list of keys that were not looked up due to resource constraints. The
    * order of results in this field is undefined and has no relation to the
@@ -167,10 +205,11 @@ com.google.datastore.v1.EntityResultOrBuilder getMissingOrBuilder(
    *
    * repeated .google.datastore.v1.Key deferred = 3;
    */
-  com.google.datastore.v1.KeyOrBuilder getDeferredOrBuilder(
-      int index);
+  com.google.datastore.v1.KeyOrBuilder getDeferredOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The identifier of the transaction that was started as part of this Lookup
    * request.
@@ -182,29 +221,38 @@ com.google.datastore.v1.KeyOrBuilder getDeferredOrBuilder(
    * 
* * bytes transaction = 5; + * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** + * + * *
    * The time at which these entities were read or found missing.
    * 
* * .google.protobuf.Timestamp read_time = 7; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * The time at which these entities were read or found missing.
    * 
* * .google.protobuf.Timestamp read_time = 7; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * The time at which these entities were read or found missing.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Mutation.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Mutation.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Mutation.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Mutation.java index dc133d028..91895d180 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Mutation.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Mutation.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto @@ -5,49 +20,54 @@ package com.google.datastore.v1; /** + * + * *
  * A mutation to apply to an entity.
  * 
* * Protobuf type {@code google.datastore.v1.Mutation} */ -public final class Mutation extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Mutation extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.datastore.v1.Mutation) MutationOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Mutation.newBuilder() to construct. private Mutation(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Mutation() { - } + + private Mutation() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Mutation(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_Mutation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_Mutation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_Mutation_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_Mutation_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.datastore.v1.Mutation.class, com.google.datastore.v1.Mutation.Builder.class); } private int operationCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object operation_; + public enum OperationCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { INSERT(4), UPDATE(5), @@ -55,6 +75,7 @@ public enum OperationCase DELETE(7), OPERATION_NOT_SET(0); private final int value; + private OperationCase(int value) { this.value = value; } @@ -70,35 +91,44 @@ public static OperationCase valueOf(int value) { public static OperationCase forNumber(int value) { switch (value) { - case 4: return INSERT; - case 5: return UPDATE; - case 6: return UPSERT; - case 7: return DELETE; - case 0: return OPERATION_NOT_SET; - default: return null; + case 4: + return INSERT; + case 5: + return UPDATE; + case 6: + return UPSERT; + case 7: + return DELETE; + 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_); } private int conflictDetectionStrategyCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object conflictDetectionStrategy_; + public enum ConflictDetectionStrategyCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { BASE_VERSION(8), UPDATE_TIME(11), CONFLICTDETECTIONSTRATEGY_NOT_SET(0); private final int value; + private ConflictDetectionStrategyCase(int value) { this.value = value; } @@ -114,31 +144,37 @@ public static ConflictDetectionStrategyCase valueOf(int value) { public static ConflictDetectionStrategyCase forNumber(int value) { switch (value) { - case 8: return BASE_VERSION; - case 11: return UPDATE_TIME; - case 0: return CONFLICTDETECTIONSTRATEGY_NOT_SET; - default: return null; + case 8: + return BASE_VERSION; + case 11: + return UPDATE_TIME; + case 0: + return CONFLICTDETECTIONSTRATEGY_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ConflictDetectionStrategyCase - getConflictDetectionStrategyCase() { - return ConflictDetectionStrategyCase.forNumber( - conflictDetectionStrategyCase_); + public ConflictDetectionStrategyCase getConflictDetectionStrategyCase() { + return ConflictDetectionStrategyCase.forNumber(conflictDetectionStrategyCase_); } public static final int INSERT_FIELD_NUMBER = 4; /** + * + * *
    * The entity to insert. The entity must not already exist.
    * The entity key's final path element may be incomplete.
    * 
* * .google.datastore.v1.Entity insert = 4; + * * @return Whether the insert field is set. */ @java.lang.Override @@ -146,22 +182,27 @@ public boolean hasInsert() { return operationCase_ == 4; } /** + * + * *
    * The entity to insert. The entity must not already exist.
    * The entity key's final path element may be incomplete.
    * 
* * .google.datastore.v1.Entity insert = 4; + * * @return The insert. */ @java.lang.Override public com.google.datastore.v1.Entity getInsert() { if (operationCase_ == 4) { - return (com.google.datastore.v1.Entity) operation_; + return (com.google.datastore.v1.Entity) operation_; } return com.google.datastore.v1.Entity.getDefaultInstance(); } /** + * + * *
    * The entity to insert. The entity must not already exist.
    * The entity key's final path element may be incomplete.
@@ -172,19 +213,22 @@ public com.google.datastore.v1.Entity getInsert() {
   @java.lang.Override
   public com.google.datastore.v1.EntityOrBuilder getInsertOrBuilder() {
     if (operationCase_ == 4) {
-       return (com.google.datastore.v1.Entity) operation_;
+      return (com.google.datastore.v1.Entity) operation_;
     }
     return com.google.datastore.v1.Entity.getDefaultInstance();
   }
 
   public static final int UPDATE_FIELD_NUMBER = 5;
   /**
+   *
+   *
    * 
    * The entity to update. The entity must already exist.
    * Must have a complete key path.
    * 
* * .google.datastore.v1.Entity update = 5; + * * @return Whether the update field is set. */ @java.lang.Override @@ -192,22 +236,27 @@ public boolean hasUpdate() { return operationCase_ == 5; } /** + * + * *
    * The entity to update. The entity must already exist.
    * Must have a complete key path.
    * 
* * .google.datastore.v1.Entity update = 5; + * * @return The update. */ @java.lang.Override public com.google.datastore.v1.Entity getUpdate() { if (operationCase_ == 5) { - return (com.google.datastore.v1.Entity) operation_; + return (com.google.datastore.v1.Entity) operation_; } return com.google.datastore.v1.Entity.getDefaultInstance(); } /** + * + * *
    * The entity to update. The entity must already exist.
    * Must have a complete key path.
@@ -218,19 +267,22 @@ public com.google.datastore.v1.Entity getUpdate() {
   @java.lang.Override
   public com.google.datastore.v1.EntityOrBuilder getUpdateOrBuilder() {
     if (operationCase_ == 5) {
-       return (com.google.datastore.v1.Entity) operation_;
+      return (com.google.datastore.v1.Entity) operation_;
     }
     return com.google.datastore.v1.Entity.getDefaultInstance();
   }
 
   public static final int UPSERT_FIELD_NUMBER = 6;
   /**
+   *
+   *
    * 
    * The entity to upsert. The entity may or may not already exist.
    * The entity key's final path element may be incomplete.
    * 
* * .google.datastore.v1.Entity upsert = 6; + * * @return Whether the upsert field is set. */ @java.lang.Override @@ -238,22 +290,27 @@ public boolean hasUpsert() { return operationCase_ == 6; } /** + * + * *
    * The entity to upsert. The entity may or may not already exist.
    * The entity key's final path element may be incomplete.
    * 
* * .google.datastore.v1.Entity upsert = 6; + * * @return The upsert. */ @java.lang.Override public com.google.datastore.v1.Entity getUpsert() { if (operationCase_ == 6) { - return (com.google.datastore.v1.Entity) operation_; + return (com.google.datastore.v1.Entity) operation_; } return com.google.datastore.v1.Entity.getDefaultInstance(); } /** + * + * *
    * The entity to upsert. The entity may or may not already exist.
    * The entity key's final path element may be incomplete.
@@ -264,19 +321,22 @@ public com.google.datastore.v1.Entity getUpsert() {
   @java.lang.Override
   public com.google.datastore.v1.EntityOrBuilder getUpsertOrBuilder() {
     if (operationCase_ == 6) {
-       return (com.google.datastore.v1.Entity) operation_;
+      return (com.google.datastore.v1.Entity) operation_;
     }
     return com.google.datastore.v1.Entity.getDefaultInstance();
   }
 
   public static final int DELETE_FIELD_NUMBER = 7;
   /**
+   *
+   *
    * 
    * The key of the entity to delete. The entity may or may not already exist.
    * Must have a complete key path and must not be reserved/read-only.
    * 
* * .google.datastore.v1.Key delete = 7; + * * @return Whether the delete field is set. */ @java.lang.Override @@ -284,22 +344,27 @@ public boolean hasDelete() { return operationCase_ == 7; } /** + * + * *
    * The key of the entity to delete. The entity may or may not already exist.
    * Must have a complete key path and must not be reserved/read-only.
    * 
* * .google.datastore.v1.Key delete = 7; + * * @return The delete. */ @java.lang.Override public com.google.datastore.v1.Key getDelete() { if (operationCase_ == 7) { - return (com.google.datastore.v1.Key) operation_; + return (com.google.datastore.v1.Key) operation_; } return com.google.datastore.v1.Key.getDefaultInstance(); } /** + * + * *
    * The key of the entity to delete. The entity may or may not already exist.
    * Must have a complete key path and must not be reserved/read-only.
@@ -310,13 +375,15 @@ public com.google.datastore.v1.Key getDelete() {
   @java.lang.Override
   public com.google.datastore.v1.KeyOrBuilder getDeleteOrBuilder() {
     if (operationCase_ == 7) {
-       return (com.google.datastore.v1.Key) operation_;
+      return (com.google.datastore.v1.Key) operation_;
     }
     return com.google.datastore.v1.Key.getDefaultInstance();
   }
 
   public static final int BASE_VERSION_FIELD_NUMBER = 8;
   /**
+   *
+   *
    * 
    * The version of the entity that this mutation is being applied
    * to. If this does not match the current version on the server, the
@@ -324,6 +391,7 @@ public com.google.datastore.v1.KeyOrBuilder getDeleteOrBuilder() {
    * 
* * int64 base_version = 8; + * * @return Whether the baseVersion field is set. */ @java.lang.Override @@ -331,6 +399,8 @@ public boolean hasBaseVersion() { return conflictDetectionStrategyCase_ == 8; } /** + * + * *
    * The version of the entity that this mutation is being applied
    * to. If this does not match the current version on the server, the
@@ -338,6 +408,7 @@ public boolean hasBaseVersion() {
    * 
* * int64 base_version = 8; + * * @return The baseVersion. */ @java.lang.Override @@ -350,6 +421,8 @@ public long getBaseVersion() { public static final int UPDATE_TIME_FIELD_NUMBER = 11; /** + * + * *
    * The update time of the entity that this mutation is being applied
    * to. If this does not match the current update time on the server, the
@@ -357,6 +430,7 @@ public long getBaseVersion() {
    * 
* * .google.protobuf.Timestamp update_time = 11; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -364,6 +438,8 @@ public boolean hasUpdateTime() { return conflictDetectionStrategyCase_ == 11; } /** + * + * *
    * The update time of the entity that this mutation is being applied
    * to. If this does not match the current update time on the server, the
@@ -371,16 +447,19 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 11; + * * @return The updateTime. */ @java.lang.Override public com.google.protobuf.Timestamp getUpdateTime() { if (conflictDetectionStrategyCase_ == 11) { - return (com.google.protobuf.Timestamp) conflictDetectionStrategy_; + return (com.google.protobuf.Timestamp) conflictDetectionStrategy_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** + * + * *
    * The update time of the entity that this mutation is being applied
    * to. If this does not match the current update time on the server, the
@@ -392,12 +471,13 @@ public com.google.protobuf.Timestamp getUpdateTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
     if (conflictDetectionStrategyCase_ == 11) {
-       return (com.google.protobuf.Timestamp) conflictDetectionStrategy_;
+      return (com.google.protobuf.Timestamp) conflictDetectionStrategy_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -409,8 +489,7 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
     if (operationCase_ == 4) {
       output.writeMessage(4, (com.google.datastore.v1.Entity) operation_);
     }
@@ -424,8 +503,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
       output.writeMessage(7, (com.google.datastore.v1.Key) operation_);
     }
     if (conflictDetectionStrategyCase_ == 8) {
-      output.writeInt64(
-          8, (long)((java.lang.Long) conflictDetectionStrategy_));
+      output.writeInt64(8, (long) ((java.lang.Long) conflictDetectionStrategy_));
     }
     if (conflictDetectionStrategyCase_ == 11) {
       output.writeMessage(11, (com.google.protobuf.Timestamp) conflictDetectionStrategy_);
@@ -440,29 +518,34 @@ public int getSerializedSize() {
 
     size = 0;
     if (operationCase_ == 4) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, (com.google.datastore.v1.Entity) operation_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              4, (com.google.datastore.v1.Entity) operation_);
     }
     if (operationCase_ == 5) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, (com.google.datastore.v1.Entity) operation_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              5, (com.google.datastore.v1.Entity) operation_);
     }
     if (operationCase_ == 6) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, (com.google.datastore.v1.Entity) operation_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              6, (com.google.datastore.v1.Entity) operation_);
     }
     if (operationCase_ == 7) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(7, (com.google.datastore.v1.Key) operation_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              7, (com.google.datastore.v1.Key) operation_);
     }
     if (conflictDetectionStrategyCase_ == 8) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt64Size(
-            8, (long)((java.lang.Long) conflictDetectionStrategy_));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeInt64Size(
+              8, (long) ((java.lang.Long) conflictDetectionStrategy_));
     }
     if (conflictDetectionStrategyCase_ == 11) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(11, (com.google.protobuf.Timestamp) conflictDetectionStrategy_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              11, (com.google.protobuf.Timestamp) conflictDetectionStrategy_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -472,7 +555,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.datastore.v1.Mutation)) {
       return super.equals(obj);
@@ -482,33 +565,28 @@ public boolean equals(final java.lang.Object obj) {
     if (!getOperationCase().equals(other.getOperationCase())) return false;
     switch (operationCase_) {
       case 4:
-        if (!getInsert()
-            .equals(other.getInsert())) return false;
+        if (!getInsert().equals(other.getInsert())) return false;
         break;
       case 5:
-        if (!getUpdate()
-            .equals(other.getUpdate())) return false;
+        if (!getUpdate().equals(other.getUpdate())) return false;
         break;
       case 6:
-        if (!getUpsert()
-            .equals(other.getUpsert())) return false;
+        if (!getUpsert().equals(other.getUpsert())) return false;
         break;
       case 7:
-        if (!getDelete()
-            .equals(other.getDelete())) return false;
+        if (!getDelete().equals(other.getDelete())) return false;
         break;
       case 0:
       default:
     }
-    if (!getConflictDetectionStrategyCase().equals(other.getConflictDetectionStrategyCase())) return false;
+    if (!getConflictDetectionStrategyCase().equals(other.getConflictDetectionStrategyCase()))
+      return false;
     switch (conflictDetectionStrategyCase_) {
       case 8:
-        if (getBaseVersion()
-            != other.getBaseVersion()) return false;
+        if (getBaseVersion() != other.getBaseVersion()) return false;
         break;
       case 11:
-        if (!getUpdateTime()
-            .equals(other.getUpdateTime())) return false;
+        if (!getUpdateTime().equals(other.getUpdateTime())) return false;
         break;
       case 0:
       default:
@@ -547,8 +625,7 @@ public int hashCode() {
     switch (conflictDetectionStrategyCase_) {
       case 8:
         hash = (37 * hash) + BASE_VERSION_FIELD_NUMBER;
-        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
-            getBaseVersion());
+        hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBaseVersion());
         break;
       case 11:
         hash = (37 * hash) + UPDATE_TIME_FIELD_NUMBER;
@@ -562,132 +639,135 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.Mutation parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.Mutation parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.Mutation parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.datastore.v1.Mutation parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.datastore.v1.Mutation parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.Mutation parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.Mutation parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.Mutation parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.Mutation parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.datastore.v1.Mutation parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   public static com.google.datastore.v1.Mutation 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.datastore.v1.Mutation parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.datastore.v1.Mutation parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.datastore.v1.Mutation parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.datastore.v1.Mutation prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 mutation to apply to an entity.
    * 
* * Protobuf type {@code google.datastore.v1.Mutation} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.Mutation) com.google.datastore.v1.MutationOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_Mutation_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_Mutation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_Mutation_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_Mutation_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.Mutation.class, com.google.datastore.v1.Mutation.Builder.class); + com.google.datastore.v1.Mutation.class, + com.google.datastore.v1.Mutation.Builder.class); } // Construct using com.google.datastore.v1.Mutation.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -715,9 +795,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_Mutation_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_Mutation_descriptor; } @java.lang.Override @@ -737,7 +817,9 @@ public com.google.datastore.v1.Mutation build() { @java.lang.Override public com.google.datastore.v1.Mutation buildPartial() { com.google.datastore.v1.Mutation result = new com.google.datastore.v1.Mutation(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -750,26 +832,21 @@ private void buildPartial0(com.google.datastore.v1.Mutation result) { private void buildPartialOneofs(com.google.datastore.v1.Mutation result) { result.operationCase_ = operationCase_; result.operation_ = this.operation_; - if (operationCase_ == 4 && - insertBuilder_ != null) { + if (operationCase_ == 4 && insertBuilder_ != null) { result.operation_ = insertBuilder_.build(); } - if (operationCase_ == 5 && - updateBuilder_ != null) { + if (operationCase_ == 5 && updateBuilder_ != null) { result.operation_ = updateBuilder_.build(); } - if (operationCase_ == 6 && - upsertBuilder_ != null) { + if (operationCase_ == 6 && upsertBuilder_ != null) { result.operation_ = upsertBuilder_.build(); } - if (operationCase_ == 7 && - deleteBuilder_ != null) { + if (operationCase_ == 7 && deleteBuilder_ != null) { result.operation_ = deleteBuilder_.build(); } result.conflictDetectionStrategyCase_ = conflictDetectionStrategyCase_; result.conflictDetectionStrategy_ = this.conflictDetectionStrategy_; - if (conflictDetectionStrategyCase_ == 11 && - updateTimeBuilder_ != null) { + if (conflictDetectionStrategyCase_ == 11 && updateTimeBuilder_ != null) { result.conflictDetectionStrategy_ = updateTimeBuilder_.build(); } } @@ -778,38 +855,39 @@ private void buildPartialOneofs(com.google.datastore.v1.Mutation result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.Mutation) { - return mergeFrom((com.google.datastore.v1.Mutation)other); + return mergeFrom((com.google.datastore.v1.Mutation) other); } else { super.mergeFrom(other); return this; @@ -819,38 +897,46 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.datastore.v1.Mutation other) { if (other == com.google.datastore.v1.Mutation.getDefaultInstance()) return this; switch (other.getOperationCase()) { - case INSERT: { - mergeInsert(other.getInsert()); - break; - } - case UPDATE: { - mergeUpdate(other.getUpdate()); - break; - } - case UPSERT: { - mergeUpsert(other.getUpsert()); - break; - } - case DELETE: { - mergeDelete(other.getDelete()); - break; - } - case OPERATION_NOT_SET: { - break; - } + case INSERT: + { + mergeInsert(other.getInsert()); + break; + } + case UPDATE: + { + mergeUpdate(other.getUpdate()); + break; + } + case UPSERT: + { + mergeUpsert(other.getUpsert()); + break; + } + case DELETE: + { + mergeDelete(other.getDelete()); + break; + } + case OPERATION_NOT_SET: + { + break; + } } switch (other.getConflictDetectionStrategyCase()) { - case BASE_VERSION: { - setBaseVersion(other.getBaseVersion()); - break; - } - case UPDATE_TIME: { - mergeUpdateTime(other.getUpdateTime()); - break; - } - case CONFLICTDETECTIONSTRATEGY_NOT_SET: { - break; - } + case BASE_VERSION: + { + setBaseVersion(other.getBaseVersion()); + break; + } + case UPDATE_TIME: + { + mergeUpdateTime(other.getUpdateTime()); + break; + } + case CONFLICTDETECTIONSTRATEGY_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -878,52 +964,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 34: { - input.readMessage( - getInsertFieldBuilder().getBuilder(), - extensionRegistry); - operationCase_ = 4; - break; - } // case 34 - case 42: { - input.readMessage( - getUpdateFieldBuilder().getBuilder(), - extensionRegistry); - operationCase_ = 5; - break; - } // case 42 - case 50: { - input.readMessage( - getUpsertFieldBuilder().getBuilder(), - extensionRegistry); - operationCase_ = 6; - break; - } // case 50 - case 58: { - input.readMessage( - getDeleteFieldBuilder().getBuilder(), - extensionRegistry); - operationCase_ = 7; - break; - } // case 58 - case 64: { - conflictDetectionStrategy_ = input.readInt64(); - conflictDetectionStrategyCase_ = 8; - break; - } // case 64 - case 90: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - conflictDetectionStrategyCase_ = 11; - break; - } // case 90 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 34: + { + input.readMessage(getInsertFieldBuilder().getBuilder(), extensionRegistry); + operationCase_ = 4; + break; + } // case 34 + case 42: + { + input.readMessage(getUpdateFieldBuilder().getBuilder(), extensionRegistry); + operationCase_ = 5; + break; + } // case 42 + case 50: + { + input.readMessage(getUpsertFieldBuilder().getBuilder(), extensionRegistry); + operationCase_ = 6; + break; + } // case 50 + case 58: + { + input.readMessage(getDeleteFieldBuilder().getBuilder(), extensionRegistry); + operationCase_ = 7; + break; + } // case 58 + case 64: + { + conflictDetectionStrategy_ = input.readInt64(); + conflictDetectionStrategyCase_ = 8; + break; + } // case 64 + case 90: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + conflictDetectionStrategyCase_ = 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) { @@ -933,12 +1016,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() { @@ -950,10 +1033,9 @@ public Builder clearOperation() { private int conflictDetectionStrategyCase_ = 0; private java.lang.Object conflictDetectionStrategy_; - public ConflictDetectionStrategyCase - getConflictDetectionStrategyCase() { - return ConflictDetectionStrategyCase.forNumber( - conflictDetectionStrategyCase_); + + public ConflictDetectionStrategyCase getConflictDetectionStrategyCase() { + return ConflictDetectionStrategyCase.forNumber(conflictDetectionStrategyCase_); } public Builder clearConflictDetectionStrategy() { @@ -966,14 +1048,20 @@ public Builder clearConflictDetectionStrategy() { private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Entity, com.google.datastore.v1.Entity.Builder, com.google.datastore.v1.EntityOrBuilder> insertBuilder_; + com.google.datastore.v1.Entity, + com.google.datastore.v1.Entity.Builder, + com.google.datastore.v1.EntityOrBuilder> + insertBuilder_; /** + * + * *
      * The entity to insert. The entity must not already exist.
      * The entity key's final path element may be incomplete.
      * 
* * .google.datastore.v1.Entity insert = 4; + * * @return Whether the insert field is set. */ @java.lang.Override @@ -981,12 +1069,15 @@ public boolean hasInsert() { return operationCase_ == 4; } /** + * + * *
      * The entity to insert. The entity must not already exist.
      * The entity key's final path element may be incomplete.
      * 
* * .google.datastore.v1.Entity insert = 4; + * * @return The insert. */ @java.lang.Override @@ -1004,6 +1095,8 @@ public com.google.datastore.v1.Entity getInsert() { } } /** + * + * *
      * The entity to insert. The entity must not already exist.
      * The entity key's final path element may be incomplete.
@@ -1025,6 +1118,8 @@ public Builder setInsert(com.google.datastore.v1.Entity value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity to insert. The entity must not already exist.
      * The entity key's final path element may be incomplete.
@@ -1032,8 +1127,7 @@ public Builder setInsert(com.google.datastore.v1.Entity value) {
      *
      * .google.datastore.v1.Entity insert = 4;
      */
-    public Builder setInsert(
-        com.google.datastore.v1.Entity.Builder builderForValue) {
+    public Builder setInsert(com.google.datastore.v1.Entity.Builder builderForValue) {
       if (insertBuilder_ == null) {
         operation_ = builderForValue.build();
         onChanged();
@@ -1044,6 +1138,8 @@ public Builder setInsert(
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity to insert. The entity must not already exist.
      * The entity key's final path element may be incomplete.
@@ -1053,10 +1149,12 @@ public Builder setInsert(
      */
     public Builder mergeInsert(com.google.datastore.v1.Entity value) {
       if (insertBuilder_ == null) {
-        if (operationCase_ == 4 &&
-            operation_ != com.google.datastore.v1.Entity.getDefaultInstance()) {
-          operation_ = com.google.datastore.v1.Entity.newBuilder((com.google.datastore.v1.Entity) operation_)
-              .mergeFrom(value).buildPartial();
+        if (operationCase_ == 4
+            && operation_ != com.google.datastore.v1.Entity.getDefaultInstance()) {
+          operation_ =
+              com.google.datastore.v1.Entity.newBuilder((com.google.datastore.v1.Entity) operation_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           operation_ = value;
         }
@@ -1072,6 +1170,8 @@ public Builder mergeInsert(com.google.datastore.v1.Entity value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity to insert. The entity must not already exist.
      * The entity key's final path element may be incomplete.
@@ -1096,6 +1196,8 @@ public Builder clearInsert() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity to insert. The entity must not already exist.
      * The entity key's final path element may be incomplete.
@@ -1107,6 +1209,8 @@ public com.google.datastore.v1.Entity.Builder getInsertBuilder() {
       return getInsertFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The entity to insert. The entity must not already exist.
      * The entity key's final path element may be incomplete.
@@ -1126,6 +1230,8 @@ public com.google.datastore.v1.EntityOrBuilder getInsertOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * The entity to insert. The entity must not already exist.
      * The entity key's final path element may be incomplete.
@@ -1134,17 +1240,20 @@ public com.google.datastore.v1.EntityOrBuilder getInsertOrBuilder() {
      * .google.datastore.v1.Entity insert = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.v1.Entity, com.google.datastore.v1.Entity.Builder, com.google.datastore.v1.EntityOrBuilder> 
+            com.google.datastore.v1.Entity,
+            com.google.datastore.v1.Entity.Builder,
+            com.google.datastore.v1.EntityOrBuilder>
         getInsertFieldBuilder() {
       if (insertBuilder_ == null) {
         if (!(operationCase_ == 4)) {
           operation_ = com.google.datastore.v1.Entity.getDefaultInstance();
         }
-        insertBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.Entity, com.google.datastore.v1.Entity.Builder, com.google.datastore.v1.EntityOrBuilder>(
-                (com.google.datastore.v1.Entity) operation_,
-                getParentForChildren(),
-                isClean());
+        insertBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.datastore.v1.Entity,
+                com.google.datastore.v1.Entity.Builder,
+                com.google.datastore.v1.EntityOrBuilder>(
+                (com.google.datastore.v1.Entity) operation_, getParentForChildren(), isClean());
         operation_ = null;
       }
       operationCase_ = 4;
@@ -1153,14 +1262,20 @@ public com.google.datastore.v1.EntityOrBuilder getInsertOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.v1.Entity, com.google.datastore.v1.Entity.Builder, com.google.datastore.v1.EntityOrBuilder> updateBuilder_;
+            com.google.datastore.v1.Entity,
+            com.google.datastore.v1.Entity.Builder,
+            com.google.datastore.v1.EntityOrBuilder>
+        updateBuilder_;
     /**
+     *
+     *
      * 
      * The entity to update. The entity must already exist.
      * Must have a complete key path.
      * 
* * .google.datastore.v1.Entity update = 5; + * * @return Whether the update field is set. */ @java.lang.Override @@ -1168,12 +1283,15 @@ public boolean hasUpdate() { return operationCase_ == 5; } /** + * + * *
      * The entity to update. The entity must already exist.
      * Must have a complete key path.
      * 
* * .google.datastore.v1.Entity update = 5; + * * @return The update. */ @java.lang.Override @@ -1191,6 +1309,8 @@ public com.google.datastore.v1.Entity getUpdate() { } } /** + * + * *
      * The entity to update. The entity must already exist.
      * Must have a complete key path.
@@ -1212,6 +1332,8 @@ public Builder setUpdate(com.google.datastore.v1.Entity value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity to update. The entity must already exist.
      * Must have a complete key path.
@@ -1219,8 +1341,7 @@ public Builder setUpdate(com.google.datastore.v1.Entity value) {
      *
      * .google.datastore.v1.Entity update = 5;
      */
-    public Builder setUpdate(
-        com.google.datastore.v1.Entity.Builder builderForValue) {
+    public Builder setUpdate(com.google.datastore.v1.Entity.Builder builderForValue) {
       if (updateBuilder_ == null) {
         operation_ = builderForValue.build();
         onChanged();
@@ -1231,6 +1352,8 @@ public Builder setUpdate(
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity to update. The entity must already exist.
      * Must have a complete key path.
@@ -1240,10 +1363,12 @@ public Builder setUpdate(
      */
     public Builder mergeUpdate(com.google.datastore.v1.Entity value) {
       if (updateBuilder_ == null) {
-        if (operationCase_ == 5 &&
-            operation_ != com.google.datastore.v1.Entity.getDefaultInstance()) {
-          operation_ = com.google.datastore.v1.Entity.newBuilder((com.google.datastore.v1.Entity) operation_)
-              .mergeFrom(value).buildPartial();
+        if (operationCase_ == 5
+            && operation_ != com.google.datastore.v1.Entity.getDefaultInstance()) {
+          operation_ =
+              com.google.datastore.v1.Entity.newBuilder((com.google.datastore.v1.Entity) operation_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           operation_ = value;
         }
@@ -1259,6 +1384,8 @@ public Builder mergeUpdate(com.google.datastore.v1.Entity value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity to update. The entity must already exist.
      * Must have a complete key path.
@@ -1283,6 +1410,8 @@ public Builder clearUpdate() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity to update. The entity must already exist.
      * Must have a complete key path.
@@ -1294,6 +1423,8 @@ public com.google.datastore.v1.Entity.Builder getUpdateBuilder() {
       return getUpdateFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The entity to update. The entity must already exist.
      * Must have a complete key path.
@@ -1313,6 +1444,8 @@ public com.google.datastore.v1.EntityOrBuilder getUpdateOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * The entity to update. The entity must already exist.
      * Must have a complete key path.
@@ -1321,17 +1454,20 @@ public com.google.datastore.v1.EntityOrBuilder getUpdateOrBuilder() {
      * .google.datastore.v1.Entity update = 5;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.v1.Entity, com.google.datastore.v1.Entity.Builder, com.google.datastore.v1.EntityOrBuilder> 
+            com.google.datastore.v1.Entity,
+            com.google.datastore.v1.Entity.Builder,
+            com.google.datastore.v1.EntityOrBuilder>
         getUpdateFieldBuilder() {
       if (updateBuilder_ == null) {
         if (!(operationCase_ == 5)) {
           operation_ = com.google.datastore.v1.Entity.getDefaultInstance();
         }
-        updateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.Entity, com.google.datastore.v1.Entity.Builder, com.google.datastore.v1.EntityOrBuilder>(
-                (com.google.datastore.v1.Entity) operation_,
-                getParentForChildren(),
-                isClean());
+        updateBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.datastore.v1.Entity,
+                com.google.datastore.v1.Entity.Builder,
+                com.google.datastore.v1.EntityOrBuilder>(
+                (com.google.datastore.v1.Entity) operation_, getParentForChildren(), isClean());
         operation_ = null;
       }
       operationCase_ = 5;
@@ -1340,14 +1476,20 @@ public com.google.datastore.v1.EntityOrBuilder getUpdateOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.v1.Entity, com.google.datastore.v1.Entity.Builder, com.google.datastore.v1.EntityOrBuilder> upsertBuilder_;
+            com.google.datastore.v1.Entity,
+            com.google.datastore.v1.Entity.Builder,
+            com.google.datastore.v1.EntityOrBuilder>
+        upsertBuilder_;
     /**
+     *
+     *
      * 
      * The entity to upsert. The entity may or may not already exist.
      * The entity key's final path element may be incomplete.
      * 
* * .google.datastore.v1.Entity upsert = 6; + * * @return Whether the upsert field is set. */ @java.lang.Override @@ -1355,12 +1497,15 @@ public boolean hasUpsert() { return operationCase_ == 6; } /** + * + * *
      * The entity to upsert. The entity may or may not already exist.
      * The entity key's final path element may be incomplete.
      * 
* * .google.datastore.v1.Entity upsert = 6; + * * @return The upsert. */ @java.lang.Override @@ -1378,6 +1523,8 @@ public com.google.datastore.v1.Entity getUpsert() { } } /** + * + * *
      * The entity to upsert. The entity may or may not already exist.
      * The entity key's final path element may be incomplete.
@@ -1399,6 +1546,8 @@ public Builder setUpsert(com.google.datastore.v1.Entity value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity to upsert. The entity may or may not already exist.
      * The entity key's final path element may be incomplete.
@@ -1406,8 +1555,7 @@ public Builder setUpsert(com.google.datastore.v1.Entity value) {
      *
      * .google.datastore.v1.Entity upsert = 6;
      */
-    public Builder setUpsert(
-        com.google.datastore.v1.Entity.Builder builderForValue) {
+    public Builder setUpsert(com.google.datastore.v1.Entity.Builder builderForValue) {
       if (upsertBuilder_ == null) {
         operation_ = builderForValue.build();
         onChanged();
@@ -1418,6 +1566,8 @@ public Builder setUpsert(
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity to upsert. The entity may or may not already exist.
      * The entity key's final path element may be incomplete.
@@ -1427,10 +1577,12 @@ public Builder setUpsert(
      */
     public Builder mergeUpsert(com.google.datastore.v1.Entity value) {
       if (upsertBuilder_ == null) {
-        if (operationCase_ == 6 &&
-            operation_ != com.google.datastore.v1.Entity.getDefaultInstance()) {
-          operation_ = com.google.datastore.v1.Entity.newBuilder((com.google.datastore.v1.Entity) operation_)
-              .mergeFrom(value).buildPartial();
+        if (operationCase_ == 6
+            && operation_ != com.google.datastore.v1.Entity.getDefaultInstance()) {
+          operation_ =
+              com.google.datastore.v1.Entity.newBuilder((com.google.datastore.v1.Entity) operation_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           operation_ = value;
         }
@@ -1446,6 +1598,8 @@ public Builder mergeUpsert(com.google.datastore.v1.Entity value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity to upsert. The entity may or may not already exist.
      * The entity key's final path element may be incomplete.
@@ -1470,6 +1624,8 @@ public Builder clearUpsert() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The entity to upsert. The entity may or may not already exist.
      * The entity key's final path element may be incomplete.
@@ -1481,6 +1637,8 @@ public com.google.datastore.v1.Entity.Builder getUpsertBuilder() {
       return getUpsertFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The entity to upsert. The entity may or may not already exist.
      * The entity key's final path element may be incomplete.
@@ -1500,6 +1658,8 @@ public com.google.datastore.v1.EntityOrBuilder getUpsertOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * The entity to upsert. The entity may or may not already exist.
      * The entity key's final path element may be incomplete.
@@ -1508,17 +1668,20 @@ public com.google.datastore.v1.EntityOrBuilder getUpsertOrBuilder() {
      * .google.datastore.v1.Entity upsert = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.v1.Entity, com.google.datastore.v1.Entity.Builder, com.google.datastore.v1.EntityOrBuilder> 
+            com.google.datastore.v1.Entity,
+            com.google.datastore.v1.Entity.Builder,
+            com.google.datastore.v1.EntityOrBuilder>
         getUpsertFieldBuilder() {
       if (upsertBuilder_ == null) {
         if (!(operationCase_ == 6)) {
           operation_ = com.google.datastore.v1.Entity.getDefaultInstance();
         }
-        upsertBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.Entity, com.google.datastore.v1.Entity.Builder, com.google.datastore.v1.EntityOrBuilder>(
-                (com.google.datastore.v1.Entity) operation_,
-                getParentForChildren(),
-                isClean());
+        upsertBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.datastore.v1.Entity,
+                com.google.datastore.v1.Entity.Builder,
+                com.google.datastore.v1.EntityOrBuilder>(
+                (com.google.datastore.v1.Entity) operation_, getParentForChildren(), isClean());
         operation_ = null;
       }
       operationCase_ = 6;
@@ -1527,14 +1690,20 @@ public com.google.datastore.v1.EntityOrBuilder getUpsertOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> deleteBuilder_;
+            com.google.datastore.v1.Key,
+            com.google.datastore.v1.Key.Builder,
+            com.google.datastore.v1.KeyOrBuilder>
+        deleteBuilder_;
     /**
+     *
+     *
      * 
      * The key of the entity to delete. The entity may or may not already exist.
      * Must have a complete key path and must not be reserved/read-only.
      * 
* * .google.datastore.v1.Key delete = 7; + * * @return Whether the delete field is set. */ @java.lang.Override @@ -1542,12 +1711,15 @@ public boolean hasDelete() { return operationCase_ == 7; } /** + * + * *
      * The key of the entity to delete. The entity may or may not already exist.
      * Must have a complete key path and must not be reserved/read-only.
      * 
* * .google.datastore.v1.Key delete = 7; + * * @return The delete. */ @java.lang.Override @@ -1565,6 +1737,8 @@ public com.google.datastore.v1.Key getDelete() { } } /** + * + * *
      * The key of the entity to delete. The entity may or may not already exist.
      * Must have a complete key path and must not be reserved/read-only.
@@ -1586,6 +1760,8 @@ public Builder setDelete(com.google.datastore.v1.Key value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The key of the entity to delete. The entity may or may not already exist.
      * Must have a complete key path and must not be reserved/read-only.
@@ -1593,8 +1769,7 @@ public Builder setDelete(com.google.datastore.v1.Key value) {
      *
      * .google.datastore.v1.Key delete = 7;
      */
-    public Builder setDelete(
-        com.google.datastore.v1.Key.Builder builderForValue) {
+    public Builder setDelete(com.google.datastore.v1.Key.Builder builderForValue) {
       if (deleteBuilder_ == null) {
         operation_ = builderForValue.build();
         onChanged();
@@ -1605,6 +1780,8 @@ public Builder setDelete(
       return this;
     }
     /**
+     *
+     *
      * 
      * The key of the entity to delete. The entity may or may not already exist.
      * Must have a complete key path and must not be reserved/read-only.
@@ -1614,10 +1791,11 @@ public Builder setDelete(
      */
     public Builder mergeDelete(com.google.datastore.v1.Key value) {
       if (deleteBuilder_ == null) {
-        if (operationCase_ == 7 &&
-            operation_ != com.google.datastore.v1.Key.getDefaultInstance()) {
-          operation_ = com.google.datastore.v1.Key.newBuilder((com.google.datastore.v1.Key) operation_)
-              .mergeFrom(value).buildPartial();
+        if (operationCase_ == 7 && operation_ != com.google.datastore.v1.Key.getDefaultInstance()) {
+          operation_ =
+              com.google.datastore.v1.Key.newBuilder((com.google.datastore.v1.Key) operation_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           operation_ = value;
         }
@@ -1633,6 +1811,8 @@ public Builder mergeDelete(com.google.datastore.v1.Key value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The key of the entity to delete. The entity may or may not already exist.
      * Must have a complete key path and must not be reserved/read-only.
@@ -1657,6 +1837,8 @@ public Builder clearDelete() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The key of the entity to delete. The entity may or may not already exist.
      * Must have a complete key path and must not be reserved/read-only.
@@ -1668,6 +1850,8 @@ public com.google.datastore.v1.Key.Builder getDeleteBuilder() {
       return getDeleteFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The key of the entity to delete. The entity may or may not already exist.
      * Must have a complete key path and must not be reserved/read-only.
@@ -1687,6 +1871,8 @@ public com.google.datastore.v1.KeyOrBuilder getDeleteOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * The key of the entity to delete. The entity may or may not already exist.
      * Must have a complete key path and must not be reserved/read-only.
@@ -1695,17 +1881,20 @@ public com.google.datastore.v1.KeyOrBuilder getDeleteOrBuilder() {
      * .google.datastore.v1.Key delete = 7;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> 
+            com.google.datastore.v1.Key,
+            com.google.datastore.v1.Key.Builder,
+            com.google.datastore.v1.KeyOrBuilder>
         getDeleteFieldBuilder() {
       if (deleteBuilder_ == null) {
         if (!(operationCase_ == 7)) {
           operation_ = com.google.datastore.v1.Key.getDefaultInstance();
         }
-        deleteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder>(
-                (com.google.datastore.v1.Key) operation_,
-                getParentForChildren(),
-                isClean());
+        deleteBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.datastore.v1.Key,
+                com.google.datastore.v1.Key.Builder,
+                com.google.datastore.v1.KeyOrBuilder>(
+                (com.google.datastore.v1.Key) operation_, getParentForChildren(), isClean());
         operation_ = null;
       }
       operationCase_ = 7;
@@ -1714,6 +1903,8 @@ public com.google.datastore.v1.KeyOrBuilder getDeleteOrBuilder() {
     }
 
     /**
+     *
+     *
      * 
      * The version of the entity that this mutation is being applied
      * to. If this does not match the current version on the server, the
@@ -1721,12 +1912,15 @@ public com.google.datastore.v1.KeyOrBuilder getDeleteOrBuilder() {
      * 
* * int64 base_version = 8; + * * @return Whether the baseVersion field is set. */ public boolean hasBaseVersion() { return conflictDetectionStrategyCase_ == 8; } /** + * + * *
      * The version of the entity that this mutation is being applied
      * to. If this does not match the current version on the server, the
@@ -1734,6 +1928,7 @@ public boolean hasBaseVersion() {
      * 
* * int64 base_version = 8; + * * @return The baseVersion. */ public long getBaseVersion() { @@ -1743,6 +1938,8 @@ public long getBaseVersion() { return 0L; } /** + * + * *
      * The version of the entity that this mutation is being applied
      * to. If this does not match the current version on the server, the
@@ -1750,6 +1947,7 @@ public long getBaseVersion() {
      * 
* * int64 base_version = 8; + * * @param value The baseVersion to set. * @return This builder for chaining. */ @@ -1761,6 +1959,8 @@ public Builder setBaseVersion(long value) { return this; } /** + * + * *
      * The version of the entity that this mutation is being applied
      * to. If this does not match the current version on the server, the
@@ -1768,6 +1968,7 @@ public Builder setBaseVersion(long value) {
      * 
* * int64 base_version = 8; + * * @return This builder for chaining. */ public Builder clearBaseVersion() { @@ -1780,8 +1981,13 @@ public Builder clearBaseVersion() { } 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 update time of the entity that this mutation is being applied
      * to. If this does not match the current update time on the server, the
@@ -1789,6 +1995,7 @@ public Builder clearBaseVersion() {
      * 
* * .google.protobuf.Timestamp update_time = 11; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -1796,6 +2003,8 @@ public boolean hasUpdateTime() { return conflictDetectionStrategyCase_ == 11; } /** + * + * *
      * The update time of the entity that this mutation is being applied
      * to. If this does not match the current update time on the server, the
@@ -1803,6 +2012,7 @@ public boolean hasUpdateTime() {
      * 
* * .google.protobuf.Timestamp update_time = 11; + * * @return The updateTime. */ @java.lang.Override @@ -1820,6 +2030,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { } } /** + * + * *
      * The update time of the entity that this mutation is being applied
      * to. If this does not match the current update time on the server, the
@@ -1842,6 +2054,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update time of the entity that this mutation is being applied
      * to. If this does not match the current update time on the server, the
@@ -1850,8 +2064,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 11;
      */
-    public Builder setUpdateTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         conflictDetectionStrategy_ = builderForValue.build();
         onChanged();
@@ -1862,6 +2075,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The update time of the entity that this mutation is being applied
      * to. If this does not match the current update time on the server, the
@@ -1872,10 +2087,13 @@ public Builder setUpdateTime(
      */
     public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
-        if (conflictDetectionStrategyCase_ == 11 &&
-            conflictDetectionStrategy_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          conflictDetectionStrategy_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) conflictDetectionStrategy_)
-              .mergeFrom(value).buildPartial();
+        if (conflictDetectionStrategyCase_ == 11
+            && conflictDetectionStrategy_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          conflictDetectionStrategy_ =
+              com.google.protobuf.Timestamp.newBuilder(
+                      (com.google.protobuf.Timestamp) conflictDetectionStrategy_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           conflictDetectionStrategy_ = value;
         }
@@ -1891,6 +2109,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update time of the entity that this mutation is being applied
      * to. If this does not match the current update time on the server, the
@@ -1916,6 +2136,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update time of the entity that this mutation is being applied
      * to. If this does not match the current update time on the server, the
@@ -1928,6 +2150,8 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The update time of the entity that this mutation is being applied
      * to. If this does not match the current update time on the server, the
@@ -1948,6 +2172,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * The update time of the entity that this mutation is being applied
      * to. If this does not match the current update time on the server, the
@@ -1957,14 +2183,19 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_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>
         getUpdateTimeFieldBuilder() {
       if (updateTimeBuilder_ == null) {
         if (!(conflictDetectionStrategyCase_ == 11)) {
           conflictDetectionStrategy_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        updateTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
+        updateTimeBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
                 (com.google.protobuf.Timestamp) conflictDetectionStrategy_,
                 getParentForChildren(),
                 isClean());
@@ -1974,9 +2205,9 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
       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);
     }
 
@@ -1986,12 +2217,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.Mutation)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.Mutation)
   private static final com.google.datastore.v1.Mutation DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.Mutation();
   }
@@ -2000,27 +2231,27 @@ public static com.google.datastore.v1.Mutation getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Mutation parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Mutation parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -2035,6 +2266,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.Mutation getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationOrBuilder.java
similarity index 86%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationOrBuilder.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationOrBuilder.java
index 03090e154..e833ed942 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationOrBuilder.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationOrBuilder.java
@@ -1,34 +1,58 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/datastore.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface MutationOrBuilder extends
+public interface MutationOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.Mutation)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The entity to insert. The entity must not already exist.
    * The entity key's final path element may be incomplete.
    * 
* * .google.datastore.v1.Entity insert = 4; + * * @return Whether the insert field is set. */ boolean hasInsert(); /** + * + * *
    * The entity to insert. The entity must not already exist.
    * The entity key's final path element may be incomplete.
    * 
* * .google.datastore.v1.Entity insert = 4; + * * @return The insert. */ com.google.datastore.v1.Entity getInsert(); /** + * + * *
    * The entity to insert. The entity must not already exist.
    * The entity key's final path element may be incomplete.
@@ -39,26 +63,34 @@ public interface MutationOrBuilder extends
   com.google.datastore.v1.EntityOrBuilder getInsertOrBuilder();
 
   /**
+   *
+   *
    * 
    * The entity to update. The entity must already exist.
    * Must have a complete key path.
    * 
* * .google.datastore.v1.Entity update = 5; + * * @return Whether the update field is set. */ boolean hasUpdate(); /** + * + * *
    * The entity to update. The entity must already exist.
    * Must have a complete key path.
    * 
* * .google.datastore.v1.Entity update = 5; + * * @return The update. */ com.google.datastore.v1.Entity getUpdate(); /** + * + * *
    * The entity to update. The entity must already exist.
    * Must have a complete key path.
@@ -69,26 +101,34 @@ public interface MutationOrBuilder extends
   com.google.datastore.v1.EntityOrBuilder getUpdateOrBuilder();
 
   /**
+   *
+   *
    * 
    * The entity to upsert. The entity may or may not already exist.
    * The entity key's final path element may be incomplete.
    * 
* * .google.datastore.v1.Entity upsert = 6; + * * @return Whether the upsert field is set. */ boolean hasUpsert(); /** + * + * *
    * The entity to upsert. The entity may or may not already exist.
    * The entity key's final path element may be incomplete.
    * 
* * .google.datastore.v1.Entity upsert = 6; + * * @return The upsert. */ com.google.datastore.v1.Entity getUpsert(); /** + * + * *
    * The entity to upsert. The entity may or may not already exist.
    * The entity key's final path element may be incomplete.
@@ -99,26 +139,34 @@ public interface MutationOrBuilder extends
   com.google.datastore.v1.EntityOrBuilder getUpsertOrBuilder();
 
   /**
+   *
+   *
    * 
    * The key of the entity to delete. The entity may or may not already exist.
    * Must have a complete key path and must not be reserved/read-only.
    * 
* * .google.datastore.v1.Key delete = 7; + * * @return Whether the delete field is set. */ boolean hasDelete(); /** + * + * *
    * The key of the entity to delete. The entity may or may not already exist.
    * Must have a complete key path and must not be reserved/read-only.
    * 
* * .google.datastore.v1.Key delete = 7; + * * @return The delete. */ com.google.datastore.v1.Key getDelete(); /** + * + * *
    * The key of the entity to delete. The entity may or may not already exist.
    * Must have a complete key path and must not be reserved/read-only.
@@ -129,6 +177,8 @@ public interface MutationOrBuilder extends
   com.google.datastore.v1.KeyOrBuilder getDeleteOrBuilder();
 
   /**
+   *
+   *
    * 
    * The version of the entity that this mutation is being applied
    * to. If this does not match the current version on the server, the
@@ -136,10 +186,13 @@ public interface MutationOrBuilder extends
    * 
* * int64 base_version = 8; + * * @return Whether the baseVersion field is set. */ boolean hasBaseVersion(); /** + * + * *
    * The version of the entity that this mutation is being applied
    * to. If this does not match the current version on the server, the
@@ -147,11 +200,14 @@ public interface MutationOrBuilder extends
    * 
* * int64 base_version = 8; + * * @return The baseVersion. */ long getBaseVersion(); /** + * + * *
    * The update time of the entity that this mutation is being applied
    * to. If this does not match the current update time on the server, the
@@ -159,10 +215,13 @@ public interface MutationOrBuilder extends
    * 
* * .google.protobuf.Timestamp update_time = 11; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The update time of the entity that this mutation is being applied
    * to. If this does not match the current update time on the server, the
@@ -170,10 +229,13 @@ public interface MutationOrBuilder extends
    * 
* * .google.protobuf.Timestamp update_time = 11; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The update time of the entity that this mutation is being applied
    * to. If this does not match the current update time on the server, the
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationResult.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationResult.java
similarity index 75%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationResult.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationResult.java
index 29bf69eab..2e7abf0bd 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationResult.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationResult.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/datastore.proto
 
@@ -5,54 +20,60 @@
 package com.google.datastore.v1;
 
 /**
+ *
+ *
  * 
  * The result of applying a mutation.
  * 
* * Protobuf type {@code google.datastore.v1.MutationResult} */ -public final class MutationResult extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MutationResult extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.datastore.v1.MutationResult) MutationResultOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MutationResult.newBuilder() to construct. private MutationResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private MutationResult() { - } + + private MutationResult() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MutationResult(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_MutationResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_MutationResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_MutationResult_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_MutationResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.MutationResult.class, com.google.datastore.v1.MutationResult.Builder.class); + com.google.datastore.v1.MutationResult.class, + com.google.datastore.v1.MutationResult.Builder.class); } private int bitField0_; public static final int KEY_FIELD_NUMBER = 3; private com.google.datastore.v1.Key key_; /** + * + * *
    * The automatically allocated key.
    * Set only when the mutation allocated a key.
    * 
* * .google.datastore.v1.Key key = 3; + * * @return Whether the key field is set. */ @java.lang.Override @@ -60,12 +81,15 @@ public boolean hasKey() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The automatically allocated key.
    * Set only when the mutation allocated a key.
    * 
* * .google.datastore.v1.Key key = 3; + * * @return The key. */ @java.lang.Override @@ -73,6 +97,8 @@ public com.google.datastore.v1.Key getKey() { return key_ == null ? com.google.datastore.v1.Key.getDefaultInstance() : key_; } /** + * + * *
    * The automatically allocated key.
    * Set only when the mutation allocated a key.
@@ -88,6 +114,8 @@ public com.google.datastore.v1.KeyOrBuilder getKeyOrBuilder() {
   public static final int VERSION_FIELD_NUMBER = 4;
   private long version_ = 0L;
   /**
+   *
+   *
    * 
    * The version of the entity on the server after processing the mutation. If
    * the mutation doesn't change anything on the server, then the version will
@@ -97,6 +125,7 @@ public com.google.datastore.v1.KeyOrBuilder getKeyOrBuilder() {
    * 
* * int64 version = 4; + * * @return The version. */ @java.lang.Override @@ -107,11 +136,14 @@ public long getVersion() { public static final int CREATE_TIME_FIELD_NUMBER = 7; private com.google.protobuf.Timestamp createTime_; /** + * + * *
    * The create time of the entity. This field will not be set after a 'delete'.
    * 
* * .google.protobuf.Timestamp create_time = 7; + * * @return Whether the createTime field is set. */ @java.lang.Override @@ -119,11 +151,14 @@ public boolean hasCreateTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * The create time of the entity. This field will not be set after a 'delete'.
    * 
* * .google.protobuf.Timestamp create_time = 7; + * * @return The createTime. */ @java.lang.Override @@ -131,6 +166,8 @@ public com.google.protobuf.Timestamp getCreateTime() { return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; } /** + * + * *
    * The create time of the entity. This field will not be set after a 'delete'.
    * 
@@ -145,6 +182,8 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { public static final int UPDATE_TIME_FIELD_NUMBER = 6; private com.google.protobuf.Timestamp updateTime_; /** + * + * *
    * The update time of the entity on the server after processing the mutation.
    * If the mutation doesn't change anything on the server, then the timestamp
@@ -153,6 +192,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ @java.lang.Override @@ -160,6 +200,8 @@ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
    * The update time of the entity on the server after processing the mutation.
    * If the mutation doesn't change anything on the server, then the timestamp
@@ -168,6 +210,7 @@ public boolean hasUpdateTime() {
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ @java.lang.Override @@ -175,6 +218,8 @@ public com.google.protobuf.Timestamp getUpdateTime() { return updateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : updateTime_; } /** + * + * *
    * The update time of the entity on the server after processing the mutation.
    * If the mutation doesn't change anything on the server, then the timestamp
@@ -192,12 +237,15 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
   public static final int CONFLICT_DETECTED_FIELD_NUMBER = 5;
   private boolean conflictDetected_ = false;
   /**
+   *
+   *
    * 
    * Whether a conflict was detected for this mutation. Always false when a
    * conflict detection strategy field is not set in the mutation.
    * 
* * bool conflict_detected = 5; + * * @return The conflictDetected. */ @java.lang.Override @@ -206,6 +254,7 @@ public boolean getConflictDetected() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -217,8 +266,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getKey()); } @@ -244,24 +292,19 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getKey()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getKey()); } if (version_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, version_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, version_); } if (conflictDetected_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(5, conflictDetected_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(5, conflictDetected_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, getUpdateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getUpdateTime()); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getCreateTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getCreateTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -271,7 +314,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.datastore.v1.MutationResult)) { return super.equals(obj); @@ -280,23 +323,18 @@ public boolean equals(final java.lang.Object obj) { if (hasKey() != other.hasKey()) return false; if (hasKey()) { - if (!getKey() - .equals(other.getKey())) return false; + if (!getKey().equals(other.getKey())) return false; } - if (getVersion() - != other.getVersion()) return false; + if (getVersion() != other.getVersion()) 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 (getConflictDetected() - != other.getConflictDetected()) return false; + if (getConflictDetected() != other.getConflictDetected()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -313,8 +351,7 @@ public int hashCode() { hash = (53 * hash) + getKey().hashCode(); } hash = (37 * hash) + VERSION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getVersion()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getVersion()); if (hasCreateTime()) { hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getCreateTime().hashCode(); @@ -324,127 +361,133 @@ public int hashCode() { hash = (53 * hash) + getUpdateTime().hashCode(); } hash = (37 * hash) + CONFLICT_DETECTED_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getConflictDetected()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getConflictDetected()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.datastore.v1.MutationResult parseFrom( - java.nio.ByteBuffer data) + public static com.google.datastore.v1.MutationResult parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.MutationResult parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.MutationResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.MutationResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.MutationResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.MutationResult parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.MutationResult parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.MutationResult parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.datastore.v1.MutationResult 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.datastore.v1.MutationResult parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.datastore.v1.MutationResult parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.MutationResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.datastore.v1.MutationResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 mutation.
    * 
* * Protobuf type {@code google.datastore.v1.MutationResult} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.MutationResult) com.google.datastore.v1.MutationResultOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_MutationResult_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_MutationResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_MutationResult_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_MutationResult_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.MutationResult.class, com.google.datastore.v1.MutationResult.Builder.class); + com.google.datastore.v1.MutationResult.class, + com.google.datastore.v1.MutationResult.Builder.class); } // Construct using com.google.datastore.v1.MutationResult.newBuilder() @@ -452,19 +495,19 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getKeyFieldBuilder(); getCreateTimeFieldBuilder(); getUpdateTimeFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -490,9 +533,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_MutationResult_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_MutationResult_descriptor; } @java.lang.Override @@ -511,8 +554,11 @@ public com.google.datastore.v1.MutationResult build() { @java.lang.Override public com.google.datastore.v1.MutationResult buildPartial() { - com.google.datastore.v1.MutationResult result = new com.google.datastore.v1.MutationResult(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.datastore.v1.MutationResult result = + new com.google.datastore.v1.MutationResult(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -521,24 +567,18 @@ private void buildPartial0(com.google.datastore.v1.MutationResult result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.key_ = keyBuilder_ == null - ? key_ - : keyBuilder_.build(); + result.key_ = keyBuilder_ == null ? key_ : keyBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.version_ = version_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.createTime_ = createTimeBuilder_ == null - ? createTime_ - : createTimeBuilder_.build(); + result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.updateTime_ = updateTimeBuilder_ == null - ? updateTime_ - : updateTimeBuilder_.build(); + result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build(); to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000010) != 0)) { @@ -551,38 +591,39 @@ private void buildPartial0(com.google.datastore.v1.MutationResult result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.MutationResult) { - return mergeFrom((com.google.datastore.v1.MutationResult)other); + return mergeFrom((com.google.datastore.v1.MutationResult) other); } else { super.mergeFrom(other); return this; @@ -632,43 +673,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 26: { - input.readMessage( - getKeyFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 26 - case 32: { - version_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 32 - case 40: { - conflictDetected_ = input.readBool(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 50: { - input.readMessage( - getUpdateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 50 - case 58: { - input.readMessage( - getCreateTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 58 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 26: + { + input.readMessage(getKeyFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 26 + case 32: + { + version_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 32 + case 40: + { + conflictDetected_ = input.readBool(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 50: + { + input.readMessage(getUpdateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 50 + case 58: + { + input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + 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) { @@ -678,30 +719,40 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.datastore.v1.Key key_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> keyBuilder_; + com.google.datastore.v1.Key, + com.google.datastore.v1.Key.Builder, + com.google.datastore.v1.KeyOrBuilder> + keyBuilder_; /** + * + * *
      * The automatically allocated key.
      * Set only when the mutation allocated a key.
      * 
* * .google.datastore.v1.Key key = 3; + * * @return Whether the key field is set. */ public boolean hasKey() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The automatically allocated key.
      * Set only when the mutation allocated a key.
      * 
* * .google.datastore.v1.Key key = 3; + * * @return The key. */ public com.google.datastore.v1.Key getKey() { @@ -712,6 +763,8 @@ public com.google.datastore.v1.Key getKey() { } } /** + * + * *
      * The automatically allocated key.
      * Set only when the mutation allocated a key.
@@ -733,6 +786,8 @@ public Builder setKey(com.google.datastore.v1.Key value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The automatically allocated key.
      * Set only when the mutation allocated a key.
@@ -740,8 +795,7 @@ public Builder setKey(com.google.datastore.v1.Key value) {
      *
      * .google.datastore.v1.Key key = 3;
      */
-    public Builder setKey(
-        com.google.datastore.v1.Key.Builder builderForValue) {
+    public Builder setKey(com.google.datastore.v1.Key.Builder builderForValue) {
       if (keyBuilder_ == null) {
         key_ = builderForValue.build();
       } else {
@@ -752,6 +806,8 @@ public Builder setKey(
       return this;
     }
     /**
+     *
+     *
      * 
      * The automatically allocated key.
      * Set only when the mutation allocated a key.
@@ -761,9 +817,9 @@ public Builder setKey(
      */
     public Builder mergeKey(com.google.datastore.v1.Key value) {
       if (keyBuilder_ == null) {
-        if (((bitField0_ & 0x00000001) != 0) &&
-          key_ != null &&
-          key_ != com.google.datastore.v1.Key.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000001) != 0)
+            && key_ != null
+            && key_ != com.google.datastore.v1.Key.getDefaultInstance()) {
           getKeyBuilder().mergeFrom(value);
         } else {
           key_ = value;
@@ -778,6 +834,8 @@ public Builder mergeKey(com.google.datastore.v1.Key value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The automatically allocated key.
      * Set only when the mutation allocated a key.
@@ -796,6 +854,8 @@ public Builder clearKey() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The automatically allocated key.
      * Set only when the mutation allocated a key.
@@ -809,6 +869,8 @@ public com.google.datastore.v1.Key.Builder getKeyBuilder() {
       return getKeyFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The automatically allocated key.
      * Set only when the mutation allocated a key.
@@ -820,11 +882,12 @@ public com.google.datastore.v1.KeyOrBuilder getKeyOrBuilder() {
       if (keyBuilder_ != null) {
         return keyBuilder_.getMessageOrBuilder();
       } else {
-        return key_ == null ?
-            com.google.datastore.v1.Key.getDefaultInstance() : key_;
+        return key_ == null ? com.google.datastore.v1.Key.getDefaultInstance() : key_;
       }
     }
     /**
+     *
+     *
      * 
      * The automatically allocated key.
      * Set only when the mutation allocated a key.
@@ -833,21 +896,25 @@ public com.google.datastore.v1.KeyOrBuilder getKeyOrBuilder() {
      * .google.datastore.v1.Key key = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> 
+            com.google.datastore.v1.Key,
+            com.google.datastore.v1.Key.Builder,
+            com.google.datastore.v1.KeyOrBuilder>
         getKeyFieldBuilder() {
       if (keyBuilder_ == null) {
-        keyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder>(
-                getKey(),
-                getParentForChildren(),
-                isClean());
+        keyBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.datastore.v1.Key,
+                com.google.datastore.v1.Key.Builder,
+                com.google.datastore.v1.KeyOrBuilder>(getKey(), getParentForChildren(), isClean());
         key_ = null;
       }
       return keyBuilder_;
     }
 
-    private long version_ ;
+    private long version_;
     /**
+     *
+     *
      * 
      * The version of the entity on the server after processing the mutation. If
      * the mutation doesn't change anything on the server, then the version will
@@ -857,6 +924,7 @@ public com.google.datastore.v1.KeyOrBuilder getKeyOrBuilder() {
      * 
* * int64 version = 4; + * * @return The version. */ @java.lang.Override @@ -864,6 +932,8 @@ public long getVersion() { return version_; } /** + * + * *
      * The version of the entity on the server after processing the mutation. If
      * the mutation doesn't change anything on the server, then the version will
@@ -873,6 +943,7 @@ public long getVersion() {
      * 
* * int64 version = 4; + * * @param value The version to set. * @return This builder for chaining. */ @@ -884,6 +955,8 @@ public Builder setVersion(long value) { return this; } /** + * + * *
      * The version of the entity on the server after processing the mutation. If
      * the mutation doesn't change anything on the server, then the version will
@@ -893,6 +966,7 @@ public Builder setVersion(long value) {
      * 
* * int64 version = 4; + * * @return This builder for chaining. */ public Builder clearVersion() { @@ -904,34 +978,47 @@ public Builder clearVersion() { 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_; /** + * + * *
      * The create time of the entity. This field will not be set after a 'delete'.
      * 
* * .google.protobuf.Timestamp create_time = 7; + * * @return Whether the createTime field is set. */ public boolean hasCreateTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The create time of the entity. This field will not be set after a 'delete'.
      * 
* * .google.protobuf.Timestamp create_time = 7; + * * @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(); } } /** + * + * *
      * The create time of the entity. This field will not be set after a 'delete'.
      * 
@@ -952,14 +1039,15 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The create time of the entity. This field will not be set after a 'delete'.
      * 
* * .google.protobuf.Timestamp create_time = 7; */ - public Builder setCreateTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (createTimeBuilder_ == null) { createTime_ = builderForValue.build(); } else { @@ -970,6 +1058,8 @@ public Builder setCreateTime( return this; } /** + * + * *
      * The create time of the entity. This field will not be set after a 'delete'.
      * 
@@ -978,9 +1068,9 @@ public Builder setCreateTime( */ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { if (createTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - createTime_ != null && - createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && createTime_ != null + && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getCreateTimeBuilder().mergeFrom(value); } else { createTime_ = value; @@ -995,6 +1085,8 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * The create time of the entity. This field will not be set after a 'delete'.
      * 
@@ -1012,6 +1104,8 @@ public Builder clearCreateTime() { return this; } /** + * + * *
      * The create time of the entity. This field will not be set after a 'delete'.
      * 
@@ -1024,6 +1118,8 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() { return getCreateTimeFieldBuilder().getBuilder(); } /** + * + * *
      * The create time of the entity. This field will not be set after a 'delete'.
      * 
@@ -1034,11 +1130,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_; } } /** + * + * *
      * The create time of the entity. This field will not be set after a 'delete'.
      * 
@@ -1046,14 +1145,17 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() { * .google.protobuf.Timestamp create_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> 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_; @@ -1061,8 +1163,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_; /** + * + * *
      * The update time of the entity on the server after processing the mutation.
      * If the mutation doesn't change anything on the server, then the timestamp
@@ -1071,12 +1178,15 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ public boolean hasUpdateTime() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * The update time of the entity on the server after processing the mutation.
      * If the mutation doesn't change anything on the server, then the timestamp
@@ -1085,16 +1195,21 @@ public boolean hasUpdateTime() {
      * 
* * .google.protobuf.Timestamp update_time = 6; + * * @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 update time of the entity on the server after processing the mutation.
      * If the mutation doesn't change anything on the server, then the timestamp
@@ -1118,6 +1233,8 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update time of the entity on the server after processing the mutation.
      * If the mutation doesn't change anything on the server, then the timestamp
@@ -1127,8 +1244,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp update_time = 6;
      */
-    public Builder setUpdateTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (updateTimeBuilder_ == null) {
         updateTime_ = builderForValue.build();
       } else {
@@ -1139,6 +1255,8 @@ public Builder setUpdateTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * The update time of the entity on the server after processing the mutation.
      * If the mutation doesn't change anything on the server, then the timestamp
@@ -1150,9 +1268,9 @@ public Builder setUpdateTime(
      */
     public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       if (updateTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0) &&
-          updateTime_ != null &&
-          updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && updateTime_ != null
+            && updateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getUpdateTimeBuilder().mergeFrom(value);
         } else {
           updateTime_ = value;
@@ -1167,6 +1285,8 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update time of the entity on the server after processing the mutation.
      * If the mutation doesn't change anything on the server, then the timestamp
@@ -1187,6 +1307,8 @@ public Builder clearUpdateTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The update time of the entity on the server after processing the mutation.
      * If the mutation doesn't change anything on the server, then the timestamp
@@ -1202,6 +1324,8 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
       return getUpdateTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The update time of the entity on the server after processing the mutation.
      * If the mutation doesn't change anything on the server, then the timestamp
@@ -1215,11 +1339,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 update time of the entity on the server after processing the mutation.
      * If the mutation doesn't change anything on the server, then the timestamp
@@ -1230,27 +1357,33 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
      * .google.protobuf.Timestamp update_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>
         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 boolean conflictDetected_ ;
+    private boolean conflictDetected_;
     /**
+     *
+     *
      * 
      * Whether a conflict was detected for this mutation. Always false when a
      * conflict detection strategy field is not set in the mutation.
      * 
* * bool conflict_detected = 5; + * * @return The conflictDetected. */ @java.lang.Override @@ -1258,12 +1391,15 @@ public boolean getConflictDetected() { return conflictDetected_; } /** + * + * *
      * Whether a conflict was detected for this mutation. Always false when a
      * conflict detection strategy field is not set in the mutation.
      * 
* * bool conflict_detected = 5; + * * @param value The conflictDetected to set. * @return This builder for chaining. */ @@ -1275,12 +1411,15 @@ public Builder setConflictDetected(boolean value) { return this; } /** + * + * *
      * Whether a conflict was detected for this mutation. Always false when a
      * conflict detection strategy field is not set in the mutation.
      * 
* * bool conflict_detected = 5; + * * @return This builder for chaining. */ public Builder clearConflictDetected() { @@ -1289,9 +1428,9 @@ public Builder clearConflictDetected() { 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); } @@ -1301,12 +1440,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.v1.MutationResult) } // @@protoc_insertion_point(class_scope:google.datastore.v1.MutationResult) private static final com.google.datastore.v1.MutationResult DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.v1.MutationResult(); } @@ -1315,27 +1454,27 @@ public static com.google.datastore.v1.MutationResult getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public MutationResult parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public MutationResult parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1350,6 +1489,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.MutationResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationResultOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationResultOrBuilder.java similarity index 83% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationResultOrBuilder.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationResultOrBuilder.java index 65f437b2e..bec5014e2 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationResultOrBuilder.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/MutationResultOrBuilder.java @@ -1,34 +1,58 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface MutationResultOrBuilder extends +public interface MutationResultOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.MutationResult) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The automatically allocated key.
    * Set only when the mutation allocated a key.
    * 
* * .google.datastore.v1.Key key = 3; + * * @return Whether the key field is set. */ boolean hasKey(); /** + * + * *
    * The automatically allocated key.
    * Set only when the mutation allocated a key.
    * 
* * .google.datastore.v1.Key key = 3; + * * @return The key. */ com.google.datastore.v1.Key getKey(); /** + * + * *
    * The automatically allocated key.
    * Set only when the mutation allocated a key.
@@ -39,6 +63,8 @@ public interface MutationResultOrBuilder extends
   com.google.datastore.v1.KeyOrBuilder getKeyOrBuilder();
 
   /**
+   *
+   *
    * 
    * The version of the entity on the server after processing the mutation. If
    * the mutation doesn't change anything on the server, then the version will
@@ -48,29 +74,38 @@ public interface MutationResultOrBuilder extends
    * 
* * int64 version = 4; + * * @return The version. */ long getVersion(); /** + * + * *
    * The create time of the entity. This field will not be set after a 'delete'.
    * 
* * .google.protobuf.Timestamp create_time = 7; + * * @return Whether the createTime field is set. */ boolean hasCreateTime(); /** + * + * *
    * The create time of the entity. This field will not be set after a 'delete'.
    * 
* * .google.protobuf.Timestamp create_time = 7; + * * @return The createTime. */ com.google.protobuf.Timestamp getCreateTime(); /** + * + * *
    * The create time of the entity. This field will not be set after a 'delete'.
    * 
@@ -80,6 +115,8 @@ public interface MutationResultOrBuilder extends com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder(); /** + * + * *
    * The update time of the entity on the server after processing the mutation.
    * If the mutation doesn't change anything on the server, then the timestamp
@@ -88,10 +125,13 @@ public interface MutationResultOrBuilder extends
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** + * + * *
    * The update time of the entity on the server after processing the mutation.
    * If the mutation doesn't change anything on the server, then the timestamp
@@ -100,10 +140,13 @@ public interface MutationResultOrBuilder extends
    * 
* * .google.protobuf.Timestamp update_time = 6; + * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** + * + * *
    * The update time of the entity on the server after processing the mutation.
    * If the mutation doesn't change anything on the server, then the timestamp
@@ -116,12 +159,15 @@ public interface MutationResultOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
 
   /**
+   *
+   *
    * 
    * Whether a conflict was detected for this mutation. Always false when a
    * conflict detection strategy field is not set in the mutation.
    * 
* * bool conflict_detected = 5; + * * @return The conflictDetected. */ boolean getConflictDetected(); diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PartitionId.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PartitionId.java similarity index 70% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PartitionId.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PartitionId.java index fb2d7b79c..9116410f5 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PartitionId.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PartitionId.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/entity.proto @@ -5,6 +20,8 @@ package com.google.datastore.v1; /** + * + * *
  * A partition ID identifies a grouping of entities. The grouping is always
  * by project and namespace, however the namespace ID may be empty.
@@ -30,15 +47,16 @@
  *
  * Protobuf type {@code google.datastore.v1.PartitionId}
  */
-public final class PartitionId extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class PartitionId extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.datastore.v1.PartitionId)
     PartitionIdOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use PartitionId.newBuilder() to construct.
   private PartitionId(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private PartitionId() {
     projectId_ = "";
     databaseId_ = "";
@@ -47,33 +65,38 @@ private PartitionId() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new PartitionId();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_PartitionId_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.datastore.v1.EntityProto
+        .internal_static_google_datastore_v1_PartitionId_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_PartitionId_fieldAccessorTable
+    return com.google.datastore.v1.EntityProto
+        .internal_static_google_datastore_v1_PartitionId_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.v1.PartitionId.class, com.google.datastore.v1.PartitionId.Builder.class);
+            com.google.datastore.v1.PartitionId.class,
+            com.google.datastore.v1.PartitionId.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 2;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object projectId_ = "";
   /**
+   *
+   *
    * 
    * The ID of the project to which the entities belong.
    * 
* * string project_id = 2; + * * @return The projectId. */ @java.lang.Override @@ -82,29 +105,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * The ID of the project to which the entities belong.
    * 
* * string project_id = 2; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -113,15 +136,19 @@ public java.lang.String getProjectId() { } public static final int DATABASE_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object databaseId_ = ""; /** + * + * *
    * If not empty, the ID of the database to which the entities
    * belong.
    * 
* * string database_id = 3; + * * @return The databaseId. */ @java.lang.Override @@ -130,30 +157,30 @@ public java.lang.String getDatabaseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; } } /** + * + * *
    * If not empty, the ID of the database to which the entities
    * belong.
    * 
* * string database_id = 3; + * * @return The bytes for databaseId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseIdBytes() { + public com.google.protobuf.ByteString getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); databaseId_ = b; return b; } else { @@ -162,14 +189,18 @@ public java.lang.String getDatabaseId() { } public static final int NAMESPACE_ID_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object namespaceId_ = ""; /** + * + * *
    * If not empty, the ID of the namespace to which the entities belong.
    * 
* * string namespace_id = 4; + * * @return The namespaceId. */ @java.lang.Override @@ -178,29 +209,29 @@ public java.lang.String getNamespaceId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); namespaceId_ = s; return s; } } /** + * + * *
    * If not empty, the ID of the namespace to which the entities belong.
    * 
* * string namespace_id = 4; + * * @return The bytes for namespaceId. */ @java.lang.Override - public com.google.protobuf.ByteString - getNamespaceIdBytes() { + public com.google.protobuf.ByteString getNamespaceIdBytes() { java.lang.Object ref = namespaceId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); namespaceId_ = b; return b; } else { @@ -209,6 +240,7 @@ public java.lang.String getNamespaceId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -220,8 +252,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(projectId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, projectId_); } @@ -257,19 +288,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.datastore.v1.PartitionId)) { return super.equals(obj); } com.google.datastore.v1.PartitionId other = (com.google.datastore.v1.PartitionId) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getDatabaseId() - .equals(other.getDatabaseId())) return false; - if (!getNamespaceId() - .equals(other.getNamespaceId())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getDatabaseId().equals(other.getDatabaseId())) return false; + if (!getNamespaceId().equals(other.getNamespaceId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -292,99 +320,103 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.PartitionId parseFrom( - java.nio.ByteBuffer data) + public static com.google.datastore.v1.PartitionId parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.PartitionId parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.PartitionId parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.datastore.v1.PartitionId parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.PartitionId parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.PartitionId parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.PartitionId parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.PartitionId parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.PartitionId parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.datastore.v1.PartitionId 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.datastore.v1.PartitionId parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.datastore.v1.PartitionId parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.PartitionId parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.datastore.v1.PartitionId prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 partition ID identifies a grouping of entities. The grouping is always
    * by project and namespace, however the namespace ID may be empty.
@@ -410,33 +442,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.datastore.v1.PartitionId}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.datastore.v1.PartitionId)
       com.google.datastore.v1.PartitionIdOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_PartitionId_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.datastore.v1.EntityProto
+          .internal_static_google_datastore_v1_PartitionId_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_PartitionId_fieldAccessorTable
+      return com.google.datastore.v1.EntityProto
+          .internal_static_google_datastore_v1_PartitionId_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.PartitionId.class, com.google.datastore.v1.PartitionId.Builder.class);
+              com.google.datastore.v1.PartitionId.class,
+              com.google.datastore.v1.PartitionId.Builder.class);
     }
 
     // Construct using com.google.datastore.v1.PartitionId.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -448,9 +479,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_PartitionId_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.datastore.v1.EntityProto
+          .internal_static_google_datastore_v1_PartitionId_descriptor;
     }
 
     @java.lang.Override
@@ -470,7 +501,9 @@ public com.google.datastore.v1.PartitionId build() {
     @java.lang.Override
     public com.google.datastore.v1.PartitionId buildPartial() {
       com.google.datastore.v1.PartitionId result = new com.google.datastore.v1.PartitionId(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -492,38 +525,39 @@ private void buildPartial0(com.google.datastore.v1.PartitionId result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.PartitionId) {
-        return mergeFrom((com.google.datastore.v1.PartitionId)other);
+        return mergeFrom((com.google.datastore.v1.PartitionId) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -573,27 +607,31 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 18: {
-              projectId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 18
-            case 26: {
-              databaseId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 26
-            case 34: {
-              namespaceId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 34
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 18:
+              {
+                projectId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 18
+            case 26:
+              {
+                databaseId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 26
+            case 34:
+              {
+                namespaceId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 34
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -603,22 +641,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object projectId_ = "";
     /**
+     *
+     *
      * 
      * The ID of the project to which the entities belong.
      * 
* * string project_id = 2; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -627,20 +668,21 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * The ID of the project to which the entities belong.
      * 
* * string project_id = 2; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -648,28 +690,35 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * The ID of the project to which the entities belong.
      * 
* * string project_id = 2; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * The ID of the project to which the entities belong.
      * 
* * string project_id = 2; + * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -679,17 +728,21 @@ public Builder clearProjectId() { return this; } /** + * + * *
      * The ID of the project to which the entities belong.
      * 
* * string project_id = 2; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -699,19 +752,21 @@ public Builder setProjectIdBytes( private java.lang.Object databaseId_ = ""; /** + * + * *
      * If not empty, the ID of the database to which the entities
      * belong.
      * 
* * string database_id = 3; + * * @return The databaseId. */ public java.lang.String getDatabaseId() { java.lang.Object ref = databaseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; @@ -720,21 +775,22 @@ public java.lang.String getDatabaseId() { } } /** + * + * *
      * If not empty, the ID of the database to which the entities
      * belong.
      * 
* * string database_id = 3; + * * @return The bytes for databaseId. */ - public com.google.protobuf.ByteString - getDatabaseIdBytes() { + public com.google.protobuf.ByteString getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); databaseId_ = b; return b; } else { @@ -742,30 +798,37 @@ public java.lang.String getDatabaseId() { } } /** + * + * *
      * If not empty, the ID of the database to which the entities
      * belong.
      * 
* * string database_id = 3; + * * @param value The databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } databaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * If not empty, the ID of the database to which the entities
      * belong.
      * 
* * string database_id = 3; + * * @return This builder for chaining. */ public Builder clearDatabaseId() { @@ -775,18 +838,22 @@ public Builder clearDatabaseId() { return this; } /** + * + * *
      * If not empty, the ID of the database to which the entities
      * belong.
      * 
* * string database_id = 3; + * * @param value The bytes for databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); databaseId_ = value; bitField0_ |= 0x00000002; @@ -796,18 +863,20 @@ public Builder setDatabaseIdBytes( private java.lang.Object namespaceId_ = ""; /** + * + * *
      * If not empty, the ID of the namespace to which the entities belong.
      * 
* * string namespace_id = 4; + * * @return The namespaceId. */ public java.lang.String getNamespaceId() { java.lang.Object ref = namespaceId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); namespaceId_ = s; return s; @@ -816,20 +885,21 @@ public java.lang.String getNamespaceId() { } } /** + * + * *
      * If not empty, the ID of the namespace to which the entities belong.
      * 
* * string namespace_id = 4; + * * @return The bytes for namespaceId. */ - public com.google.protobuf.ByteString - getNamespaceIdBytes() { + public com.google.protobuf.ByteString getNamespaceIdBytes() { java.lang.Object ref = namespaceId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); namespaceId_ = b; return b; } else { @@ -837,28 +907,35 @@ public java.lang.String getNamespaceId() { } } /** + * + * *
      * If not empty, the ID of the namespace to which the entities belong.
      * 
* * string namespace_id = 4; + * * @param value The namespaceId to set. * @return This builder for chaining. */ - public Builder setNamespaceId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNamespaceId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } namespaceId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * If not empty, the ID of the namespace to which the entities belong.
      * 
* * string namespace_id = 4; + * * @return This builder for chaining. */ public Builder clearNamespaceId() { @@ -868,26 +945,30 @@ public Builder clearNamespaceId() { return this; } /** + * + * *
      * If not empty, the ID of the namespace to which the entities belong.
      * 
* * string namespace_id = 4; + * * @param value The bytes for namespaceId to set. * @return This builder for chaining. */ - public Builder setNamespaceIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNamespaceIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); namespaceId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -897,12 +978,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.v1.PartitionId) } // @@protoc_insertion_point(class_scope:google.datastore.v1.PartitionId) private static final com.google.datastore.v1.PartitionId DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.v1.PartitionId(); } @@ -911,27 +992,27 @@ public static com.google.datastore.v1.PartitionId getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PartitionId parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PartitionId parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -946,6 +1027,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.PartitionId getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PartitionIdOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PartitionIdOrBuilder.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PartitionIdOrBuilder.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PartitionIdOrBuilder.java index 144b3a079..d9dc8c271 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PartitionIdOrBuilder.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PartitionIdOrBuilder.java @@ -1,72 +1,103 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/entity.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface PartitionIdOrBuilder extends +public interface PartitionIdOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.PartitionId) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The ID of the project to which the entities belong.
    * 
* * string project_id = 2; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
    * The ID of the project to which the entities belong.
    * 
* * string project_id = 2; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * If not empty, the ID of the database to which the entities
    * belong.
    * 
* * string database_id = 3; + * * @return The databaseId. */ java.lang.String getDatabaseId(); /** + * + * *
    * If not empty, the ID of the database to which the entities
    * belong.
    * 
* * string database_id = 3; + * * @return The bytes for databaseId. */ - com.google.protobuf.ByteString - getDatabaseIdBytes(); + com.google.protobuf.ByteString getDatabaseIdBytes(); /** + * + * *
    * If not empty, the ID of the namespace to which the entities belong.
    * 
* * string namespace_id = 4; + * * @return The namespaceId. */ java.lang.String getNamespaceId(); /** + * + * *
    * If not empty, the ID of the namespace to which the entities belong.
    * 
* * string namespace_id = 4; + * * @return The bytes for namespaceId. */ - com.google.protobuf.ByteString - getNamespaceIdBytes(); + com.google.protobuf.ByteString getNamespaceIdBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PlanSummary.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PlanSummary.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PlanSummary.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PlanSummary.java index 99f981e97..b68c700c3 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PlanSummary.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PlanSummary.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query_profile.proto @@ -5,49 +20,56 @@ package com.google.datastore.v1; /** + * + * *
  * Planning phase information for the query.
  * 
* * Protobuf type {@code google.datastore.v1.PlanSummary} */ -public final class PlanSummary extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PlanSummary extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.datastore.v1.PlanSummary) PlanSummaryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PlanSummary.newBuilder() to construct. private PlanSummary(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PlanSummary() { indexesUsed_ = 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 PlanSummary(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_PlanSummary_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.QueryProfileProto + .internal_static_google_datastore_v1_PlanSummary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_PlanSummary_fieldAccessorTable + return com.google.datastore.v1.QueryProfileProto + .internal_static_google_datastore_v1_PlanSummary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.PlanSummary.class, com.google.datastore.v1.PlanSummary.Builder.class); + com.google.datastore.v1.PlanSummary.class, + com.google.datastore.v1.PlanSummary.Builder.class); } public static final int INDEXES_USED_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List indexesUsed_; /** + * + * *
    * The indexes selected for the query. For example:
    *  [
@@ -63,6 +85,8 @@ public java.util.List getIndexesUsedList() {
     return indexesUsed_;
   }
   /**
+   *
+   *
    * 
    * The indexes selected for the query. For example:
    *  [
@@ -74,11 +98,13 @@ public java.util.List getIndexesUsedList() {
    * repeated .google.protobuf.Struct indexes_used = 1;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getIndexesUsedOrBuilderList() {
     return indexesUsed_;
   }
   /**
+   *
+   *
    * 
    * The indexes selected for the query. For example:
    *  [
@@ -94,6 +120,8 @@ public int getIndexesUsedCount() {
     return indexesUsed_.size();
   }
   /**
+   *
+   *
    * 
    * The indexes selected for the query. For example:
    *  [
@@ -109,6 +137,8 @@ public com.google.protobuf.Struct getIndexesUsed(int index) {
     return indexesUsed_.get(index);
   }
   /**
+   *
+   *
    * 
    * The indexes selected for the query. For example:
    *  [
@@ -120,12 +150,12 @@ public com.google.protobuf.Struct getIndexesUsed(int index) {
    * repeated .google.protobuf.Struct indexes_used = 1;
    */
   @java.lang.Override
-  public com.google.protobuf.StructOrBuilder getIndexesUsedOrBuilder(
-      int index) {
+  public com.google.protobuf.StructOrBuilder getIndexesUsedOrBuilder(int index) {
     return indexesUsed_.get(index);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -137,8 +167,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 < indexesUsed_.size(); i++) {
       output.writeMessage(1, indexesUsed_.get(i));
     }
@@ -152,8 +181,7 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < indexesUsed_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, indexesUsed_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, indexesUsed_.get(i));
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -163,15 +191,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.datastore.v1.PlanSummary)) {
       return super.equals(obj);
     }
     com.google.datastore.v1.PlanSummary other = (com.google.datastore.v1.PlanSummary) obj;
 
-    if (!getIndexesUsedList()
-        .equals(other.getIndexesUsedList())) return false;
+    if (!getIndexesUsedList().equals(other.getIndexesUsedList())) return false;
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
   }
@@ -192,132 +219,135 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.PlanSummary parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.PlanSummary parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.PlanSummary parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.datastore.v1.PlanSummary parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.datastore.v1.PlanSummary parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.PlanSummary parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.PlanSummary parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.PlanSummary parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.PlanSummary parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.datastore.v1.PlanSummary parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   public static com.google.datastore.v1.PlanSummary 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.datastore.v1.PlanSummary parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.datastore.v1.PlanSummary parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.datastore.v1.PlanSummary parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.datastore.v1.PlanSummary prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected Builder newBuilderForType(
-      com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
     Builder builder = new Builder(parent);
     return builder;
   }
   /**
+   *
+   *
    * 
    * Planning phase information for the query.
    * 
* * Protobuf type {@code google.datastore.v1.PlanSummary} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.PlanSummary) com.google.datastore.v1.PlanSummaryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_PlanSummary_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.QueryProfileProto + .internal_static_google_datastore_v1_PlanSummary_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_PlanSummary_fieldAccessorTable + return com.google.datastore.v1.QueryProfileProto + .internal_static_google_datastore_v1_PlanSummary_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.PlanSummary.class, com.google.datastore.v1.PlanSummary.Builder.class); + com.google.datastore.v1.PlanSummary.class, + com.google.datastore.v1.PlanSummary.Builder.class); } // Construct using com.google.datastore.v1.PlanSummary.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -333,9 +363,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.v1.QueryProfileProto.internal_static_google_datastore_v1_PlanSummary_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.v1.QueryProfileProto + .internal_static_google_datastore_v1_PlanSummary_descriptor; } @java.lang.Override @@ -356,7 +386,9 @@ public com.google.datastore.v1.PlanSummary build() { public com.google.datastore.v1.PlanSummary buildPartial() { com.google.datastore.v1.PlanSummary result = new com.google.datastore.v1.PlanSummary(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -381,38 +413,39 @@ private void buildPartial0(com.google.datastore.v1.PlanSummary result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.PlanSummary) { - return mergeFrom((com.google.datastore.v1.PlanSummary)other); + return mergeFrom((com.google.datastore.v1.PlanSummary) other); } else { super.mergeFrom(other); return this; @@ -439,9 +472,10 @@ public Builder mergeFrom(com.google.datastore.v1.PlanSummary other) { indexesUsedBuilder_ = null; indexesUsed_ = other.indexesUsed_; bitField0_ = (bitField0_ & ~0x00000001); - indexesUsedBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getIndexesUsedFieldBuilder() : null; + indexesUsedBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getIndexesUsedFieldBuilder() + : null; } else { indexesUsedBuilder_.addAllMessages(other.indexesUsed_); } @@ -473,25 +507,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.protobuf.Struct m = - input.readMessage( - com.google.protobuf.Struct.parser(), - extensionRegistry); - if (indexesUsedBuilder_ == null) { - ensureIndexesUsedIsMutable(); - indexesUsed_.add(m); - } else { - indexesUsedBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.protobuf.Struct m = + input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry); + if (indexesUsedBuilder_ == null) { + ensureIndexesUsedIsMutable(); + indexesUsed_.add(m); + } else { + indexesUsedBuilder_.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) { @@ -501,21 +535,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List indexesUsed_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureIndexesUsedIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { indexesUsed_ = new java.util.ArrayList(indexesUsed_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> indexesUsedBuilder_; + com.google.protobuf.Struct, + com.google.protobuf.Struct.Builder, + com.google.protobuf.StructOrBuilder> + indexesUsedBuilder_; /** + * + * *
      * The indexes selected for the query. For example:
      *  [
@@ -534,6 +575,8 @@ public java.util.List getIndexesUsedList() {
       }
     }
     /**
+     *
+     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -552,6 +595,8 @@ public int getIndexesUsedCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -570,6 +615,8 @@ public com.google.protobuf.Struct getIndexesUsed(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -580,8 +627,7 @@ public com.google.protobuf.Struct getIndexesUsed(int index) {
      *
      * repeated .google.protobuf.Struct indexes_used = 1;
      */
-    public Builder setIndexesUsed(
-        int index, com.google.protobuf.Struct value) {
+    public Builder setIndexesUsed(int index, com.google.protobuf.Struct value) {
       if (indexesUsedBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -595,6 +641,8 @@ public Builder setIndexesUsed(
       return this;
     }
     /**
+     *
+     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -605,8 +653,7 @@ public Builder setIndexesUsed(
      *
      * repeated .google.protobuf.Struct indexes_used = 1;
      */
-    public Builder setIndexesUsed(
-        int index, com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder setIndexesUsed(int index, com.google.protobuf.Struct.Builder builderForValue) {
       if (indexesUsedBuilder_ == null) {
         ensureIndexesUsedIsMutable();
         indexesUsed_.set(index, builderForValue.build());
@@ -617,6 +664,8 @@ public Builder setIndexesUsed(
       return this;
     }
     /**
+     *
+     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -641,6 +690,8 @@ public Builder addIndexesUsed(com.google.protobuf.Struct value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -651,8 +702,7 @@ public Builder addIndexesUsed(com.google.protobuf.Struct value) {
      *
      * repeated .google.protobuf.Struct indexes_used = 1;
      */
-    public Builder addIndexesUsed(
-        int index, com.google.protobuf.Struct value) {
+    public Builder addIndexesUsed(int index, com.google.protobuf.Struct value) {
       if (indexesUsedBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -666,6 +716,8 @@ public Builder addIndexesUsed(
       return this;
     }
     /**
+     *
+     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -676,8 +728,7 @@ public Builder addIndexesUsed(
      *
      * repeated .google.protobuf.Struct indexes_used = 1;
      */
-    public Builder addIndexesUsed(
-        com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder addIndexesUsed(com.google.protobuf.Struct.Builder builderForValue) {
       if (indexesUsedBuilder_ == null) {
         ensureIndexesUsedIsMutable();
         indexesUsed_.add(builderForValue.build());
@@ -688,6 +739,8 @@ public Builder addIndexesUsed(
       return this;
     }
     /**
+     *
+     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -698,8 +751,7 @@ public Builder addIndexesUsed(
      *
      * repeated .google.protobuf.Struct indexes_used = 1;
      */
-    public Builder addIndexesUsed(
-        int index, com.google.protobuf.Struct.Builder builderForValue) {
+    public Builder addIndexesUsed(int index, com.google.protobuf.Struct.Builder builderForValue) {
       if (indexesUsedBuilder_ == null) {
         ensureIndexesUsedIsMutable();
         indexesUsed_.add(index, builderForValue.build());
@@ -710,6 +762,8 @@ public Builder addIndexesUsed(
       return this;
     }
     /**
+     *
+     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -724,8 +778,7 @@ public Builder addAllIndexesUsed(
         java.lang.Iterable values) {
       if (indexesUsedBuilder_ == null) {
         ensureIndexesUsedIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, indexesUsed_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, indexesUsed_);
         onChanged();
       } else {
         indexesUsedBuilder_.addAllMessages(values);
@@ -733,6 +786,8 @@ public Builder addAllIndexesUsed(
       return this;
     }
     /**
+     *
+     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -754,6 +809,8 @@ public Builder clearIndexesUsed() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -775,6 +832,8 @@ public Builder removeIndexesUsed(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -785,11 +844,12 @@ public Builder removeIndexesUsed(int index) {
      *
      * repeated .google.protobuf.Struct indexes_used = 1;
      */
-    public com.google.protobuf.Struct.Builder getIndexesUsedBuilder(
-        int index) {
+    public com.google.protobuf.Struct.Builder getIndexesUsedBuilder(int index) {
       return getIndexesUsedFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -800,14 +860,16 @@ public com.google.protobuf.Struct.Builder getIndexesUsedBuilder(
      *
      * repeated .google.protobuf.Struct indexes_used = 1;
      */
-    public com.google.protobuf.StructOrBuilder getIndexesUsedOrBuilder(
-        int index) {
+    public com.google.protobuf.StructOrBuilder getIndexesUsedOrBuilder(int index) {
       if (indexesUsedBuilder_ == null) {
-        return indexesUsed_.get(index);  } else {
+        return indexesUsed_.get(index);
+      } else {
         return indexesUsedBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -818,8 +880,8 @@ public com.google.protobuf.StructOrBuilder getIndexesUsedOrBuilder(
      *
      * repeated .google.protobuf.Struct indexes_used = 1;
      */
-    public java.util.List 
-         getIndexesUsedOrBuilderList() {
+    public java.util.List
+        getIndexesUsedOrBuilderList() {
       if (indexesUsedBuilder_ != null) {
         return indexesUsedBuilder_.getMessageOrBuilderList();
       } else {
@@ -827,6 +889,8 @@ public com.google.protobuf.StructOrBuilder getIndexesUsedOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -838,10 +902,12 @@ public com.google.protobuf.StructOrBuilder getIndexesUsedOrBuilder(
      * repeated .google.protobuf.Struct indexes_used = 1;
      */
     public com.google.protobuf.Struct.Builder addIndexesUsedBuilder() {
-      return getIndexesUsedFieldBuilder().addBuilder(
-          com.google.protobuf.Struct.getDefaultInstance());
+      return getIndexesUsedFieldBuilder()
+          .addBuilder(com.google.protobuf.Struct.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -852,12 +918,13 @@ public com.google.protobuf.Struct.Builder addIndexesUsedBuilder() {
      *
      * repeated .google.protobuf.Struct indexes_used = 1;
      */
-    public com.google.protobuf.Struct.Builder addIndexesUsedBuilder(
-        int index) {
-      return getIndexesUsedFieldBuilder().addBuilder(
-          index, com.google.protobuf.Struct.getDefaultInstance());
+    public com.google.protobuf.Struct.Builder addIndexesUsedBuilder(int index) {
+      return getIndexesUsedFieldBuilder()
+          .addBuilder(index, com.google.protobuf.Struct.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The indexes selected for the query. For example:
      *  [
@@ -868,27 +935,29 @@ public com.google.protobuf.Struct.Builder addIndexesUsedBuilder(
      *
      * repeated .google.protobuf.Struct indexes_used = 1;
      */
-    public java.util.List 
-         getIndexesUsedBuilderList() {
+    public java.util.List getIndexesUsedBuilderList() {
       return getIndexesUsedFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> 
+            com.google.protobuf.Struct,
+            com.google.protobuf.Struct.Builder,
+            com.google.protobuf.StructOrBuilder>
         getIndexesUsedFieldBuilder() {
       if (indexesUsedBuilder_ == null) {
-        indexesUsedBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
-                indexesUsed_,
-                ((bitField0_ & 0x00000001) != 0),
-                getParentForChildren(),
-                isClean());
+        indexesUsedBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.protobuf.Struct,
+                com.google.protobuf.Struct.Builder,
+                com.google.protobuf.StructOrBuilder>(
+                indexesUsed_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean());
         indexesUsed_ = null;
       }
       return indexesUsedBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -898,12 +967,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.PlanSummary)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.PlanSummary)
   private static final com.google.datastore.v1.PlanSummary DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.PlanSummary();
   }
@@ -912,27 +981,27 @@ public static com.google.datastore.v1.PlanSummary getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public PlanSummary parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public PlanSummary parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -947,6 +1016,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.PlanSummary getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PlanSummaryOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PlanSummaryOrBuilder.java
similarity index 71%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PlanSummaryOrBuilder.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PlanSummaryOrBuilder.java
index 1c3d3ac7b..634faded7 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PlanSummaryOrBuilder.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PlanSummaryOrBuilder.java
@@ -1,14 +1,32 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/query_profile.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface PlanSummaryOrBuilder extends
+public interface PlanSummaryOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.PlanSummary)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The indexes selected for the query. For example:
    *  [
@@ -19,9 +37,10 @@ public interface PlanSummaryOrBuilder extends
    *
    * repeated .google.protobuf.Struct indexes_used = 1;
    */
-  java.util.List 
-      getIndexesUsedList();
+  java.util.List getIndexesUsedList();
   /**
+   *
+   *
    * 
    * The indexes selected for the query. For example:
    *  [
@@ -34,6 +53,8 @@ public interface PlanSummaryOrBuilder extends
    */
   com.google.protobuf.Struct getIndexesUsed(int index);
   /**
+   *
+   *
    * 
    * The indexes selected for the query. For example:
    *  [
@@ -46,6 +67,8 @@ public interface PlanSummaryOrBuilder extends
    */
   int getIndexesUsedCount();
   /**
+   *
+   *
    * 
    * The indexes selected for the query. For example:
    *  [
@@ -56,9 +79,10 @@ public interface PlanSummaryOrBuilder extends
    *
    * repeated .google.protobuf.Struct indexes_used = 1;
    */
-  java.util.List 
-      getIndexesUsedOrBuilderList();
+  java.util.List getIndexesUsedOrBuilderList();
   /**
+   *
+   *
    * 
    * The indexes selected for the query. For example:
    *  [
@@ -69,6 +93,5 @@ public interface PlanSummaryOrBuilder extends
    *
    * repeated .google.protobuf.Struct indexes_used = 1;
    */
-  com.google.protobuf.StructOrBuilder getIndexesUsedOrBuilder(
-      int index);
+  com.google.protobuf.StructOrBuilder getIndexesUsedOrBuilder(int index);
 }
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Projection.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Projection.java
similarity index 65%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Projection.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Projection.java
index 994abb436..412dc13dd 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Projection.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Projection.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/query.proto
 
@@ -5,53 +20,59 @@
 package com.google.datastore.v1;
 
 /**
+ *
+ *
  * 
  * A representation of a property in a projection.
  * 
* * Protobuf type {@code google.datastore.v1.Projection} */ -public final class Projection extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Projection extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.datastore.v1.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() { - } + + private Projection() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Projection(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_Projection_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_Projection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_Projection_fieldAccessorTable + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_Projection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.Projection.class, com.google.datastore.v1.Projection.Builder.class); + com.google.datastore.v1.Projection.class, + com.google.datastore.v1.Projection.Builder.class); } private int bitField0_; public static final int PROPERTY_FIELD_NUMBER = 1; private com.google.datastore.v1.PropertyReference property_; /** + * + * *
    * The property to project.
    * 
* * .google.datastore.v1.PropertyReference property = 1; + * * @return Whether the property field is set. */ @java.lang.Override @@ -59,18 +80,25 @@ public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The property to project.
    * 
* * .google.datastore.v1.PropertyReference property = 1; + * * @return The property. */ @java.lang.Override public com.google.datastore.v1.PropertyReference getProperty() { - return property_ == null ? com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; + return property_ == null + ? com.google.datastore.v1.PropertyReference.getDefaultInstance() + : property_; } /** + * + * *
    * The property to project.
    * 
@@ -79,10 +107,13 @@ public com.google.datastore.v1.PropertyReference getProperty() { */ @java.lang.Override public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() { - return property_ == null ? com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; + return property_ == null + ? com.google.datastore.v1.PropertyReference.getDefaultInstance() + : property_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -94,8 +125,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getProperty()); } @@ -109,8 +139,7 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getProperty()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getProperty()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -120,7 +149,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.datastore.v1.Projection)) { return super.equals(obj); @@ -129,8 +158,7 @@ public boolean equals(final java.lang.Object obj) { if (hasProperty() != other.hasProperty()) return false; if (hasProperty()) { - if (!getProperty() - .equals(other.getProperty())) return false; + if (!getProperty().equals(other.getProperty())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -152,120 +180,126 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.Projection parseFrom( - java.nio.ByteBuffer data) + public static com.google.datastore.v1.Projection parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.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.datastore.v1.Projection parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.datastore.v1.Projection parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.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.datastore.v1.Projection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.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.datastore.v1.Projection parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.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.datastore.v1.Projection 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.datastore.v1.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.datastore.v1.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.datastore.v1.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.datastore.v1.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 - protected 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 representation of a property in a projection.
    * 
* * Protobuf type {@code google.datastore.v1.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.datastore.v1.Projection) com.google.datastore.v1.ProjectionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_Projection_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_Projection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_Projection_fieldAccessorTable + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_Projection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.Projection.class, com.google.datastore.v1.Projection.Builder.class); + com.google.datastore.v1.Projection.class, + com.google.datastore.v1.Projection.Builder.class); } // Construct using com.google.datastore.v1.Projection.newBuilder() @@ -273,17 +307,17 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPropertyFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -297,9 +331,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_Projection_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_Projection_descriptor; } @java.lang.Override @@ -319,7 +353,9 @@ public com.google.datastore.v1.Projection build() { @java.lang.Override public com.google.datastore.v1.Projection buildPartial() { com.google.datastore.v1.Projection result = new com.google.datastore.v1.Projection(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -328,9 +364,7 @@ private void buildPartial0(com.google.datastore.v1.Projection result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.property_ = propertyBuilder_ == null - ? property_ - : propertyBuilder_.build(); + result.property_ = propertyBuilder_ == null ? property_ : propertyBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -340,38 +374,39 @@ private void buildPartial0(com.google.datastore.v1.Projection result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.Projection) { - return mergeFrom((com.google.datastore.v1.Projection)other); + return mergeFrom((com.google.datastore.v1.Projection) other); } else { super.mergeFrom(other); return this; @@ -409,19 +444,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getPropertyFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getPropertyFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -431,38 +466,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.datastore.v1.PropertyReference property_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder> propertyBuilder_; + com.google.datastore.v1.PropertyReference, + com.google.datastore.v1.PropertyReference.Builder, + com.google.datastore.v1.PropertyReferenceOrBuilder> + propertyBuilder_; /** + * + * *
      * The property to project.
      * 
* * .google.datastore.v1.PropertyReference property = 1; + * * @return Whether the property field is set. */ public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The property to project.
      * 
* * .google.datastore.v1.PropertyReference property = 1; + * * @return The property. */ public com.google.datastore.v1.PropertyReference getProperty() { if (propertyBuilder_ == null) { - return property_ == null ? com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; + return property_ == null + ? com.google.datastore.v1.PropertyReference.getDefaultInstance() + : property_; } else { return propertyBuilder_.getMessage(); } } /** + * + * *
      * The property to project.
      * 
@@ -483,14 +532,15 @@ public Builder setProperty(com.google.datastore.v1.PropertyReference value) { return this; } /** + * + * *
      * The property to project.
      * 
* * .google.datastore.v1.PropertyReference property = 1; */ - public Builder setProperty( - com.google.datastore.v1.PropertyReference.Builder builderForValue) { + public Builder setProperty(com.google.datastore.v1.PropertyReference.Builder builderForValue) { if (propertyBuilder_ == null) { property_ = builderForValue.build(); } else { @@ -501,6 +551,8 @@ public Builder setProperty( return this; } /** + * + * *
      * The property to project.
      * 
@@ -509,9 +561,9 @@ public Builder setProperty( */ public Builder mergeProperty(com.google.datastore.v1.PropertyReference value) { if (propertyBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - property_ != null && - property_ != com.google.datastore.v1.PropertyReference.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && property_ != null + && property_ != com.google.datastore.v1.PropertyReference.getDefaultInstance()) { getPropertyBuilder().mergeFrom(value); } else { property_ = value; @@ -526,6 +578,8 @@ public Builder mergeProperty(com.google.datastore.v1.PropertyReference value) { return this; } /** + * + * *
      * The property to project.
      * 
@@ -543,6 +597,8 @@ public Builder clearProperty() { return this; } /** + * + * *
      * The property to project.
      * 
@@ -555,6 +611,8 @@ public com.google.datastore.v1.PropertyReference.Builder getPropertyBuilder() { return getPropertyFieldBuilder().getBuilder(); } /** + * + * *
      * The property to project.
      * 
@@ -565,11 +623,14 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() if (propertyBuilder_ != null) { return propertyBuilder_.getMessageOrBuilder(); } else { - return property_ == null ? - com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; + return property_ == null + ? com.google.datastore.v1.PropertyReference.getDefaultInstance() + : property_; } } /** + * + * *
      * The property to project.
      * 
@@ -577,21 +638,24 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() * .google.datastore.v1.PropertyReference property = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder> + com.google.datastore.v1.PropertyReference, + com.google.datastore.v1.PropertyReference.Builder, + com.google.datastore.v1.PropertyReferenceOrBuilder> getPropertyFieldBuilder() { if (propertyBuilder_ == null) { - propertyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder>( - getProperty(), - getParentForChildren(), - isClean()); + propertyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.PropertyReference, + com.google.datastore.v1.PropertyReference.Builder, + com.google.datastore.v1.PropertyReferenceOrBuilder>( + getProperty(), getParentForChildren(), isClean()); property_ = null; } return propertyBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -601,12 +665,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.v1.Projection) } // @@protoc_insertion_point(class_scope:google.datastore.v1.Projection) private static final com.google.datastore.v1.Projection DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.v1.Projection(); } @@ -615,27 +679,27 @@ public static com.google.datastore.v1.Projection getDefaultInstance() { 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; @@ -650,6 +714,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.Projection getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ProjectionOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ProjectionOrBuilder.java similarity index 58% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ProjectionOrBuilder.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ProjectionOrBuilder.java index 08ea78a3d..c1a094d81 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ProjectionOrBuilder.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ProjectionOrBuilder.java @@ -1,32 +1,56 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface ProjectionOrBuilder extends +public interface ProjectionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.Projection) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The property to project.
    * 
* * .google.datastore.v1.PropertyReference property = 1; + * * @return Whether the property field is set. */ boolean hasProperty(); /** + * + * *
    * The property to project.
    * 
* * .google.datastore.v1.PropertyReference property = 1; + * * @return The property. */ com.google.datastore.v1.PropertyReference getProperty(); /** + * + * *
    * The property to project.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyFilter.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyFilter.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyFilter.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyFilter.java index f64f12d13..3eb9c2c1d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyFilter.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyFilter.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto @@ -5,55 +20,62 @@ package com.google.datastore.v1; /** + * + * *
  * A filter on a specific property.
  * 
* * Protobuf type {@code google.datastore.v1.PropertyFilter} */ -public final class PropertyFilter extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PropertyFilter extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.datastore.v1.PropertyFilter) PropertyFilterOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PropertyFilter.newBuilder() to construct. private PropertyFilter(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PropertyFilter() { op_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PropertyFilter(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_PropertyFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_PropertyFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_PropertyFilter_fieldAccessorTable + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_PropertyFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.PropertyFilter.class, com.google.datastore.v1.PropertyFilter.Builder.class); + com.google.datastore.v1.PropertyFilter.class, + com.google.datastore.v1.PropertyFilter.Builder.class); } /** + * + * *
    * A property filter operator.
    * 
* * Protobuf enum {@code google.datastore.v1.PropertyFilter.Operator} */ - public enum Operator - implements com.google.protobuf.ProtocolMessageEnum { + public enum Operator implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified. This value must not be used.
      * 
@@ -62,6 +84,8 @@ public enum Operator */ OPERATOR_UNSPECIFIED(0), /** + * + * *
      * The given `property` is less than the given `value`.
      *
@@ -74,6 +98,8 @@ public enum Operator
      */
     LESS_THAN(1),
     /**
+     *
+     *
      * 
      * The given `property` is less than or equal to the given `value`.
      *
@@ -86,6 +112,8 @@ public enum Operator
      */
     LESS_THAN_OR_EQUAL(2),
     /**
+     *
+     *
      * 
      * The given `property` is greater than the given `value`.
      *
@@ -98,6 +126,8 @@ public enum Operator
      */
     GREATER_THAN(3),
     /**
+     *
+     *
      * 
      * The given `property` is greater than or equal to the given `value`.
      *
@@ -110,6 +140,8 @@ public enum Operator
      */
     GREATER_THAN_OR_EQUAL(4),
     /**
+     *
+     *
      * 
      * The given `property` is equal to the given `value`.
      * 
@@ -118,6 +150,8 @@ public enum Operator */ EQUAL(5), /** + * + * *
      * The given `property` is equal to at least one value in the given array.
      *
@@ -132,6 +166,8 @@ public enum Operator
      */
     IN(6),
     /**
+     *
+     *
      * 
      * The given `property` is not equal to the given `value`.
      *
@@ -145,6 +181,8 @@ public enum Operator
      */
     NOT_EQUAL(9),
     /**
+     *
+     *
      * 
      * Limit the result set to the given entity and its descendants.
      *
@@ -158,6 +196,8 @@ public enum Operator
      */
     HAS_ANCESTOR(11),
     /**
+     *
+     *
      * 
      * The value of the `property` is not in the given array.
      *
@@ -175,6 +215,8 @@ public enum Operator
     ;
 
     /**
+     *
+     *
      * 
      * Unspecified. This value must not be used.
      * 
@@ -183,6 +225,8 @@ public enum Operator */ public static final int OPERATOR_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The given `property` is less than the given `value`.
      *
@@ -195,6 +239,8 @@ public enum Operator
      */
     public static final int LESS_THAN_VALUE = 1;
     /**
+     *
+     *
      * 
      * The given `property` is less than or equal to the given `value`.
      *
@@ -207,6 +253,8 @@ public enum Operator
      */
     public static final int LESS_THAN_OR_EQUAL_VALUE = 2;
     /**
+     *
+     *
      * 
      * The given `property` is greater than the given `value`.
      *
@@ -219,6 +267,8 @@ public enum Operator
      */
     public static final int GREATER_THAN_VALUE = 3;
     /**
+     *
+     *
      * 
      * The given `property` is greater than or equal to the given `value`.
      *
@@ -231,6 +281,8 @@ public enum Operator
      */
     public static final int GREATER_THAN_OR_EQUAL_VALUE = 4;
     /**
+     *
+     *
      * 
      * The given `property` is equal to the given `value`.
      * 
@@ -239,6 +291,8 @@ public enum Operator */ public static final int EQUAL_VALUE = 5; /** + * + * *
      * The given `property` is equal to at least one value in the given array.
      *
@@ -253,6 +307,8 @@ public enum Operator
      */
     public static final int IN_VALUE = 6;
     /**
+     *
+     *
      * 
      * The given `property` is not equal to the given `value`.
      *
@@ -266,6 +322,8 @@ public enum Operator
      */
     public static final int NOT_EQUAL_VALUE = 9;
     /**
+     *
+     *
      * 
      * Limit the result set to the given entity and its descendants.
      *
@@ -279,6 +337,8 @@ public enum Operator
      */
     public static final int HAS_ANCESTOR_VALUE = 11;
     /**
+     *
+     *
      * 
      * The value of the `property` is not in the given array.
      *
@@ -293,7 +353,6 @@ public enum Operator
      */
     public static final int NOT_IN_VALUE = 13;
 
-
     public final int getNumber() {
       if (this == UNRECOGNIZED) {
         throw new java.lang.IllegalArgumentException(
@@ -318,56 +377,63 @@ 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 IN;
-        case 9: return NOT_EQUAL;
-        case 11: return HAS_ANCESTOR;
-        case 13: return NOT_IN;
-        default: return null;
+        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 IN;
+        case 9:
+          return NOT_EQUAL;
+        case 11:
+          return HAS_ANCESTOR;
+        case 13:
+          return NOT_IN;
+        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() {
+
+    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
       return com.google.datastore.v1.PropertyFilter.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;
@@ -388,11 +454,14 @@ private Operator(int value) {
   public static final int PROPERTY_FIELD_NUMBER = 1;
   private com.google.datastore.v1.PropertyReference property_;
   /**
+   *
+   *
    * 
    * The property to filter by.
    * 
* * .google.datastore.v1.PropertyReference property = 1; + * * @return Whether the property field is set. */ @java.lang.Override @@ -400,18 +469,25 @@ public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The property to filter by.
    * 
* * .google.datastore.v1.PropertyReference property = 1; + * * @return The property. */ @java.lang.Override public com.google.datastore.v1.PropertyReference getProperty() { - return property_ == null ? com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; + return property_ == null + ? com.google.datastore.v1.PropertyReference.getDefaultInstance() + : property_; } /** + * + * *
    * The property to filter by.
    * 
@@ -420,43 +496,57 @@ public com.google.datastore.v1.PropertyReference getProperty() { */ @java.lang.Override public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() { - return property_ == null ? com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; + return property_ == null + ? com.google.datastore.v1.PropertyReference.getDefaultInstance() + : property_; } public static final int OP_FIELD_NUMBER = 2; private int op_ = 0; /** + * + * *
    * The operator to filter by.
    * 
* * .google.datastore.v1.PropertyFilter.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.datastore.v1.PropertyFilter.Operator op = 2; + * * @return The op. */ - @java.lang.Override public com.google.datastore.v1.PropertyFilter.Operator getOp() { - com.google.datastore.v1.PropertyFilter.Operator result = com.google.datastore.v1.PropertyFilter.Operator.forNumber(op_); + @java.lang.Override + public com.google.datastore.v1.PropertyFilter.Operator getOp() { + com.google.datastore.v1.PropertyFilter.Operator result = + com.google.datastore.v1.PropertyFilter.Operator.forNumber(op_); return result == null ? com.google.datastore.v1.PropertyFilter.Operator.UNRECOGNIZED : result; } public static final int VALUE_FIELD_NUMBER = 3; private com.google.datastore.v1.Value value_; /** + * + * *
    * The value to compare the property to.
    * 
* * .google.datastore.v1.Value value = 3; + * * @return Whether the value field is set. */ @java.lang.Override @@ -464,11 +554,14 @@ public boolean hasValue() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * The value to compare the property to.
    * 
* * .google.datastore.v1.Value value = 3; + * * @return The value. */ @java.lang.Override @@ -476,6 +569,8 @@ public com.google.datastore.v1.Value getValue() { return value_ == null ? com.google.datastore.v1.Value.getDefaultInstance() : value_; } /** + * + * *
    * The value to compare the property to.
    * 
@@ -488,6 +583,7 @@ public com.google.datastore.v1.ValueOrBuilder getValueOrBuilder() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -499,8 +595,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getProperty()); } @@ -520,16 +615,13 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getProperty()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getProperty()); } if (op_ != com.google.datastore.v1.PropertyFilter.Operator.OPERATOR_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, op_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, op_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getValue()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -539,7 +631,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.datastore.v1.PropertyFilter)) { return super.equals(obj); @@ -548,14 +640,12 @@ public boolean equals(final java.lang.Object obj) { if (hasProperty() != other.hasProperty()) return false; if (hasProperty()) { - if (!getProperty() - .equals(other.getProperty())) return false; + if (!getProperty().equals(other.getProperty())) 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; @@ -583,120 +673,127 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.PropertyFilter parseFrom( - java.nio.ByteBuffer data) + public static com.google.datastore.v1.PropertyFilter parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.PropertyFilter parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.PropertyFilter parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.PropertyFilter parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.PropertyFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.PropertyFilter parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.PropertyFilter parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.PropertyFilter parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.datastore.v1.PropertyFilter 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.datastore.v1.PropertyFilter parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.datastore.v1.PropertyFilter parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.PropertyFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.datastore.v1.PropertyFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 filter on a specific property.
    * 
* * Protobuf type {@code google.datastore.v1.PropertyFilter} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.PropertyFilter) com.google.datastore.v1.PropertyFilterOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_PropertyFilter_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_PropertyFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_PropertyFilter_fieldAccessorTable + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_PropertyFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.PropertyFilter.class, com.google.datastore.v1.PropertyFilter.Builder.class); + com.google.datastore.v1.PropertyFilter.class, + com.google.datastore.v1.PropertyFilter.Builder.class); } // Construct using com.google.datastore.v1.PropertyFilter.newBuilder() @@ -704,18 +801,18 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPropertyFieldBuilder(); getValueFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -735,9 +832,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_PropertyFilter_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_PropertyFilter_descriptor; } @java.lang.Override @@ -756,8 +853,11 @@ public com.google.datastore.v1.PropertyFilter build() { @java.lang.Override public com.google.datastore.v1.PropertyFilter buildPartial() { - com.google.datastore.v1.PropertyFilter result = new com.google.datastore.v1.PropertyFilter(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.datastore.v1.PropertyFilter result = + new com.google.datastore.v1.PropertyFilter(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -766,18 +866,14 @@ private void buildPartial0(com.google.datastore.v1.PropertyFilter result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.property_ = propertyBuilder_ == null - ? property_ - : propertyBuilder_.build(); + result.property_ = propertyBuilder_ == null ? property_ : propertyBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.op_ = op_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.value_ = valueBuilder_ == null - ? value_ - : valueBuilder_.build(); + result.value_ = valueBuilder_ == null ? value_ : valueBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -787,38 +883,39 @@ private void buildPartial0(com.google.datastore.v1.PropertyFilter result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.PropertyFilter) { - return mergeFrom((com.google.datastore.v1.PropertyFilter)other); + return mergeFrom((com.google.datastore.v1.PropertyFilter) other); } else { super.mergeFrom(other); return this; @@ -862,31 +959,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getPropertyFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - op_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - input.readMessage( - getValueFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getPropertyFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + op_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + input.readMessage(getValueFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -896,38 +993,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.datastore.v1.PropertyReference property_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder> propertyBuilder_; + com.google.datastore.v1.PropertyReference, + com.google.datastore.v1.PropertyReference.Builder, + com.google.datastore.v1.PropertyReferenceOrBuilder> + propertyBuilder_; /** + * + * *
      * The property to filter by.
      * 
* * .google.datastore.v1.PropertyReference property = 1; + * * @return Whether the property field is set. */ public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The property to filter by.
      * 
* * .google.datastore.v1.PropertyReference property = 1; + * * @return The property. */ public com.google.datastore.v1.PropertyReference getProperty() { if (propertyBuilder_ == null) { - return property_ == null ? com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; + return property_ == null + ? com.google.datastore.v1.PropertyReference.getDefaultInstance() + : property_; } else { return propertyBuilder_.getMessage(); } } /** + * + * *
      * The property to filter by.
      * 
@@ -948,14 +1059,15 @@ public Builder setProperty(com.google.datastore.v1.PropertyReference value) { return this; } /** + * + * *
      * The property to filter by.
      * 
* * .google.datastore.v1.PropertyReference property = 1; */ - public Builder setProperty( - com.google.datastore.v1.PropertyReference.Builder builderForValue) { + public Builder setProperty(com.google.datastore.v1.PropertyReference.Builder builderForValue) { if (propertyBuilder_ == null) { property_ = builderForValue.build(); } else { @@ -966,6 +1078,8 @@ public Builder setProperty( return this; } /** + * + * *
      * The property to filter by.
      * 
@@ -974,9 +1088,9 @@ public Builder setProperty( */ public Builder mergeProperty(com.google.datastore.v1.PropertyReference value) { if (propertyBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - property_ != null && - property_ != com.google.datastore.v1.PropertyReference.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && property_ != null + && property_ != com.google.datastore.v1.PropertyReference.getDefaultInstance()) { getPropertyBuilder().mergeFrom(value); } else { property_ = value; @@ -991,6 +1105,8 @@ public Builder mergeProperty(com.google.datastore.v1.PropertyReference value) { return this; } /** + * + * *
      * The property to filter by.
      * 
@@ -1008,6 +1124,8 @@ public Builder clearProperty() { return this; } /** + * + * *
      * The property to filter by.
      * 
@@ -1020,6 +1138,8 @@ public com.google.datastore.v1.PropertyReference.Builder getPropertyBuilder() { return getPropertyFieldBuilder().getBuilder(); } /** + * + * *
      * The property to filter by.
      * 
@@ -1030,11 +1150,14 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() if (propertyBuilder_ != null) { return propertyBuilder_.getMessageOrBuilder(); } else { - return property_ == null ? - com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; + return property_ == null + ? com.google.datastore.v1.PropertyReference.getDefaultInstance() + : property_; } } /** + * + * *
      * The property to filter by.
      * 
@@ -1042,14 +1165,17 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() * .google.datastore.v1.PropertyReference property = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder> + com.google.datastore.v1.PropertyReference, + com.google.datastore.v1.PropertyReference.Builder, + com.google.datastore.v1.PropertyReferenceOrBuilder> getPropertyFieldBuilder() { if (propertyBuilder_ == null) { - propertyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder>( - getProperty(), - getParentForChildren(), - isClean()); + propertyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.PropertyReference, + com.google.datastore.v1.PropertyReference.Builder, + com.google.datastore.v1.PropertyReferenceOrBuilder>( + getProperty(), getParentForChildren(), isClean()); property_ = null; } return propertyBuilder_; @@ -1057,22 +1183,29 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() private int op_ = 0; /** + * + * *
      * The operator to filter by.
      * 
* * .google.datastore.v1.PropertyFilter.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.datastore.v1.PropertyFilter.Operator op = 2; + * * @param value The enum numeric value on the wire for op to set. * @return This builder for chaining. */ @@ -1083,24 +1216,31 @@ public Builder setOpValue(int value) { return this; } /** + * + * *
      * The operator to filter by.
      * 
* * .google.datastore.v1.PropertyFilter.Operator op = 2; + * * @return The op. */ @java.lang.Override public com.google.datastore.v1.PropertyFilter.Operator getOp() { - com.google.datastore.v1.PropertyFilter.Operator result = com.google.datastore.v1.PropertyFilter.Operator.forNumber(op_); + com.google.datastore.v1.PropertyFilter.Operator result = + com.google.datastore.v1.PropertyFilter.Operator.forNumber(op_); return result == null ? com.google.datastore.v1.PropertyFilter.Operator.UNRECOGNIZED : result; } /** + * + * *
      * The operator to filter by.
      * 
* * .google.datastore.v1.PropertyFilter.Operator op = 2; + * * @param value The op to set. * @return This builder for chaining. */ @@ -1114,11 +1254,14 @@ public Builder setOp(com.google.datastore.v1.PropertyFilter.Operator value) { return this; } /** + * + * *
      * The operator to filter by.
      * 
* * .google.datastore.v1.PropertyFilter.Operator op = 2; + * * @return This builder for chaining. */ public Builder clearOp() { @@ -1130,24 +1273,33 @@ public Builder clearOp() { private com.google.datastore.v1.Value value_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Value, com.google.datastore.v1.Value.Builder, com.google.datastore.v1.ValueOrBuilder> valueBuilder_; + com.google.datastore.v1.Value, + com.google.datastore.v1.Value.Builder, + com.google.datastore.v1.ValueOrBuilder> + valueBuilder_; /** + * + * *
      * The value to compare the property to.
      * 
* * .google.datastore.v1.Value value = 3; + * * @return Whether the value field is set. */ public boolean hasValue() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The value to compare the property to.
      * 
* * .google.datastore.v1.Value value = 3; + * * @return The value. */ public com.google.datastore.v1.Value getValue() { @@ -1158,6 +1310,8 @@ public com.google.datastore.v1.Value getValue() { } } /** + * + * *
      * The value to compare the property to.
      * 
@@ -1178,14 +1332,15 @@ public Builder setValue(com.google.datastore.v1.Value value) { return this; } /** + * + * *
      * The value to compare the property to.
      * 
* * .google.datastore.v1.Value value = 3; */ - public Builder setValue( - com.google.datastore.v1.Value.Builder builderForValue) { + public Builder setValue(com.google.datastore.v1.Value.Builder builderForValue) { if (valueBuilder_ == null) { value_ = builderForValue.build(); } else { @@ -1196,6 +1351,8 @@ public Builder setValue( return this; } /** + * + * *
      * The value to compare the property to.
      * 
@@ -1204,9 +1361,9 @@ public Builder setValue( */ public Builder mergeValue(com.google.datastore.v1.Value value) { if (valueBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - value_ != null && - value_ != com.google.datastore.v1.Value.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && value_ != null + && value_ != com.google.datastore.v1.Value.getDefaultInstance()) { getValueBuilder().mergeFrom(value); } else { value_ = value; @@ -1221,6 +1378,8 @@ public Builder mergeValue(com.google.datastore.v1.Value value) { return this; } /** + * + * *
      * The value to compare the property to.
      * 
@@ -1238,6 +1397,8 @@ public Builder clearValue() { return this; } /** + * + * *
      * The value to compare the property to.
      * 
@@ -1250,6 +1411,8 @@ public com.google.datastore.v1.Value.Builder getValueBuilder() { return getValueFieldBuilder().getBuilder(); } /** + * + * *
      * The value to compare the property to.
      * 
@@ -1260,11 +1423,12 @@ public com.google.datastore.v1.ValueOrBuilder getValueOrBuilder() { if (valueBuilder_ != null) { return valueBuilder_.getMessageOrBuilder(); } else { - return value_ == null ? - com.google.datastore.v1.Value.getDefaultInstance() : value_; + return value_ == null ? com.google.datastore.v1.Value.getDefaultInstance() : value_; } } /** + * + * *
      * The value to compare the property to.
      * 
@@ -1272,21 +1436,24 @@ public com.google.datastore.v1.ValueOrBuilder getValueOrBuilder() { * .google.datastore.v1.Value value = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Value, com.google.datastore.v1.Value.Builder, com.google.datastore.v1.ValueOrBuilder> + com.google.datastore.v1.Value, + com.google.datastore.v1.Value.Builder, + com.google.datastore.v1.ValueOrBuilder> getValueFieldBuilder() { if (valueBuilder_ == null) { - valueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Value, com.google.datastore.v1.Value.Builder, com.google.datastore.v1.ValueOrBuilder>( - getValue(), - getParentForChildren(), - isClean()); + valueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.Value, + com.google.datastore.v1.Value.Builder, + com.google.datastore.v1.ValueOrBuilder>( + getValue(), getParentForChildren(), isClean()); value_ = null; } return valueBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1296,12 +1463,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.v1.PropertyFilter) } // @@protoc_insertion_point(class_scope:google.datastore.v1.PropertyFilter) private static final com.google.datastore.v1.PropertyFilter DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.v1.PropertyFilter(); } @@ -1310,27 +1477,27 @@ public static com.google.datastore.v1.PropertyFilter getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PropertyFilter parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PropertyFilter parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1345,6 +1512,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.PropertyFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyFilterOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyFilterOrBuilder.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyFilterOrBuilder.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyFilterOrBuilder.java index 232aaab62..c7c9d0577 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyFilterOrBuilder.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyFilterOrBuilder.java @@ -1,32 +1,56 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface PropertyFilterOrBuilder extends +public interface PropertyFilterOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.PropertyFilter) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The property to filter by.
    * 
* * .google.datastore.v1.PropertyReference property = 1; + * * @return Whether the property field is set. */ boolean hasProperty(); /** + * + * *
    * The property to filter by.
    * 
* * .google.datastore.v1.PropertyReference property = 1; + * * @return The property. */ com.google.datastore.v1.PropertyReference getProperty(); /** + * + * *
    * The property to filter by.
    * 
@@ -36,43 +60,57 @@ public interface PropertyFilterOrBuilder extends com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder(); /** + * + * *
    * The operator to filter by.
    * 
* * .google.datastore.v1.PropertyFilter.Operator op = 2; + * * @return The enum numeric value on the wire for op. */ int getOpValue(); /** + * + * *
    * The operator to filter by.
    * 
* * .google.datastore.v1.PropertyFilter.Operator op = 2; + * * @return The op. */ com.google.datastore.v1.PropertyFilter.Operator getOp(); /** + * + * *
    * The value to compare the property to.
    * 
* * .google.datastore.v1.Value value = 3; + * * @return Whether the value field is set. */ boolean hasValue(); /** + * + * *
    * The value to compare the property to.
    * 
* * .google.datastore.v1.Value value = 3; + * * @return The value. */ com.google.datastore.v1.Value getValue(); /** + * + * *
    * The value to compare the property to.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyOrder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyOrder.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyOrder.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyOrder.java index 5666d8d61..b42405c97 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyOrder.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyOrder.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto @@ -5,55 +20,62 @@ package com.google.datastore.v1; /** + * + * *
  * The desired order for a specific property.
  * 
* * Protobuf type {@code google.datastore.v1.PropertyOrder} */ -public final class PropertyOrder extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PropertyOrder extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.datastore.v1.PropertyOrder) PropertyOrderOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PropertyOrder.newBuilder() to construct. private PropertyOrder(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PropertyOrder() { direction_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PropertyOrder(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_PropertyOrder_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_PropertyOrder_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_PropertyOrder_fieldAccessorTable + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_PropertyOrder_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.PropertyOrder.class, com.google.datastore.v1.PropertyOrder.Builder.class); + com.google.datastore.v1.PropertyOrder.class, + com.google.datastore.v1.PropertyOrder.Builder.class); } /** + * + * *
    * The sort direction.
    * 
* * Protobuf enum {@code google.datastore.v1.PropertyOrder.Direction} */ - public enum Direction - implements com.google.protobuf.ProtocolMessageEnum { + public enum Direction implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified. This value must not be used.
      * 
@@ -62,6 +84,8 @@ public enum Direction */ DIRECTION_UNSPECIFIED(0), /** + * + * *
      * Ascending.
      * 
@@ -70,6 +94,8 @@ public enum Direction */ ASCENDING(1), /** + * + * *
      * Descending.
      * 
@@ -81,6 +107,8 @@ public enum Direction ; /** + * + * *
      * Unspecified. This value must not be used.
      * 
@@ -89,6 +117,8 @@ public enum Direction */ public static final int DIRECTION_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Ascending.
      * 
@@ -97,6 +127,8 @@ public enum Direction */ public static final int ASCENDING_VALUE = 1; /** + * + * *
      * Descending.
      * 
@@ -105,7 +137,6 @@ public enum Direction */ public static final int DESCENDING_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -130,49 +161,49 @@ public static Direction valueOf(int value) { */ public static Direction forNumber(int value) { switch (value) { - case 0: return DIRECTION_UNSPECIFIED; - case 1: return ASCENDING; - case 2: return DESCENDING; - default: return null; + case 0: + return DIRECTION_UNSPECIFIED; + case 1: + return ASCENDING; + case 2: + return DESCENDING; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - Direction> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public Direction findValueByNumber(int number) { - return Direction.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public Direction findValueByNumber(int number) { + return Direction.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return com.google.datastore.v1.PropertyOrder.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; @@ -193,11 +224,14 @@ private Direction(int value) { public static final int PROPERTY_FIELD_NUMBER = 1; private com.google.datastore.v1.PropertyReference property_; /** + * + * *
    * The property to order by.
    * 
* * .google.datastore.v1.PropertyReference property = 1; + * * @return Whether the property field is set. */ @java.lang.Override @@ -205,18 +239,25 @@ public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The property to order by.
    * 
* * .google.datastore.v1.PropertyReference property = 1; + * * @return The property. */ @java.lang.Override public com.google.datastore.v1.PropertyReference getProperty() { - return property_ == null ? com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; + return property_ == null + ? com.google.datastore.v1.PropertyReference.getDefaultInstance() + : property_; } /** + * + * *
    * The property to order by.
    * 
@@ -225,36 +266,48 @@ public com.google.datastore.v1.PropertyReference getProperty() { */ @java.lang.Override public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() { - return property_ == null ? com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; + return property_ == null + ? com.google.datastore.v1.PropertyReference.getDefaultInstance() + : property_; } public static final int DIRECTION_FIELD_NUMBER = 2; private int direction_ = 0; /** + * + * *
    * The direction to order by. Defaults to `ASCENDING`.
    * 
* * .google.datastore.v1.PropertyOrder.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.datastore.v1.PropertyOrder.Direction direction = 2; + * * @return The direction. */ - @java.lang.Override public com.google.datastore.v1.PropertyOrder.Direction getDirection() { - com.google.datastore.v1.PropertyOrder.Direction result = com.google.datastore.v1.PropertyOrder.Direction.forNumber(direction_); + @java.lang.Override + public com.google.datastore.v1.PropertyOrder.Direction getDirection() { + com.google.datastore.v1.PropertyOrder.Direction result = + com.google.datastore.v1.PropertyOrder.Direction.forNumber(direction_); return result == null ? com.google.datastore.v1.PropertyOrder.Direction.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -266,12 +319,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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getProperty()); } - if (direction_ != com.google.datastore.v1.PropertyOrder.Direction.DIRECTION_UNSPECIFIED.getNumber()) { + if (direction_ + != com.google.datastore.v1.PropertyOrder.Direction.DIRECTION_UNSPECIFIED.getNumber()) { output.writeEnum(2, direction_); } getUnknownFields().writeTo(output); @@ -284,12 +337,11 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getProperty()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getProperty()); } - if (direction_ != com.google.datastore.v1.PropertyOrder.Direction.DIRECTION_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, direction_); + if (direction_ + != com.google.datastore.v1.PropertyOrder.Direction.DIRECTION_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, direction_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -299,7 +351,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.datastore.v1.PropertyOrder)) { return super.equals(obj); @@ -308,8 +360,7 @@ public boolean equals(final java.lang.Object obj) { if (hasProperty() != other.hasProperty()) return false; if (hasProperty()) { - if (!getProperty() - .equals(other.getProperty())) return false; + if (!getProperty().equals(other.getProperty())) return false; } if (direction_ != other.direction_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; @@ -334,120 +385,126 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.PropertyOrder parseFrom( - java.nio.ByteBuffer data) + public static com.google.datastore.v1.PropertyOrder parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.PropertyOrder parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.datastore.v1.PropertyOrder parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.datastore.v1.PropertyOrder parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.PropertyOrder parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.PropertyOrder parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.PropertyOrder parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.PropertyOrder parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.PropertyOrder parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } public static com.google.datastore.v1.PropertyOrder 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.datastore.v1.PropertyOrder parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.datastore.v1.PropertyOrder parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.PropertyOrder parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.datastore.v1.PropertyOrder prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 desired order for a specific property.
    * 
* * Protobuf type {@code google.datastore.v1.PropertyOrder} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.PropertyOrder) com.google.datastore.v1.PropertyOrderOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_PropertyOrder_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_PropertyOrder_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_PropertyOrder_fieldAccessorTable + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_PropertyOrder_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.PropertyOrder.class, com.google.datastore.v1.PropertyOrder.Builder.class); + com.google.datastore.v1.PropertyOrder.class, + com.google.datastore.v1.PropertyOrder.Builder.class); } // Construct using com.google.datastore.v1.PropertyOrder.newBuilder() @@ -455,17 +512,17 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPropertyFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -480,9 +537,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_PropertyOrder_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_PropertyOrder_descriptor; } @java.lang.Override @@ -501,8 +558,11 @@ public com.google.datastore.v1.PropertyOrder build() { @java.lang.Override public com.google.datastore.v1.PropertyOrder buildPartial() { - com.google.datastore.v1.PropertyOrder result = new com.google.datastore.v1.PropertyOrder(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.datastore.v1.PropertyOrder result = + new com.google.datastore.v1.PropertyOrder(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -511,9 +571,7 @@ private void buildPartial0(com.google.datastore.v1.PropertyOrder result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.property_ = propertyBuilder_ == null - ? property_ - : propertyBuilder_.build(); + result.property_ = propertyBuilder_ == null ? property_ : propertyBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { @@ -526,38 +584,39 @@ private void buildPartial0(com.google.datastore.v1.PropertyOrder result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.PropertyOrder) { - return mergeFrom((com.google.datastore.v1.PropertyOrder)other); + return mergeFrom((com.google.datastore.v1.PropertyOrder) other); } else { super.mergeFrom(other); return this; @@ -598,24 +657,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getPropertyFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - direction_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getPropertyFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + direction_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -625,38 +685,52 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.datastore.v1.PropertyReference property_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder> propertyBuilder_; + com.google.datastore.v1.PropertyReference, + com.google.datastore.v1.PropertyReference.Builder, + com.google.datastore.v1.PropertyReferenceOrBuilder> + propertyBuilder_; /** + * + * *
      * The property to order by.
      * 
* * .google.datastore.v1.PropertyReference property = 1; + * * @return Whether the property field is set. */ public boolean hasProperty() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * The property to order by.
      * 
* * .google.datastore.v1.PropertyReference property = 1; + * * @return The property. */ public com.google.datastore.v1.PropertyReference getProperty() { if (propertyBuilder_ == null) { - return property_ == null ? com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; + return property_ == null + ? com.google.datastore.v1.PropertyReference.getDefaultInstance() + : property_; } else { return propertyBuilder_.getMessage(); } } /** + * + * *
      * The property to order by.
      * 
@@ -677,14 +751,15 @@ public Builder setProperty(com.google.datastore.v1.PropertyReference value) { return this; } /** + * + * *
      * The property to order by.
      * 
* * .google.datastore.v1.PropertyReference property = 1; */ - public Builder setProperty( - com.google.datastore.v1.PropertyReference.Builder builderForValue) { + public Builder setProperty(com.google.datastore.v1.PropertyReference.Builder builderForValue) { if (propertyBuilder_ == null) { property_ = builderForValue.build(); } else { @@ -695,6 +770,8 @@ public Builder setProperty( return this; } /** + * + * *
      * The property to order by.
      * 
@@ -703,9 +780,9 @@ public Builder setProperty( */ public Builder mergeProperty(com.google.datastore.v1.PropertyReference value) { if (propertyBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - property_ != null && - property_ != com.google.datastore.v1.PropertyReference.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && property_ != null + && property_ != com.google.datastore.v1.PropertyReference.getDefaultInstance()) { getPropertyBuilder().mergeFrom(value); } else { property_ = value; @@ -720,6 +797,8 @@ public Builder mergeProperty(com.google.datastore.v1.PropertyReference value) { return this; } /** + * + * *
      * The property to order by.
      * 
@@ -737,6 +816,8 @@ public Builder clearProperty() { return this; } /** + * + * *
      * The property to order by.
      * 
@@ -749,6 +830,8 @@ public com.google.datastore.v1.PropertyReference.Builder getPropertyBuilder() { return getPropertyFieldBuilder().getBuilder(); } /** + * + * *
      * The property to order by.
      * 
@@ -759,11 +842,14 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() if (propertyBuilder_ != null) { return propertyBuilder_.getMessageOrBuilder(); } else { - return property_ == null ? - com.google.datastore.v1.PropertyReference.getDefaultInstance() : property_; + return property_ == null + ? com.google.datastore.v1.PropertyReference.getDefaultInstance() + : property_; } } /** + * + * *
      * The property to order by.
      * 
@@ -771,14 +857,17 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() * .google.datastore.v1.PropertyReference property = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder> + com.google.datastore.v1.PropertyReference, + com.google.datastore.v1.PropertyReference.Builder, + com.google.datastore.v1.PropertyReferenceOrBuilder> getPropertyFieldBuilder() { if (propertyBuilder_ == null) { - propertyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder>( - getProperty(), - getParentForChildren(), - isClean()); + propertyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.PropertyReference, + com.google.datastore.v1.PropertyReference.Builder, + com.google.datastore.v1.PropertyReferenceOrBuilder>( + getProperty(), getParentForChildren(), isClean()); property_ = null; } return propertyBuilder_; @@ -786,22 +875,29 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder() private int direction_ = 0; /** + * + * *
      * The direction to order by. Defaults to `ASCENDING`.
      * 
* * .google.datastore.v1.PropertyOrder.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.datastore.v1.PropertyOrder.Direction direction = 2; + * * @param value The enum numeric value on the wire for direction to set. * @return This builder for chaining. */ @@ -812,24 +908,31 @@ public Builder setDirectionValue(int value) { return this; } /** + * + * *
      * The direction to order by. Defaults to `ASCENDING`.
      * 
* * .google.datastore.v1.PropertyOrder.Direction direction = 2; + * * @return The direction. */ @java.lang.Override public com.google.datastore.v1.PropertyOrder.Direction getDirection() { - com.google.datastore.v1.PropertyOrder.Direction result = com.google.datastore.v1.PropertyOrder.Direction.forNumber(direction_); + com.google.datastore.v1.PropertyOrder.Direction result = + com.google.datastore.v1.PropertyOrder.Direction.forNumber(direction_); return result == null ? com.google.datastore.v1.PropertyOrder.Direction.UNRECOGNIZED : result; } /** + * + * *
      * The direction to order by. Defaults to `ASCENDING`.
      * 
* * .google.datastore.v1.PropertyOrder.Direction direction = 2; + * * @param value The direction to set. * @return This builder for chaining. */ @@ -843,11 +946,14 @@ public Builder setDirection(com.google.datastore.v1.PropertyOrder.Direction valu return this; } /** + * + * *
      * The direction to order by. Defaults to `ASCENDING`.
      * 
* * .google.datastore.v1.PropertyOrder.Direction direction = 2; + * * @return This builder for chaining. */ public Builder clearDirection() { @@ -856,9 +962,9 @@ public Builder clearDirection() { 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); } @@ -868,12 +974,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.v1.PropertyOrder) } // @@protoc_insertion_point(class_scope:google.datastore.v1.PropertyOrder) private static final com.google.datastore.v1.PropertyOrder DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.v1.PropertyOrder(); } @@ -882,27 +988,27 @@ public static com.google.datastore.v1.PropertyOrder getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PropertyOrder parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PropertyOrder parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -917,6 +1023,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.PropertyOrder getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyOrderOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyOrderOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyOrderOrBuilder.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyOrderOrBuilder.java index 777dfbd04..3522ab951 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyOrderOrBuilder.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyOrderOrBuilder.java @@ -1,32 +1,56 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface PropertyOrderOrBuilder extends +public interface PropertyOrderOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.PropertyOrder) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The property to order by.
    * 
* * .google.datastore.v1.PropertyReference property = 1; + * * @return Whether the property field is set. */ boolean hasProperty(); /** + * + * *
    * The property to order by.
    * 
* * .google.datastore.v1.PropertyReference property = 1; + * * @return The property. */ com.google.datastore.v1.PropertyReference getProperty(); /** + * + * *
    * The property to order by.
    * 
@@ -36,20 +60,26 @@ public interface PropertyOrderOrBuilder extends com.google.datastore.v1.PropertyReferenceOrBuilder getPropertyOrBuilder(); /** + * + * *
    * The direction to order by. Defaults to `ASCENDING`.
    * 
* * .google.datastore.v1.PropertyOrder.Direction direction = 2; + * * @return The enum numeric value on the wire for direction. */ int getDirectionValue(); /** + * + * *
    * The direction to order by. Defaults to `ASCENDING`.
    * 
* * .google.datastore.v1.PropertyOrder.Direction direction = 2; + * * @return The direction. */ com.google.datastore.v1.PropertyOrder.Direction getDirection(); diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyReference.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyReference.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyReference.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyReference.java index 87f40f6ab..a7a4c304e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyReference.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyReference.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto @@ -5,49 +20,56 @@ package com.google.datastore.v1; /** + * + * *
  * A reference to a property relative to the kind expressions.
  * 
* * Protobuf type {@code google.datastore.v1.PropertyReference} */ -public final class PropertyReference extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PropertyReference extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.datastore.v1.PropertyReference) PropertyReferenceOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PropertyReference.newBuilder() to construct. private PropertyReference(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private PropertyReference() { name_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PropertyReference(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_PropertyReference_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_PropertyReference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_PropertyReference_fieldAccessorTable + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_PropertyReference_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.PropertyReference.class, com.google.datastore.v1.PropertyReference.Builder.class); + com.google.datastore.v1.PropertyReference.class, + com.google.datastore.v1.PropertyReference.Builder.class); } public static final int NAME_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * A reference to a property.
    *
@@ -59,6 +81,7 @@ protected java.lang.Object newInstance(
    * 
* * string name = 2; + * * @return The name. */ @java.lang.Override @@ -67,14 +90,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; } } /** + * + * *
    * A reference to a property.
    *
@@ -86,16 +110,15 @@ public java.lang.String getName() {
    * 
* * string name = 2; + * * @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 { @@ -104,6 +127,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -115,8 +139,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, 2, name_); } @@ -140,15 +163,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.datastore.v1.PropertyReference)) { return super.equals(obj); } - com.google.datastore.v1.PropertyReference other = (com.google.datastore.v1.PropertyReference) obj; + com.google.datastore.v1.PropertyReference other = + (com.google.datastore.v1.PropertyReference) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -167,132 +190,136 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.PropertyReference parseFrom( - java.nio.ByteBuffer data) + public static com.google.datastore.v1.PropertyReference parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.PropertyReference parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.PropertyReference parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.PropertyReference parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.PropertyReference parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.PropertyReference parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.PropertyReference parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.PropertyReference parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.PropertyReference parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.PropertyReference parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.v1.PropertyReference parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.datastore.v1.PropertyReference parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.PropertyReference parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.datastore.v1.PropertyReference prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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 reference to a property relative to the kind expressions.
    * 
* * Protobuf type {@code google.datastore.v1.PropertyReference} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.PropertyReference) com.google.datastore.v1.PropertyReferenceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_PropertyReference_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_PropertyReference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_PropertyReference_fieldAccessorTable + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_PropertyReference_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.PropertyReference.class, com.google.datastore.v1.PropertyReference.Builder.class); + com.google.datastore.v1.PropertyReference.class, + com.google.datastore.v1.PropertyReference.Builder.class); } // Construct using com.google.datastore.v1.PropertyReference.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -302,9 +329,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_PropertyReference_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_PropertyReference_descriptor; } @java.lang.Override @@ -323,8 +350,11 @@ public com.google.datastore.v1.PropertyReference build() { @java.lang.Override public com.google.datastore.v1.PropertyReference buildPartial() { - com.google.datastore.v1.PropertyReference result = new com.google.datastore.v1.PropertyReference(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.datastore.v1.PropertyReference result = + new com.google.datastore.v1.PropertyReference(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -340,38 +370,39 @@ private void buildPartial0(com.google.datastore.v1.PropertyReference result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.PropertyReference) { - return mergeFrom((com.google.datastore.v1.PropertyReference)other); + return mergeFrom((com.google.datastore.v1.PropertyReference) other); } else { super.mergeFrom(other); return this; @@ -411,17 +442,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -431,10 +464,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * A reference to a property.
      *
@@ -446,13 +482,13 @@ public Builder mergeFrom(
      * 
* * string name = 2; + * * @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; @@ -461,6 +497,8 @@ public java.lang.String getName() { } } /** + * + * *
      * A reference to a property.
      *
@@ -472,15 +510,14 @@ public java.lang.String getName() {
      * 
* * string name = 2; + * * @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 { @@ -488,6 +525,8 @@ public java.lang.String getName() { } } /** + * + * *
      * A reference to a property.
      *
@@ -499,18 +538,22 @@ public java.lang.String getName() {
      * 
* * string name = 2; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * A reference to a property.
      *
@@ -522,6 +565,7 @@ public Builder setName(
      * 
* * string name = 2; + * * @return This builder for chaining. */ public Builder clearName() { @@ -531,6 +575,8 @@ public Builder clearName() { return this; } /** + * + * *
      * A reference to a property.
      *
@@ -542,21 +588,23 @@ public Builder clearName() {
      * 
* * string name = 2; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -566,12 +614,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.v1.PropertyReference) } // @@protoc_insertion_point(class_scope:google.datastore.v1.PropertyReference) private static final com.google.datastore.v1.PropertyReference DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.v1.PropertyReference(); } @@ -580,27 +628,27 @@ public static com.google.datastore.v1.PropertyReference getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public PropertyReference parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public PropertyReference parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -615,6 +663,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.PropertyReference getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyReferenceOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyReferenceOrBuilder.java similarity index 57% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyReferenceOrBuilder.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyReferenceOrBuilder.java index cd4ceee9e..7761b1421 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyReferenceOrBuilder.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/PropertyReferenceOrBuilder.java @@ -1,14 +1,32 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface PropertyReferenceOrBuilder extends +public interface PropertyReferenceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.PropertyReference) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * A reference to a property.
    *
@@ -20,10 +38,13 @@ public interface PropertyReferenceOrBuilder extends
    * 
* * string name = 2; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * A reference to a property.
    *
@@ -35,8 +56,8 @@ public interface PropertyReferenceOrBuilder extends
    * 
* * string name = 2; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); } diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Query.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Query.java similarity index 80% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Query.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Query.java index b6039f1cd..a91fd271e 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Query.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Query.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/query.proto @@ -5,21 +20,24 @@ package com.google.datastore.v1; /** + * + * *
  * A query for entities.
  * 
* * Protobuf type {@code google.datastore.v1.Query} */ -public final class Query extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Query extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.datastore.v1.Query) QueryOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Query.newBuilder() to construct. private Query(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Query() { projection_ = java.util.Collections.emptyList(); kind_ = java.util.Collections.emptyList(); @@ -31,29 +49,31 @@ private Query() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Query(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_Query_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_Query_fieldAccessorTable + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_Query_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.datastore.v1.Query.class, com.google.datastore.v1.Query.Builder.class); } private int bitField0_; public static final int PROJECTION_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List projection_; /** + * + * *
    * The projection to return. Defaults to returning all properties.
    * 
@@ -65,6 +85,8 @@ public java.util.List getProjectionList() { return projection_; } /** + * + * *
    * The projection to return. Defaults to returning all properties.
    * 
@@ -72,11 +94,13 @@ public java.util.List getProjectionList() { * repeated .google.datastore.v1.Projection projection = 2; */ @java.lang.Override - public java.util.List + public java.util.List getProjectionOrBuilderList() { return projection_; } /** + * + * *
    * The projection to return. Defaults to returning all properties.
    * 
@@ -88,6 +112,8 @@ public int getProjectionCount() { return projection_.size(); } /** + * + * *
    * The projection to return. Defaults to returning all properties.
    * 
@@ -99,6 +125,8 @@ public com.google.datastore.v1.Projection getProjection(int index) { return projection_.get(index); } /** + * + * *
    * The projection to return. Defaults to returning all properties.
    * 
@@ -106,15 +134,17 @@ public com.google.datastore.v1.Projection getProjection(int index) { * repeated .google.datastore.v1.Projection projection = 2; */ @java.lang.Override - public com.google.datastore.v1.ProjectionOrBuilder getProjectionOrBuilder( - int index) { + public com.google.datastore.v1.ProjectionOrBuilder getProjectionOrBuilder(int index) { return projection_.get(index); } public static final int KIND_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private java.util.List kind_; /** + * + * *
    * The kinds to query (if empty, returns entities of all kinds).
    * Currently at most 1 kind may be specified.
@@ -127,6 +157,8 @@ public java.util.List getKindList() {
     return kind_;
   }
   /**
+   *
+   *
    * 
    * The kinds to query (if empty, returns entities of all kinds).
    * Currently at most 1 kind may be specified.
@@ -135,11 +167,13 @@ public java.util.List getKindList() {
    * repeated .google.datastore.v1.KindExpression kind = 3;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getKindOrBuilderList() {
     return kind_;
   }
   /**
+   *
+   *
    * 
    * The kinds to query (if empty, returns entities of all kinds).
    * Currently at most 1 kind may be specified.
@@ -152,6 +186,8 @@ public int getKindCount() {
     return kind_.size();
   }
   /**
+   *
+   *
    * 
    * The kinds to query (if empty, returns entities of all kinds).
    * Currently at most 1 kind may be specified.
@@ -164,6 +200,8 @@ public com.google.datastore.v1.KindExpression getKind(int index) {
     return kind_.get(index);
   }
   /**
+   *
+   *
    * 
    * The kinds to query (if empty, returns entities of all kinds).
    * Currently at most 1 kind may be specified.
@@ -172,19 +210,21 @@ public com.google.datastore.v1.KindExpression getKind(int index) {
    * repeated .google.datastore.v1.KindExpression kind = 3;
    */
   @java.lang.Override
-  public com.google.datastore.v1.KindExpressionOrBuilder getKindOrBuilder(
-      int index) {
+  public com.google.datastore.v1.KindExpressionOrBuilder getKindOrBuilder(int index) {
     return kind_.get(index);
   }
 
   public static final int FILTER_FIELD_NUMBER = 4;
   private com.google.datastore.v1.Filter filter_;
   /**
+   *
+   *
    * 
    * The filter to apply.
    * 
* * .google.datastore.v1.Filter filter = 4; + * * @return Whether the filter field is set. */ @java.lang.Override @@ -192,11 +232,14 @@ public boolean hasFilter() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * The filter to apply.
    * 
* * .google.datastore.v1.Filter filter = 4; + * * @return The filter. */ @java.lang.Override @@ -204,6 +247,8 @@ public com.google.datastore.v1.Filter getFilter() { return filter_ == null ? com.google.datastore.v1.Filter.getDefaultInstance() : filter_; } /** + * + * *
    * The filter to apply.
    * 
@@ -216,9 +261,12 @@ public com.google.datastore.v1.FilterOrBuilder getFilterOrBuilder() { } public static final int ORDER_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private java.util.List order_; /** + * + * *
    * The order to apply to the query results (if empty, order is unspecified).
    * 
@@ -230,6 +278,8 @@ public java.util.List getOrderList() { return order_; } /** + * + * *
    * The order to apply to the query results (if empty, order is unspecified).
    * 
@@ -237,11 +287,13 @@ public java.util.List getOrderList() { * repeated .google.datastore.v1.PropertyOrder order = 5; */ @java.lang.Override - public java.util.List + public java.util.List getOrderOrBuilderList() { return order_; } /** + * + * *
    * The order to apply to the query results (if empty, order is unspecified).
    * 
@@ -253,6 +305,8 @@ public int getOrderCount() { return order_.size(); } /** + * + * *
    * The order to apply to the query results (if empty, order is unspecified).
    * 
@@ -264,6 +318,8 @@ public com.google.datastore.v1.PropertyOrder getOrder(int index) { return order_.get(index); } /** + * + * *
    * The order to apply to the query results (if empty, order is unspecified).
    * 
@@ -271,15 +327,17 @@ public com.google.datastore.v1.PropertyOrder getOrder(int index) { * repeated .google.datastore.v1.PropertyOrder order = 5; */ @java.lang.Override - public com.google.datastore.v1.PropertyOrderOrBuilder getOrderOrBuilder( - int index) { + public com.google.datastore.v1.PropertyOrderOrBuilder getOrderOrBuilder(int index) { return order_.get(index); } public static final int DISTINCT_ON_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private java.util.List distinctOn_; /** + * + * *
    * The properties to make distinct. The query results will contain the first
    * result for each distinct combination of values for the given properties
@@ -298,6 +356,8 @@ public java.util.List getDistinctOnLi
     return distinctOn_;
   }
   /**
+   *
+   *
    * 
    * The properties to make distinct. The query results will contain the first
    * result for each distinct combination of values for the given properties
@@ -312,11 +372,13 @@ public java.util.List getDistinctOnLi
    * repeated .google.datastore.v1.PropertyReference distinct_on = 6;
    */
   @java.lang.Override
-  public java.util.List 
+  public java.util.List
       getDistinctOnOrBuilderList() {
     return distinctOn_;
   }
   /**
+   *
+   *
    * 
    * The properties to make distinct. The query results will contain the first
    * result for each distinct combination of values for the given properties
@@ -335,6 +397,8 @@ public int getDistinctOnCount() {
     return distinctOn_.size();
   }
   /**
+   *
+   *
    * 
    * The properties to make distinct. The query results will contain the first
    * result for each distinct combination of values for the given properties
@@ -353,6 +417,8 @@ public com.google.datastore.v1.PropertyReference getDistinctOn(int index) {
     return distinctOn_.get(index);
   }
   /**
+   *
+   *
    * 
    * The properties to make distinct. The query results will contain the first
    * result for each distinct combination of values for the given properties
@@ -367,14 +433,15 @@ public com.google.datastore.v1.PropertyReference getDistinctOn(int index) {
    * repeated .google.datastore.v1.PropertyReference distinct_on = 6;
    */
   @java.lang.Override
-  public com.google.datastore.v1.PropertyReferenceOrBuilder getDistinctOnOrBuilder(
-      int index) {
+  public com.google.datastore.v1.PropertyReferenceOrBuilder getDistinctOnOrBuilder(int index) {
     return distinctOn_.get(index);
   }
 
   public static final int START_CURSOR_FIELD_NUMBER = 7;
   private com.google.protobuf.ByteString startCursor_ = com.google.protobuf.ByteString.EMPTY;
   /**
+   *
+   *
    * 
    * A starting point for the query results. Query cursors are
    * returned in query result batches and
@@ -383,6 +450,7 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getDistinctOnOrBuilder
    * 
* * bytes start_cursor = 7; + * * @return The startCursor. */ @java.lang.Override @@ -393,6 +461,8 @@ public com.google.protobuf.ByteString getStartCursor() { public static final int END_CURSOR_FIELD_NUMBER = 8; private com.google.protobuf.ByteString endCursor_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
    * An ending point for the query results. Query cursors are
    * returned in query result batches and
@@ -401,6 +471,7 @@ public com.google.protobuf.ByteString getStartCursor() {
    * 
* * bytes end_cursor = 8; + * * @return The endCursor. */ @java.lang.Override @@ -411,12 +482,15 @@ public com.google.protobuf.ByteString getEndCursor() { public static final int OFFSET_FIELD_NUMBER = 10; private int offset_ = 0; /** + * + * *
    * The number of results to skip. Applies before limit, but after all other
    * constraints. Optional. Must be >= 0 if specified.
    * 
* * int32 offset = 10; + * * @return The offset. */ @java.lang.Override @@ -427,6 +501,8 @@ public int getOffset() { public static final int LIMIT_FIELD_NUMBER = 12; private com.google.protobuf.Int32Value limit_; /** + * + * *
    * The maximum number of results to return. Applies after all other
    * constraints. Optional.
@@ -435,6 +511,7 @@ public int getOffset() {
    * 
* * .google.protobuf.Int32Value limit = 12; + * * @return Whether the limit field is set. */ @java.lang.Override @@ -442,6 +519,8 @@ public boolean hasLimit() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * The maximum number of results to return. Applies after all other
    * constraints. Optional.
@@ -450,6 +529,7 @@ public boolean hasLimit() {
    * 
* * .google.protobuf.Int32Value limit = 12; + * * @return The limit. */ @java.lang.Override @@ -457,6 +537,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. Optional.
@@ -472,6 +554,7 @@ public com.google.protobuf.Int32ValueOrBuilder getLimitOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -483,8 +566,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 < projection_.size(); i++) {
       output.writeMessage(2, projection_.get(i));
     }
@@ -522,40 +604,31 @@ public int getSerializedSize() {
 
     size = 0;
     for (int i = 0; i < projection_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, projection_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, projection_.get(i));
     }
     for (int i = 0; i < kind_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, kind_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, kind_.get(i));
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, getFilter());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getFilter());
     }
     for (int i = 0; i < order_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(5, order_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, order_.get(i));
     }
     for (int i = 0; i < distinctOn_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(6, distinctOn_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, distinctOn_.get(i));
     }
     if (!startCursor_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(7, startCursor_);
+      size += com.google.protobuf.CodedOutputStream.computeBytesSize(7, startCursor_);
     }
     if (!endCursor_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(8, endCursor_);
+      size += com.google.protobuf.CodedOutputStream.computeBytesSize(8, endCursor_);
     }
     if (offset_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(10, offset_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(10, offset_);
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(12, getLimit());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getLimit());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -565,36 +638,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.datastore.v1.Query)) {
       return super.equals(obj);
     }
     com.google.datastore.v1.Query other = (com.google.datastore.v1.Query) obj;
 
-    if (!getProjectionList()
-        .equals(other.getProjectionList())) return false;
-    if (!getKindList()
-        .equals(other.getKindList())) return false;
+    if (!getProjectionList().equals(other.getProjectionList())) return false;
+    if (!getKindList().equals(other.getKindList())) return false;
     if (hasFilter() != other.hasFilter()) return false;
     if (hasFilter()) {
-      if (!getFilter()
-          .equals(other.getFilter())) return false;
-    }
-    if (!getOrderList()
-        .equals(other.getOrderList())) return false;
-    if (!getDistinctOnList()
-        .equals(other.getDistinctOnList())) return false;
-    if (!getStartCursor()
-        .equals(other.getStartCursor())) return false;
-    if (!getEndCursor()
-        .equals(other.getEndCursor())) return false;
-    if (getOffset()
-        != other.getOffset()) return false;
+      if (!getFilter().equals(other.getFilter())) return false;
+    }
+    if (!getOrderList().equals(other.getOrderList())) return false;
+    if (!getDistinctOnList().equals(other.getDistinctOnList())) return false;
+    if (!getStartCursor().equals(other.getStartCursor())) return false;
+    if (!getEndCursor().equals(other.getEndCursor())) 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;
@@ -642,118 +706,123 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.Query parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.Query parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.Query parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.datastore.v1.Query parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.datastore.v1.Query parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.Query parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.Query parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.Query parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.Query parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.datastore.v1.Query parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   public static com.google.datastore.v1.Query 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.datastore.v1.Query parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
-  public static com.google.datastore.v1.Query parseFrom(
-      com.google.protobuf.CodedInputStream input)
+
+  public static com.google.datastore.v1.Query 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.datastore.v1.Query parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.datastore.v1.Query prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 for entities.
    * 
* * Protobuf type {@code google.datastore.v1.Query} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.Query) com.google.datastore.v1.QueryOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_Query_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_Query_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_Query_fieldAccessorTable + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_Query_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.datastore.v1.Query.class, com.google.datastore.v1.Query.Builder.class); } @@ -763,14 +832,13 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getProjectionFieldBuilder(); getKindFieldBuilder(); getFilterFieldBuilder(); @@ -779,6 +847,7 @@ private void maybeForceBuilderInitialization() { getLimitFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -828,9 +897,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_Query_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_Query_descriptor; } @java.lang.Override @@ -851,7 +920,9 @@ public com.google.datastore.v1.Query build() { public com.google.datastore.v1.Query buildPartial() { com.google.datastore.v1.Query result = new com.google.datastore.v1.Query(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -899,9 +970,7 @@ private void buildPartial0(com.google.datastore.v1.Query result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.filter_ = filterBuilder_ == null - ? filter_ - : filterBuilder_.build(); + result.filter_ = filterBuilder_ == null ? filter_ : filterBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000020) != 0)) { @@ -914,9 +983,7 @@ private void buildPartial0(com.google.datastore.v1.Query result) { result.offset_ = offset_; } if (((from_bitField0_ & 0x00000100) != 0)) { - result.limit_ = limitBuilder_ == null - ? limit_ - : limitBuilder_.build(); + result.limit_ = limitBuilder_ == null ? limit_ : limitBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; @@ -926,38 +993,39 @@ private void buildPartial0(com.google.datastore.v1.Query result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.Query) { - return mergeFrom((com.google.datastore.v1.Query)other); + return mergeFrom((com.google.datastore.v1.Query) other); } else { super.mergeFrom(other); return this; @@ -984,9 +1052,10 @@ public Builder mergeFrom(com.google.datastore.v1.Query other) { projectionBuilder_ = null; projection_ = other.projection_; bitField0_ = (bitField0_ & ~0x00000001); - projectionBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getProjectionFieldBuilder() : null; + projectionBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getProjectionFieldBuilder() + : null; } else { projectionBuilder_.addAllMessages(other.projection_); } @@ -1010,9 +1079,10 @@ public Builder mergeFrom(com.google.datastore.v1.Query other) { kindBuilder_ = null; kind_ = other.kind_; bitField0_ = (bitField0_ & ~0x00000002); - kindBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getKindFieldBuilder() : null; + kindBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getKindFieldBuilder() + : null; } else { kindBuilder_.addAllMessages(other.kind_); } @@ -1039,9 +1109,10 @@ public Builder mergeFrom(com.google.datastore.v1.Query other) { orderBuilder_ = null; order_ = other.order_; bitField0_ = (bitField0_ & ~0x00000008); - orderBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getOrderFieldBuilder() : null; + orderBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getOrderFieldBuilder() + : null; } else { orderBuilder_.addAllMessages(other.order_); } @@ -1065,9 +1136,10 @@ public Builder mergeFrom(com.google.datastore.v1.Query other) { distinctOnBuilder_ = null; distinctOn_ = other.distinctOn_; bitField0_ = (bitField0_ & ~0x00000010); - distinctOnBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getDistinctOnFieldBuilder() : null; + distinctOnBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getDistinctOnFieldBuilder() + : null; } else { distinctOnBuilder_.addAllMessages(other.distinctOn_); } @@ -1111,93 +1183,95 @@ public Builder mergeFrom( case 0: done = true; break; - case 18: { - com.google.datastore.v1.Projection m = - input.readMessage( - com.google.datastore.v1.Projection.parser(), - extensionRegistry); - if (projectionBuilder_ == null) { - ensureProjectionIsMutable(); - projection_.add(m); - } else { - projectionBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: { - com.google.datastore.v1.KindExpression m = - input.readMessage( - com.google.datastore.v1.KindExpression.parser(), - extensionRegistry); - if (kindBuilder_ == null) { - ensureKindIsMutable(); - kind_.add(m); - } else { - kindBuilder_.addMessage(m); - } - break; - } // case 26 - case 34: { - input.readMessage( - getFilterFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 34 - case 42: { - com.google.datastore.v1.PropertyOrder m = - input.readMessage( - com.google.datastore.v1.PropertyOrder.parser(), - extensionRegistry); - if (orderBuilder_ == null) { - ensureOrderIsMutable(); - order_.add(m); - } else { - orderBuilder_.addMessage(m); - } - break; - } // case 42 - case 50: { - com.google.datastore.v1.PropertyReference m = - input.readMessage( - com.google.datastore.v1.PropertyReference.parser(), - extensionRegistry); - if (distinctOnBuilder_ == null) { - ensureDistinctOnIsMutable(); - distinctOn_.add(m); - } else { - distinctOnBuilder_.addMessage(m); - } - break; - } // case 50 - case 58: { - startCursor_ = input.readBytes(); - bitField0_ |= 0x00000020; - break; - } // case 58 - case 66: { - endCursor_ = input.readBytes(); - bitField0_ |= 0x00000040; - break; - } // case 66 - case 80: { - offset_ = input.readInt32(); - bitField0_ |= 0x00000080; - break; - } // case 80 - case 98: { - input.readMessage( - getLimitFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000100; - break; - } // case 98 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 18: + { + com.google.datastore.v1.Projection m = + input.readMessage( + com.google.datastore.v1.Projection.parser(), extensionRegistry); + if (projectionBuilder_ == null) { + ensureProjectionIsMutable(); + projection_.add(m); + } else { + projectionBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: + { + com.google.datastore.v1.KindExpression m = + input.readMessage( + com.google.datastore.v1.KindExpression.parser(), extensionRegistry); + if (kindBuilder_ == null) { + ensureKindIsMutable(); + kind_.add(m); + } else { + kindBuilder_.addMessage(m); + } + break; + } // case 26 + case 34: + { + input.readMessage(getFilterFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 34 + case 42: + { + com.google.datastore.v1.PropertyOrder m = + input.readMessage( + com.google.datastore.v1.PropertyOrder.parser(), extensionRegistry); + if (orderBuilder_ == null) { + ensureOrderIsMutable(); + order_.add(m); + } else { + orderBuilder_.addMessage(m); + } + break; + } // case 42 + case 50: + { + com.google.datastore.v1.PropertyReference m = + input.readMessage( + com.google.datastore.v1.PropertyReference.parser(), extensionRegistry); + if (distinctOnBuilder_ == null) { + ensureDistinctOnIsMutable(); + distinctOn_.add(m); + } else { + distinctOnBuilder_.addMessage(m); + } + break; + } // case 50 + case 58: + { + startCursor_ = input.readBytes(); + bitField0_ |= 0x00000020; + break; + } // case 58 + case 66: + { + endCursor_ = input.readBytes(); + bitField0_ |= 0x00000040; + break; + } // case 66 + case 80: + { + offset_ = input.readInt32(); + bitField0_ |= 0x00000080; + break; + } // case 80 + case 98: + { + input.readMessage(getLimitFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000100; + break; + } // case 98 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1207,21 +1281,28 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.util.List projection_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureProjectionIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { projection_ = new java.util.ArrayList(projection_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.Projection, com.google.datastore.v1.Projection.Builder, com.google.datastore.v1.ProjectionOrBuilder> projectionBuilder_; + com.google.datastore.v1.Projection, + com.google.datastore.v1.Projection.Builder, + com.google.datastore.v1.ProjectionOrBuilder> + projectionBuilder_; /** + * + * *
      * The projection to return. Defaults to returning all properties.
      * 
@@ -1236,6 +1317,8 @@ public java.util.List getProjectionList() { } } /** + * + * *
      * The projection to return. Defaults to returning all properties.
      * 
@@ -1250,6 +1333,8 @@ public int getProjectionCount() { } } /** + * + * *
      * The projection to return. Defaults to returning all properties.
      * 
@@ -1264,14 +1349,15 @@ public com.google.datastore.v1.Projection getProjection(int index) { } } /** + * + * *
      * The projection to return. Defaults to returning all properties.
      * 
* * repeated .google.datastore.v1.Projection projection = 2; */ - public Builder setProjection( - int index, com.google.datastore.v1.Projection value) { + public Builder setProjection(int index, com.google.datastore.v1.Projection value) { if (projectionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1285,6 +1371,8 @@ public Builder setProjection( return this; } /** + * + * *
      * The projection to return. Defaults to returning all properties.
      * 
@@ -1303,6 +1391,8 @@ public Builder setProjection( return this; } /** + * + * *
      * The projection to return. Defaults to returning all properties.
      * 
@@ -1323,14 +1413,15 @@ public Builder addProjection(com.google.datastore.v1.Projection value) { return this; } /** + * + * *
      * The projection to return. Defaults to returning all properties.
      * 
* * repeated .google.datastore.v1.Projection projection = 2; */ - public Builder addProjection( - int index, com.google.datastore.v1.Projection value) { + public Builder addProjection(int index, com.google.datastore.v1.Projection value) { if (projectionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1344,14 +1435,15 @@ public Builder addProjection( return this; } /** + * + * *
      * The projection to return. Defaults to returning all properties.
      * 
* * repeated .google.datastore.v1.Projection projection = 2; */ - public Builder addProjection( - com.google.datastore.v1.Projection.Builder builderForValue) { + public Builder addProjection(com.google.datastore.v1.Projection.Builder builderForValue) { if (projectionBuilder_ == null) { ensureProjectionIsMutable(); projection_.add(builderForValue.build()); @@ -1362,6 +1454,8 @@ public Builder addProjection( return this; } /** + * + * *
      * The projection to return. Defaults to returning all properties.
      * 
@@ -1380,6 +1474,8 @@ public Builder addProjection( return this; } /** + * + * *
      * The projection to return. Defaults to returning all properties.
      * 
@@ -1390,8 +1486,7 @@ public Builder addAllProjection( java.lang.Iterable values) { if (projectionBuilder_ == null) { ensureProjectionIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, projection_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, projection_); onChanged(); } else { projectionBuilder_.addAllMessages(values); @@ -1399,6 +1494,8 @@ public Builder addAllProjection( return this; } /** + * + * *
      * The projection to return. Defaults to returning all properties.
      * 
@@ -1416,6 +1513,8 @@ public Builder clearProjection() { return this; } /** + * + * *
      * The projection to return. Defaults to returning all properties.
      * 
@@ -1433,39 +1532,44 @@ public Builder removeProjection(int index) { return this; } /** + * + * *
      * The projection to return. Defaults to returning all properties.
      * 
* * repeated .google.datastore.v1.Projection projection = 2; */ - public com.google.datastore.v1.Projection.Builder getProjectionBuilder( - int index) { + public com.google.datastore.v1.Projection.Builder getProjectionBuilder(int index) { return getProjectionFieldBuilder().getBuilder(index); } /** + * + * *
      * The projection to return. Defaults to returning all properties.
      * 
* * repeated .google.datastore.v1.Projection projection = 2; */ - public com.google.datastore.v1.ProjectionOrBuilder getProjectionOrBuilder( - int index) { + public com.google.datastore.v1.ProjectionOrBuilder getProjectionOrBuilder(int index) { if (projectionBuilder_ == null) { - return projection_.get(index); } else { + return projection_.get(index); + } else { return projectionBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The projection to return. Defaults to returning all properties.
      * 
* * repeated .google.datastore.v1.Projection projection = 2; */ - public java.util.List - getProjectionOrBuilderList() { + public java.util.List + getProjectionOrBuilderList() { if (projectionBuilder_ != null) { return projectionBuilder_.getMessageOrBuilderList(); } else { @@ -1473,6 +1577,8 @@ public com.google.datastore.v1.ProjectionOrBuilder getProjectionOrBuilder( } } /** + * + * *
      * The projection to return. Defaults to returning all properties.
      * 
@@ -1480,60 +1586,71 @@ public com.google.datastore.v1.ProjectionOrBuilder getProjectionOrBuilder( * repeated .google.datastore.v1.Projection projection = 2; */ public com.google.datastore.v1.Projection.Builder addProjectionBuilder() { - return getProjectionFieldBuilder().addBuilder( - com.google.datastore.v1.Projection.getDefaultInstance()); + return getProjectionFieldBuilder() + .addBuilder(com.google.datastore.v1.Projection.getDefaultInstance()); } /** + * + * *
      * The projection to return. Defaults to returning all properties.
      * 
* * repeated .google.datastore.v1.Projection projection = 2; */ - public com.google.datastore.v1.Projection.Builder addProjectionBuilder( - int index) { - return getProjectionFieldBuilder().addBuilder( - index, com.google.datastore.v1.Projection.getDefaultInstance()); + public com.google.datastore.v1.Projection.Builder addProjectionBuilder(int index) { + return getProjectionFieldBuilder() + .addBuilder(index, com.google.datastore.v1.Projection.getDefaultInstance()); } /** + * + * *
      * The projection to return. Defaults to returning all properties.
      * 
* * repeated .google.datastore.v1.Projection projection = 2; */ - public java.util.List - getProjectionBuilderList() { + public java.util.List getProjectionBuilderList() { return getProjectionFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.Projection, com.google.datastore.v1.Projection.Builder, com.google.datastore.v1.ProjectionOrBuilder> + com.google.datastore.v1.Projection, + com.google.datastore.v1.Projection.Builder, + com.google.datastore.v1.ProjectionOrBuilder> getProjectionFieldBuilder() { if (projectionBuilder_ == null) { - projectionBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.Projection, com.google.datastore.v1.Projection.Builder, com.google.datastore.v1.ProjectionOrBuilder>( - projection_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + projectionBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.datastore.v1.Projection, + com.google.datastore.v1.Projection.Builder, + com.google.datastore.v1.ProjectionOrBuilder>( + projection_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); projection_ = null; } return projectionBuilder_; } private java.util.List kind_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureKindIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { kind_ = new java.util.ArrayList(kind_); bitField0_ |= 0x00000002; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.KindExpression, com.google.datastore.v1.KindExpression.Builder, com.google.datastore.v1.KindExpressionOrBuilder> kindBuilder_; + com.google.datastore.v1.KindExpression, + com.google.datastore.v1.KindExpression.Builder, + com.google.datastore.v1.KindExpressionOrBuilder> + kindBuilder_; /** + * + * *
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1549,6 +1666,8 @@ public java.util.List getKindList() {
       }
     }
     /**
+     *
+     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1564,6 +1683,8 @@ public int getKindCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1579,6 +1700,8 @@ public com.google.datastore.v1.KindExpression getKind(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1586,8 +1709,7 @@ public com.google.datastore.v1.KindExpression getKind(int index) {
      *
      * repeated .google.datastore.v1.KindExpression kind = 3;
      */
-    public Builder setKind(
-        int index, com.google.datastore.v1.KindExpression value) {
+    public Builder setKind(int index, com.google.datastore.v1.KindExpression value) {
       if (kindBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1601,6 +1723,8 @@ public Builder setKind(
       return this;
     }
     /**
+     *
+     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1620,6 +1744,8 @@ public Builder setKind(
       return this;
     }
     /**
+     *
+     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1641,6 +1767,8 @@ public Builder addKind(com.google.datastore.v1.KindExpression value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1648,8 +1776,7 @@ public Builder addKind(com.google.datastore.v1.KindExpression value) {
      *
      * repeated .google.datastore.v1.KindExpression kind = 3;
      */
-    public Builder addKind(
-        int index, com.google.datastore.v1.KindExpression value) {
+    public Builder addKind(int index, com.google.datastore.v1.KindExpression value) {
       if (kindBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -1663,6 +1790,8 @@ public Builder addKind(
       return this;
     }
     /**
+     *
+     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1670,8 +1799,7 @@ public Builder addKind(
      *
      * repeated .google.datastore.v1.KindExpression kind = 3;
      */
-    public Builder addKind(
-        com.google.datastore.v1.KindExpression.Builder builderForValue) {
+    public Builder addKind(com.google.datastore.v1.KindExpression.Builder builderForValue) {
       if (kindBuilder_ == null) {
         ensureKindIsMutable();
         kind_.add(builderForValue.build());
@@ -1682,6 +1810,8 @@ public Builder addKind(
       return this;
     }
     /**
+     *
+     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1701,6 +1831,8 @@ public Builder addKind(
       return this;
     }
     /**
+     *
+     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1712,8 +1844,7 @@ public Builder addAllKind(
         java.lang.Iterable values) {
       if (kindBuilder_ == null) {
         ensureKindIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, kind_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, kind_);
         onChanged();
       } else {
         kindBuilder_.addAllMessages(values);
@@ -1721,6 +1852,8 @@ public Builder addAllKind(
       return this;
     }
     /**
+     *
+     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1739,6 +1872,8 @@ public Builder clearKind() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1757,6 +1892,8 @@ public Builder removeKind(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1764,11 +1901,12 @@ public Builder removeKind(int index) {
      *
      * repeated .google.datastore.v1.KindExpression kind = 3;
      */
-    public com.google.datastore.v1.KindExpression.Builder getKindBuilder(
-        int index) {
+    public com.google.datastore.v1.KindExpression.Builder getKindBuilder(int index) {
       return getKindFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1776,14 +1914,16 @@ public com.google.datastore.v1.KindExpression.Builder getKindBuilder(
      *
      * repeated .google.datastore.v1.KindExpression kind = 3;
      */
-    public com.google.datastore.v1.KindExpressionOrBuilder getKindOrBuilder(
-        int index) {
+    public com.google.datastore.v1.KindExpressionOrBuilder getKindOrBuilder(int index) {
       if (kindBuilder_ == null) {
-        return kind_.get(index);  } else {
+        return kind_.get(index);
+      } else {
         return kindBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1791,8 +1931,8 @@ public com.google.datastore.v1.KindExpressionOrBuilder getKindOrBuilder(
      *
      * repeated .google.datastore.v1.KindExpression kind = 3;
      */
-    public java.util.List 
-         getKindOrBuilderList() {
+    public java.util.List
+        getKindOrBuilderList() {
       if (kindBuilder_ != null) {
         return kindBuilder_.getMessageOrBuilderList();
       } else {
@@ -1800,6 +1940,8 @@ public com.google.datastore.v1.KindExpressionOrBuilder getKindOrBuilder(
       }
     }
     /**
+     *
+     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1808,10 +1950,12 @@ public com.google.datastore.v1.KindExpressionOrBuilder getKindOrBuilder(
      * repeated .google.datastore.v1.KindExpression kind = 3;
      */
     public com.google.datastore.v1.KindExpression.Builder addKindBuilder() {
-      return getKindFieldBuilder().addBuilder(
-          com.google.datastore.v1.KindExpression.getDefaultInstance());
+      return getKindFieldBuilder()
+          .addBuilder(com.google.datastore.v1.KindExpression.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1819,12 +1963,13 @@ public com.google.datastore.v1.KindExpression.Builder addKindBuilder() {
      *
      * repeated .google.datastore.v1.KindExpression kind = 3;
      */
-    public com.google.datastore.v1.KindExpression.Builder addKindBuilder(
-        int index) {
-      return getKindFieldBuilder().addBuilder(
-          index, com.google.datastore.v1.KindExpression.getDefaultInstance());
+    public com.google.datastore.v1.KindExpression.Builder addKindBuilder(int index) {
+      return getKindFieldBuilder()
+          .addBuilder(index, com.google.datastore.v1.KindExpression.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The kinds to query (if empty, returns entities of all kinds).
      * Currently at most 1 kind may be specified.
@@ -1832,20 +1977,22 @@ public com.google.datastore.v1.KindExpression.Builder addKindBuilder(
      *
      * repeated .google.datastore.v1.KindExpression kind = 3;
      */
-    public java.util.List 
-         getKindBuilderList() {
+    public java.util.List getKindBuilderList() {
       return getKindFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.datastore.v1.KindExpression, com.google.datastore.v1.KindExpression.Builder, com.google.datastore.v1.KindExpressionOrBuilder> 
+            com.google.datastore.v1.KindExpression,
+            com.google.datastore.v1.KindExpression.Builder,
+            com.google.datastore.v1.KindExpressionOrBuilder>
         getKindFieldBuilder() {
       if (kindBuilder_ == null) {
-        kindBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.datastore.v1.KindExpression, com.google.datastore.v1.KindExpression.Builder, com.google.datastore.v1.KindExpressionOrBuilder>(
-                kind_,
-                ((bitField0_ & 0x00000002) != 0),
-                getParentForChildren(),
-                isClean());
+        kindBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.datastore.v1.KindExpression,
+                com.google.datastore.v1.KindExpression.Builder,
+                com.google.datastore.v1.KindExpressionOrBuilder>(
+                kind_, ((bitField0_ & 0x00000002) != 0), getParentForChildren(), isClean());
         kind_ = null;
       }
       return kindBuilder_;
@@ -1853,24 +2000,33 @@ public com.google.datastore.v1.KindExpression.Builder addKindBuilder(
 
     private com.google.datastore.v1.Filter filter_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.v1.Filter, com.google.datastore.v1.Filter.Builder, com.google.datastore.v1.FilterOrBuilder> filterBuilder_;
+            com.google.datastore.v1.Filter,
+            com.google.datastore.v1.Filter.Builder,
+            com.google.datastore.v1.FilterOrBuilder>
+        filterBuilder_;
     /**
+     *
+     *
      * 
      * The filter to apply.
      * 
* * .google.datastore.v1.Filter filter = 4; + * * @return Whether the filter field is set. */ public boolean hasFilter() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * The filter to apply.
      * 
* * .google.datastore.v1.Filter filter = 4; + * * @return The filter. */ public com.google.datastore.v1.Filter getFilter() { @@ -1881,6 +2037,8 @@ public com.google.datastore.v1.Filter getFilter() { } } /** + * + * *
      * The filter to apply.
      * 
@@ -1901,14 +2059,15 @@ public Builder setFilter(com.google.datastore.v1.Filter value) { return this; } /** + * + * *
      * The filter to apply.
      * 
* * .google.datastore.v1.Filter filter = 4; */ - public Builder setFilter( - com.google.datastore.v1.Filter.Builder builderForValue) { + public Builder setFilter(com.google.datastore.v1.Filter.Builder builderForValue) { if (filterBuilder_ == null) { filter_ = builderForValue.build(); } else { @@ -1919,6 +2078,8 @@ public Builder setFilter( return this; } /** + * + * *
      * The filter to apply.
      * 
@@ -1927,9 +2088,9 @@ public Builder setFilter( */ public Builder mergeFilter(com.google.datastore.v1.Filter value) { if (filterBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - filter_ != null && - filter_ != com.google.datastore.v1.Filter.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && filter_ != null + && filter_ != com.google.datastore.v1.Filter.getDefaultInstance()) { getFilterBuilder().mergeFrom(value); } else { filter_ = value; @@ -1944,6 +2105,8 @@ public Builder mergeFilter(com.google.datastore.v1.Filter value) { return this; } /** + * + * *
      * The filter to apply.
      * 
@@ -1961,6 +2124,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * The filter to apply.
      * 
@@ -1973,6 +2138,8 @@ public com.google.datastore.v1.Filter.Builder getFilterBuilder() { return getFilterFieldBuilder().getBuilder(); } /** + * + * *
      * The filter to apply.
      * 
@@ -1983,11 +2150,12 @@ public com.google.datastore.v1.FilterOrBuilder getFilterOrBuilder() { if (filterBuilder_ != null) { return filterBuilder_.getMessageOrBuilder(); } else { - return filter_ == null ? - com.google.datastore.v1.Filter.getDefaultInstance() : filter_; + return filter_ == null ? com.google.datastore.v1.Filter.getDefaultInstance() : filter_; } } /** + * + * *
      * The filter to apply.
      * 
@@ -1995,32 +2163,41 @@ public com.google.datastore.v1.FilterOrBuilder getFilterOrBuilder() { * .google.datastore.v1.Filter filter = 4; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Filter, com.google.datastore.v1.Filter.Builder, com.google.datastore.v1.FilterOrBuilder> + com.google.datastore.v1.Filter, + com.google.datastore.v1.Filter.Builder, + com.google.datastore.v1.FilterOrBuilder> getFilterFieldBuilder() { if (filterBuilder_ == null) { - filterBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Filter, com.google.datastore.v1.Filter.Builder, com.google.datastore.v1.FilterOrBuilder>( - getFilter(), - getParentForChildren(), - isClean()); + filterBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.Filter, + com.google.datastore.v1.Filter.Builder, + com.google.datastore.v1.FilterOrBuilder>( + getFilter(), getParentForChildren(), isClean()); filter_ = null; } return filterBuilder_; } private java.util.List order_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureOrderIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { order_ = new java.util.ArrayList(order_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.PropertyOrder, com.google.datastore.v1.PropertyOrder.Builder, com.google.datastore.v1.PropertyOrderOrBuilder> orderBuilder_; + com.google.datastore.v1.PropertyOrder, + com.google.datastore.v1.PropertyOrder.Builder, + com.google.datastore.v1.PropertyOrderOrBuilder> + orderBuilder_; /** + * + * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
@@ -2035,6 +2212,8 @@ public java.util.List getOrderList() { } } /** + * + * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
@@ -2049,6 +2228,8 @@ public int getOrderCount() { } } /** + * + * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
@@ -2063,14 +2244,15 @@ public com.google.datastore.v1.PropertyOrder getOrder(int index) { } } /** + * + * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
* * repeated .google.datastore.v1.PropertyOrder order = 5; */ - public Builder setOrder( - int index, com.google.datastore.v1.PropertyOrder value) { + public Builder setOrder(int index, com.google.datastore.v1.PropertyOrder value) { if (orderBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2084,6 +2266,8 @@ public Builder setOrder( return this; } /** + * + * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
@@ -2102,6 +2286,8 @@ public Builder setOrder( return this; } /** + * + * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
@@ -2122,14 +2308,15 @@ public Builder addOrder(com.google.datastore.v1.PropertyOrder value) { return this; } /** + * + * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
* * repeated .google.datastore.v1.PropertyOrder order = 5; */ - public Builder addOrder( - int index, com.google.datastore.v1.PropertyOrder value) { + public Builder addOrder(int index, com.google.datastore.v1.PropertyOrder value) { if (orderBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2143,14 +2330,15 @@ public Builder addOrder( return this; } /** + * + * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
* * repeated .google.datastore.v1.PropertyOrder order = 5; */ - public Builder addOrder( - com.google.datastore.v1.PropertyOrder.Builder builderForValue) { + public Builder addOrder(com.google.datastore.v1.PropertyOrder.Builder builderForValue) { if (orderBuilder_ == null) { ensureOrderIsMutable(); order_.add(builderForValue.build()); @@ -2161,6 +2349,8 @@ public Builder addOrder( return this; } /** + * + * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
@@ -2179,6 +2369,8 @@ public Builder addOrder( return this; } /** + * + * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
@@ -2189,8 +2381,7 @@ public Builder addAllOrder( java.lang.Iterable values) { if (orderBuilder_ == null) { ensureOrderIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, order_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, order_); onChanged(); } else { orderBuilder_.addAllMessages(values); @@ -2198,6 +2389,8 @@ public Builder addAllOrder( return this; } /** + * + * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
@@ -2215,6 +2408,8 @@ public Builder clearOrder() { return this; } /** + * + * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
@@ -2232,39 +2427,44 @@ public Builder removeOrder(int index) { return this; } /** + * + * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
* * repeated .google.datastore.v1.PropertyOrder order = 5; */ - public com.google.datastore.v1.PropertyOrder.Builder getOrderBuilder( - int index) { + public com.google.datastore.v1.PropertyOrder.Builder getOrderBuilder(int index) { return getOrderFieldBuilder().getBuilder(index); } /** + * + * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
* * repeated .google.datastore.v1.PropertyOrder order = 5; */ - public com.google.datastore.v1.PropertyOrderOrBuilder getOrderOrBuilder( - int index) { + public com.google.datastore.v1.PropertyOrderOrBuilder getOrderOrBuilder(int index) { if (orderBuilder_ == null) { - return order_.get(index); } else { + return order_.get(index); + } else { return orderBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
* * repeated .google.datastore.v1.PropertyOrder order = 5; */ - public java.util.List - getOrderOrBuilderList() { + public java.util.List + getOrderOrBuilderList() { if (orderBuilder_ != null) { return orderBuilder_.getMessageOrBuilderList(); } else { @@ -2272,6 +2472,8 @@ public com.google.datastore.v1.PropertyOrderOrBuilder getOrderOrBuilder( } } /** + * + * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
@@ -2279,60 +2481,72 @@ public com.google.datastore.v1.PropertyOrderOrBuilder getOrderOrBuilder( * repeated .google.datastore.v1.PropertyOrder order = 5; */ public com.google.datastore.v1.PropertyOrder.Builder addOrderBuilder() { - return getOrderFieldBuilder().addBuilder( - com.google.datastore.v1.PropertyOrder.getDefaultInstance()); + return getOrderFieldBuilder() + .addBuilder(com.google.datastore.v1.PropertyOrder.getDefaultInstance()); } /** + * + * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
* * repeated .google.datastore.v1.PropertyOrder order = 5; */ - public com.google.datastore.v1.PropertyOrder.Builder addOrderBuilder( - int index) { - return getOrderFieldBuilder().addBuilder( - index, com.google.datastore.v1.PropertyOrder.getDefaultInstance()); + public com.google.datastore.v1.PropertyOrder.Builder addOrderBuilder(int index) { + return getOrderFieldBuilder() + .addBuilder(index, com.google.datastore.v1.PropertyOrder.getDefaultInstance()); } /** + * + * *
      * The order to apply to the query results (if empty, order is unspecified).
      * 
* * repeated .google.datastore.v1.PropertyOrder order = 5; */ - public java.util.List - getOrderBuilderList() { + public java.util.List getOrderBuilderList() { return getOrderFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.PropertyOrder, com.google.datastore.v1.PropertyOrder.Builder, com.google.datastore.v1.PropertyOrderOrBuilder> + com.google.datastore.v1.PropertyOrder, + com.google.datastore.v1.PropertyOrder.Builder, + com.google.datastore.v1.PropertyOrderOrBuilder> getOrderFieldBuilder() { if (orderBuilder_ == null) { - orderBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.PropertyOrder, com.google.datastore.v1.PropertyOrder.Builder, com.google.datastore.v1.PropertyOrderOrBuilder>( - order_, - ((bitField0_ & 0x00000008) != 0), - getParentForChildren(), - isClean()); + orderBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.datastore.v1.PropertyOrder, + com.google.datastore.v1.PropertyOrder.Builder, + com.google.datastore.v1.PropertyOrderOrBuilder>( + order_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), isClean()); order_ = null; } return orderBuilder_; } private java.util.List distinctOn_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureDistinctOnIsMutable() { if (!((bitField0_ & 0x00000010) != 0)) { - distinctOn_ = new java.util.ArrayList(distinctOn_); + distinctOn_ = + new java.util.ArrayList(distinctOn_); bitField0_ |= 0x00000010; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder> distinctOnBuilder_; + com.google.datastore.v1.PropertyReference, + com.google.datastore.v1.PropertyReference.Builder, + com.google.datastore.v1.PropertyReferenceOrBuilder> + distinctOnBuilder_; /** + * + * *
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2354,6 +2568,8 @@ public java.util.List getDistinctOnLi
       }
     }
     /**
+     *
+     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2375,6 +2591,8 @@ public int getDistinctOnCount() {
       }
     }
     /**
+     *
+     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2396,6 +2614,8 @@ public com.google.datastore.v1.PropertyReference getDistinctOn(int index) {
       }
     }
     /**
+     *
+     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2409,8 +2629,7 @@ public com.google.datastore.v1.PropertyReference getDistinctOn(int index) {
      *
      * repeated .google.datastore.v1.PropertyReference distinct_on = 6;
      */
-    public Builder setDistinctOn(
-        int index, com.google.datastore.v1.PropertyReference value) {
+    public Builder setDistinctOn(int index, com.google.datastore.v1.PropertyReference value) {
       if (distinctOnBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2424,6 +2643,8 @@ public Builder setDistinctOn(
       return this;
     }
     /**
+     *
+     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2449,6 +2670,8 @@ public Builder setDistinctOn(
       return this;
     }
     /**
+     *
+     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2476,6 +2699,8 @@ public Builder addDistinctOn(com.google.datastore.v1.PropertyReference value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2489,8 +2714,7 @@ public Builder addDistinctOn(com.google.datastore.v1.PropertyReference value) {
      *
      * repeated .google.datastore.v1.PropertyReference distinct_on = 6;
      */
-    public Builder addDistinctOn(
-        int index, com.google.datastore.v1.PropertyReference value) {
+    public Builder addDistinctOn(int index, com.google.datastore.v1.PropertyReference value) {
       if (distinctOnBuilder_ == null) {
         if (value == null) {
           throw new NullPointerException();
@@ -2504,6 +2728,8 @@ public Builder addDistinctOn(
       return this;
     }
     /**
+     *
+     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2529,6 +2755,8 @@ public Builder addDistinctOn(
       return this;
     }
     /**
+     *
+     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2554,6 +2782,8 @@ public Builder addDistinctOn(
       return this;
     }
     /**
+     *
+     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2571,8 +2801,7 @@ public Builder addAllDistinctOn(
         java.lang.Iterable values) {
       if (distinctOnBuilder_ == null) {
         ensureDistinctOnIsMutable();
-        com.google.protobuf.AbstractMessageLite.Builder.addAll(
-            values, distinctOn_);
+        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, distinctOn_);
         onChanged();
       } else {
         distinctOnBuilder_.addAllMessages(values);
@@ -2580,6 +2809,8 @@ public Builder addAllDistinctOn(
       return this;
     }
     /**
+     *
+     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2604,6 +2835,8 @@ public Builder clearDistinctOn() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2628,6 +2861,8 @@ public Builder removeDistinctOn(int index) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2641,11 +2876,12 @@ public Builder removeDistinctOn(int index) {
      *
      * repeated .google.datastore.v1.PropertyReference distinct_on = 6;
      */
-    public com.google.datastore.v1.PropertyReference.Builder getDistinctOnBuilder(
-        int index) {
+    public com.google.datastore.v1.PropertyReference.Builder getDistinctOnBuilder(int index) {
       return getDistinctOnFieldBuilder().getBuilder(index);
     }
     /**
+     *
+     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2659,14 +2895,16 @@ public com.google.datastore.v1.PropertyReference.Builder getDistinctOnBuilder(
      *
      * repeated .google.datastore.v1.PropertyReference distinct_on = 6;
      */
-    public com.google.datastore.v1.PropertyReferenceOrBuilder getDistinctOnOrBuilder(
-        int index) {
+    public com.google.datastore.v1.PropertyReferenceOrBuilder getDistinctOnOrBuilder(int index) {
       if (distinctOnBuilder_ == null) {
-        return distinctOn_.get(index);  } else {
+        return distinctOn_.get(index);
+      } else {
         return distinctOnBuilder_.getMessageOrBuilder(index);
       }
     }
     /**
+     *
+     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2680,8 +2918,8 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getDistinctOnOrBuilder
      *
      * repeated .google.datastore.v1.PropertyReference distinct_on = 6;
      */
-    public java.util.List 
-         getDistinctOnOrBuilderList() {
+    public java.util.List
+        getDistinctOnOrBuilderList() {
       if (distinctOnBuilder_ != null) {
         return distinctOnBuilder_.getMessageOrBuilderList();
       } else {
@@ -2689,6 +2927,8 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getDistinctOnOrBuilder
       }
     }
     /**
+     *
+     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2703,10 +2943,12 @@ public com.google.datastore.v1.PropertyReferenceOrBuilder getDistinctOnOrBuilder
      * repeated .google.datastore.v1.PropertyReference distinct_on = 6;
      */
     public com.google.datastore.v1.PropertyReference.Builder addDistinctOnBuilder() {
-      return getDistinctOnFieldBuilder().addBuilder(
-          com.google.datastore.v1.PropertyReference.getDefaultInstance());
+      return getDistinctOnFieldBuilder()
+          .addBuilder(com.google.datastore.v1.PropertyReference.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2720,12 +2962,13 @@ public com.google.datastore.v1.PropertyReference.Builder addDistinctOnBuilder()
      *
      * repeated .google.datastore.v1.PropertyReference distinct_on = 6;
      */
-    public com.google.datastore.v1.PropertyReference.Builder addDistinctOnBuilder(
-        int index) {
-      return getDistinctOnFieldBuilder().addBuilder(
-          index, com.google.datastore.v1.PropertyReference.getDefaultInstance());
+    public com.google.datastore.v1.PropertyReference.Builder addDistinctOnBuilder(int index) {
+      return getDistinctOnFieldBuilder()
+          .addBuilder(index, com.google.datastore.v1.PropertyReference.getDefaultInstance());
     }
     /**
+     *
+     *
      * 
      * The properties to make distinct. The query results will contain the first
      * result for each distinct combination of values for the given properties
@@ -2739,20 +2982,23 @@ public com.google.datastore.v1.PropertyReference.Builder addDistinctOnBuilder(
      *
      * repeated .google.datastore.v1.PropertyReference distinct_on = 6;
      */
-    public java.util.List 
-         getDistinctOnBuilderList() {
+    public java.util.List
+        getDistinctOnBuilderList() {
       return getDistinctOnFieldBuilder().getBuilderList();
     }
+
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder> 
+            com.google.datastore.v1.PropertyReference,
+            com.google.datastore.v1.PropertyReference.Builder,
+            com.google.datastore.v1.PropertyReferenceOrBuilder>
         getDistinctOnFieldBuilder() {
       if (distinctOnBuilder_ == null) {
-        distinctOnBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.datastore.v1.PropertyReference, com.google.datastore.v1.PropertyReference.Builder, com.google.datastore.v1.PropertyReferenceOrBuilder>(
-                distinctOn_,
-                ((bitField0_ & 0x00000010) != 0),
-                getParentForChildren(),
-                isClean());
+        distinctOnBuilder_ =
+            new com.google.protobuf.RepeatedFieldBuilderV3<
+                com.google.datastore.v1.PropertyReference,
+                com.google.datastore.v1.PropertyReference.Builder,
+                com.google.datastore.v1.PropertyReferenceOrBuilder>(
+                distinctOn_, ((bitField0_ & 0x00000010) != 0), getParentForChildren(), isClean());
         distinctOn_ = null;
       }
       return distinctOnBuilder_;
@@ -2760,6 +3006,8 @@ public com.google.datastore.v1.PropertyReference.Builder addDistinctOnBuilder(
 
     private com.google.protobuf.ByteString startCursor_ = com.google.protobuf.ByteString.EMPTY;
     /**
+     *
+     *
      * 
      * A starting point for the query results. Query cursors are
      * returned in query result batches and
@@ -2768,6 +3016,7 @@ public com.google.datastore.v1.PropertyReference.Builder addDistinctOnBuilder(
      * 
* * bytes start_cursor = 7; + * * @return The startCursor. */ @java.lang.Override @@ -2775,6 +3024,8 @@ public com.google.protobuf.ByteString getStartCursor() { return startCursor_; } /** + * + * *
      * A starting point for the query results. Query cursors are
      * returned in query result batches and
@@ -2783,17 +3034,22 @@ public com.google.protobuf.ByteString getStartCursor() {
      * 
* * bytes start_cursor = 7; + * * @param value The startCursor to set. * @return This builder for chaining. */ public Builder setStartCursor(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } startCursor_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * A starting point for the query results. Query cursors are
      * returned in query result batches and
@@ -2802,6 +3058,7 @@ public Builder setStartCursor(com.google.protobuf.ByteString value) {
      * 
* * bytes start_cursor = 7; + * * @return This builder for chaining. */ public Builder clearStartCursor() { @@ -2813,6 +3070,8 @@ public Builder clearStartCursor() { private com.google.protobuf.ByteString endCursor_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * An ending point for the query results. Query cursors are
      * returned in query result batches and
@@ -2821,6 +3080,7 @@ public Builder clearStartCursor() {
      * 
* * bytes end_cursor = 8; + * * @return The endCursor. */ @java.lang.Override @@ -2828,6 +3088,8 @@ public com.google.protobuf.ByteString getEndCursor() { return endCursor_; } /** + * + * *
      * An ending point for the query results. Query cursors are
      * returned in query result batches and
@@ -2836,17 +3098,22 @@ public com.google.protobuf.ByteString getEndCursor() {
      * 
* * bytes end_cursor = 8; + * * @param value The endCursor to set. * @return This builder for chaining. */ public Builder setEndCursor(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } endCursor_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * An ending point for the query results. Query cursors are
      * returned in query result batches and
@@ -2855,6 +3122,7 @@ public Builder setEndCursor(com.google.protobuf.ByteString value) {
      * 
* * bytes end_cursor = 8; + * * @return This builder for chaining. */ public Builder clearEndCursor() { @@ -2864,14 +3132,17 @@ public Builder clearEndCursor() { return this; } - private int offset_ ; + private int offset_; /** + * + * *
      * The number of results to skip. Applies before limit, but after all other
      * constraints. Optional. Must be >= 0 if specified.
      * 
* * int32 offset = 10; + * * @return The offset. */ @java.lang.Override @@ -2879,12 +3150,15 @@ public int getOffset() { return offset_; } /** + * + * *
      * The number of results to skip. Applies before limit, but after all other
      * constraints. Optional. Must be >= 0 if specified.
      * 
* * int32 offset = 10; + * * @param value The offset to set. * @return This builder for chaining. */ @@ -2896,12 +3170,15 @@ public Builder setOffset(int value) { return this; } /** + * + * *
      * The number of results to skip. Applies before limit, but after all other
      * constraints. Optional. Must be >= 0 if specified.
      * 
* * int32 offset = 10; + * * @return This builder for chaining. */ public Builder clearOffset() { @@ -2913,8 +3190,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. Optional.
@@ -2923,12 +3205,15 @@ public Builder clearOffset() {
      * 
* * .google.protobuf.Int32Value limit = 12; + * * @return Whether the limit field is set. */ public boolean hasLimit() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * *
      * The maximum number of results to return. Applies after all other
      * constraints. Optional.
@@ -2937,6 +3222,7 @@ public boolean hasLimit() {
      * 
* * .google.protobuf.Int32Value limit = 12; + * * @return The limit. */ public com.google.protobuf.Int32Value getLimit() { @@ -2947,6 +3233,8 @@ public com.google.protobuf.Int32Value getLimit() { } } /** + * + * *
      * The maximum number of results to return. Applies after all other
      * constraints. Optional.
@@ -2970,6 +3258,8 @@ public Builder setLimit(com.google.protobuf.Int32Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum number of results to return. Applies after all other
      * constraints. Optional.
@@ -2979,8 +3269,7 @@ public Builder setLimit(com.google.protobuf.Int32Value value) {
      *
      * .google.protobuf.Int32Value limit = 12;
      */
-    public Builder setLimit(
-        com.google.protobuf.Int32Value.Builder builderForValue) {
+    public Builder setLimit(com.google.protobuf.Int32Value.Builder builderForValue) {
       if (limitBuilder_ == null) {
         limit_ = builderForValue.build();
       } else {
@@ -2991,6 +3280,8 @@ public Builder setLimit(
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum number of results to return. Applies after all other
      * constraints. Optional.
@@ -3002,9 +3293,9 @@ public Builder setLimit(
      */
     public Builder mergeLimit(com.google.protobuf.Int32Value value) {
       if (limitBuilder_ == null) {
-        if (((bitField0_ & 0x00000100) != 0) &&
-          limit_ != null &&
-          limit_ != com.google.protobuf.Int32Value.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000100) != 0)
+            && limit_ != null
+            && limit_ != com.google.protobuf.Int32Value.getDefaultInstance()) {
           getLimitBuilder().mergeFrom(value);
         } else {
           limit_ = value;
@@ -3019,6 +3310,8 @@ public Builder mergeLimit(com.google.protobuf.Int32Value value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum number of results to return. Applies after all other
      * constraints. Optional.
@@ -3039,6 +3332,8 @@ public Builder clearLimit() {
       return this;
     }
     /**
+     *
+     *
      * 
      * The maximum number of results to return. Applies after all other
      * constraints. Optional.
@@ -3054,6 +3349,8 @@ public com.google.protobuf.Int32Value.Builder getLimitBuilder() {
       return getLimitFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * The maximum number of results to return. Applies after all other
      * constraints. Optional.
@@ -3067,11 +3364,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. Optional.
@@ -3082,21 +3380,24 @@ public com.google.protobuf.Int32ValueOrBuilder getLimitOrBuilder() {
      * .google.protobuf.Int32Value limit = 12;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Int32Value, com.google.protobuf.Int32Value.Builder, com.google.protobuf.Int32ValueOrBuilder> 
+            com.google.protobuf.Int32Value,
+            com.google.protobuf.Int32Value.Builder,
+            com.google.protobuf.Int32ValueOrBuilder>
         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);
     }
 
@@ -3106,12 +3407,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.Query)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.Query)
   private static final com.google.datastore.v1.Query DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.Query();
   }
@@ -3120,27 +3421,27 @@ public static com.google.datastore.v1.Query getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public Query parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public Query parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -3155,6 +3456,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.Query getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryOrBuilder.java
similarity index 86%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryOrBuilder.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryOrBuilder.java
index 9ce837c4f..5783fb2ea 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryOrBuilder.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryOrBuilder.java
@@ -1,23 +1,42 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/query.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface QueryOrBuilder extends
+public interface QueryOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.Query)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The projection to return. Defaults to returning all properties.
    * 
* * repeated .google.datastore.v1.Projection projection = 2; */ - java.util.List - getProjectionList(); + java.util.List getProjectionList(); /** + * + * *
    * The projection to return. Defaults to returning all properties.
    * 
@@ -26,6 +45,8 @@ public interface QueryOrBuilder extends */ com.google.datastore.v1.Projection getProjection(int index); /** + * + * *
    * The projection to return. Defaults to returning all properties.
    * 
@@ -34,25 +55,30 @@ public interface QueryOrBuilder extends */ int getProjectionCount(); /** + * + * *
    * The projection to return. Defaults to returning all properties.
    * 
* * repeated .google.datastore.v1.Projection projection = 2; */ - java.util.List + java.util.List getProjectionOrBuilderList(); /** + * + * *
    * The projection to return. Defaults to returning all properties.
    * 
* * repeated .google.datastore.v1.Projection projection = 2; */ - com.google.datastore.v1.ProjectionOrBuilder getProjectionOrBuilder( - int index); + com.google.datastore.v1.ProjectionOrBuilder getProjectionOrBuilder(int index); /** + * + * *
    * The kinds to query (if empty, returns entities of all kinds).
    * Currently at most 1 kind may be specified.
@@ -60,9 +86,10 @@ com.google.datastore.v1.ProjectionOrBuilder getProjectionOrBuilder(
    *
    * repeated .google.datastore.v1.KindExpression kind = 3;
    */
-  java.util.List 
-      getKindList();
+  java.util.List getKindList();
   /**
+   *
+   *
    * 
    * The kinds to query (if empty, returns entities of all kinds).
    * Currently at most 1 kind may be specified.
@@ -72,6 +99,8 @@ com.google.datastore.v1.ProjectionOrBuilder getProjectionOrBuilder(
    */
   com.google.datastore.v1.KindExpression getKind(int index);
   /**
+   *
+   *
    * 
    * The kinds to query (if empty, returns entities of all kinds).
    * Currently at most 1 kind may be specified.
@@ -81,6 +110,8 @@ com.google.datastore.v1.ProjectionOrBuilder getProjectionOrBuilder(
    */
   int getKindCount();
   /**
+   *
+   *
    * 
    * The kinds to query (if empty, returns entities of all kinds).
    * Currently at most 1 kind may be specified.
@@ -88,9 +119,10 @@ com.google.datastore.v1.ProjectionOrBuilder getProjectionOrBuilder(
    *
    * repeated .google.datastore.v1.KindExpression kind = 3;
    */
-  java.util.List 
-      getKindOrBuilderList();
+  java.util.List getKindOrBuilderList();
   /**
+   *
+   *
    * 
    * The kinds to query (if empty, returns entities of all kinds).
    * Currently at most 1 kind may be specified.
@@ -98,28 +130,35 @@ com.google.datastore.v1.ProjectionOrBuilder getProjectionOrBuilder(
    *
    * repeated .google.datastore.v1.KindExpression kind = 3;
    */
-  com.google.datastore.v1.KindExpressionOrBuilder getKindOrBuilder(
-      int index);
+  com.google.datastore.v1.KindExpressionOrBuilder getKindOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * The filter to apply.
    * 
* * .google.datastore.v1.Filter filter = 4; + * * @return Whether the filter field is set. */ boolean hasFilter(); /** + * + * *
    * The filter to apply.
    * 
* * .google.datastore.v1.Filter filter = 4; + * * @return The filter. */ com.google.datastore.v1.Filter getFilter(); /** + * + * *
    * The filter to apply.
    * 
@@ -129,15 +168,18 @@ com.google.datastore.v1.KindExpressionOrBuilder getKindOrBuilder( com.google.datastore.v1.FilterOrBuilder getFilterOrBuilder(); /** + * + * *
    * The order to apply to the query results (if empty, order is unspecified).
    * 
* * repeated .google.datastore.v1.PropertyOrder order = 5; */ - java.util.List - getOrderList(); + java.util.List getOrderList(); /** + * + * *
    * The order to apply to the query results (if empty, order is unspecified).
    * 
@@ -146,6 +188,8 @@ com.google.datastore.v1.KindExpressionOrBuilder getKindOrBuilder( */ com.google.datastore.v1.PropertyOrder getOrder(int index); /** + * + * *
    * The order to apply to the query results (if empty, order is unspecified).
    * 
@@ -154,25 +198,29 @@ com.google.datastore.v1.KindExpressionOrBuilder getKindOrBuilder( */ int getOrderCount(); /** + * + * *
    * The order to apply to the query results (if empty, order is unspecified).
    * 
* * repeated .google.datastore.v1.PropertyOrder order = 5; */ - java.util.List - getOrderOrBuilderList(); + java.util.List getOrderOrBuilderList(); /** + * + * *
    * The order to apply to the query results (if empty, order is unspecified).
    * 
* * repeated .google.datastore.v1.PropertyOrder order = 5; */ - com.google.datastore.v1.PropertyOrderOrBuilder getOrderOrBuilder( - int index); + com.google.datastore.v1.PropertyOrderOrBuilder getOrderOrBuilder(int index); /** + * + * *
    * The properties to make distinct. The query results will contain the first
    * result for each distinct combination of values for the given properties
@@ -186,9 +234,10 @@ com.google.datastore.v1.PropertyOrderOrBuilder getOrderOrBuilder(
    *
    * repeated .google.datastore.v1.PropertyReference distinct_on = 6;
    */
-  java.util.List 
-      getDistinctOnList();
+  java.util.List getDistinctOnList();
   /**
+   *
+   *
    * 
    * The properties to make distinct. The query results will contain the first
    * result for each distinct combination of values for the given properties
@@ -204,6 +253,8 @@ com.google.datastore.v1.PropertyOrderOrBuilder getOrderOrBuilder(
    */
   com.google.datastore.v1.PropertyReference getDistinctOn(int index);
   /**
+   *
+   *
    * 
    * The properties to make distinct. The query results will contain the first
    * result for each distinct combination of values for the given properties
@@ -219,6 +270,8 @@ com.google.datastore.v1.PropertyOrderOrBuilder getOrderOrBuilder(
    */
   int getDistinctOnCount();
   /**
+   *
+   *
    * 
    * The properties to make distinct. The query results will contain the first
    * result for each distinct combination of values for the given properties
@@ -232,9 +285,11 @@ com.google.datastore.v1.PropertyOrderOrBuilder getOrderOrBuilder(
    *
    * repeated .google.datastore.v1.PropertyReference distinct_on = 6;
    */
-  java.util.List 
+  java.util.List
       getDistinctOnOrBuilderList();
   /**
+   *
+   *
    * 
    * The properties to make distinct. The query results will contain the first
    * result for each distinct combination of values for the given properties
@@ -248,10 +303,11 @@ com.google.datastore.v1.PropertyOrderOrBuilder getOrderOrBuilder(
    *
    * repeated .google.datastore.v1.PropertyReference distinct_on = 6;
    */
-  com.google.datastore.v1.PropertyReferenceOrBuilder getDistinctOnOrBuilder(
-      int index);
+  com.google.datastore.v1.PropertyReferenceOrBuilder getDistinctOnOrBuilder(int index);
 
   /**
+   *
+   *
    * 
    * A starting point for the query results. Query cursors are
    * returned in query result batches and
@@ -260,11 +316,14 @@ com.google.datastore.v1.PropertyReferenceOrBuilder getDistinctOnOrBuilder(
    * 
* * bytes start_cursor = 7; + * * @return The startCursor. */ com.google.protobuf.ByteString getStartCursor(); /** + * + * *
    * An ending point for the query results. Query cursors are
    * returned in query result batches and
@@ -273,22 +332,28 @@ com.google.datastore.v1.PropertyReferenceOrBuilder getDistinctOnOrBuilder(
    * 
* * bytes end_cursor = 8; + * * @return The endCursor. */ com.google.protobuf.ByteString getEndCursor(); /** + * + * *
    * The number of results to skip. Applies before limit, but after all other
    * constraints. Optional. Must be >= 0 if specified.
    * 
* * int32 offset = 10; + * * @return The offset. */ int getOffset(); /** + * + * *
    * The maximum number of results to return. Applies after all other
    * constraints. Optional.
@@ -297,10 +362,13 @@ com.google.datastore.v1.PropertyReferenceOrBuilder getDistinctOnOrBuilder(
    * 
* * .google.protobuf.Int32Value limit = 12; + * * @return Whether the limit field is set. */ boolean hasLimit(); /** + * + * *
    * The maximum number of results to return. Applies after all other
    * constraints. Optional.
@@ -309,10 +377,13 @@ com.google.datastore.v1.PropertyReferenceOrBuilder getDistinctOnOrBuilder(
    * 
* * .google.protobuf.Int32Value limit = 12; + * * @return The limit. */ com.google.protobuf.Int32Value getLimit(); /** + * + * *
    * The maximum number of results to return. Applies after all other
    * constraints. Optional.
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryProfileProto.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryProfileProto.java
new file mode 100644
index 000000000..1e34aa95a
--- /dev/null
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryProfileProto.java
@@ -0,0 +1,128 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/datastore/v1/query_profile.proto
+
+// Protobuf Java Version: 3.25.3
+package com.google.datastore.v1;
+
+public final class QueryProfileProto {
+  private QueryProfileProto() {}
+
+  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_datastore_v1_ExplainOptions_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_ExplainOptions_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_ExplainMetrics_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_ExplainMetrics_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_PlanSummary_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_PlanSummary_fieldAccessorTable;
+  static final com.google.protobuf.Descriptors.Descriptor
+      internal_static_google_datastore_v1_ExecutionStats_descriptor;
+  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+      internal_static_google_datastore_v1_ExecutionStats_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/datastore/v1/query_profile.prot"
+          + "o\022\023google.datastore.v1\032\037google/api/field"
+          + "_behavior.proto\032\036google/protobuf/duratio"
+          + "n.proto\032\034google/protobuf/struct.proto\"&\n"
+          + "\016ExplainOptions\022\024\n\007analyze\030\001 \001(\010B\003\340A\001\"\206\001"
+          + "\n\016ExplainMetrics\0226\n\014plan_summary\030\001 \001(\0132 "
+          + ".google.datastore.v1.PlanSummary\022<\n\017exec"
+          + "ution_stats\030\002 \001(\0132#.google.datastore.v1."
+          + "ExecutionStats\"<\n\013PlanSummary\022-\n\014indexes"
+          + "_used\030\001 \003(\0132\027.google.protobuf.Struct\"\250\001\n"
+          + "\016ExecutionStats\022\030\n\020results_returned\030\001 \001("
+          + "\003\0225\n\022execution_duration\030\003 \001(\0132\031.google.p"
+          + "rotobuf.Duration\022\027\n\017read_operations\030\004 \001("
+          + "\003\022,\n\013debug_stats\030\005 \001(\0132\027.google.protobuf"
+          + ".StructB\303\001\n\027com.google.datastore.v1B\021Que"
+          + "ryProfileProtoP\001Z"
+          + "\n\017property_filter\030\002 \001(\0132#.google.datasto"
+          + "re.v1.PropertyFilterH\000B\r\n\013filter_type\"\261\001"
+          + "\n\017CompositeFilter\0229\n\002op\030\001 \001(\0162-.google.d"
+          + "atastore.v1.CompositeFilter.Operator\022,\n\007"
+          + "filters\030\002 \003(\0132\033.google.datastore.v1.Filt"
+          + "er\"5\n\010Operator\022\030\n\024OPERATOR_UNSPECIFIED\020\000"
+          + "\022\007\n\003AND\020\001\022\006\n\002OR\020\002\"\352\002\n\016PropertyFilter\0228\n\010"
+          + "property\030\001 \001(\0132&.google.datastore.v1.Pro"
+          + "pertyReference\0228\n\002op\030\002 \001(\0162,.google.data"
+          + "store.v1.PropertyFilter.Operator\022)\n\005valu"
+          + "e\030\003 \001(\0132\032.google.datastore.v1.Value\"\270\001\n\010"
+          + "Operator\022\030\n\024OPERATOR_UNSPECIFIED\020\000\022\r\n\tLE"
+          + "SS_THAN\020\001\022\026\n\022LESS_THAN_OR_EQUAL\020\002\022\020\n\014GRE"
+          + "ATER_THAN\020\003\022\031\n\025GREATER_THAN_OR_EQUAL\020\004\022\t"
+          + "\n\005EQUAL\020\005\022\006\n\002IN\020\006\022\r\n\tNOT_EQUAL\020\t\022\020\n\014HAS_"
+          + "ANCESTOR\020\013\022\n\n\006NOT_IN\020\r\"\245\002\n\010GqlQuery\022\024\n\014q"
+          + "uery_string\030\001 \001(\t\022\026\n\016allow_literals\030\002 \001("
+          + "\010\022H\n\016named_bindings\030\005 \003(\01320.google.datas"
+          + "tore.v1.GqlQuery.NamedBindingsEntry\022C\n\023p"
+          + "ositional_bindings\030\004 \003(\0132&.google.datast"
+          + "ore.v1.GqlQueryParameter\032\\\n\022NamedBinding"
+          + "sEntry\022\013\n\003key\030\001 \001(\t\0225\n\005value\030\002 \001(\0132&.goo"
+          + "gle.datastore.v1.GqlQueryParameter:\0028\001\"d"
+          + "\n\021GqlQueryParameter\022+\n\005value\030\002 \001(\0132\032.goo"
+          + "gle.datastore.v1.ValueH\000\022\020\n\006cursor\030\003 \001(\014"
+          + "H\000B\020\n\016parameter_type\"\215\004\n\020QueryResultBatc"
+          + "h\022\027\n\017skipped_results\030\006 \001(\005\022\026\n\016skipped_cu"
+          + "rsor\030\003 \001(\014\022H\n\022entity_result_type\030\001 \001(\0162,"
+          + ".google.datastore.v1.EntityResult.Result"
+          + "Type\0229\n\016entity_results\030\002 \003(\0132!.google.da"
+          + "tastore.v1.EntityResult\022\022\n\nend_cursor\030\004 "
+          + "\001(\014\022K\n\014more_results\030\005 \001(\01625.google.datas"
+          + "tore.v1.QueryResultBatch.MoreResultsType"
+          + "\022\030\n\020snapshot_version\030\007 \001(\003\022-\n\tread_time\030"
+          + "\010 \001(\0132\032.google.protobuf.Timestamp\"\230\001\n\017Mo"
+          + "reResultsType\022!\n\035MORE_RESULTS_TYPE_UNSPE"
+          + "CIFIED\020\000\022\020\n\014NOT_FINISHED\020\001\022\034\n\030MORE_RESUL"
+          + "TS_AFTER_LIMIT\020\002\022\035\n\031MORE_RESULTS_AFTER_C"
+          + "URSOR\020\004\022\023\n\017NO_MORE_RESULTS\020\003B\274\001\n\027com.goo"
+          + "gle.datastore.v1B\nQueryProtoP\001Z
  * A batch of results produced by a query.
  * 
* * Protobuf type {@code google.datastore.v1.QueryResultBatch} */ -public final class QueryResultBatch extends - com.google.protobuf.GeneratedMessageV3 implements +public final class QueryResultBatch extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.datastore.v1.QueryResultBatch) QueryResultBatchOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use QueryResultBatch.newBuilder() to construct. private QueryResultBatch(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private QueryResultBatch() { skippedCursor_ = com.google.protobuf.ByteString.EMPTY; entityResultType_ = 0; @@ -30,34 +48,38 @@ private QueryResultBatch() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new QueryResultBatch(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_QueryResultBatch_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_QueryResultBatch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_QueryResultBatch_fieldAccessorTable + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_QueryResultBatch_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.QueryResultBatch.class, com.google.datastore.v1.QueryResultBatch.Builder.class); + com.google.datastore.v1.QueryResultBatch.class, + com.google.datastore.v1.QueryResultBatch.Builder.class); } /** + * + * *
    * The possible values for the `more_results` field.
    * 
* * Protobuf enum {@code google.datastore.v1.QueryResultBatch.MoreResultsType} */ - public enum MoreResultsType - implements com.google.protobuf.ProtocolMessageEnum { + public enum MoreResultsType implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified. This value is never used.
      * 
@@ -66,6 +88,8 @@ public enum MoreResultsType */ MORE_RESULTS_TYPE_UNSPECIFIED(0), /** + * + * *
      * There may be additional batches to fetch from this query.
      * 
@@ -74,6 +98,8 @@ public enum MoreResultsType */ NOT_FINISHED(1), /** + * + * *
      * The query is finished, but there may be more results after the limit.
      * 
@@ -82,6 +108,8 @@ public enum MoreResultsType */ MORE_RESULTS_AFTER_LIMIT(2), /** + * + * *
      * The query is finished, but there may be more results after the end
      * cursor.
@@ -91,6 +119,8 @@ public enum MoreResultsType
      */
     MORE_RESULTS_AFTER_CURSOR(4),
     /**
+     *
+     *
      * 
      * The query is finished, and there are no more results.
      * 
@@ -102,6 +132,8 @@ public enum MoreResultsType ; /** + * + * *
      * Unspecified. This value is never used.
      * 
@@ -110,6 +142,8 @@ public enum MoreResultsType */ public static final int MORE_RESULTS_TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * There may be additional batches to fetch from this query.
      * 
@@ -118,6 +152,8 @@ public enum MoreResultsType */ public static final int NOT_FINISHED_VALUE = 1; /** + * + * *
      * The query is finished, but there may be more results after the limit.
      * 
@@ -126,6 +162,8 @@ public enum MoreResultsType */ public static final int MORE_RESULTS_AFTER_LIMIT_VALUE = 2; /** + * + * *
      * The query is finished, but there may be more results after the end
      * cursor.
@@ -135,6 +173,8 @@ public enum MoreResultsType
      */
     public static final int MORE_RESULTS_AFTER_CURSOR_VALUE = 4;
     /**
+     *
+     *
      * 
      * The query is finished, and there are no more results.
      * 
@@ -143,7 +183,6 @@ public enum MoreResultsType */ public static final int NO_MORE_RESULTS_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -168,41 +207,46 @@ public static MoreResultsType valueOf(int value) { */ public static MoreResultsType forNumber(int value) { switch (value) { - case 0: return MORE_RESULTS_TYPE_UNSPECIFIED; - case 1: return NOT_FINISHED; - case 2: return MORE_RESULTS_AFTER_LIMIT; - case 4: return MORE_RESULTS_AFTER_CURSOR; - case 3: return NO_MORE_RESULTS; - default: return null; + case 0: + return MORE_RESULTS_TYPE_UNSPECIFIED; + case 1: + return NOT_FINISHED; + case 2: + return MORE_RESULTS_AFTER_LIMIT; + case 4: + return MORE_RESULTS_AFTER_CURSOR; + case 3: + return NO_MORE_RESULTS; + 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< - MoreResultsType> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MoreResultsType findValueByNumber(int number) { - return MoreResultsType.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 MoreResultsType findValueByNumber(int number) { + return MoreResultsType.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.datastore.v1.QueryResultBatch.getDescriptor().getEnumTypes().get(0); } @@ -211,8 +255,7 @@ public MoreResultsType findValueByNumber(int number) { public static MoreResultsType 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; @@ -233,11 +276,14 @@ private MoreResultsType(int value) { public static final int SKIPPED_RESULTS_FIELD_NUMBER = 6; private int skippedResults_ = 0; /** + * + * *
    * The number of results skipped, typically because of an offset.
    * 
* * int32 skipped_results = 6; + * * @return The skippedResults. */ @java.lang.Override @@ -248,12 +294,15 @@ public int getSkippedResults() { public static final int SKIPPED_CURSOR_FIELD_NUMBER = 3; private com.google.protobuf.ByteString skippedCursor_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
    * A cursor that points to the position after the last skipped result.
    * Will be set when `skipped_results` != 0.
    * 
* * bytes skipped_cursor = 3; + * * @return The skippedCursor. */ @java.lang.Override @@ -264,33 +313,45 @@ public com.google.protobuf.ByteString getSkippedCursor() { public static final int ENTITY_RESULT_TYPE_FIELD_NUMBER = 1; private int entityResultType_ = 0; /** + * + * *
    * The result type for every entity in `entity_results`.
    * 
* * .google.datastore.v1.EntityResult.ResultType entity_result_type = 1; + * * @return The enum numeric value on the wire for entityResultType. */ - @java.lang.Override public int getEntityResultTypeValue() { + @java.lang.Override + public int getEntityResultTypeValue() { return entityResultType_; } /** + * + * *
    * The result type for every entity in `entity_results`.
    * 
* * .google.datastore.v1.EntityResult.ResultType entity_result_type = 1; + * * @return The entityResultType. */ - @java.lang.Override public com.google.datastore.v1.EntityResult.ResultType getEntityResultType() { - com.google.datastore.v1.EntityResult.ResultType result = com.google.datastore.v1.EntityResult.ResultType.forNumber(entityResultType_); + @java.lang.Override + public com.google.datastore.v1.EntityResult.ResultType getEntityResultType() { + com.google.datastore.v1.EntityResult.ResultType result = + com.google.datastore.v1.EntityResult.ResultType.forNumber(entityResultType_); return result == null ? com.google.datastore.v1.EntityResult.ResultType.UNRECOGNIZED : result; } public static final int ENTITY_RESULTS_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private java.util.List entityResults_; /** + * + * *
    * The results for this batch.
    * 
@@ -302,6 +363,8 @@ public java.util.List getEntityResultsList return entityResults_; } /** + * + * *
    * The results for this batch.
    * 
@@ -309,11 +372,13 @@ public java.util.List getEntityResultsList * repeated .google.datastore.v1.EntityResult entity_results = 2; */ @java.lang.Override - public java.util.List + public java.util.List getEntityResultsOrBuilderList() { return entityResults_; } /** + * + * *
    * The results for this batch.
    * 
@@ -325,6 +390,8 @@ public int getEntityResultsCount() { return entityResults_.size(); } /** + * + * *
    * The results for this batch.
    * 
@@ -336,6 +403,8 @@ public com.google.datastore.v1.EntityResult getEntityResults(int index) { return entityResults_.get(index); } /** + * + * *
    * The results for this batch.
    * 
@@ -343,19 +412,21 @@ public com.google.datastore.v1.EntityResult getEntityResults(int index) { * repeated .google.datastore.v1.EntityResult entity_results = 2; */ @java.lang.Override - public com.google.datastore.v1.EntityResultOrBuilder getEntityResultsOrBuilder( - int index) { + public com.google.datastore.v1.EntityResultOrBuilder getEntityResultsOrBuilder(int index) { return entityResults_.get(index); } public static final int END_CURSOR_FIELD_NUMBER = 4; private com.google.protobuf.ByteString endCursor_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
    * A cursor that points to the position after the last result in the batch.
    * 
* * bytes end_cursor = 4; + * * @return The endCursor. */ @java.lang.Override @@ -366,32 +437,45 @@ public com.google.protobuf.ByteString getEndCursor() { public static final int MORE_RESULTS_FIELD_NUMBER = 5; private int moreResults_ = 0; /** + * + * *
    * The state of the query after the current batch.
    * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 5; + * * @return The enum numeric value on the wire for moreResults. */ - @java.lang.Override public int getMoreResultsValue() { + @java.lang.Override + public int getMoreResultsValue() { return moreResults_; } /** + * + * *
    * The state of the query after the current batch.
    * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 5; + * * @return The moreResults. */ - @java.lang.Override public com.google.datastore.v1.QueryResultBatch.MoreResultsType getMoreResults() { - com.google.datastore.v1.QueryResultBatch.MoreResultsType result = com.google.datastore.v1.QueryResultBatch.MoreResultsType.forNumber(moreResults_); - return result == null ? com.google.datastore.v1.QueryResultBatch.MoreResultsType.UNRECOGNIZED : result; + @java.lang.Override + public com.google.datastore.v1.QueryResultBatch.MoreResultsType getMoreResults() { + com.google.datastore.v1.QueryResultBatch.MoreResultsType result = + com.google.datastore.v1.QueryResultBatch.MoreResultsType.forNumber(moreResults_); + return result == null + ? com.google.datastore.v1.QueryResultBatch.MoreResultsType.UNRECOGNIZED + : result; } public static final int SNAPSHOT_VERSION_FIELD_NUMBER = 7; private long snapshotVersion_ = 0L; /** + * + * *
    * The version number of the snapshot this batch was returned from.
    * This applies to the range of results from the query's `start_cursor` (or
@@ -405,6 +489,7 @@ public com.google.protobuf.ByteString getEndCursor() {
    * 
* * int64 snapshot_version = 7; + * * @return The snapshotVersion. */ @java.lang.Override @@ -415,6 +500,8 @@ public long getSnapshotVersion() { public static final int READ_TIME_FIELD_NUMBER = 8; private com.google.protobuf.Timestamp readTime_; /** + * + * *
    * Read timestamp this batch was returned from.
    * This applies to the range of results from the query's `start_cursor` (or
@@ -429,6 +516,7 @@ public long getSnapshotVersion() {
    * 
* * .google.protobuf.Timestamp read_time = 8; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -436,6 +524,8 @@ public boolean hasReadTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Read timestamp this batch was returned from.
    * This applies to the range of results from the query's `start_cursor` (or
@@ -450,6 +540,7 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 8; + * * @return The readTime. */ @java.lang.Override @@ -457,6 +548,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
    * Read timestamp this batch was returned from.
    * This applies to the range of results from the query's `start_cursor` (or
@@ -478,6 +571,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -489,9 +583,9 @@ public final boolean isInitialized() {
   }
 
   @java.lang.Override
-  public void writeTo(com.google.protobuf.CodedOutputStream output)
-                      throws java.io.IOException {
-    if (entityResultType_ != com.google.datastore.v1.EntityResult.ResultType.RESULT_TYPE_UNSPECIFIED.getNumber()) {
+  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+    if (entityResultType_
+        != com.google.datastore.v1.EntityResult.ResultType.RESULT_TYPE_UNSPECIFIED.getNumber()) {
       output.writeEnum(1, entityResultType_);
     }
     for (int i = 0; i < entityResults_.size(); i++) {
@@ -503,7 +597,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
     if (!endCursor_.isEmpty()) {
       output.writeBytes(4, endCursor_);
     }
-    if (moreResults_ != com.google.datastore.v1.QueryResultBatch.MoreResultsType.MORE_RESULTS_TYPE_UNSPECIFIED.getNumber()) {
+    if (moreResults_
+        != com.google.datastore.v1.QueryResultBatch.MoreResultsType.MORE_RESULTS_TYPE_UNSPECIFIED
+            .getNumber()) {
       output.writeEnum(5, moreResults_);
     }
     if (skippedResults_ != 0) {
@@ -524,37 +620,32 @@ public int getSerializedSize() {
     if (size != -1) return size;
 
     size = 0;
-    if (entityResultType_ != com.google.datastore.v1.EntityResult.ResultType.RESULT_TYPE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(1, entityResultType_);
+    if (entityResultType_
+        != com.google.datastore.v1.EntityResult.ResultType.RESULT_TYPE_UNSPECIFIED.getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, entityResultType_);
     }
     for (int i = 0; i < entityResults_.size(); i++) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, entityResults_.get(i));
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, entityResults_.get(i));
     }
     if (!skippedCursor_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(3, skippedCursor_);
+      size += com.google.protobuf.CodedOutputStream.computeBytesSize(3, skippedCursor_);
     }
     if (!endCursor_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(4, endCursor_);
+      size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, endCursor_);
     }
-    if (moreResults_ != com.google.datastore.v1.QueryResultBatch.MoreResultsType.MORE_RESULTS_TYPE_UNSPECIFIED.getNumber()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(5, moreResults_);
+    if (moreResults_
+        != com.google.datastore.v1.QueryResultBatch.MoreResultsType.MORE_RESULTS_TYPE_UNSPECIFIED
+            .getNumber()) {
+      size += com.google.protobuf.CodedOutputStream.computeEnumSize(5, moreResults_);
     }
     if (skippedResults_ != 0) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt32Size(6, skippedResults_);
+      size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, skippedResults_);
     }
     if (snapshotVersion_ != 0L) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeInt64Size(7, snapshotVersion_);
+      size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, snapshotVersion_);
     }
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(8, getReadTime());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getReadTime());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -564,29 +655,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.datastore.v1.QueryResultBatch)) {
       return super.equals(obj);
     }
     com.google.datastore.v1.QueryResultBatch other = (com.google.datastore.v1.QueryResultBatch) obj;
 
-    if (getSkippedResults()
-        != other.getSkippedResults()) return false;
-    if (!getSkippedCursor()
-        .equals(other.getSkippedCursor())) return false;
+    if (getSkippedResults() != other.getSkippedResults()) return false;
+    if (!getSkippedCursor().equals(other.getSkippedCursor())) return false;
     if (entityResultType_ != other.entityResultType_) return false;
-    if (!getEntityResultsList()
-        .equals(other.getEntityResultsList())) return false;
-    if (!getEndCursor()
-        .equals(other.getEndCursor())) return false;
+    if (!getEntityResultsList().equals(other.getEntityResultsList())) return false;
+    if (!getEndCursor().equals(other.getEndCursor())) return false;
     if (moreResults_ != other.moreResults_) return false;
-    if (getSnapshotVersion()
-        != other.getSnapshotVersion()) return false;
+    if (getSnapshotVersion() != other.getSnapshotVersion()) 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;
@@ -614,8 +699,7 @@ public int hashCode() {
     hash = (37 * hash) + MORE_RESULTS_FIELD_NUMBER;
     hash = (53 * hash) + moreResults_;
     hash = (37 * hash) + SNAPSHOT_VERSION_FIELD_NUMBER;
-    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
-        getSnapshotVersion());
+    hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSnapshotVersion());
     if (hasReadTime()) {
       hash = (37 * hash) + READ_TIME_FIELD_NUMBER;
       hash = (53 * hash) + getReadTime().hashCode();
@@ -625,120 +709,127 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.QueryResultBatch parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.QueryResultBatch parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.QueryResultBatch parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.QueryResultBatch parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.QueryResultBatch parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.QueryResultBatch parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.QueryResultBatch parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.QueryResultBatch parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.datastore.v1.QueryResultBatch parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.datastore.v1.QueryResultBatch parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.datastore.v1.QueryResultBatch parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.datastore.v1.QueryResultBatch parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.datastore.v1.QueryResultBatch parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.datastore.v1.QueryResultBatch parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.datastore.v1.QueryResultBatch prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 batch of results produced by a query.
    * 
* * Protobuf type {@code google.datastore.v1.QueryResultBatch} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.QueryResultBatch) com.google.datastore.v1.QueryResultBatchOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_QueryResultBatch_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_QueryResultBatch_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_QueryResultBatch_fieldAccessorTable + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_QueryResultBatch_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.QueryResultBatch.class, com.google.datastore.v1.QueryResultBatch.Builder.class); + com.google.datastore.v1.QueryResultBatch.class, + com.google.datastore.v1.QueryResultBatch.Builder.class); } // Construct using com.google.datastore.v1.QueryResultBatch.newBuilder() @@ -746,18 +837,18 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getEntityResultsFieldBuilder(); getReadTimeFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -784,9 +875,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.v1.QueryProto.internal_static_google_datastore_v1_QueryResultBatch_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.v1.QueryProto + .internal_static_google_datastore_v1_QueryResultBatch_descriptor; } @java.lang.Override @@ -805,9 +896,12 @@ public com.google.datastore.v1.QueryResultBatch build() { @java.lang.Override public com.google.datastore.v1.QueryResultBatch buildPartial() { - com.google.datastore.v1.QueryResultBatch result = new com.google.datastore.v1.QueryResultBatch(this); + com.google.datastore.v1.QueryResultBatch result = + new com.google.datastore.v1.QueryResultBatch(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -846,9 +940,7 @@ private void buildPartial0(com.google.datastore.v1.QueryResultBatch result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000080) != 0)) { - result.readTime_ = readTimeBuilder_ == null - ? readTime_ - : readTimeBuilder_.build(); + result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -858,38 +950,39 @@ private void buildPartial0(com.google.datastore.v1.QueryResultBatch result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.QueryResultBatch) { - return mergeFrom((com.google.datastore.v1.QueryResultBatch)other); + return mergeFrom((com.google.datastore.v1.QueryResultBatch) other); } else { super.mergeFrom(other); return this; @@ -925,9 +1018,10 @@ public Builder mergeFrom(com.google.datastore.v1.QueryResultBatch other) { entityResultsBuilder_ = null; entityResults_ = other.entityResults_; bitField0_ = (bitField0_ & ~0x00000008); - entityResultsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getEntityResultsFieldBuilder() : null; + entityResultsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getEntityResultsFieldBuilder() + : null; } else { entityResultsBuilder_.addAllMessages(other.entityResults_); } @@ -971,62 +1065,68 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - entityResultType_ = input.readEnum(); - bitField0_ |= 0x00000004; - break; - } // case 8 - case 18: { - com.google.datastore.v1.EntityResult m = - input.readMessage( - com.google.datastore.v1.EntityResult.parser(), - extensionRegistry); - if (entityResultsBuilder_ == null) { - ensureEntityResultsIsMutable(); - entityResults_.add(m); - } else { - entityResultsBuilder_.addMessage(m); - } - break; - } // case 18 - case 26: { - skippedCursor_ = input.readBytes(); - bitField0_ |= 0x00000002; - break; - } // case 26 - case 34: { - endCursor_ = input.readBytes(); - bitField0_ |= 0x00000010; - break; - } // case 34 - case 40: { - moreResults_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 40 - case 48: { - skippedResults_ = input.readInt32(); - bitField0_ |= 0x00000001; - break; - } // case 48 - case 56: { - snapshotVersion_ = input.readInt64(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 66: { - input.readMessage( - getReadTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000080; - break; - } // case 66 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + entityResultType_ = input.readEnum(); + bitField0_ |= 0x00000004; + break; + } // case 8 + case 18: + { + com.google.datastore.v1.EntityResult m = + input.readMessage( + com.google.datastore.v1.EntityResult.parser(), extensionRegistry); + if (entityResultsBuilder_ == null) { + ensureEntityResultsIsMutable(); + entityResults_.add(m); + } else { + entityResultsBuilder_.addMessage(m); + } + break; + } // case 18 + case 26: + { + skippedCursor_ = input.readBytes(); + bitField0_ |= 0x00000002; + break; + } // case 26 + case 34: + { + endCursor_ = input.readBytes(); + bitField0_ |= 0x00000010; + break; + } // case 34 + case 40: + { + moreResults_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 40 + case 48: + { + skippedResults_ = input.readInt32(); + bitField0_ |= 0x00000001; + break; + } // case 48 + case 56: + { + snapshotVersion_ = input.readInt64(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 66: + { + input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 66 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1036,15 +1136,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private int skippedResults_ ; + private int skippedResults_; /** + * + * *
      * The number of results skipped, typically because of an offset.
      * 
* * int32 skipped_results = 6; + * * @return The skippedResults. */ @java.lang.Override @@ -1052,11 +1156,14 @@ public int getSkippedResults() { return skippedResults_; } /** + * + * *
      * The number of results skipped, typically because of an offset.
      * 
* * int32 skipped_results = 6; + * * @param value The skippedResults to set. * @return This builder for chaining. */ @@ -1068,11 +1175,14 @@ public Builder setSkippedResults(int value) { return this; } /** + * + * *
      * The number of results skipped, typically because of an offset.
      * 
* * int32 skipped_results = 6; + * * @return This builder for chaining. */ public Builder clearSkippedResults() { @@ -1084,12 +1194,15 @@ public Builder clearSkippedResults() { private com.google.protobuf.ByteString skippedCursor_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * A cursor that points to the position after the last skipped result.
      * Will be set when `skipped_results` != 0.
      * 
* * bytes skipped_cursor = 3; + * * @return The skippedCursor. */ @java.lang.Override @@ -1097,29 +1210,37 @@ public com.google.protobuf.ByteString getSkippedCursor() { return skippedCursor_; } /** + * + * *
      * A cursor that points to the position after the last skipped result.
      * Will be set when `skipped_results` != 0.
      * 
* * bytes skipped_cursor = 3; + * * @param value The skippedCursor to set. * @return This builder for chaining. */ public Builder setSkippedCursor(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } skippedCursor_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A cursor that points to the position after the last skipped result.
      * Will be set when `skipped_results` != 0.
      * 
* * bytes skipped_cursor = 3; + * * @return This builder for chaining. */ public Builder clearSkippedCursor() { @@ -1131,22 +1252,29 @@ public Builder clearSkippedCursor() { private int entityResultType_ = 0; /** + * + * *
      * The result type for every entity in `entity_results`.
      * 
* * .google.datastore.v1.EntityResult.ResultType entity_result_type = 1; + * * @return The enum numeric value on the wire for entityResultType. */ - @java.lang.Override public int getEntityResultTypeValue() { + @java.lang.Override + public int getEntityResultTypeValue() { return entityResultType_; } /** + * + * *
      * The result type for every entity in `entity_results`.
      * 
* * .google.datastore.v1.EntityResult.ResultType entity_result_type = 1; + * * @param value The enum numeric value on the wire for entityResultType to set. * @return This builder for chaining. */ @@ -1157,24 +1285,31 @@ public Builder setEntityResultTypeValue(int value) { return this; } /** + * + * *
      * The result type for every entity in `entity_results`.
      * 
* * .google.datastore.v1.EntityResult.ResultType entity_result_type = 1; + * * @return The entityResultType. */ @java.lang.Override public com.google.datastore.v1.EntityResult.ResultType getEntityResultType() { - com.google.datastore.v1.EntityResult.ResultType result = com.google.datastore.v1.EntityResult.ResultType.forNumber(entityResultType_); + com.google.datastore.v1.EntityResult.ResultType result = + com.google.datastore.v1.EntityResult.ResultType.forNumber(entityResultType_); return result == null ? com.google.datastore.v1.EntityResult.ResultType.UNRECOGNIZED : result; } /** + * + * *
      * The result type for every entity in `entity_results`.
      * 
* * .google.datastore.v1.EntityResult.ResultType entity_result_type = 1; + * * @param value The entityResultType to set. * @return This builder for chaining. */ @@ -1188,11 +1323,14 @@ public Builder setEntityResultType(com.google.datastore.v1.EntityResult.ResultTy return this; } /** + * + * *
      * The result type for every entity in `entity_results`.
      * 
* * .google.datastore.v1.EntityResult.ResultType entity_result_type = 1; + * * @return This builder for chaining. */ public Builder clearEntityResultType() { @@ -1203,18 +1341,25 @@ public Builder clearEntityResultType() { } private java.util.List entityResults_ = - java.util.Collections.emptyList(); + java.util.Collections.emptyList(); + private void ensureEntityResultsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { - entityResults_ = new java.util.ArrayList(entityResults_); + entityResults_ = + new java.util.ArrayList(entityResults_); bitField0_ |= 0x00000008; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.EntityResult, com.google.datastore.v1.EntityResult.Builder, com.google.datastore.v1.EntityResultOrBuilder> entityResultsBuilder_; + com.google.datastore.v1.EntityResult, + com.google.datastore.v1.EntityResult.Builder, + com.google.datastore.v1.EntityResultOrBuilder> + entityResultsBuilder_; /** + * + * *
      * The results for this batch.
      * 
@@ -1229,6 +1374,8 @@ public java.util.List getEntityResultsList } } /** + * + * *
      * The results for this batch.
      * 
@@ -1243,6 +1390,8 @@ public int getEntityResultsCount() { } } /** + * + * *
      * The results for this batch.
      * 
@@ -1257,14 +1406,15 @@ public com.google.datastore.v1.EntityResult getEntityResults(int index) { } } /** + * + * *
      * The results for this batch.
      * 
* * repeated .google.datastore.v1.EntityResult entity_results = 2; */ - public Builder setEntityResults( - int index, com.google.datastore.v1.EntityResult value) { + public Builder setEntityResults(int index, com.google.datastore.v1.EntityResult value) { if (entityResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1278,6 +1428,8 @@ public Builder setEntityResults( return this; } /** + * + * *
      * The results for this batch.
      * 
@@ -1296,6 +1448,8 @@ public Builder setEntityResults( return this; } /** + * + * *
      * The results for this batch.
      * 
@@ -1316,14 +1470,15 @@ public Builder addEntityResults(com.google.datastore.v1.EntityResult value) { return this; } /** + * + * *
      * The results for this batch.
      * 
* * repeated .google.datastore.v1.EntityResult entity_results = 2; */ - public Builder addEntityResults( - int index, com.google.datastore.v1.EntityResult value) { + public Builder addEntityResults(int index, com.google.datastore.v1.EntityResult value) { if (entityResultsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -1337,14 +1492,15 @@ public Builder addEntityResults( return this; } /** + * + * *
      * The results for this batch.
      * 
* * repeated .google.datastore.v1.EntityResult entity_results = 2; */ - public Builder addEntityResults( - com.google.datastore.v1.EntityResult.Builder builderForValue) { + public Builder addEntityResults(com.google.datastore.v1.EntityResult.Builder builderForValue) { if (entityResultsBuilder_ == null) { ensureEntityResultsIsMutable(); entityResults_.add(builderForValue.build()); @@ -1355,6 +1511,8 @@ public Builder addEntityResults( return this; } /** + * + * *
      * The results for this batch.
      * 
@@ -1373,6 +1531,8 @@ public Builder addEntityResults( return this; } /** + * + * *
      * The results for this batch.
      * 
@@ -1383,8 +1543,7 @@ public Builder addAllEntityResults( java.lang.Iterable values) { if (entityResultsBuilder_ == null) { ensureEntityResultsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, entityResults_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, entityResults_); onChanged(); } else { entityResultsBuilder_.addAllMessages(values); @@ -1392,6 +1551,8 @@ public Builder addAllEntityResults( return this; } /** + * + * *
      * The results for this batch.
      * 
@@ -1409,6 +1570,8 @@ public Builder clearEntityResults() { return this; } /** + * + * *
      * The results for this batch.
      * 
@@ -1426,39 +1589,44 @@ public Builder removeEntityResults(int index) { return this; } /** + * + * *
      * The results for this batch.
      * 
* * repeated .google.datastore.v1.EntityResult entity_results = 2; */ - public com.google.datastore.v1.EntityResult.Builder getEntityResultsBuilder( - int index) { + public com.google.datastore.v1.EntityResult.Builder getEntityResultsBuilder(int index) { return getEntityResultsFieldBuilder().getBuilder(index); } /** + * + * *
      * The results for this batch.
      * 
* * repeated .google.datastore.v1.EntityResult entity_results = 2; */ - public com.google.datastore.v1.EntityResultOrBuilder getEntityResultsOrBuilder( - int index) { + public com.google.datastore.v1.EntityResultOrBuilder getEntityResultsOrBuilder(int index) { if (entityResultsBuilder_ == null) { - return entityResults_.get(index); } else { + return entityResults_.get(index); + } else { return entityResultsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The results for this batch.
      * 
* * repeated .google.datastore.v1.EntityResult entity_results = 2; */ - public java.util.List - getEntityResultsOrBuilderList() { + public java.util.List + getEntityResultsOrBuilderList() { if (entityResultsBuilder_ != null) { return entityResultsBuilder_.getMessageOrBuilderList(); } else { @@ -1466,6 +1634,8 @@ public com.google.datastore.v1.EntityResultOrBuilder getEntityResultsOrBuilder( } } /** + * + * *
      * The results for this batch.
      * 
@@ -1473,38 +1643,47 @@ public com.google.datastore.v1.EntityResultOrBuilder getEntityResultsOrBuilder( * repeated .google.datastore.v1.EntityResult entity_results = 2; */ public com.google.datastore.v1.EntityResult.Builder addEntityResultsBuilder() { - return getEntityResultsFieldBuilder().addBuilder( - com.google.datastore.v1.EntityResult.getDefaultInstance()); + return getEntityResultsFieldBuilder() + .addBuilder(com.google.datastore.v1.EntityResult.getDefaultInstance()); } /** + * + * *
      * The results for this batch.
      * 
* * repeated .google.datastore.v1.EntityResult entity_results = 2; */ - public com.google.datastore.v1.EntityResult.Builder addEntityResultsBuilder( - int index) { - return getEntityResultsFieldBuilder().addBuilder( - index, com.google.datastore.v1.EntityResult.getDefaultInstance()); + public com.google.datastore.v1.EntityResult.Builder addEntityResultsBuilder(int index) { + return getEntityResultsFieldBuilder() + .addBuilder(index, com.google.datastore.v1.EntityResult.getDefaultInstance()); } /** + * + * *
      * The results for this batch.
      * 
* * repeated .google.datastore.v1.EntityResult entity_results = 2; */ - public java.util.List - getEntityResultsBuilderList() { + public java.util.List + getEntityResultsBuilderList() { return getEntityResultsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.EntityResult, com.google.datastore.v1.EntityResult.Builder, com.google.datastore.v1.EntityResultOrBuilder> + com.google.datastore.v1.EntityResult, + com.google.datastore.v1.EntityResult.Builder, + com.google.datastore.v1.EntityResultOrBuilder> getEntityResultsFieldBuilder() { if (entityResultsBuilder_ == null) { - entityResultsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.EntityResult, com.google.datastore.v1.EntityResult.Builder, com.google.datastore.v1.EntityResultOrBuilder>( + entityResultsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.datastore.v1.EntityResult, + com.google.datastore.v1.EntityResult.Builder, + com.google.datastore.v1.EntityResultOrBuilder>( entityResults_, ((bitField0_ & 0x00000008) != 0), getParentForChildren(), @@ -1516,11 +1695,14 @@ public com.google.datastore.v1.EntityResult.Builder addEntityResultsBuilder( private com.google.protobuf.ByteString endCursor_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * A cursor that points to the position after the last result in the batch.
      * 
* * bytes end_cursor = 4; + * * @return The endCursor. */ @java.lang.Override @@ -1528,27 +1710,35 @@ public com.google.protobuf.ByteString getEndCursor() { return endCursor_; } /** + * + * *
      * A cursor that points to the position after the last result in the batch.
      * 
* * bytes end_cursor = 4; + * * @param value The endCursor to set. * @return This builder for chaining. */ public Builder setEndCursor(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } endCursor_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * A cursor that points to the position after the last result in the batch.
      * 
* * bytes end_cursor = 4; + * * @return This builder for chaining. */ public Builder clearEndCursor() { @@ -1560,22 +1750,29 @@ public Builder clearEndCursor() { private int moreResults_ = 0; /** + * + * *
      * The state of the query after the current batch.
      * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 5; + * * @return The enum numeric value on the wire for moreResults. */ - @java.lang.Override public int getMoreResultsValue() { + @java.lang.Override + public int getMoreResultsValue() { return moreResults_; } /** + * + * *
      * The state of the query after the current batch.
      * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 5; + * * @param value The enum numeric value on the wire for moreResults to set. * @return This builder for chaining. */ @@ -1586,24 +1783,33 @@ public Builder setMoreResultsValue(int value) { return this; } /** + * + * *
      * The state of the query after the current batch.
      * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 5; + * * @return The moreResults. */ @java.lang.Override public com.google.datastore.v1.QueryResultBatch.MoreResultsType getMoreResults() { - com.google.datastore.v1.QueryResultBatch.MoreResultsType result = com.google.datastore.v1.QueryResultBatch.MoreResultsType.forNumber(moreResults_); - return result == null ? com.google.datastore.v1.QueryResultBatch.MoreResultsType.UNRECOGNIZED : result; + com.google.datastore.v1.QueryResultBatch.MoreResultsType result = + com.google.datastore.v1.QueryResultBatch.MoreResultsType.forNumber(moreResults_); + return result == null + ? com.google.datastore.v1.QueryResultBatch.MoreResultsType.UNRECOGNIZED + : result; } /** + * + * *
      * The state of the query after the current batch.
      * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 5; + * * @param value The moreResults to set. * @return This builder for chaining. */ @@ -1617,11 +1823,14 @@ public Builder setMoreResults(com.google.datastore.v1.QueryResultBatch.MoreResul return this; } /** + * + * *
      * The state of the query after the current batch.
      * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 5; + * * @return This builder for chaining. */ public Builder clearMoreResults() { @@ -1631,8 +1840,10 @@ public Builder clearMoreResults() { return this; } - private long snapshotVersion_ ; + private long snapshotVersion_; /** + * + * *
      * The version number of the snapshot this batch was returned from.
      * This applies to the range of results from the query's `start_cursor` (or
@@ -1646,6 +1857,7 @@ public Builder clearMoreResults() {
      * 
* * int64 snapshot_version = 7; + * * @return The snapshotVersion. */ @java.lang.Override @@ -1653,6 +1865,8 @@ public long getSnapshotVersion() { return snapshotVersion_; } /** + * + * *
      * The version number of the snapshot this batch was returned from.
      * This applies to the range of results from the query's `start_cursor` (or
@@ -1666,6 +1880,7 @@ public long getSnapshotVersion() {
      * 
* * int64 snapshot_version = 7; + * * @param value The snapshotVersion to set. * @return This builder for chaining. */ @@ -1677,6 +1892,8 @@ public Builder setSnapshotVersion(long value) { return this; } /** + * + * *
      * The version number of the snapshot this batch was returned from.
      * This applies to the range of results from the query's `start_cursor` (or
@@ -1690,6 +1907,7 @@ public Builder setSnapshotVersion(long value) {
      * 
* * int64 snapshot_version = 7; + * * @return This builder for chaining. */ public Builder clearSnapshotVersion() { @@ -1701,8 +1919,13 @@ public Builder clearSnapshotVersion() { 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_; /** + * + * *
      * Read timestamp this batch was returned from.
      * This applies to the range of results from the query's `start_cursor` (or
@@ -1717,12 +1940,15 @@ public Builder clearSnapshotVersion() {
      * 
* * .google.protobuf.Timestamp read_time = 8; + * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * Read timestamp this batch was returned from.
      * This applies to the range of results from the query's `start_cursor` (or
@@ -1737,6 +1963,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 8; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1747,6 +1974,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Read timestamp this batch was returned from.
      * This applies to the range of results from the query's `start_cursor` (or
@@ -1776,6 +2005,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Read timestamp this batch was returned from.
      * This applies to the range of results from the query's `start_cursor` (or
@@ -1791,8 +2022,7 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
      *
      * .google.protobuf.Timestamp read_time = 8;
      */
-    public Builder setReadTime(
-        com.google.protobuf.Timestamp.Builder builderForValue) {
+    public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
       if (readTimeBuilder_ == null) {
         readTime_ = builderForValue.build();
       } else {
@@ -1803,6 +2033,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Read timestamp this batch was returned from.
      * This applies to the range of results from the query's `start_cursor` (or
@@ -1820,9 +2052,9 @@ public Builder setReadTime(
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (((bitField0_ & 0x00000080) != 0) &&
-          readTime_ != null &&
-          readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000080) != 0)
+            && readTime_ != null
+            && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
           getReadTimeBuilder().mergeFrom(value);
         } else {
           readTime_ = value;
@@ -1837,6 +2069,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Read timestamp this batch was returned from.
      * This applies to the range of results from the query's `start_cursor` (or
@@ -1863,6 +2097,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Read timestamp this batch was returned from.
      * This applies to the range of results from the query's `start_cursor` (or
@@ -1884,6 +2120,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Read timestamp this batch was returned from.
      * This applies to the range of results from the query's `start_cursor` (or
@@ -1903,11 +2141,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_;
       }
     }
     /**
+     *
+     *
      * 
      * Read timestamp this batch was returned from.
      * This applies to the range of results from the query's `start_cursor` (or
@@ -1924,21 +2163,24 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 8;
      */
     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);
     }
 
@@ -1948,12 +2190,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.QueryResultBatch)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.QueryResultBatch)
   private static final com.google.datastore.v1.QueryResultBatch DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.QueryResultBatch();
   }
@@ -1962,27 +2204,27 @@ public static com.google.datastore.v1.QueryResultBatch getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public QueryResultBatch parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public QueryResultBatch parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1997,6 +2239,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.QueryResultBatch getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryResultBatchOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryResultBatchOrBuilder.java
similarity index 86%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryResultBatchOrBuilder.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryResultBatchOrBuilder.java
index 2b76b8405..b17dc17ae 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryResultBatchOrBuilder.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryResultBatchOrBuilder.java
@@ -1,63 +1,94 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/query.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface QueryResultBatchOrBuilder extends
+public interface QueryResultBatchOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.QueryResultBatch)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The number of results skipped, typically because of an offset.
    * 
* * int32 skipped_results = 6; + * * @return The skippedResults. */ int getSkippedResults(); /** + * + * *
    * A cursor that points to the position after the last skipped result.
    * Will be set when `skipped_results` != 0.
    * 
* * bytes skipped_cursor = 3; + * * @return The skippedCursor. */ com.google.protobuf.ByteString getSkippedCursor(); /** + * + * *
    * The result type for every entity in `entity_results`.
    * 
* * .google.datastore.v1.EntityResult.ResultType entity_result_type = 1; + * * @return The enum numeric value on the wire for entityResultType. */ int getEntityResultTypeValue(); /** + * + * *
    * The result type for every entity in `entity_results`.
    * 
* * .google.datastore.v1.EntityResult.ResultType entity_result_type = 1; + * * @return The entityResultType. */ com.google.datastore.v1.EntityResult.ResultType getEntityResultType(); /** + * + * *
    * The results for this batch.
    * 
* * repeated .google.datastore.v1.EntityResult entity_results = 2; */ - java.util.List - getEntityResultsList(); + java.util.List getEntityResultsList(); /** + * + * *
    * The results for this batch.
    * 
@@ -66,6 +97,8 @@ public interface QueryResultBatchOrBuilder extends */ com.google.datastore.v1.EntityResult getEntityResults(int index); /** + * + * *
    * The results for this batch.
    * 
@@ -74,54 +107,68 @@ public interface QueryResultBatchOrBuilder extends */ int getEntityResultsCount(); /** + * + * *
    * The results for this batch.
    * 
* * repeated .google.datastore.v1.EntityResult entity_results = 2; */ - java.util.List + java.util.List getEntityResultsOrBuilderList(); /** + * + * *
    * The results for this batch.
    * 
* * repeated .google.datastore.v1.EntityResult entity_results = 2; */ - com.google.datastore.v1.EntityResultOrBuilder getEntityResultsOrBuilder( - int index); + com.google.datastore.v1.EntityResultOrBuilder getEntityResultsOrBuilder(int index); /** + * + * *
    * A cursor that points to the position after the last result in the batch.
    * 
* * bytes end_cursor = 4; + * * @return The endCursor. */ com.google.protobuf.ByteString getEndCursor(); /** + * + * *
    * The state of the query after the current batch.
    * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 5; + * * @return The enum numeric value on the wire for moreResults. */ int getMoreResultsValue(); /** + * + * *
    * The state of the query after the current batch.
    * 
* * .google.datastore.v1.QueryResultBatch.MoreResultsType more_results = 5; + * * @return The moreResults. */ com.google.datastore.v1.QueryResultBatch.MoreResultsType getMoreResults(); /** + * + * *
    * The version number of the snapshot this batch was returned from.
    * This applies to the range of results from the query's `start_cursor` (or
@@ -135,11 +182,14 @@ com.google.datastore.v1.EntityResultOrBuilder getEntityResultsOrBuilder(
    * 
* * int64 snapshot_version = 7; + * * @return The snapshotVersion. */ long getSnapshotVersion(); /** + * + * *
    * Read timestamp this batch was returned from.
    * This applies to the range of results from the query's `start_cursor` (or
@@ -154,10 +204,13 @@ com.google.datastore.v1.EntityResultOrBuilder getEntityResultsOrBuilder(
    * 
* * .google.protobuf.Timestamp read_time = 8; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * Read timestamp this batch was returned from.
    * This applies to the range of results from the query's `start_cursor` (or
@@ -172,10 +225,13 @@ com.google.datastore.v1.EntityResultOrBuilder getEntityResultsOrBuilder(
    * 
* * .google.protobuf.Timestamp read_time = 8; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * Read timestamp this batch was returned from.
    * This applies to the range of results from the query's `start_cursor` (or
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptions.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptions.java
similarity index 76%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptions.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptions.java
index e16a87c80..a64c56d36 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptions.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptions.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/datastore.proto
 
@@ -5,54 +20,60 @@
 package com.google.datastore.v1;
 
 /**
+ *
+ *
  * 
  * The options shared by read requests.
  * 
* * Protobuf type {@code google.datastore.v1.ReadOptions} */ -public final class ReadOptions extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ReadOptions extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.datastore.v1.ReadOptions) ReadOptionsOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadOptions.newBuilder() to construct. private ReadOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReadOptions() { - } + + private ReadOptions() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReadOptions(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_ReadOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_ReadOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_ReadOptions_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_ReadOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.ReadOptions.class, com.google.datastore.v1.ReadOptions.Builder.class); + com.google.datastore.v1.ReadOptions.class, + com.google.datastore.v1.ReadOptions.Builder.class); } /** + * + * *
    * The possible values for read consistencies.
    * 
* * Protobuf enum {@code google.datastore.v1.ReadOptions.ReadConsistency} */ - public enum ReadConsistency - implements com.google.protobuf.ProtocolMessageEnum { + public enum ReadConsistency implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
      * Unspecified. This value must not be used.
      * 
@@ -61,6 +82,8 @@ public enum ReadConsistency */ READ_CONSISTENCY_UNSPECIFIED(0), /** + * + * *
      * Strong consistency.
      * 
@@ -69,6 +92,8 @@ public enum ReadConsistency */ STRONG(1), /** + * + * *
      * Eventual consistency.
      * 
@@ -80,6 +105,8 @@ public enum ReadConsistency ; /** + * + * *
      * Unspecified. This value must not be used.
      * 
@@ -88,6 +115,8 @@ public enum ReadConsistency */ public static final int READ_CONSISTENCY_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Strong consistency.
      * 
@@ -96,6 +125,8 @@ public enum ReadConsistency */ public static final int STRONG_VALUE = 1; /** + * + * *
      * Eventual consistency.
      * 
@@ -104,7 +135,6 @@ public enum ReadConsistency */ public static final int EVENTUAL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -129,39 +159,42 @@ public static ReadConsistency valueOf(int value) { */ public static ReadConsistency forNumber(int value) { switch (value) { - case 0: return READ_CONSISTENCY_UNSPECIFIED; - case 1: return STRONG; - case 2: return EVENTUAL; - default: return null; + case 0: + return READ_CONSISTENCY_UNSPECIFIED; + case 1: + return STRONG; + case 2: + return EVENTUAL; + 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< - ReadConsistency> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ReadConsistency findValueByNumber(int number) { - return ReadConsistency.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 ReadConsistency findValueByNumber(int number) { + return ReadConsistency.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.datastore.v1.ReadOptions.getDescriptor().getEnumTypes().get(0); } @@ -170,8 +203,7 @@ public ReadConsistency findValueByNumber(int number) { public static ReadConsistency valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -189,10 +221,13 @@ private ReadConsistency(int value) { } private int consistencyTypeCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object consistencyType_; + public enum ConsistencyTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { READ_CONSISTENCY(1), TRANSACTION(2), @@ -200,6 +235,7 @@ public enum ConsistencyTypeCase READ_TIME(4), CONSISTENCYTYPE_NOT_SET(0); private final int value; + private ConsistencyTypeCase(int value) { this.value = value; } @@ -215,43 +251,54 @@ public static ConsistencyTypeCase valueOf(int value) { public static ConsistencyTypeCase forNumber(int value) { switch (value) { - case 1: return READ_CONSISTENCY; - case 2: return TRANSACTION; - case 3: return NEW_TRANSACTION; - case 4: return READ_TIME; - case 0: return CONSISTENCYTYPE_NOT_SET; - default: return null; + case 1: + return READ_CONSISTENCY; + case 2: + return TRANSACTION; + case 3: + return NEW_TRANSACTION; + case 4: + return READ_TIME; + case 0: + return CONSISTENCYTYPE_NOT_SET; + default: + return null; } } + public int getNumber() { return this.value; } }; - public ConsistencyTypeCase - getConsistencyTypeCase() { - return ConsistencyTypeCase.forNumber( - consistencyTypeCase_); + public ConsistencyTypeCase getConsistencyTypeCase() { + return ConsistencyTypeCase.forNumber(consistencyTypeCase_); } public static final int READ_CONSISTENCY_FIELD_NUMBER = 1; /** + * + * *
    * The non-transactional read consistency to use.
    * 
* * .google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1; + * * @return Whether the readConsistency field is set. */ public boolean hasReadConsistency() { return consistencyTypeCase_ == 1; } /** + * + * *
    * The non-transactional read consistency to use.
    * 
* * .google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1; + * * @return The enum numeric value on the wire for readConsistency. */ public int getReadConsistencyValue() { @@ -261,24 +308,32 @@ public int getReadConsistencyValue() { return 0; } /** + * + * *
    * The non-transactional read consistency to use.
    * 
* * .google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1; + * * @return The readConsistency. */ public com.google.datastore.v1.ReadOptions.ReadConsistency getReadConsistency() { if (consistencyTypeCase_ == 1) { - com.google.datastore.v1.ReadOptions.ReadConsistency result = com.google.datastore.v1.ReadOptions.ReadConsistency.forNumber( - (java.lang.Integer) consistencyType_); - return result == null ? com.google.datastore.v1.ReadOptions.ReadConsistency.UNRECOGNIZED : result; + com.google.datastore.v1.ReadOptions.ReadConsistency result = + com.google.datastore.v1.ReadOptions.ReadConsistency.forNumber( + (java.lang.Integer) consistencyType_); + return result == null + ? com.google.datastore.v1.ReadOptions.ReadConsistency.UNRECOGNIZED + : result; } return com.google.datastore.v1.ReadOptions.ReadConsistency.READ_CONSISTENCY_UNSPECIFIED; } public static final int TRANSACTION_FIELD_NUMBER = 2; /** + * + * *
    * The identifier of the transaction in which to read. A
    * transaction identifier is returned by a call to
@@ -286,6 +341,7 @@ public com.google.datastore.v1.ReadOptions.ReadConsistency getReadConsistency()
    * 
* * bytes transaction = 2; + * * @return Whether the transaction field is set. */ @java.lang.Override @@ -293,6 +349,8 @@ public boolean hasTransaction() { return consistencyTypeCase_ == 2; } /** + * + * *
    * The identifier of the transaction in which to read. A
    * transaction identifier is returned by a call to
@@ -300,6 +358,7 @@ public boolean hasTransaction() {
    * 
* * bytes transaction = 2; + * * @return The transaction. */ @java.lang.Override @@ -312,6 +371,8 @@ public com.google.protobuf.ByteString getTransaction() { public static final int NEW_TRANSACTION_FIELD_NUMBER = 3; /** + * + * *
    * Options for beginning a new transaction for this request.
    *
@@ -323,6 +384,7 @@ public com.google.protobuf.ByteString getTransaction() {
    * 
* * .google.datastore.v1.TransactionOptions new_transaction = 3; + * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -330,6 +392,8 @@ public boolean hasNewTransaction() { return consistencyTypeCase_ == 3; } /** + * + * *
    * Options for beginning a new transaction for this request.
    *
@@ -341,16 +405,19 @@ public boolean hasNewTransaction() {
    * 
* * .google.datastore.v1.TransactionOptions new_transaction = 3; + * * @return The newTransaction. */ @java.lang.Override public com.google.datastore.v1.TransactionOptions getNewTransaction() { if (consistencyTypeCase_ == 3) { - return (com.google.datastore.v1.TransactionOptions) consistencyType_; + return (com.google.datastore.v1.TransactionOptions) consistencyType_; } return com.google.datastore.v1.TransactionOptions.getDefaultInstance(); } /** + * + * *
    * Options for beginning a new transaction for this request.
    *
@@ -366,13 +433,15 @@ public com.google.datastore.v1.TransactionOptions getNewTransaction() {
   @java.lang.Override
   public com.google.datastore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder() {
     if (consistencyTypeCase_ == 3) {
-       return (com.google.datastore.v1.TransactionOptions) consistencyType_;
+      return (com.google.datastore.v1.TransactionOptions) consistencyType_;
     }
     return com.google.datastore.v1.TransactionOptions.getDefaultInstance();
   }
 
   public static final int READ_TIME_FIELD_NUMBER = 4;
   /**
+   *
+   *
    * 
    * Reads entities as they were at the given time. This value is only
    * supported for Cloud Firestore in Datastore mode.
@@ -383,6 +452,7 @@ public com.google.datastore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -390,6 +460,8 @@ public boolean hasReadTime() { return consistencyTypeCase_ == 4; } /** + * + * *
    * Reads entities as they were at the given time. This value is only
    * supported for Cloud Firestore in Datastore mode.
@@ -400,16 +472,19 @@ public boolean hasReadTime() {
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ @java.lang.Override public com.google.protobuf.Timestamp getReadTime() { if (consistencyTypeCase_ == 4) { - return (com.google.protobuf.Timestamp) consistencyType_; + return (com.google.protobuf.Timestamp) consistencyType_; } return com.google.protobuf.Timestamp.getDefaultInstance(); } /** + * + * *
    * Reads entities as they were at the given time. This value is only
    * supported for Cloud Firestore in Datastore mode.
@@ -424,12 +499,13 @@ public com.google.protobuf.Timestamp getReadTime() {
   @java.lang.Override
   public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
     if (consistencyTypeCase_ == 4) {
-       return (com.google.protobuf.Timestamp) consistencyType_;
+      return (com.google.protobuf.Timestamp) consistencyType_;
     }
     return com.google.protobuf.Timestamp.getDefaultInstance();
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -441,14 +517,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 (consistencyTypeCase_ == 1) {
       output.writeEnum(1, ((java.lang.Integer) consistencyType_));
     }
     if (consistencyTypeCase_ == 2) {
-      output.writeBytes(
-          2, (com.google.protobuf.ByteString) consistencyType_);
+      output.writeBytes(2, (com.google.protobuf.ByteString) consistencyType_);
     }
     if (consistencyTypeCase_ == 3) {
       output.writeMessage(3, (com.google.datastore.v1.TransactionOptions) consistencyType_);
@@ -466,21 +540,24 @@ public int getSerializedSize() {
 
     size = 0;
     if (consistencyTypeCase_ == 1) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeEnumSize(1, ((java.lang.Integer) consistencyType_));
+      size +=
+          com.google.protobuf.CodedOutputStream.computeEnumSize(
+              1, ((java.lang.Integer) consistencyType_));
     }
     if (consistencyTypeCase_ == 2) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(
-            2, (com.google.protobuf.ByteString) consistencyType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeBytesSize(
+              2, (com.google.protobuf.ByteString) consistencyType_);
     }
     if (consistencyTypeCase_ == 3) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(3, (com.google.datastore.v1.TransactionOptions) consistencyType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              3, (com.google.datastore.v1.TransactionOptions) consistencyType_);
     }
     if (consistencyTypeCase_ == 4) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(4, (com.google.protobuf.Timestamp) consistencyType_);
+      size +=
+          com.google.protobuf.CodedOutputStream.computeMessageSize(
+              4, (com.google.protobuf.Timestamp) consistencyType_);
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -490,7 +567,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.datastore.v1.ReadOptions)) {
       return super.equals(obj);
@@ -500,20 +577,16 @@ public boolean equals(final java.lang.Object obj) {
     if (!getConsistencyTypeCase().equals(other.getConsistencyTypeCase())) return false;
     switch (consistencyTypeCase_) {
       case 1:
-        if (getReadConsistencyValue()
-            != other.getReadConsistencyValue()) return false;
+        if (getReadConsistencyValue() != other.getReadConsistencyValue()) return false;
         break;
       case 2:
-        if (!getTransaction()
-            .equals(other.getTransaction())) return false;
+        if (!getTransaction().equals(other.getTransaction())) return false;
         break;
       case 3:
-        if (!getNewTransaction()
-            .equals(other.getNewTransaction())) return false;
+        if (!getNewTransaction().equals(other.getNewTransaction())) return false;
         break;
       case 4:
-        if (!getReadTime()
-            .equals(other.getReadTime())) return false;
+        if (!getReadTime().equals(other.getReadTime())) return false;
         break;
       case 0:
       default:
@@ -554,132 +627,135 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.ReadOptions parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.ReadOptions parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.ReadOptions parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
-  public static com.google.datastore.v1.ReadOptions parseFrom(
-      com.google.protobuf.ByteString data)
+
+  public static com.google.datastore.v1.ReadOptions parseFrom(com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.ReadOptions parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.ReadOptions parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.ReadOptions parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.ReadOptions parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.datastore.v1.ReadOptions parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   public static com.google.datastore.v1.ReadOptions 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.datastore.v1.ReadOptions parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.datastore.v1.ReadOptions parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.datastore.v1.ReadOptions parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.datastore.v1.ReadOptions prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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 options shared by read requests.
    * 
* * Protobuf type {@code google.datastore.v1.ReadOptions} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.datastore.v1.ReadOptions) com.google.datastore.v1.ReadOptionsOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_ReadOptions_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_ReadOptions_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_ReadOptions_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_ReadOptions_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.ReadOptions.class, com.google.datastore.v1.ReadOptions.Builder.class); + com.google.datastore.v1.ReadOptions.class, + com.google.datastore.v1.ReadOptions.Builder.class); } // Construct using com.google.datastore.v1.ReadOptions.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -696,9 +772,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_ReadOptions_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_ReadOptions_descriptor; } @java.lang.Override @@ -718,7 +794,9 @@ public com.google.datastore.v1.ReadOptions build() { @java.lang.Override public com.google.datastore.v1.ReadOptions buildPartial() { com.google.datastore.v1.ReadOptions result = new com.google.datastore.v1.ReadOptions(this); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -731,12 +809,10 @@ private void buildPartial0(com.google.datastore.v1.ReadOptions result) { private void buildPartialOneofs(com.google.datastore.v1.ReadOptions result) { result.consistencyTypeCase_ = consistencyTypeCase_; result.consistencyType_ = this.consistencyType_; - if (consistencyTypeCase_ == 3 && - newTransactionBuilder_ != null) { + if (consistencyTypeCase_ == 3 && newTransactionBuilder_ != null) { result.consistencyType_ = newTransactionBuilder_.build(); } - if (consistencyTypeCase_ == 4 && - readTimeBuilder_ != null) { + if (consistencyTypeCase_ == 4 && readTimeBuilder_ != null) { result.consistencyType_ = readTimeBuilder_.build(); } } @@ -745,38 +821,39 @@ private void buildPartialOneofs(com.google.datastore.v1.ReadOptions result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.ReadOptions) { - return mergeFrom((com.google.datastore.v1.ReadOptions)other); + return mergeFrom((com.google.datastore.v1.ReadOptions) other); } else { super.mergeFrom(other); return this; @@ -786,25 +863,30 @@ public Builder mergeFrom(com.google.protobuf.Message other) { public Builder mergeFrom(com.google.datastore.v1.ReadOptions other) { if (other == com.google.datastore.v1.ReadOptions.getDefaultInstance()) return this; switch (other.getConsistencyTypeCase()) { - case READ_CONSISTENCY: { - setReadConsistencyValue(other.getReadConsistencyValue()); - break; - } - case TRANSACTION: { - setTransaction(other.getTransaction()); - break; - } - case NEW_TRANSACTION: { - mergeNewTransaction(other.getNewTransaction()); - break; - } - case READ_TIME: { - mergeReadTime(other.getReadTime()); - break; - } - case CONSISTENCYTYPE_NOT_SET: { - break; - } + case READ_CONSISTENCY: + { + setReadConsistencyValue(other.getReadConsistencyValue()); + break; + } + case TRANSACTION: + { + setTransaction(other.getTransaction()); + break; + } + case NEW_TRANSACTION: + { + mergeNewTransaction(other.getNewTransaction()); + break; + } + case READ_TIME: + { + mergeReadTime(other.getReadTime()); + break; + } + case CONSISTENCYTYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -832,37 +914,38 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - int rawValue = input.readEnum(); - consistencyTypeCase_ = 1; - consistencyType_ = rawValue; - break; - } // case 8 - case 18: { - consistencyType_ = input.readBytes(); - consistencyTypeCase_ = 2; - break; - } // case 18 - case 26: { - input.readMessage( - getNewTransactionFieldBuilder().getBuilder(), - extensionRegistry); - consistencyTypeCase_ = 3; - break; - } // case 26 - case 34: { - input.readMessage( - getReadTimeFieldBuilder().getBuilder(), - extensionRegistry); - consistencyTypeCase_ = 4; - break; - } // case 34 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + int rawValue = input.readEnum(); + consistencyTypeCase_ = 1; + consistencyType_ = rawValue; + break; + } // case 8 + case 18: + { + consistencyType_ = input.readBytes(); + consistencyTypeCase_ = 2; + break; + } // case 18 + case 26: + { + input.readMessage(getNewTransactionFieldBuilder().getBuilder(), extensionRegistry); + consistencyTypeCase_ = 3; + break; + } // case 26 + case 34: + { + input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); + consistencyTypeCase_ = 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) { @@ -872,12 +955,12 @@ public Builder mergeFrom( } // finally return this; } + private int consistencyTypeCase_ = 0; private java.lang.Object consistencyType_; - public ConsistencyTypeCase - getConsistencyTypeCase() { - return ConsistencyTypeCase.forNumber( - consistencyTypeCase_); + + public ConsistencyTypeCase getConsistencyTypeCase() { + return ConsistencyTypeCase.forNumber(consistencyTypeCase_); } public Builder clearConsistencyType() { @@ -890,11 +973,14 @@ public Builder clearConsistencyType() { private int bitField0_; /** + * + * *
      * The non-transactional read consistency to use.
      * 
* * .google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1; + * * @return Whether the readConsistency field is set. */ @java.lang.Override @@ -902,11 +988,14 @@ public boolean hasReadConsistency() { return consistencyTypeCase_ == 1; } /** + * + * *
      * The non-transactional read consistency to use.
      * 
* * .google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1; + * * @return The enum numeric value on the wire for readConsistency. */ @java.lang.Override @@ -917,11 +1006,14 @@ public int getReadConsistencyValue() { return 0; } /** + * + * *
      * The non-transactional read consistency to use.
      * 
* * .google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1; + * * @param value The enum numeric value on the wire for readConsistency to set. * @return This builder for chaining. */ @@ -932,28 +1024,37 @@ public Builder setReadConsistencyValue(int value) { return this; } /** + * + * *
      * The non-transactional read consistency to use.
      * 
* * .google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1; + * * @return The readConsistency. */ @java.lang.Override public com.google.datastore.v1.ReadOptions.ReadConsistency getReadConsistency() { if (consistencyTypeCase_ == 1) { - com.google.datastore.v1.ReadOptions.ReadConsistency result = com.google.datastore.v1.ReadOptions.ReadConsistency.forNumber( - (java.lang.Integer) consistencyType_); - return result == null ? com.google.datastore.v1.ReadOptions.ReadConsistency.UNRECOGNIZED : result; + com.google.datastore.v1.ReadOptions.ReadConsistency result = + com.google.datastore.v1.ReadOptions.ReadConsistency.forNumber( + (java.lang.Integer) consistencyType_); + return result == null + ? com.google.datastore.v1.ReadOptions.ReadConsistency.UNRECOGNIZED + : result; } return com.google.datastore.v1.ReadOptions.ReadConsistency.READ_CONSISTENCY_UNSPECIFIED; } /** + * + * *
      * The non-transactional read consistency to use.
      * 
* * .google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1; + * * @param value The readConsistency to set. * @return This builder for chaining. */ @@ -967,11 +1068,14 @@ public Builder setReadConsistency(com.google.datastore.v1.ReadOptions.ReadConsis return this; } /** + * + * *
      * The non-transactional read consistency to use.
      * 
* * .google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1; + * * @return This builder for chaining. */ public Builder clearReadConsistency() { @@ -984,6 +1088,8 @@ public Builder clearReadConsistency() { } /** + * + * *
      * The identifier of the transaction in which to read. A
      * transaction identifier is returned by a call to
@@ -991,12 +1097,15 @@ public Builder clearReadConsistency() {
      * 
* * bytes transaction = 2; + * * @return Whether the transaction field is set. */ public boolean hasTransaction() { return consistencyTypeCase_ == 2; } /** + * + * *
      * The identifier of the transaction in which to read. A
      * transaction identifier is returned by a call to
@@ -1004,6 +1113,7 @@ public boolean hasTransaction() {
      * 
* * bytes transaction = 2; + * * @return The transaction. */ public com.google.protobuf.ByteString getTransaction() { @@ -1013,6 +1123,8 @@ public com.google.protobuf.ByteString getTransaction() { return com.google.protobuf.ByteString.EMPTY; } /** + * + * *
      * The identifier of the transaction in which to read. A
      * transaction identifier is returned by a call to
@@ -1020,17 +1132,22 @@ public com.google.protobuf.ByteString getTransaction() {
      * 
* * bytes transaction = 2; + * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } consistencyTypeCase_ = 2; consistencyType_ = value; onChanged(); return this; } /** + * + * *
      * The identifier of the transaction in which to read. A
      * transaction identifier is returned by a call to
@@ -1038,6 +1155,7 @@ public Builder setTransaction(com.google.protobuf.ByteString value) {
      * 
* * bytes transaction = 2; + * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -1050,8 +1168,13 @@ public Builder clearTransaction() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.TransactionOptions, com.google.datastore.v1.TransactionOptions.Builder, com.google.datastore.v1.TransactionOptionsOrBuilder> newTransactionBuilder_; + com.google.datastore.v1.TransactionOptions, + com.google.datastore.v1.TransactionOptions.Builder, + com.google.datastore.v1.TransactionOptionsOrBuilder> + newTransactionBuilder_; /** + * + * *
      * Options for beginning a new transaction for this request.
      *
@@ -1063,6 +1186,7 @@ public Builder clearTransaction() {
      * 
* * .google.datastore.v1.TransactionOptions new_transaction = 3; + * * @return Whether the newTransaction field is set. */ @java.lang.Override @@ -1070,6 +1194,8 @@ public boolean hasNewTransaction() { return consistencyTypeCase_ == 3; } /** + * + * *
      * Options for beginning a new transaction for this request.
      *
@@ -1081,6 +1207,7 @@ public boolean hasNewTransaction() {
      * 
* * .google.datastore.v1.TransactionOptions new_transaction = 3; + * * @return The newTransaction. */ @java.lang.Override @@ -1098,6 +1225,8 @@ public com.google.datastore.v1.TransactionOptions getNewTransaction() { } } /** + * + * *
      * Options for beginning a new transaction for this request.
      *
@@ -1124,6 +1253,8 @@ public Builder setNewTransaction(com.google.datastore.v1.TransactionOptions valu
       return this;
     }
     /**
+     *
+     *
      * 
      * Options for beginning a new transaction for this request.
      *
@@ -1148,6 +1279,8 @@ public Builder setNewTransaction(
       return this;
     }
     /**
+     *
+     *
      * 
      * Options for beginning a new transaction for this request.
      *
@@ -1162,10 +1295,14 @@ public Builder setNewTransaction(
      */
     public Builder mergeNewTransaction(com.google.datastore.v1.TransactionOptions value) {
       if (newTransactionBuilder_ == null) {
-        if (consistencyTypeCase_ == 3 &&
-            consistencyType_ != com.google.datastore.v1.TransactionOptions.getDefaultInstance()) {
-          consistencyType_ = com.google.datastore.v1.TransactionOptions.newBuilder((com.google.datastore.v1.TransactionOptions) consistencyType_)
-              .mergeFrom(value).buildPartial();
+        if (consistencyTypeCase_ == 3
+            && consistencyType_
+                != com.google.datastore.v1.TransactionOptions.getDefaultInstance()) {
+          consistencyType_ =
+              com.google.datastore.v1.TransactionOptions.newBuilder(
+                      (com.google.datastore.v1.TransactionOptions) consistencyType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           consistencyType_ = value;
         }
@@ -1181,6 +1318,8 @@ public Builder mergeNewTransaction(com.google.datastore.v1.TransactionOptions va
       return this;
     }
     /**
+     *
+     *
      * 
      * Options for beginning a new transaction for this request.
      *
@@ -1210,6 +1349,8 @@ public Builder clearNewTransaction() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Options for beginning a new transaction for this request.
      *
@@ -1226,6 +1367,8 @@ public com.google.datastore.v1.TransactionOptions.Builder getNewTransactionBuild
       return getNewTransactionFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Options for beginning a new transaction for this request.
      *
@@ -1250,6 +1393,8 @@ public com.google.datastore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
       }
     }
     /**
+     *
+     *
      * 
      * Options for beginning a new transaction for this request.
      *
@@ -1263,14 +1408,19 @@ public com.google.datastore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
      * .google.datastore.v1.TransactionOptions new_transaction = 3;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.v1.TransactionOptions, com.google.datastore.v1.TransactionOptions.Builder, com.google.datastore.v1.TransactionOptionsOrBuilder> 
+            com.google.datastore.v1.TransactionOptions,
+            com.google.datastore.v1.TransactionOptions.Builder,
+            com.google.datastore.v1.TransactionOptionsOrBuilder>
         getNewTransactionFieldBuilder() {
       if (newTransactionBuilder_ == null) {
         if (!(consistencyTypeCase_ == 3)) {
           consistencyType_ = com.google.datastore.v1.TransactionOptions.getDefaultInstance();
         }
-        newTransactionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.TransactionOptions, com.google.datastore.v1.TransactionOptions.Builder, com.google.datastore.v1.TransactionOptionsOrBuilder>(
+        newTransactionBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.datastore.v1.TransactionOptions,
+                com.google.datastore.v1.TransactionOptions.Builder,
+                com.google.datastore.v1.TransactionOptionsOrBuilder>(
                 (com.google.datastore.v1.TransactionOptions) consistencyType_,
                 getParentForChildren(),
                 isClean());
@@ -1282,8 +1432,13 @@ public com.google.datastore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> readTimeBuilder_;
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
+        readTimeBuilder_;
     /**
+     *
+     *
      * 
      * Reads entities as they were at the given time. This value is only
      * supported for Cloud Firestore in Datastore mode.
@@ -1294,6 +1449,7 @@ public com.google.datastore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
      * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -1301,6 +1457,8 @@ public boolean hasReadTime() { return consistencyTypeCase_ == 4; } /** + * + * *
      * Reads entities as they were at the given time. This value is only
      * supported for Cloud Firestore in Datastore mode.
@@ -1311,6 +1469,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ @java.lang.Override @@ -1328,6 +1487,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
      * Reads entities as they were at the given time. This value is only
      * supported for Cloud Firestore in Datastore mode.
@@ -1353,6 +1514,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads entities as they were at the given time. This value is only
      * supported for Cloud Firestore in Datastore mode.
@@ -1364,8 +1527,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) {
         consistencyType_ = builderForValue.build();
         onChanged();
@@ -1376,6 +1538,8 @@ public Builder setReadTime(
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads entities as they were at the given time. This value is only
      * supported for Cloud Firestore in Datastore mode.
@@ -1389,10 +1553,13 @@ public Builder setReadTime(
      */
     public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       if (readTimeBuilder_ == null) {
-        if (consistencyTypeCase_ == 4 &&
-            consistencyType_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
-          consistencyType_ = com.google.protobuf.Timestamp.newBuilder((com.google.protobuf.Timestamp) consistencyType_)
-              .mergeFrom(value).buildPartial();
+        if (consistencyTypeCase_ == 4
+            && consistencyType_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          consistencyType_ =
+              com.google.protobuf.Timestamp.newBuilder(
+                      (com.google.protobuf.Timestamp) consistencyType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           consistencyType_ = value;
         }
@@ -1408,6 +1575,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads entities as they were at the given time. This value is only
      * supported for Cloud Firestore in Datastore mode.
@@ -1436,6 +1605,8 @@ public Builder clearReadTime() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Reads entities as they were at the given time. This value is only
      * supported for Cloud Firestore in Datastore mode.
@@ -1451,6 +1622,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
       return getReadTimeFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Reads entities as they were at the given time. This value is only
      * supported for Cloud Firestore in Datastore mode.
@@ -1474,6 +1647,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * Reads entities as they were at the given time. This value is only
      * supported for Cloud Firestore in Datastore mode.
@@ -1486,14 +1661,19 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
      * .google.protobuf.Timestamp read_time = 4;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getReadTimeFieldBuilder() {
       if (readTimeBuilder_ == null) {
         if (!(consistencyTypeCase_ == 4)) {
           consistencyType_ = 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) consistencyType_,
                 getParentForChildren(),
                 isClean());
@@ -1503,9 +1683,9 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
       onChanged();
       return readTimeBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1515,12 +1695,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.ReadOptions)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.ReadOptions)
   private static final com.google.datastore.v1.ReadOptions DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.ReadOptions();
   }
@@ -1529,27 +1709,27 @@ public static com.google.datastore.v1.ReadOptions getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ReadOptions parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ReadOptions parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -1564,6 +1744,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.ReadOptions getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptionsOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptionsOrBuilder.java
similarity index 86%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptionsOrBuilder.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptionsOrBuilder.java
index 9424fdca2..dd02b663f 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptionsOrBuilder.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptionsOrBuilder.java
@@ -1,42 +1,69 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/datastore.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface ReadOptionsOrBuilder extends
+public interface ReadOptionsOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.ReadOptions)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * The non-transactional read consistency to use.
    * 
* * .google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1; + * * @return Whether the readConsistency field is set. */ boolean hasReadConsistency(); /** + * + * *
    * The non-transactional read consistency to use.
    * 
* * .google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1; + * * @return The enum numeric value on the wire for readConsistency. */ int getReadConsistencyValue(); /** + * + * *
    * The non-transactional read consistency to use.
    * 
* * .google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1; + * * @return The readConsistency. */ com.google.datastore.v1.ReadOptions.ReadConsistency getReadConsistency(); /** + * + * *
    * The identifier of the transaction in which to read. A
    * transaction identifier is returned by a call to
@@ -44,10 +71,13 @@ public interface ReadOptionsOrBuilder extends
    * 
* * bytes transaction = 2; + * * @return Whether the transaction field is set. */ boolean hasTransaction(); /** + * + * *
    * The identifier of the transaction in which to read. A
    * transaction identifier is returned by a call to
@@ -55,11 +85,14 @@ public interface ReadOptionsOrBuilder extends
    * 
* * bytes transaction = 2; + * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** + * + * *
    * Options for beginning a new transaction for this request.
    *
@@ -71,10 +104,13 @@ public interface ReadOptionsOrBuilder extends
    * 
* * .google.datastore.v1.TransactionOptions new_transaction = 3; + * * @return Whether the newTransaction field is set. */ boolean hasNewTransaction(); /** + * + * *
    * Options for beginning a new transaction for this request.
    *
@@ -86,10 +122,13 @@ public interface ReadOptionsOrBuilder extends
    * 
* * .google.datastore.v1.TransactionOptions new_transaction = 3; + * * @return The newTransaction. */ com.google.datastore.v1.TransactionOptions getNewTransaction(); /** + * + * *
    * Options for beginning a new transaction for this request.
    *
@@ -105,6 +144,8 @@ public interface ReadOptionsOrBuilder extends
   com.google.datastore.v1.TransactionOptionsOrBuilder getNewTransactionOrBuilder();
 
   /**
+   *
+   *
    * 
    * Reads entities as they were at the given time. This value is only
    * supported for Cloud Firestore in Datastore mode.
@@ -115,10 +156,13 @@ public interface ReadOptionsOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
    * Reads entities as they were at the given time. This value is only
    * supported for Cloud Firestore in Datastore mode.
@@ -129,10 +173,13 @@ public interface ReadOptionsOrBuilder extends
    * 
* * .google.protobuf.Timestamp read_time = 4; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
    * Reads entities as they were at the given time. This value is only
    * supported for Cloud Firestore in Datastore mode.
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequest.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequest.java
similarity index 70%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequest.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequest.java
index ed819fea4..f33ed677e 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequest.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequest.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/datastore.proto
 
@@ -5,6 +20,8 @@
 package com.google.datastore.v1;
 
 /**
+ *
+ *
  * 
  * The request for
  * [Datastore.ReserveIds][google.datastore.v1.Datastore.ReserveIds].
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.datastore.v1.ReserveIdsRequest}
  */
-public final class ReserveIdsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ReserveIdsRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.datastore.v1.ReserveIdsRequest)
     ReserveIdsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ReserveIdsRequest.newBuilder() to construct.
   private ReserveIdsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ReserveIdsRequest() {
     projectId_ = "";
     databaseId_ = "";
@@ -29,33 +47,38 @@ private ReserveIdsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ReserveIdsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_ReserveIdsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.datastore.v1.DatastoreProto
+        .internal_static_google_datastore_v1_ReserveIdsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_ReserveIdsRequest_fieldAccessorTable
+    return com.google.datastore.v1.DatastoreProto
+        .internal_static_google_datastore_v1_ReserveIdsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.v1.ReserveIdsRequest.class, com.google.datastore.v1.ReserveIdsRequest.Builder.class);
+            com.google.datastore.v1.ReserveIdsRequest.class,
+            com.google.datastore.v1.ReserveIdsRequest.Builder.class);
   }
 
   public static final int PROJECT_ID_FIELD_NUMBER = 8;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object projectId_ = "";
   /**
+   *
+   *
    * 
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ @java.lang.Override @@ -64,29 +87,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -95,9 +118,12 @@ public java.lang.String getProjectId() { } public static final int DATABASE_ID_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object databaseId_ = ""; /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -106,6 +132,7 @@ public java.lang.String getProjectId() {
    * 
* * string database_id = 9; + * * @return The databaseId. */ @java.lang.Override @@ -114,14 +141,15 @@ public java.lang.String getDatabaseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; } } /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -130,16 +158,15 @@ public java.lang.String getDatabaseId() {
    * 
* * string database_id = 9; + * * @return The bytes for databaseId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseIdBytes() { + public com.google.protobuf.ByteString getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); databaseId_ = b; return b; } else { @@ -148,72 +175,87 @@ public java.lang.String getDatabaseId() { } public static final int KEYS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private java.util.List keys_; /** + * + * *
    * Required. A list of keys with complete key paths whose numeric IDs should
    * not be auto-allocated.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public java.util.List getKeysList() { return keys_; } /** + * + * *
    * Required. A list of keys with complete key paths whose numeric IDs should
    * not be auto-allocated.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public java.util.List - getKeysOrBuilderList() { + public java.util.List getKeysOrBuilderList() { return keys_; } /** + * + * *
    * Required. A list of keys with complete key paths whose numeric IDs should
    * not be auto-allocated.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public int getKeysCount() { return keys_.size(); } /** + * + * *
    * Required. A list of keys with complete key paths whose numeric IDs should
    * not be auto-allocated.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.datastore.v1.Key getKeys(int index) { return keys_.get(index); } /** + * + * *
    * Required. A list of keys with complete key paths whose numeric IDs should
    * not be auto-allocated.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override - public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder( - int index) { + public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(int index) { return keys_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -225,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 < keys_.size(); i++) { output.writeMessage(1, keys_.get(i)); } @@ -246,8 +287,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < keys_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, keys_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, keys_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, projectId_); @@ -263,19 +303,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.datastore.v1.ReserveIdsRequest)) { return super.equals(obj); } - com.google.datastore.v1.ReserveIdsRequest other = (com.google.datastore.v1.ReserveIdsRequest) obj; + com.google.datastore.v1.ReserveIdsRequest other = + (com.google.datastore.v1.ReserveIdsRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getDatabaseId() - .equals(other.getDatabaseId())) return false; - if (!getKeysList() - .equals(other.getKeysList())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getDatabaseId().equals(other.getDatabaseId())) return false; + if (!getKeysList().equals(other.getKeysList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -300,99 +338,104 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.ReserveIdsRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.datastore.v1.ReserveIdsRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.ReserveIdsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.ReserveIdsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.ReserveIdsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.ReserveIdsRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.v1.ReserveIdsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.datastore.v1.ReserveIdsRequest parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.ReserveIdsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.datastore.v1.ReserveIdsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.ReserveIdsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.v1.ReserveIdsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.datastore.v1.ReserveIdsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.v1.ReserveIdsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.datastore.v1.ReserveIdsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected 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
    * [Datastore.ReserveIds][google.datastore.v1.Datastore.ReserveIds].
@@ -400,33 +443,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.datastore.v1.ReserveIdsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.datastore.v1.ReserveIdsRequest)
       com.google.datastore.v1.ReserveIdsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_ReserveIdsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_ReserveIdsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_ReserveIdsRequest_fieldAccessorTable
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_ReserveIdsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.ReserveIdsRequest.class, com.google.datastore.v1.ReserveIdsRequest.Builder.class);
+              com.google.datastore.v1.ReserveIdsRequest.class,
+              com.google.datastore.v1.ReserveIdsRequest.Builder.class);
     }
 
     // Construct using com.google.datastore.v1.ReserveIdsRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        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 +486,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_ReserveIdsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_ReserveIdsRequest_descriptor;
     }
 
     @java.lang.Override
@@ -465,9 +507,12 @@ public com.google.datastore.v1.ReserveIdsRequest build() {
 
     @java.lang.Override
     public com.google.datastore.v1.ReserveIdsRequest buildPartial() {
-      com.google.datastore.v1.ReserveIdsRequest result = new com.google.datastore.v1.ReserveIdsRequest(this);
+      com.google.datastore.v1.ReserveIdsRequest result =
+          new com.google.datastore.v1.ReserveIdsRequest(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -498,38 +543,39 @@ private void buildPartial0(com.google.datastore.v1.ReserveIdsRequest result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.ReserveIdsRequest) {
-        return mergeFrom((com.google.datastore.v1.ReserveIdsRequest)other);
+        return mergeFrom((com.google.datastore.v1.ReserveIdsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -566,9 +612,10 @@ public Builder mergeFrom(com.google.datastore.v1.ReserveIdsRequest other) {
             keysBuilder_ = null;
             keys_ = other.keys_;
             bitField0_ = (bitField0_ & ~0x00000004);
-            keysBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getKeysFieldBuilder() : null;
+            keysBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getKeysFieldBuilder()
+                    : null;
           } else {
             keysBuilder_.addAllMessages(other.keys_);
           }
@@ -600,35 +647,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.datastore.v1.Key m =
-                  input.readMessage(
-                      com.google.datastore.v1.Key.parser(),
-                      extensionRegistry);
-              if (keysBuilder_ == null) {
-                ensureKeysIsMutable();
-                keys_.add(m);
-              } else {
-                keysBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 66: {
-              projectId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 66
-            case 74: {
-              databaseId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 74
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.datastore.v1.Key m =
+                    input.readMessage(com.google.datastore.v1.Key.parser(), extensionRegistry);
+                if (keysBuilder_ == null) {
+                  ensureKeysIsMutable();
+                  keys_.add(m);
+                } else {
+                  keysBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 66:
+              {
+                projectId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 66
+            case 74:
+              {
+                databaseId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 74
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -638,22 +687,25 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object projectId_ = "";
     /**
+     *
+     *
      * 
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -662,20 +714,21 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -683,28 +736,35 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -714,17 +774,21 @@ public Builder clearProjectId() { return this; } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -734,6 +798,8 @@ public Builder setProjectIdBytes( private java.lang.Object databaseId_ = ""; /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -742,13 +808,13 @@ public Builder setProjectIdBytes(
      * 
* * string database_id = 9; + * * @return The databaseId. */ public java.lang.String getDatabaseId() { java.lang.Object ref = databaseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; @@ -757,6 +823,8 @@ public java.lang.String getDatabaseId() { } } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -765,15 +833,14 @@ public java.lang.String getDatabaseId() {
      * 
* * string database_id = 9; + * * @return The bytes for databaseId. */ - public com.google.protobuf.ByteString - getDatabaseIdBytes() { + public com.google.protobuf.ByteString getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); databaseId_ = b; return b; } else { @@ -781,6 +848,8 @@ public java.lang.String getDatabaseId() { } } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -789,18 +858,22 @@ public java.lang.String getDatabaseId() {
      * 
* * string database_id = 9; + * * @param value The databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } databaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -809,6 +882,7 @@ public Builder setDatabaseId(
      * 
* * string database_id = 9; + * * @return This builder for chaining. */ public Builder clearDatabaseId() { @@ -818,6 +892,8 @@ public Builder clearDatabaseId() { return this; } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -826,12 +902,14 @@ public Builder clearDatabaseId() {
      * 
* * string database_id = 9; + * * @param value The bytes for databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); databaseId_ = value; bitField0_ |= 0x00000002; @@ -839,25 +917,31 @@ public Builder setDatabaseIdBytes( return this; } - private java.util.List keys_ = - java.util.Collections.emptyList(); + private java.util.List keys_ = java.util.Collections.emptyList(); + private void ensureKeysIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { keys_ = new java.util.ArrayList(keys_); bitField0_ |= 0x00000004; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> keysBuilder_; + com.google.datastore.v1.Key, + com.google.datastore.v1.Key.Builder, + com.google.datastore.v1.KeyOrBuilder> + keysBuilder_; /** + * + * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public java.util.List getKeysList() { if (keysBuilder_ == null) { @@ -867,12 +951,15 @@ public java.util.List getKeysList() { } } /** + * + * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public int getKeysCount() { if (keysBuilder_ == null) { @@ -882,12 +969,15 @@ public int getKeysCount() { } } /** + * + * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.datastore.v1.Key getKeys(int index) { if (keysBuilder_ == null) { @@ -897,15 +987,17 @@ public com.google.datastore.v1.Key getKeys(int index) { } } /** + * + * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setKeys( - int index, com.google.datastore.v1.Key value) { + public Builder setKeys(int index, com.google.datastore.v1.Key value) { if (keysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -919,15 +1011,17 @@ public Builder setKeys( return this; } /** + * + * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder setKeys( - int index, com.google.datastore.v1.Key.Builder builderForValue) { + public Builder setKeys(int index, com.google.datastore.v1.Key.Builder builderForValue) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.set(index, builderForValue.build()); @@ -938,12 +1032,15 @@ public Builder setKeys( return this; } /** + * + * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder addKeys(com.google.datastore.v1.Key value) { if (keysBuilder_ == null) { @@ -959,15 +1056,17 @@ public Builder addKeys(com.google.datastore.v1.Key value) { return this; } /** + * + * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addKeys( - int index, com.google.datastore.v1.Key value) { + public Builder addKeys(int index, com.google.datastore.v1.Key value) { if (keysBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -981,15 +1080,17 @@ public Builder addKeys( return this; } /** + * + * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addKeys( - com.google.datastore.v1.Key.Builder builderForValue) { + public Builder addKeys(com.google.datastore.v1.Key.Builder builderForValue) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.add(builderForValue.build()); @@ -1000,15 +1101,17 @@ public Builder addKeys( return this; } /** + * + * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addKeys( - int index, com.google.datastore.v1.Key.Builder builderForValue) { + public Builder addKeys(int index, com.google.datastore.v1.Key.Builder builderForValue) { if (keysBuilder_ == null) { ensureKeysIsMutable(); keys_.add(index, builderForValue.build()); @@ -1019,19 +1122,20 @@ public Builder addKeys( return this; } /** + * + * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public Builder addAllKeys( - java.lang.Iterable values) { + public Builder addAllKeys(java.lang.Iterable values) { if (keysBuilder_ == null) { ensureKeysIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, keys_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, keys_); onChanged(); } else { keysBuilder_.addAllMessages(values); @@ -1039,12 +1143,15 @@ public Builder addAllKeys( return this; } /** + * + * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearKeys() { if (keysBuilder_ == null) { @@ -1057,12 +1164,15 @@ public Builder clearKeys() { return this; } /** + * + * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder removeKeys(int index) { if (keysBuilder_ == null) { @@ -1075,42 +1185,49 @@ public Builder removeKeys(int index) { return this; } /** + * + * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.datastore.v1.Key.Builder getKeysBuilder( - int index) { + public com.google.datastore.v1.Key.Builder getKeysBuilder(int index) { return getKeysFieldBuilder().getBuilder(index); } /** + * + * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder( - int index) { + public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(int index) { if (keysBuilder_ == null) { - return keys_.get(index); } else { + return keys_.get(index); + } else { return keysBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getKeysOrBuilderList() { + public java.util.List getKeysOrBuilderList() { if (keysBuilder_ != null) { return keysBuilder_.getMessageOrBuilderList(); } else { @@ -1118,59 +1235,68 @@ public com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder( } } /** + * + * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.datastore.v1.Key.Builder addKeysBuilder() { - return getKeysFieldBuilder().addBuilder( - com.google.datastore.v1.Key.getDefaultInstance()); + return getKeysFieldBuilder().addBuilder(com.google.datastore.v1.Key.getDefaultInstance()); } /** + * + * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public com.google.datastore.v1.Key.Builder addKeysBuilder( - int index) { - return getKeysFieldBuilder().addBuilder( - index, com.google.datastore.v1.Key.getDefaultInstance()); + public com.google.datastore.v1.Key.Builder addKeysBuilder(int index) { + return getKeysFieldBuilder() + .addBuilder(index, com.google.datastore.v1.Key.getDefaultInstance()); } /** + * + * *
      * Required. A list of keys with complete key paths whose numeric IDs should
      * not be auto-allocated.
      * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - public java.util.List - getKeysBuilderList() { + public java.util.List getKeysBuilderList() { return getKeysFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> + com.google.datastore.v1.Key, + com.google.datastore.v1.Key.Builder, + com.google.datastore.v1.KeyOrBuilder> getKeysFieldBuilder() { if (keysBuilder_ == null) { - keysBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder>( - keys_, - ((bitField0_ & 0x00000004) != 0), - getParentForChildren(), - isClean()); + keysBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.datastore.v1.Key, + com.google.datastore.v1.Key.Builder, + com.google.datastore.v1.KeyOrBuilder>( + keys_, ((bitField0_ & 0x00000004) != 0), getParentForChildren(), isClean()); keys_ = null; } return keysBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1180,12 +1306,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.v1.ReserveIdsRequest) } // @@protoc_insertion_point(class_scope:google.datastore.v1.ReserveIdsRequest) private static final com.google.datastore.v1.ReserveIdsRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.v1.ReserveIdsRequest(); } @@ -1194,27 +1320,27 @@ public static com.google.datastore.v1.ReserveIdsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ReserveIdsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ReserveIdsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1229,6 +1355,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.ReserveIdsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequestOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequestOrBuilder.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequestOrBuilder.java index 5e082b1da..f430680f6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequestOrBuilder.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsRequestOrBuilder.java @@ -1,34 +1,57 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface ReserveIdsRequestOrBuilder extends +public interface ReserveIdsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.ReserveIdsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -37,10 +60,13 @@ public interface ReserveIdsRequestOrBuilder extends
    * 
* * string database_id = 9; + * * @return The databaseId. */ java.lang.String getDatabaseId(); /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -49,57 +75,69 @@ public interface ReserveIdsRequestOrBuilder extends
    * 
* * string database_id = 9; + * * @return The bytes for databaseId. */ - com.google.protobuf.ByteString - getDatabaseIdBytes(); + com.google.protobuf.ByteString getDatabaseIdBytes(); /** + * + * *
    * Required. A list of keys with complete key paths whose numeric IDs should
    * not be auto-allocated.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getKeysList(); + java.util.List getKeysList(); /** + * + * *
    * Required. A list of keys with complete key paths whose numeric IDs should
    * not be auto-allocated.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ com.google.datastore.v1.Key getKeys(int index); /** + * + * *
    * Required. A list of keys with complete key paths whose numeric IDs should
    * not be auto-allocated.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ int getKeysCount(); /** + * + * *
    * Required. A list of keys with complete key paths whose numeric IDs should
    * not be auto-allocated.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - java.util.List - getKeysOrBuilderList(); + java.util.List getKeysOrBuilderList(); /** + * + * *
    * Required. A list of keys with complete key paths whose numeric IDs should
    * not be auto-allocated.
    * 
* - * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * repeated .google.datastore.v1.Key keys = 1 [(.google.api.field_behavior) = REQUIRED]; + * */ - com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder( - int index); + com.google.datastore.v1.KeyOrBuilder getKeysOrBuilder(int index); } diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsResponse.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsResponse.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsResponse.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsResponse.java index a6ac56bd4..6fd381126 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsResponse.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsResponse.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto @@ -5,6 +20,8 @@ package com.google.datastore.v1; /** + * + * *
  * The response for
  * [Datastore.ReserveIds][google.datastore.v1.Datastore.ReserveIds].
@@ -12,39 +29,41 @@
  *
  * Protobuf type {@code google.datastore.v1.ReserveIdsResponse}
  */
-public final class ReserveIdsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ReserveIdsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.datastore.v1.ReserveIdsResponse)
     ReserveIdsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ReserveIdsResponse.newBuilder() to construct.
   private ReserveIdsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private ReserveIdsResponse() {
-  }
+
+  private ReserveIdsResponse() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ReserveIdsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_ReserveIdsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.datastore.v1.DatastoreProto
+        .internal_static_google_datastore_v1_ReserveIdsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_ReserveIdsResponse_fieldAccessorTable
+    return com.google.datastore.v1.DatastoreProto
+        .internal_static_google_datastore_v1_ReserveIdsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.v1.ReserveIdsResponse.class, com.google.datastore.v1.ReserveIdsResponse.Builder.class);
+            com.google.datastore.v1.ReserveIdsResponse.class,
+            com.google.datastore.v1.ReserveIdsResponse.Builder.class);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -56,8 +75,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);
   }
 
@@ -75,12 +93,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.datastore.v1.ReserveIdsResponse)) {
       return super.equals(obj);
     }
-    com.google.datastore.v1.ReserveIdsResponse other = (com.google.datastore.v1.ReserveIdsResponse) obj;
+    com.google.datastore.v1.ReserveIdsResponse other =
+        (com.google.datastore.v1.ReserveIdsResponse) obj;
 
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -98,99 +117,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.ReserveIdsResponse parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.ReserveIdsResponse parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.ReserveIdsResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.ReserveIdsResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.ReserveIdsResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.ReserveIdsResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.ReserveIdsResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.ReserveIdsResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.datastore.v1.ReserveIdsResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.datastore.v1.ReserveIdsResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.datastore.v1.ReserveIdsResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.datastore.v1.ReserveIdsResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.datastore.v1.ReserveIdsResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.datastore.v1.ReserveIdsResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.datastore.v1.ReserveIdsResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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
    * [Datastore.ReserveIds][google.datastore.v1.Datastore.ReserveIds].
@@ -198,33 +222,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.datastore.v1.ReserveIdsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.datastore.v1.ReserveIdsResponse)
       com.google.datastore.v1.ReserveIdsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_ReserveIdsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_ReserveIdsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_ReserveIdsResponse_fieldAccessorTable
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_ReserveIdsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.ReserveIdsResponse.class, com.google.datastore.v1.ReserveIdsResponse.Builder.class);
+              com.google.datastore.v1.ReserveIdsResponse.class,
+              com.google.datastore.v1.ReserveIdsResponse.Builder.class);
     }
 
     // Construct using com.google.datastore.v1.ReserveIdsResponse.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        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 +255,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_ReserveIdsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_ReserveIdsResponse_descriptor;
     }
 
     @java.lang.Override
@@ -253,7 +276,8 @@ public com.google.datastore.v1.ReserveIdsResponse build() {
 
     @java.lang.Override
     public com.google.datastore.v1.ReserveIdsResponse buildPartial() {
-      com.google.datastore.v1.ReserveIdsResponse result = new com.google.datastore.v1.ReserveIdsResponse(this);
+      com.google.datastore.v1.ReserveIdsResponse result =
+          new com.google.datastore.v1.ReserveIdsResponse(this);
       onBuilt();
       return result;
     }
@@ -262,38 +286,39 @@ public com.google.datastore.v1.ReserveIdsResponse 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.datastore.v1.ReserveIdsResponse) {
-        return mergeFrom((com.google.datastore.v1.ReserveIdsResponse)other);
+        return mergeFrom((com.google.datastore.v1.ReserveIdsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -328,12 +353,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 +369,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 +381,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.ReserveIdsResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.ReserveIdsResponse)
   private static final com.google.datastore.v1.ReserveIdsResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.ReserveIdsResponse();
   }
@@ -369,27 +395,27 @@ public static com.google.datastore.v1.ReserveIdsResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public ReserveIdsResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public ReserveIdsResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.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 +430,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.ReserveIdsResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsResponseOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsResponseOrBuilder.java
new file mode 100644
index 000000000..f58f797f2
--- /dev/null
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReserveIdsResponseOrBuilder.java
@@ -0,0 +1,25 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/datastore/v1/datastore.proto
+
+// Protobuf Java Version: 3.25.3
+package com.google.datastore.v1;
+
+public interface ReserveIdsResponseOrBuilder
+    extends
+    // @@protoc_insertion_point(interface_extends:google.datastore.v1.ReserveIdsResponse)
+    com.google.protobuf.MessageOrBuilder {}
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackRequest.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackRequest.java
similarity index 71%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackRequest.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackRequest.java
index 283a25661..ddc3bbdd6 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackRequest.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackRequest.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/datastore.proto
 
@@ -5,21 +20,24 @@
 package com.google.datastore.v1;
 
 /**
+ *
+ *
  * 
  * The request for [Datastore.Rollback][google.datastore.v1.Datastore.Rollback].
  * 
* * Protobuf type {@code google.datastore.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.datastore.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() { projectId_ = ""; databaseId_ = ""; @@ -28,33 +46,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(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RollbackRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_RollbackRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RollbackRequest_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_RollbackRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.RollbackRequest.class, com.google.datastore.v1.RollbackRequest.Builder.class); + com.google.datastore.v1.RollbackRequest.class, + com.google.datastore.v1.RollbackRequest.Builder.class); } public static final int PROJECT_ID_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** + * + * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ @java.lang.Override @@ -63,29 +86,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -94,9 +117,12 @@ public java.lang.String getProjectId() { } public static final int DATABASE_ID_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object databaseId_ = ""; /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -105,6 +131,7 @@ public java.lang.String getProjectId() {
    * 
* * string database_id = 9; + * * @return The databaseId. */ @java.lang.Override @@ -113,14 +140,15 @@ public java.lang.String getDatabaseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; } } /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -129,16 +157,15 @@ public java.lang.String getDatabaseId() {
    * 
* * string database_id = 9; + * * @return The bytes for databaseId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseIdBytes() { + public com.google.protobuf.ByteString getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); databaseId_ = b; return b; } else { @@ -149,12 +176,15 @@ public java.lang.String getDatabaseId() { public static final int TRANSACTION_FIELD_NUMBER = 1; private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
    * Required. The transaction identifier, returned by a call to
    * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
    * 
* * bytes transaction = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The transaction. */ @java.lang.Override @@ -163,6 +193,7 @@ public com.google.protobuf.ByteString getTransaction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -174,8 +205,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!transaction_.isEmpty()) { output.writeBytes(1, transaction_); } @@ -195,8 +225,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_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, projectId_); @@ -212,19 +241,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.datastore.v1.RollbackRequest)) { return super.equals(obj); } com.google.datastore.v1.RollbackRequest other = (com.google.datastore.v1.RollbackRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getDatabaseId() - .equals(other.getDatabaseId())) return false; - if (!getTransaction() - .equals(other.getTransaction())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getDatabaseId().equals(other.getDatabaseId())) return false; + if (!getTransaction().equals(other.getTransaction())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -247,132 +273,136 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.RollbackRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.datastore.v1.RollbackRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.v1.RollbackRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.v1.RollbackRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.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.datastore.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.datastore.v1.RollbackRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.RollbackRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.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.datastore.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.datastore.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.datastore.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 [Datastore.Rollback][google.datastore.v1.Datastore.Rollback].
    * 
* * Protobuf type {@code google.datastore.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.datastore.v1.RollbackRequest) com.google.datastore.v1.RollbackRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RollbackRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_RollbackRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RollbackRequest_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_RollbackRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.RollbackRequest.class, com.google.datastore.v1.RollbackRequest.Builder.class); + com.google.datastore.v1.RollbackRequest.class, + com.google.datastore.v1.RollbackRequest.Builder.class); } // Construct using com.google.datastore.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(); @@ -384,9 +414,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RollbackRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_RollbackRequest_descriptor; } @java.lang.Override @@ -405,8 +435,11 @@ public com.google.datastore.v1.RollbackRequest build() { @java.lang.Override public com.google.datastore.v1.RollbackRequest buildPartial() { - com.google.datastore.v1.RollbackRequest result = new com.google.datastore.v1.RollbackRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.datastore.v1.RollbackRequest result = + new com.google.datastore.v1.RollbackRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -428,38 +461,39 @@ private void buildPartial0(com.google.datastore.v1.RollbackRequest result) { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.RollbackRequest) { - return mergeFrom((com.google.datastore.v1.RollbackRequest)other); + return mergeFrom((com.google.datastore.v1.RollbackRequest) other); } else { super.mergeFrom(other); return this; @@ -507,27 +541,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - transaction_ = input.readBytes(); - bitField0_ |= 0x00000004; - break; - } // case 10 - case 66: { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 66 - case 74: { - databaseId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 74 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + transaction_ = input.readBytes(); + bitField0_ |= 0x00000004; + break; + } // case 10 + case 66: + { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 66 + case 74: + { + databaseId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 74 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -537,22 +575,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object projectId_ = ""; /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -561,20 +602,21 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -582,28 +624,35 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -613,17 +662,21 @@ public Builder clearProjectId() { return this; } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -633,6 +686,8 @@ public Builder setProjectIdBytes( private java.lang.Object databaseId_ = ""; /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -641,13 +696,13 @@ public Builder setProjectIdBytes(
      * 
* * string database_id = 9; + * * @return The databaseId. */ public java.lang.String getDatabaseId() { java.lang.Object ref = databaseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; @@ -656,6 +711,8 @@ public java.lang.String getDatabaseId() { } } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -664,15 +721,14 @@ public java.lang.String getDatabaseId() {
      * 
* * string database_id = 9; + * * @return The bytes for databaseId. */ - public com.google.protobuf.ByteString - getDatabaseIdBytes() { + public com.google.protobuf.ByteString getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); databaseId_ = b; return b; } else { @@ -680,6 +736,8 @@ public java.lang.String getDatabaseId() { } } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -688,18 +746,22 @@ public java.lang.String getDatabaseId() {
      * 
* * string database_id = 9; + * * @param value The databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } databaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -708,6 +770,7 @@ public Builder setDatabaseId(
      * 
* * string database_id = 9; + * * @return This builder for chaining. */ public Builder clearDatabaseId() { @@ -717,6 +780,8 @@ public Builder clearDatabaseId() { return this; } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -725,12 +790,14 @@ public Builder clearDatabaseId() {
      * 
* * string database_id = 9; + * * @param value The bytes for databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); databaseId_ = value; bitField0_ |= 0x00000002; @@ -740,12 +807,15 @@ public Builder setDatabaseIdBytes( private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * Required. The transaction identifier, returned by a call to
      * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
      * 
* * bytes transaction = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The transaction. */ @java.lang.Override @@ -753,29 +823,37 @@ public com.google.protobuf.ByteString getTransaction() { return transaction_; } /** + * + * *
      * Required. The transaction identifier, returned by a call to
      * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
      * 
* * bytes transaction = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } transaction_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * Required. The transaction identifier, returned by a call to
      * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
      * 
* * bytes transaction = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -784,9 +862,9 @@ public Builder clearTransaction() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -796,12 +874,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.v1.RollbackRequest) } // @@protoc_insertion_point(class_scope:google.datastore.v1.RollbackRequest) private static final com.google.datastore.v1.RollbackRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.v1.RollbackRequest(); } @@ -810,27 +888,27 @@ public static com.google.datastore.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; @@ -845,6 +923,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.RollbackRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackRequestOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackRequestOrBuilder.java similarity index 67% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackRequestOrBuilder.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackRequestOrBuilder.java index 0f5f63b00..1396a426c 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackRequestOrBuilder.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackRequestOrBuilder.java @@ -1,34 +1,57 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface RollbackRequestOrBuilder extends +public interface RollbackRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.RollbackRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -37,10 +60,13 @@ public interface RollbackRequestOrBuilder extends
    * 
* * string database_id = 9; + * * @return The databaseId. */ java.lang.String getDatabaseId(); /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -49,18 +75,21 @@ public interface RollbackRequestOrBuilder extends
    * 
* * string database_id = 9; + * * @return The bytes for databaseId. */ - com.google.protobuf.ByteString - getDatabaseIdBytes(); + com.google.protobuf.ByteString getDatabaseIdBytes(); /** + * + * *
    * Required. The transaction identifier, returned by a call to
    * [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].
    * 
* * bytes transaction = 1 [(.google.api.field_behavior) = REQUIRED]; + * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackResponse.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackResponse.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackResponse.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackResponse.java index f79311eb5..8aed6de56 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackResponse.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackResponse.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto @@ -5,6 +20,8 @@ package com.google.datastore.v1; /** + * + * *
  * The response for
  * [Datastore.Rollback][google.datastore.v1.Datastore.Rollback]. (an empty
@@ -13,39 +30,41 @@
  *
  * Protobuf type {@code google.datastore.v1.RollbackResponse}
  */
-public final class RollbackResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class RollbackResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.datastore.v1.RollbackResponse)
     RollbackResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RollbackResponse.newBuilder() to construct.
   private RollbackResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private RollbackResponse() {
-  }
+
+  private RollbackResponse() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RollbackResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RollbackResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.datastore.v1.DatastoreProto
+        .internal_static_google_datastore_v1_RollbackResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RollbackResponse_fieldAccessorTable
+    return com.google.datastore.v1.DatastoreProto
+        .internal_static_google_datastore_v1_RollbackResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.v1.RollbackResponse.class, com.google.datastore.v1.RollbackResponse.Builder.class);
+            com.google.datastore.v1.RollbackResponse.class,
+            com.google.datastore.v1.RollbackResponse.Builder.class);
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -57,8 +76,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);
   }
 
@@ -76,7 +94,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.datastore.v1.RollbackResponse)) {
       return super.equals(obj);
@@ -99,99 +117,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.RollbackResponse parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.RollbackResponse parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.RollbackResponse parseFrom(
-      java.nio.ByteBuffer data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.RollbackResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.RollbackResponse parseFrom(
       com.google.protobuf.ByteString data,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.RollbackResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.v1.RollbackResponse parseFrom(
-      byte[] data,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data, extensionRegistry);
   }
+
   public static com.google.datastore.v1.RollbackResponse parseFrom(java.io.InputStream input)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.datastore.v1.RollbackResponse parseFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
-  public static com.google.datastore.v1.RollbackResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.datastore.v1.RollbackResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.datastore.v1.RollbackResponse parseDelimitedFrom(
-      java.io.InputStream input,
-      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+        PARSER, input, extensionRegistry);
   }
+
   public static com.google.datastore.v1.RollbackResponse parseFrom(
-      com.google.protobuf.CodedInputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.datastore.v1.RollbackResponse parseFrom(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
       throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input, extensionRegistry);
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
+        PARSER, input, extensionRegistry);
   }
 
   @java.lang.Override
-  public Builder newBuilderForType() { return newBuilder(); }
+  public Builder newBuilderForType() {
+    return newBuilder();
+  }
+
   public static Builder newBuilder() {
     return DEFAULT_INSTANCE.toBuilder();
   }
+
   public static Builder newBuilder(com.google.datastore.v1.RollbackResponse prototype) {
     return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
   }
+
   @java.lang.Override
   public Builder toBuilder() {
-    return this == DEFAULT_INSTANCE
-        ? new Builder() : new Builder().mergeFrom(this);
+    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
   }
 
   @java.lang.Override
-  protected 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
    * [Datastore.Rollback][google.datastore.v1.Datastore.Rollback]. (an empty
@@ -200,33 +223,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.datastore.v1.RollbackResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.datastore.v1.RollbackResponse)
       com.google.datastore.v1.RollbackResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RollbackResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_RollbackResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RollbackResponse_fieldAccessorTable
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_RollbackResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.RollbackResponse.class, com.google.datastore.v1.RollbackResponse.Builder.class);
+              com.google.datastore.v1.RollbackResponse.class,
+              com.google.datastore.v1.RollbackResponse.Builder.class);
     }
 
     // Construct using com.google.datastore.v1.RollbackResponse.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -234,9 +256,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RollbackResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_RollbackResponse_descriptor;
     }
 
     @java.lang.Override
@@ -255,7 +277,8 @@ public com.google.datastore.v1.RollbackResponse build() {
 
     @java.lang.Override
     public com.google.datastore.v1.RollbackResponse buildPartial() {
-      com.google.datastore.v1.RollbackResponse result = new com.google.datastore.v1.RollbackResponse(this);
+      com.google.datastore.v1.RollbackResponse result =
+          new com.google.datastore.v1.RollbackResponse(this);
       onBuilt();
       return result;
     }
@@ -264,38 +287,39 @@ public com.google.datastore.v1.RollbackResponse 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.datastore.v1.RollbackResponse) {
-        return mergeFrom((com.google.datastore.v1.RollbackResponse)other);
+        return mergeFrom((com.google.datastore.v1.RollbackResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -330,12 +354,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) {
@@ -345,9 +370,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);
     }
 
@@ -357,12 +382,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.RollbackResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.RollbackResponse)
   private static final com.google.datastore.v1.RollbackResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.RollbackResponse();
   }
@@ -371,27 +396,27 @@ public static com.google.datastore.v1.RollbackResponse getDefaultInstance() {
     return DEFAULT_INSTANCE;
   }
 
-  private static final com.google.protobuf.Parser
-      PARSER = new com.google.protobuf.AbstractParser() {
-    @java.lang.Override
-    public RollbackResponse parsePartialFrom(
-        com.google.protobuf.CodedInputStream input,
-        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
-        throws com.google.protobuf.InvalidProtocolBufferException {
-      Builder builder = newBuilder();
-      try {
-        builder.mergeFrom(input, extensionRegistry);
-      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        throw e.setUnfinishedMessage(builder.buildPartial());
-      } catch (com.google.protobuf.UninitializedMessageException e) {
-        throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
-      } catch (java.io.IOException e) {
-        throw new com.google.protobuf.InvalidProtocolBufferException(e)
-            .setUnfinishedMessage(builder.buildPartial());
-      }
-      return builder.buildPartial();
-    }
-  };
+  private static final com.google.protobuf.Parser PARSER =
+      new com.google.protobuf.AbstractParser() {
+        @java.lang.Override
+        public RollbackResponse parsePartialFrom(
+            com.google.protobuf.CodedInputStream input,
+            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+            throws com.google.protobuf.InvalidProtocolBufferException {
+          Builder builder = newBuilder();
+          try {
+            builder.mergeFrom(input, extensionRegistry);
+          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+            throw e.setUnfinishedMessage(builder.buildPartial());
+          } catch (com.google.protobuf.UninitializedMessageException e) {
+            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+          } catch (java.io.IOException e) {
+            throw new com.google.protobuf.InvalidProtocolBufferException(e)
+                .setUnfinishedMessage(builder.buildPartial());
+          }
+          return builder.buildPartial();
+        }
+      };
 
   public static com.google.protobuf.Parser parser() {
     return PARSER;
@@ -406,6 +431,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.RollbackResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackResponseOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackResponseOrBuilder.java
new file mode 100644
index 000000000..13fbedee9
--- /dev/null
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RollbackResponseOrBuilder.java
@@ -0,0 +1,25 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+// source: google/datastore/v1/datastore.proto
+
+// Protobuf Java Version: 3.25.3
+package com.google.datastore.v1;
+
+public interface RollbackResponseOrBuilder
+    extends
+    // @@protoc_insertion_point(interface_extends:google.datastore.v1.RollbackResponse)
+    com.google.protobuf.MessageOrBuilder {}
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryRequest.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryRequest.java
similarity index 71%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryRequest.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryRequest.java
index c197eb1c6..aff95e007 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryRequest.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryRequest.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/datastore.proto
 
@@ -5,6 +20,8 @@
 package com.google.datastore.v1;
 
 /**
+ *
+ *
  * 
  * The request for
  * [Datastore.RunAggregationQuery][google.datastore.v1.Datastore.RunAggregationQuery].
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.datastore.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.datastore.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() {
     projectId_ = "";
     databaseId_ = "";
@@ -28,35 +46,40 @@ private RunAggregationQueryRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RunAggregationQueryRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunAggregationQueryRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.datastore.v1.DatastoreProto
+        .internal_static_google_datastore_v1_RunAggregationQueryRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunAggregationQueryRequest_fieldAccessorTable
+    return com.google.datastore.v1.DatastoreProto
+        .internal_static_google_datastore_v1_RunAggregationQueryRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.v1.RunAggregationQueryRequest.class, com.google.datastore.v1.RunAggregationQueryRequest.Builder.class);
+            com.google.datastore.v1.RunAggregationQueryRequest.class,
+            com.google.datastore.v1.RunAggregationQueryRequest.Builder.class);
   }
 
   private int bitField0_;
   private int queryTypeCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object queryType_;
+
   public enum QueryTypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     AGGREGATION_QUERY(3),
     GQL_QUERY(7),
     QUERYTYPE_NOT_SET(0);
     private final int value;
+
     private QueryTypeCase(int value) {
       this.value = value;
     }
@@ -72,32 +95,39 @@ public static QueryTypeCase valueOf(int value) {
 
     public static QueryTypeCase forNumber(int value) {
       switch (value) {
-        case 3: return AGGREGATION_QUERY;
-        case 7: return GQL_QUERY;
-        case 0: return QUERYTYPE_NOT_SET;
-        default: return null;
+        case 3:
+          return AGGREGATION_QUERY;
+        case 7:
+          return GQL_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 PROJECT_ID_FIELD_NUMBER = 8;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object projectId_ = "";
   /**
+   *
+   *
    * 
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ @java.lang.Override @@ -106,29 +136,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -137,9 +167,12 @@ public java.lang.String getProjectId() { } public static final int DATABASE_ID_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object databaseId_ = ""; /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -148,6 +181,7 @@ public java.lang.String getProjectId() {
    * 
* * string database_id = 9; + * * @return The databaseId. */ @java.lang.Override @@ -156,14 +190,15 @@ public java.lang.String getDatabaseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; } } /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -172,16 +207,15 @@ public java.lang.String getDatabaseId() {
    * 
* * string database_id = 9; + * * @return The bytes for databaseId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseIdBytes() { + public com.google.protobuf.ByteString getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); databaseId_ = b; return b; } else { @@ -192,6 +226,8 @@ public java.lang.String getDatabaseId() { public static final int PARTITION_ID_FIELD_NUMBER = 2; private com.google.datastore.v1.PartitionId partitionId_; /** + * + * *
    * Entities are partitioned into subsets, identified by a partition ID.
    * Queries are scoped to a single partition.
@@ -200,6 +236,7 @@ public java.lang.String getDatabaseId() {
    * 
* * .google.datastore.v1.PartitionId partition_id = 2; + * * @return Whether the partitionId field is set. */ @java.lang.Override @@ -207,6 +244,8 @@ public boolean hasPartitionId() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Entities are partitioned into subsets, identified by a partition ID.
    * Queries are scoped to a single partition.
@@ -215,13 +254,18 @@ public boolean hasPartitionId() {
    * 
* * .google.datastore.v1.PartitionId partition_id = 2; + * * @return The partitionId. */ @java.lang.Override public com.google.datastore.v1.PartitionId getPartitionId() { - return partitionId_ == null ? com.google.datastore.v1.PartitionId.getDefaultInstance() : partitionId_; + return partitionId_ == null + ? com.google.datastore.v1.PartitionId.getDefaultInstance() + : partitionId_; } /** + * + * *
    * Entities are partitioned into subsets, identified by a partition ID.
    * Queries are scoped to a single partition.
@@ -233,17 +277,22 @@ public com.google.datastore.v1.PartitionId getPartitionId() {
    */
   @java.lang.Override
   public com.google.datastore.v1.PartitionIdOrBuilder getPartitionIdOrBuilder() {
-    return partitionId_ == null ? com.google.datastore.v1.PartitionId.getDefaultInstance() : partitionId_;
+    return partitionId_ == null
+        ? com.google.datastore.v1.PartitionId.getDefaultInstance()
+        : partitionId_;
   }
 
   public static final int READ_OPTIONS_FIELD_NUMBER = 1;
   private com.google.datastore.v1.ReadOptions readOptions_;
   /**
+   *
+   *
    * 
    * The options for this query.
    * 
* * .google.datastore.v1.ReadOptions read_options = 1; + * * @return Whether the readOptions field is set. */ @java.lang.Override @@ -251,18 +300,25 @@ public boolean hasReadOptions() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * The options for this query.
    * 
* * .google.datastore.v1.ReadOptions read_options = 1; + * * @return The readOptions. */ @java.lang.Override public com.google.datastore.v1.ReadOptions getReadOptions() { - return readOptions_ == null ? com.google.datastore.v1.ReadOptions.getDefaultInstance() : readOptions_; + return readOptions_ == null + ? com.google.datastore.v1.ReadOptions.getDefaultInstance() + : readOptions_; } /** + * + * *
    * The options for this query.
    * 
@@ -271,16 +327,21 @@ public com.google.datastore.v1.ReadOptions getReadOptions() { */ @java.lang.Override public com.google.datastore.v1.ReadOptionsOrBuilder getReadOptionsOrBuilder() { - return readOptions_ == null ? com.google.datastore.v1.ReadOptions.getDefaultInstance() : readOptions_; + return readOptions_ == null + ? com.google.datastore.v1.ReadOptions.getDefaultInstance() + : readOptions_; } public static final int AGGREGATION_QUERY_FIELD_NUMBER = 3; /** + * + * *
    * The query to run.
    * 
* * .google.datastore.v1.AggregationQuery aggregation_query = 3; + * * @return Whether the aggregationQuery field is set. */ @java.lang.Override @@ -288,21 +349,26 @@ public boolean hasAggregationQuery() { return queryTypeCase_ == 3; } /** + * + * *
    * The query to run.
    * 
* * .google.datastore.v1.AggregationQuery aggregation_query = 3; + * * @return The aggregationQuery. */ @java.lang.Override public com.google.datastore.v1.AggregationQuery getAggregationQuery() { if (queryTypeCase_ == 3) { - return (com.google.datastore.v1.AggregationQuery) queryType_; + return (com.google.datastore.v1.AggregationQuery) queryType_; } return com.google.datastore.v1.AggregationQuery.getDefaultInstance(); } /** + * + * *
    * The query to run.
    * 
@@ -312,18 +378,21 @@ public com.google.datastore.v1.AggregationQuery getAggregationQuery() { @java.lang.Override public com.google.datastore.v1.AggregationQueryOrBuilder getAggregationQueryOrBuilder() { if (queryTypeCase_ == 3) { - return (com.google.datastore.v1.AggregationQuery) queryType_; + return (com.google.datastore.v1.AggregationQuery) queryType_; } return com.google.datastore.v1.AggregationQuery.getDefaultInstance(); } public static final int GQL_QUERY_FIELD_NUMBER = 7; /** + * + * *
    * The GQL query to run. This query must be an aggregation query.
    * 
* * .google.datastore.v1.GqlQuery gql_query = 7; + * * @return Whether the gqlQuery field is set. */ @java.lang.Override @@ -331,21 +400,26 @@ public boolean hasGqlQuery() { return queryTypeCase_ == 7; } /** + * + * *
    * The GQL query to run. This query must be an aggregation query.
    * 
* * .google.datastore.v1.GqlQuery gql_query = 7; + * * @return The gqlQuery. */ @java.lang.Override public com.google.datastore.v1.GqlQuery getGqlQuery() { if (queryTypeCase_ == 7) { - return (com.google.datastore.v1.GqlQuery) queryType_; + return (com.google.datastore.v1.GqlQuery) queryType_; } return com.google.datastore.v1.GqlQuery.getDefaultInstance(); } /** + * + * *
    * The GQL query to run. This query must be an aggregation query.
    * 
@@ -355,7 +429,7 @@ public com.google.datastore.v1.GqlQuery getGqlQuery() { @java.lang.Override public com.google.datastore.v1.GqlQueryOrBuilder getGqlQueryOrBuilder() { if (queryTypeCase_ == 7) { - return (com.google.datastore.v1.GqlQuery) queryType_; + return (com.google.datastore.v1.GqlQuery) queryType_; } return com.google.datastore.v1.GqlQuery.getDefaultInstance(); } @@ -363,12 +437,17 @@ public com.google.datastore.v1.GqlQueryOrBuilder getGqlQueryOrBuilder() { public static final int EXPLAIN_OPTIONS_FIELD_NUMBER = 11; private com.google.datastore.v1.ExplainOptions explainOptions_; /** + * + * *
    * Optional. Explain options for the query. If set, additional query
    * statistics will be returned. If not, only query results will be returned.
    * 
* - * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the explainOptions field is set. */ @java.lang.Override @@ -376,32 +455,46 @@ public boolean hasExplainOptions() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
    * Optional. Explain options for the query. If set, additional query
    * statistics will be returned. If not, only query results will be returned.
    * 
* - * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The explainOptions. */ @java.lang.Override public com.google.datastore.v1.ExplainOptions getExplainOptions() { - return explainOptions_ == null ? com.google.datastore.v1.ExplainOptions.getDefaultInstance() : explainOptions_; + return explainOptions_ == null + ? com.google.datastore.v1.ExplainOptions.getDefaultInstance() + : explainOptions_; } /** + * + * *
    * Optional. Explain options for the query. If set, additional query
    * statistics will be returned. If not, only query results will be returned.
    * 
* - * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.datastore.v1.ExplainOptionsOrBuilder getExplainOptionsOrBuilder() { - return explainOptions_ == null ? com.google.datastore.v1.ExplainOptions.getDefaultInstance() : explainOptions_; + return explainOptions_ == null + ? com.google.datastore.v1.ExplainOptions.getDefaultInstance() + : explainOptions_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -413,8 +506,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 (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(1, getReadOptions()); } @@ -446,20 +538,20 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getReadOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReadOptions()); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getPartitionId()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPartitionId()); } if (queryTypeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.datastore.v1.AggregationQuery) queryType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.datastore.v1.AggregationQuery) queryType_); } if (queryTypeCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.datastore.v1.GqlQuery) queryType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.datastore.v1.GqlQuery) queryType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, projectId_); @@ -468,8 +560,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, databaseId_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, getExplainOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, getExplainOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -479,41 +570,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.datastore.v1.RunAggregationQueryRequest)) { return super.equals(obj); } - com.google.datastore.v1.RunAggregationQueryRequest other = (com.google.datastore.v1.RunAggregationQueryRequest) obj; + com.google.datastore.v1.RunAggregationQueryRequest other = + (com.google.datastore.v1.RunAggregationQueryRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getDatabaseId() - .equals(other.getDatabaseId())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getDatabaseId().equals(other.getDatabaseId())) return false; if (hasPartitionId() != other.hasPartitionId()) return false; if (hasPartitionId()) { - if (!getPartitionId() - .equals(other.getPartitionId())) return false; + if (!getPartitionId().equals(other.getPartitionId())) return false; } if (hasReadOptions() != other.hasReadOptions()) return false; if (hasReadOptions()) { - if (!getReadOptions() - .equals(other.getReadOptions())) return false; + if (!getReadOptions().equals(other.getReadOptions())) return false; } if (hasExplainOptions() != other.hasExplainOptions()) return false; if (hasExplainOptions()) { - if (!getExplainOptions() - .equals(other.getExplainOptions())) return false; + if (!getExplainOptions().equals(other.getExplainOptions())) return false; } if (!getQueryTypeCase().equals(other.getQueryTypeCase())) return false; switch (queryTypeCase_) { case 3: - if (!getAggregationQuery() - .equals(other.getAggregationQuery())) return false; + if (!getAggregationQuery().equals(other.getAggregationQuery())) return false; break; case 7: - if (!getGqlQuery() - .equals(other.getGqlQuery())) return false; + if (!getGqlQuery().equals(other.getGqlQuery())) return false; break; case 0: default: @@ -563,98 +648,103 @@ public int hashCode() { } public static com.google.datastore.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.datastore.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.datastore.v1.RunAggregationQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.v1.RunAggregationQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.v1.RunAggregationQueryRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.datastore.v1.RunAggregationQueryRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.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.datastore.v1.RunAggregationQueryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.RunAggregationQueryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.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.datastore.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.datastore.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.datastore.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
    * [Datastore.RunAggregationQuery][google.datastore.v1.Datastore.RunAggregationQuery].
@@ -662,21 +752,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.datastore.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.datastore.v1.RunAggregationQueryRequest)
       com.google.datastore.v1.RunAggregationQueryRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunAggregationQueryRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_RunAggregationQueryRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunAggregationQueryRequest_fieldAccessorTable
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_RunAggregationQueryRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.RunAggregationQueryRequest.class, com.google.datastore.v1.RunAggregationQueryRequest.Builder.class);
+              com.google.datastore.v1.RunAggregationQueryRequest.class,
+              com.google.datastore.v1.RunAggregationQueryRequest.Builder.class);
     }
 
     // Construct using com.google.datastore.v1.RunAggregationQueryRequest.newBuilder()
@@ -684,19 +776,19 @@ 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) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getPartitionIdFieldBuilder();
         getReadOptionsFieldBuilder();
         getExplainOptionsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -730,9 +822,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunAggregationQueryRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_RunAggregationQueryRequest_descriptor;
     }
 
     @java.lang.Override
@@ -751,8 +843,11 @@ public com.google.datastore.v1.RunAggregationQueryRequest build() {
 
     @java.lang.Override
     public com.google.datastore.v1.RunAggregationQueryRequest buildPartial() {
-      com.google.datastore.v1.RunAggregationQueryRequest result = new com.google.datastore.v1.RunAggregationQueryRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.datastore.v1.RunAggregationQueryRequest result =
+          new com.google.datastore.v1.RunAggregationQueryRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -768,21 +863,18 @@ private void buildPartial0(com.google.datastore.v1.RunAggregationQueryRequest re
       }
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.partitionId_ = partitionIdBuilder_ == null
-            ? partitionId_
-            : partitionIdBuilder_.build();
+        result.partitionId_ =
+            partitionIdBuilder_ == null ? partitionId_ : partitionIdBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.readOptions_ = readOptionsBuilder_ == null
-            ? readOptions_
-            : readOptionsBuilder_.build();
+        result.readOptions_ =
+            readOptionsBuilder_ == null ? readOptions_ : readOptionsBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000040) != 0)) {
-        result.explainOptions_ = explainOptionsBuilder_ == null
-            ? explainOptions_
-            : explainOptionsBuilder_.build();
+        result.explainOptions_ =
+            explainOptionsBuilder_ == null ? explainOptions_ : explainOptionsBuilder_.build();
         to_bitField0_ |= 0x00000004;
       }
       result.bitField0_ |= to_bitField0_;
@@ -791,12 +883,10 @@ private void buildPartial0(com.google.datastore.v1.RunAggregationQueryRequest re
     private void buildPartialOneofs(com.google.datastore.v1.RunAggregationQueryRequest result) {
       result.queryTypeCase_ = queryTypeCase_;
       result.queryType_ = this.queryType_;
-      if (queryTypeCase_ == 3 &&
-          aggregationQueryBuilder_ != null) {
+      if (queryTypeCase_ == 3 && aggregationQueryBuilder_ != null) {
         result.queryType_ = aggregationQueryBuilder_.build();
       }
-      if (queryTypeCase_ == 7 &&
-          gqlQueryBuilder_ != null) {
+      if (queryTypeCase_ == 7 && gqlQueryBuilder_ != null) {
         result.queryType_ = gqlQueryBuilder_.build();
       }
     }
@@ -805,38 +895,39 @@ private void buildPartialOneofs(com.google.datastore.v1.RunAggregationQueryReque
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.RunAggregationQueryRequest) {
-        return mergeFrom((com.google.datastore.v1.RunAggregationQueryRequest)other);
+        return mergeFrom((com.google.datastore.v1.RunAggregationQueryRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -844,7 +935,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.datastore.v1.RunAggregationQueryRequest other) {
-      if (other == com.google.datastore.v1.RunAggregationQueryRequest.getDefaultInstance()) return this;
+      if (other == com.google.datastore.v1.RunAggregationQueryRequest.getDefaultInstance())
+        return this;
       if (!other.getProjectId().isEmpty()) {
         projectId_ = other.projectId_;
         bitField0_ |= 0x00000001;
@@ -865,17 +957,20 @@ public Builder mergeFrom(com.google.datastore.v1.RunAggregationQueryRequest othe
         mergeExplainOptions(other.getExplainOptions());
       }
       switch (other.getQueryTypeCase()) {
-        case AGGREGATION_QUERY: {
-          mergeAggregationQuery(other.getAggregationQuery());
-          break;
-        }
-        case GQL_QUERY: {
-          mergeGqlQuery(other.getGqlQuery());
-          break;
-        }
-        case QUERYTYPE_NOT_SET: {
-          break;
-        }
+        case AGGREGATION_QUERY:
+          {
+            mergeAggregationQuery(other.getAggregationQuery());
+            break;
+          }
+        case GQL_QUERY:
+          {
+            mergeGqlQuery(other.getGqlQuery());
+            break;
+          }
+        case QUERYTYPE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -903,57 +998,56 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getReadOptionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getPartitionIdFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getAggregationQueryFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              queryTypeCase_ = 3;
-              break;
-            } // case 26
-            case 58: {
-              input.readMessage(
-                  getGqlQueryFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              queryTypeCase_ = 7;
-              break;
-            } // case 58
-            case 66: {
-              projectId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 66
-            case 74: {
-              databaseId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 74
-            case 90: {
-              input.readMessage(
-                  getExplainOptionsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 90
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getReadOptionsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getPartitionIdFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(
+                    getAggregationQueryFieldBuilder().getBuilder(), extensionRegistry);
+                queryTypeCase_ = 3;
+                break;
+              } // case 26
+            case 58:
+              {
+                input.readMessage(getGqlQueryFieldBuilder().getBuilder(), extensionRegistry);
+                queryTypeCase_ = 7;
+                break;
+              } // case 58
+            case 66:
+              {
+                projectId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 66
+            case 74:
+              {
+                databaseId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 74
+            case 90:
+              {
+                input.readMessage(getExplainOptionsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000040;
+                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) {
@@ -963,12 +1057,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() {
@@ -982,18 +1076,20 @@ public Builder clearQueryType() {
 
     private java.lang.Object projectId_ = "";
     /**
+     *
+     *
      * 
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -1002,20 +1098,21 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -1023,28 +1120,35 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -1054,17 +1158,21 @@ public Builder clearProjectId() { return this; } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -1074,6 +1182,8 @@ public Builder setProjectIdBytes( private java.lang.Object databaseId_ = ""; /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -1082,13 +1192,13 @@ public Builder setProjectIdBytes(
      * 
* * string database_id = 9; + * * @return The databaseId. */ public java.lang.String getDatabaseId() { java.lang.Object ref = databaseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; @@ -1097,6 +1207,8 @@ public java.lang.String getDatabaseId() { } } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -1105,15 +1217,14 @@ public java.lang.String getDatabaseId() {
      * 
* * string database_id = 9; + * * @return The bytes for databaseId. */ - public com.google.protobuf.ByteString - getDatabaseIdBytes() { + public com.google.protobuf.ByteString getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); databaseId_ = b; return b; } else { @@ -1121,6 +1232,8 @@ public java.lang.String getDatabaseId() { } } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -1129,18 +1242,22 @@ public java.lang.String getDatabaseId() {
      * 
* * string database_id = 9; + * * @param value The databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } databaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -1149,6 +1266,7 @@ public Builder setDatabaseId(
      * 
* * string database_id = 9; + * * @return This builder for chaining. */ public Builder clearDatabaseId() { @@ -1158,6 +1276,8 @@ public Builder clearDatabaseId() { return this; } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -1166,12 +1286,14 @@ public Builder clearDatabaseId() {
      * 
* * string database_id = 9; + * * @param value The bytes for databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); databaseId_ = value; bitField0_ |= 0x00000002; @@ -1181,8 +1303,13 @@ public Builder setDatabaseIdBytes( private com.google.datastore.v1.PartitionId partitionId_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PartitionId, com.google.datastore.v1.PartitionId.Builder, com.google.datastore.v1.PartitionIdOrBuilder> partitionIdBuilder_; + com.google.datastore.v1.PartitionId, + com.google.datastore.v1.PartitionId.Builder, + com.google.datastore.v1.PartitionIdOrBuilder> + partitionIdBuilder_; /** + * + * *
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1191,12 +1318,15 @@ public Builder setDatabaseIdBytes(
      * 
* * .google.datastore.v1.PartitionId partition_id = 2; + * * @return Whether the partitionId field is set. */ public boolean hasPartitionId() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1205,16 +1335,21 @@ public boolean hasPartitionId() {
      * 
* * .google.datastore.v1.PartitionId partition_id = 2; + * * @return The partitionId. */ public com.google.datastore.v1.PartitionId getPartitionId() { if (partitionIdBuilder_ == null) { - return partitionId_ == null ? com.google.datastore.v1.PartitionId.getDefaultInstance() : partitionId_; + return partitionId_ == null + ? com.google.datastore.v1.PartitionId.getDefaultInstance() + : partitionId_; } else { return partitionIdBuilder_.getMessage(); } } /** + * + * *
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1238,6 +1373,8 @@ public Builder setPartitionId(com.google.datastore.v1.PartitionId value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1247,8 +1384,7 @@ public Builder setPartitionId(com.google.datastore.v1.PartitionId value) {
      *
      * .google.datastore.v1.PartitionId partition_id = 2;
      */
-    public Builder setPartitionId(
-        com.google.datastore.v1.PartitionId.Builder builderForValue) {
+    public Builder setPartitionId(com.google.datastore.v1.PartitionId.Builder builderForValue) {
       if (partitionIdBuilder_ == null) {
         partitionId_ = builderForValue.build();
       } else {
@@ -1259,6 +1395,8 @@ public Builder setPartitionId(
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1270,9 +1408,9 @@ public Builder setPartitionId(
      */
     public Builder mergePartitionId(com.google.datastore.v1.PartitionId value) {
       if (partitionIdBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          partitionId_ != null &&
-          partitionId_ != com.google.datastore.v1.PartitionId.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && partitionId_ != null
+            && partitionId_ != com.google.datastore.v1.PartitionId.getDefaultInstance()) {
           getPartitionIdBuilder().mergeFrom(value);
         } else {
           partitionId_ = value;
@@ -1287,6 +1425,8 @@ public Builder mergePartitionId(com.google.datastore.v1.PartitionId value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1307,6 +1447,8 @@ public Builder clearPartitionId() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1322,6 +1464,8 @@ public com.google.datastore.v1.PartitionId.Builder getPartitionIdBuilder() {
       return getPartitionIdFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1335,11 +1479,14 @@ public com.google.datastore.v1.PartitionIdOrBuilder getPartitionIdOrBuilder() {
       if (partitionIdBuilder_ != null) {
         return partitionIdBuilder_.getMessageOrBuilder();
       } else {
-        return partitionId_ == null ?
-            com.google.datastore.v1.PartitionId.getDefaultInstance() : partitionId_;
+        return partitionId_ == null
+            ? com.google.datastore.v1.PartitionId.getDefaultInstance()
+            : partitionId_;
       }
     }
     /**
+     *
+     *
      * 
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1350,14 +1497,17 @@ public com.google.datastore.v1.PartitionIdOrBuilder getPartitionIdOrBuilder() {
      * .google.datastore.v1.PartitionId partition_id = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.v1.PartitionId, com.google.datastore.v1.PartitionId.Builder, com.google.datastore.v1.PartitionIdOrBuilder> 
+            com.google.datastore.v1.PartitionId,
+            com.google.datastore.v1.PartitionId.Builder,
+            com.google.datastore.v1.PartitionIdOrBuilder>
         getPartitionIdFieldBuilder() {
       if (partitionIdBuilder_ == null) {
-        partitionIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.PartitionId, com.google.datastore.v1.PartitionId.Builder, com.google.datastore.v1.PartitionIdOrBuilder>(
-                getPartitionId(),
-                getParentForChildren(),
-                isClean());
+        partitionIdBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.datastore.v1.PartitionId,
+                com.google.datastore.v1.PartitionId.Builder,
+                com.google.datastore.v1.PartitionIdOrBuilder>(
+                getPartitionId(), getParentForChildren(), isClean());
         partitionId_ = null;
       }
       return partitionIdBuilder_;
@@ -1365,34 +1515,47 @@ public com.google.datastore.v1.PartitionIdOrBuilder getPartitionIdOrBuilder() {
 
     private com.google.datastore.v1.ReadOptions readOptions_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.v1.ReadOptions, com.google.datastore.v1.ReadOptions.Builder, com.google.datastore.v1.ReadOptionsOrBuilder> readOptionsBuilder_;
+            com.google.datastore.v1.ReadOptions,
+            com.google.datastore.v1.ReadOptions.Builder,
+            com.google.datastore.v1.ReadOptionsOrBuilder>
+        readOptionsBuilder_;
     /**
+     *
+     *
      * 
      * The options for this query.
      * 
* * .google.datastore.v1.ReadOptions read_options = 1; + * * @return Whether the readOptions field is set. */ public boolean hasReadOptions() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * The options for this query.
      * 
* * .google.datastore.v1.ReadOptions read_options = 1; + * * @return The readOptions. */ public com.google.datastore.v1.ReadOptions getReadOptions() { if (readOptionsBuilder_ == null) { - return readOptions_ == null ? com.google.datastore.v1.ReadOptions.getDefaultInstance() : readOptions_; + return readOptions_ == null + ? com.google.datastore.v1.ReadOptions.getDefaultInstance() + : readOptions_; } else { return readOptionsBuilder_.getMessage(); } } /** + * + * *
      * The options for this query.
      * 
@@ -1413,14 +1576,15 @@ public Builder setReadOptions(com.google.datastore.v1.ReadOptions value) { return this; } /** + * + * *
      * The options for this query.
      * 
* * .google.datastore.v1.ReadOptions read_options = 1; */ - public Builder setReadOptions( - com.google.datastore.v1.ReadOptions.Builder builderForValue) { + public Builder setReadOptions(com.google.datastore.v1.ReadOptions.Builder builderForValue) { if (readOptionsBuilder_ == null) { readOptions_ = builderForValue.build(); } else { @@ -1431,6 +1595,8 @@ public Builder setReadOptions( return this; } /** + * + * *
      * The options for this query.
      * 
@@ -1439,9 +1605,9 @@ public Builder setReadOptions( */ public Builder mergeReadOptions(com.google.datastore.v1.ReadOptions value) { if (readOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - readOptions_ != null && - readOptions_ != com.google.datastore.v1.ReadOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && readOptions_ != null + && readOptions_ != com.google.datastore.v1.ReadOptions.getDefaultInstance()) { getReadOptionsBuilder().mergeFrom(value); } else { readOptions_ = value; @@ -1456,6 +1622,8 @@ public Builder mergeReadOptions(com.google.datastore.v1.ReadOptions value) { return this; } /** + * + * *
      * The options for this query.
      * 
@@ -1473,6 +1641,8 @@ public Builder clearReadOptions() { return this; } /** + * + * *
      * The options for this query.
      * 
@@ -1485,6 +1655,8 @@ public com.google.datastore.v1.ReadOptions.Builder getReadOptionsBuilder() { return getReadOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * The options for this query.
      * 
@@ -1495,11 +1667,14 @@ public com.google.datastore.v1.ReadOptionsOrBuilder getReadOptionsOrBuilder() { if (readOptionsBuilder_ != null) { return readOptionsBuilder_.getMessageOrBuilder(); } else { - return readOptions_ == null ? - com.google.datastore.v1.ReadOptions.getDefaultInstance() : readOptions_; + return readOptions_ == null + ? com.google.datastore.v1.ReadOptions.getDefaultInstance() + : readOptions_; } } /** + * + * *
      * The options for this query.
      * 
@@ -1507,27 +1682,36 @@ public com.google.datastore.v1.ReadOptionsOrBuilder getReadOptionsOrBuilder() { * .google.datastore.v1.ReadOptions read_options = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ReadOptions, com.google.datastore.v1.ReadOptions.Builder, com.google.datastore.v1.ReadOptionsOrBuilder> + com.google.datastore.v1.ReadOptions, + com.google.datastore.v1.ReadOptions.Builder, + com.google.datastore.v1.ReadOptionsOrBuilder> getReadOptionsFieldBuilder() { if (readOptionsBuilder_ == null) { - readOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ReadOptions, com.google.datastore.v1.ReadOptions.Builder, com.google.datastore.v1.ReadOptionsOrBuilder>( - getReadOptions(), - getParentForChildren(), - isClean()); + readOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.ReadOptions, + com.google.datastore.v1.ReadOptions.Builder, + com.google.datastore.v1.ReadOptionsOrBuilder>( + getReadOptions(), getParentForChildren(), isClean()); readOptions_ = null; } return readOptionsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationQuery, com.google.datastore.v1.AggregationQuery.Builder, com.google.datastore.v1.AggregationQueryOrBuilder> aggregationQueryBuilder_; + com.google.datastore.v1.AggregationQuery, + com.google.datastore.v1.AggregationQuery.Builder, + com.google.datastore.v1.AggregationQueryOrBuilder> + aggregationQueryBuilder_; /** + * + * *
      * The query to run.
      * 
* * .google.datastore.v1.AggregationQuery aggregation_query = 3; + * * @return Whether the aggregationQuery field is set. */ @java.lang.Override @@ -1535,11 +1719,14 @@ public boolean hasAggregationQuery() { return queryTypeCase_ == 3; } /** + * + * *
      * The query to run.
      * 
* * .google.datastore.v1.AggregationQuery aggregation_query = 3; + * * @return The aggregationQuery. */ @java.lang.Override @@ -1557,6 +1744,8 @@ public com.google.datastore.v1.AggregationQuery getAggregationQuery() { } } /** + * + * *
      * The query to run.
      * 
@@ -1577,6 +1766,8 @@ public Builder setAggregationQuery(com.google.datastore.v1.AggregationQuery valu return this; } /** + * + * *
      * The query to run.
      * 
@@ -1595,6 +1786,8 @@ public Builder setAggregationQuery( return this; } /** + * + * *
      * The query to run.
      * 
@@ -1603,10 +1796,13 @@ public Builder setAggregationQuery( */ public Builder mergeAggregationQuery(com.google.datastore.v1.AggregationQuery value) { if (aggregationQueryBuilder_ == null) { - if (queryTypeCase_ == 3 && - queryType_ != com.google.datastore.v1.AggregationQuery.getDefaultInstance()) { - queryType_ = com.google.datastore.v1.AggregationQuery.newBuilder((com.google.datastore.v1.AggregationQuery) queryType_) - .mergeFrom(value).buildPartial(); + if (queryTypeCase_ == 3 + && queryType_ != com.google.datastore.v1.AggregationQuery.getDefaultInstance()) { + queryType_ = + com.google.datastore.v1.AggregationQuery.newBuilder( + (com.google.datastore.v1.AggregationQuery) queryType_) + .mergeFrom(value) + .buildPartial(); } else { queryType_ = value; } @@ -1622,6 +1818,8 @@ public Builder mergeAggregationQuery(com.google.datastore.v1.AggregationQuery va return this; } /** + * + * *
      * The query to run.
      * 
@@ -1645,6 +1843,8 @@ public Builder clearAggregationQuery() { return this; } /** + * + * *
      * The query to run.
      * 
@@ -1655,6 +1855,8 @@ public com.google.datastore.v1.AggregationQuery.Builder getAggregationQueryBuild return getAggregationQueryFieldBuilder().getBuilder(); } /** + * + * *
      * The query to run.
      * 
@@ -1673,6 +1875,8 @@ public com.google.datastore.v1.AggregationQueryOrBuilder getAggregationQueryOrBu } } /** + * + * *
      * The query to run.
      * 
@@ -1680,14 +1884,19 @@ public com.google.datastore.v1.AggregationQueryOrBuilder getAggregationQueryOrBu * .google.datastore.v1.AggregationQuery aggregation_query = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationQuery, com.google.datastore.v1.AggregationQuery.Builder, com.google.datastore.v1.AggregationQueryOrBuilder> + com.google.datastore.v1.AggregationQuery, + com.google.datastore.v1.AggregationQuery.Builder, + com.google.datastore.v1.AggregationQueryOrBuilder> getAggregationQueryFieldBuilder() { if (aggregationQueryBuilder_ == null) { if (!(queryTypeCase_ == 3)) { queryType_ = com.google.datastore.v1.AggregationQuery.getDefaultInstance(); } - aggregationQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationQuery, com.google.datastore.v1.AggregationQuery.Builder, com.google.datastore.v1.AggregationQueryOrBuilder>( + aggregationQueryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.AggregationQuery, + com.google.datastore.v1.AggregationQuery.Builder, + com.google.datastore.v1.AggregationQueryOrBuilder>( (com.google.datastore.v1.AggregationQuery) queryType_, getParentForChildren(), isClean()); @@ -1699,13 +1908,19 @@ public com.google.datastore.v1.AggregationQueryOrBuilder getAggregationQueryOrBu } private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.GqlQuery, com.google.datastore.v1.GqlQuery.Builder, com.google.datastore.v1.GqlQueryOrBuilder> gqlQueryBuilder_; + com.google.datastore.v1.GqlQuery, + com.google.datastore.v1.GqlQuery.Builder, + com.google.datastore.v1.GqlQueryOrBuilder> + gqlQueryBuilder_; /** + * + * *
      * The GQL query to run. This query must be an aggregation query.
      * 
* * .google.datastore.v1.GqlQuery gql_query = 7; + * * @return Whether the gqlQuery field is set. */ @java.lang.Override @@ -1713,11 +1928,14 @@ public boolean hasGqlQuery() { return queryTypeCase_ == 7; } /** + * + * *
      * The GQL query to run. This query must be an aggregation query.
      * 
* * .google.datastore.v1.GqlQuery gql_query = 7; + * * @return The gqlQuery. */ @java.lang.Override @@ -1735,6 +1953,8 @@ public com.google.datastore.v1.GqlQuery getGqlQuery() { } } /** + * + * *
      * The GQL query to run. This query must be an aggregation query.
      * 
@@ -1755,14 +1975,15 @@ public Builder setGqlQuery(com.google.datastore.v1.GqlQuery value) { return this; } /** + * + * *
      * The GQL query to run. This query must be an aggregation query.
      * 
* * .google.datastore.v1.GqlQuery gql_query = 7; */ - public Builder setGqlQuery( - com.google.datastore.v1.GqlQuery.Builder builderForValue) { + public Builder setGqlQuery(com.google.datastore.v1.GqlQuery.Builder builderForValue) { if (gqlQueryBuilder_ == null) { queryType_ = builderForValue.build(); onChanged(); @@ -1773,6 +1994,8 @@ public Builder setGqlQuery( return this; } /** + * + * *
      * The GQL query to run. This query must be an aggregation query.
      * 
@@ -1781,10 +2004,13 @@ public Builder setGqlQuery( */ public Builder mergeGqlQuery(com.google.datastore.v1.GqlQuery value) { if (gqlQueryBuilder_ == null) { - if (queryTypeCase_ == 7 && - queryType_ != com.google.datastore.v1.GqlQuery.getDefaultInstance()) { - queryType_ = com.google.datastore.v1.GqlQuery.newBuilder((com.google.datastore.v1.GqlQuery) queryType_) - .mergeFrom(value).buildPartial(); + if (queryTypeCase_ == 7 + && queryType_ != com.google.datastore.v1.GqlQuery.getDefaultInstance()) { + queryType_ = + com.google.datastore.v1.GqlQuery.newBuilder( + (com.google.datastore.v1.GqlQuery) queryType_) + .mergeFrom(value) + .buildPartial(); } else { queryType_ = value; } @@ -1800,6 +2026,8 @@ public Builder mergeGqlQuery(com.google.datastore.v1.GqlQuery value) { return this; } /** + * + * *
      * The GQL query to run. This query must be an aggregation query.
      * 
@@ -1823,6 +2051,8 @@ public Builder clearGqlQuery() { return this; } /** + * + * *
      * The GQL query to run. This query must be an aggregation query.
      * 
@@ -1833,6 +2063,8 @@ public com.google.datastore.v1.GqlQuery.Builder getGqlQueryBuilder() { return getGqlQueryFieldBuilder().getBuilder(); } /** + * + * *
      * The GQL query to run. This query must be an aggregation query.
      * 
@@ -1851,6 +2083,8 @@ public com.google.datastore.v1.GqlQueryOrBuilder getGqlQueryOrBuilder() { } } /** + * + * *
      * The GQL query to run. This query must be an aggregation query.
      * 
@@ -1858,17 +2092,20 @@ public com.google.datastore.v1.GqlQueryOrBuilder getGqlQueryOrBuilder() { * .google.datastore.v1.GqlQuery gql_query = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.GqlQuery, com.google.datastore.v1.GqlQuery.Builder, com.google.datastore.v1.GqlQueryOrBuilder> + com.google.datastore.v1.GqlQuery, + com.google.datastore.v1.GqlQuery.Builder, + com.google.datastore.v1.GqlQueryOrBuilder> getGqlQueryFieldBuilder() { if (gqlQueryBuilder_ == null) { if (!(queryTypeCase_ == 7)) { queryType_ = com.google.datastore.v1.GqlQuery.getDefaultInstance(); } - gqlQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.GqlQuery, com.google.datastore.v1.GqlQuery.Builder, com.google.datastore.v1.GqlQueryOrBuilder>( - (com.google.datastore.v1.GqlQuery) queryType_, - getParentForChildren(), - isClean()); + gqlQueryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.GqlQuery, + com.google.datastore.v1.GqlQuery.Builder, + com.google.datastore.v1.GqlQueryOrBuilder>( + (com.google.datastore.v1.GqlQuery) queryType_, getParentForChildren(), isClean()); queryType_ = null; } queryTypeCase_ = 7; @@ -1878,42 +2115,61 @@ public com.google.datastore.v1.GqlQueryOrBuilder getGqlQueryOrBuilder() { private com.google.datastore.v1.ExplainOptions explainOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ExplainOptions, com.google.datastore.v1.ExplainOptions.Builder, com.google.datastore.v1.ExplainOptionsOrBuilder> explainOptionsBuilder_; + com.google.datastore.v1.ExplainOptions, + com.google.datastore.v1.ExplainOptions.Builder, + com.google.datastore.v1.ExplainOptionsOrBuilder> + explainOptionsBuilder_; /** + * + * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the explainOptions field is set. */ public boolean hasExplainOptions() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The explainOptions. */ public com.google.datastore.v1.ExplainOptions getExplainOptions() { if (explainOptionsBuilder_ == null) { - return explainOptions_ == null ? com.google.datastore.v1.ExplainOptions.getDefaultInstance() : explainOptions_; + return explainOptions_ == null + ? com.google.datastore.v1.ExplainOptions.getDefaultInstance() + : explainOptions_; } else { return explainOptionsBuilder_.getMessage(); } } /** + * + * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setExplainOptions(com.google.datastore.v1.ExplainOptions value) { if (explainOptionsBuilder_ == null) { @@ -1929,12 +2185,16 @@ public Builder setExplainOptions(com.google.datastore.v1.ExplainOptions value) { return this; } /** + * + * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setExplainOptions( com.google.datastore.v1.ExplainOptions.Builder builderForValue) { @@ -1948,18 +2208,22 @@ public Builder setExplainOptions( return this; } /** + * + * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeExplainOptions(com.google.datastore.v1.ExplainOptions value) { if (explainOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - explainOptions_ != null && - explainOptions_ != com.google.datastore.v1.ExplainOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && explainOptions_ != null + && explainOptions_ != com.google.datastore.v1.ExplainOptions.getDefaultInstance()) { getExplainOptionsBuilder().mergeFrom(value); } else { explainOptions_ = value; @@ -1974,12 +2238,16 @@ public Builder mergeExplainOptions(com.google.datastore.v1.ExplainOptions value) return this; } /** + * + * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearExplainOptions() { bitField0_ = (bitField0_ & ~0x00000040); @@ -1992,12 +2260,16 @@ public Builder clearExplainOptions() { return this; } /** + * + * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.datastore.v1.ExplainOptions.Builder getExplainOptionsBuilder() { bitField0_ |= 0x00000040; @@ -2005,45 +2277,57 @@ public com.google.datastore.v1.ExplainOptions.Builder getExplainOptionsBuilder() return getExplainOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.datastore.v1.ExplainOptionsOrBuilder getExplainOptionsOrBuilder() { if (explainOptionsBuilder_ != null) { return explainOptionsBuilder_.getMessageOrBuilder(); } else { - return explainOptions_ == null ? - com.google.datastore.v1.ExplainOptions.getDefaultInstance() : explainOptions_; + return explainOptions_ == null + ? com.google.datastore.v1.ExplainOptions.getDefaultInstance() + : explainOptions_; } } /** + * + * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ExplainOptions, com.google.datastore.v1.ExplainOptions.Builder, com.google.datastore.v1.ExplainOptionsOrBuilder> + com.google.datastore.v1.ExplainOptions, + com.google.datastore.v1.ExplainOptions.Builder, + com.google.datastore.v1.ExplainOptionsOrBuilder> getExplainOptionsFieldBuilder() { if (explainOptionsBuilder_ == null) { - explainOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ExplainOptions, com.google.datastore.v1.ExplainOptions.Builder, com.google.datastore.v1.ExplainOptionsOrBuilder>( - getExplainOptions(), - getParentForChildren(), - isClean()); + explainOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.ExplainOptions, + com.google.datastore.v1.ExplainOptions.Builder, + com.google.datastore.v1.ExplainOptionsOrBuilder>( + getExplainOptions(), getParentForChildren(), isClean()); explainOptions_ = null; } return explainOptionsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2053,12 +2337,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.v1.RunAggregationQueryRequest) } // @@protoc_insertion_point(class_scope:google.datastore.v1.RunAggregationQueryRequest) private static final com.google.datastore.v1.RunAggregationQueryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.v1.RunAggregationQueryRequest(); } @@ -2067,27 +2351,27 @@ public static com.google.datastore.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; @@ -2102,6 +2386,4 @@ public com.google.protobuf.Parser getParserForType() public com.google.datastore.v1.RunAggregationQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryRequestOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryRequestOrBuilder.java similarity index 79% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryRequestOrBuilder.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryRequestOrBuilder.java index 50d326a7c..cde16b816 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryRequestOrBuilder.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryRequestOrBuilder.java @@ -1,34 +1,57 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface RunAggregationQueryRequestOrBuilder extends +public interface RunAggregationQueryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.RunAggregationQueryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -37,10 +60,13 @@ public interface RunAggregationQueryRequestOrBuilder extends
    * 
* * string database_id = 9; + * * @return The databaseId. */ java.lang.String getDatabaseId(); /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -49,12 +75,14 @@ public interface RunAggregationQueryRequestOrBuilder extends
    * 
* * string database_id = 9; + * * @return The bytes for databaseId. */ - com.google.protobuf.ByteString - getDatabaseIdBytes(); + com.google.protobuf.ByteString getDatabaseIdBytes(); /** + * + * *
    * Entities are partitioned into subsets, identified by a partition ID.
    * Queries are scoped to a single partition.
@@ -63,10 +91,13 @@ public interface RunAggregationQueryRequestOrBuilder extends
    * 
* * .google.datastore.v1.PartitionId partition_id = 2; + * * @return Whether the partitionId field is set. */ boolean hasPartitionId(); /** + * + * *
    * Entities are partitioned into subsets, identified by a partition ID.
    * Queries are scoped to a single partition.
@@ -75,10 +106,13 @@ public interface RunAggregationQueryRequestOrBuilder extends
    * 
* * .google.datastore.v1.PartitionId partition_id = 2; + * * @return The partitionId. */ com.google.datastore.v1.PartitionId getPartitionId(); /** + * + * *
    * Entities are partitioned into subsets, identified by a partition ID.
    * Queries are scoped to a single partition.
@@ -91,24 +125,32 @@ public interface RunAggregationQueryRequestOrBuilder extends
   com.google.datastore.v1.PartitionIdOrBuilder getPartitionIdOrBuilder();
 
   /**
+   *
+   *
    * 
    * The options for this query.
    * 
* * .google.datastore.v1.ReadOptions read_options = 1; + * * @return Whether the readOptions field is set. */ boolean hasReadOptions(); /** + * + * *
    * The options for this query.
    * 
* * .google.datastore.v1.ReadOptions read_options = 1; + * * @return The readOptions. */ com.google.datastore.v1.ReadOptions getReadOptions(); /** + * + * *
    * The options for this query.
    * 
@@ -118,24 +160,32 @@ public interface RunAggregationQueryRequestOrBuilder extends com.google.datastore.v1.ReadOptionsOrBuilder getReadOptionsOrBuilder(); /** + * + * *
    * The query to run.
    * 
* * .google.datastore.v1.AggregationQuery aggregation_query = 3; + * * @return Whether the aggregationQuery field is set. */ boolean hasAggregationQuery(); /** + * + * *
    * The query to run.
    * 
* * .google.datastore.v1.AggregationQuery aggregation_query = 3; + * * @return The aggregationQuery. */ com.google.datastore.v1.AggregationQuery getAggregationQuery(); /** + * + * *
    * The query to run.
    * 
@@ -145,24 +195,32 @@ public interface RunAggregationQueryRequestOrBuilder extends com.google.datastore.v1.AggregationQueryOrBuilder getAggregationQueryOrBuilder(); /** + * + * *
    * The GQL query to run. This query must be an aggregation query.
    * 
* * .google.datastore.v1.GqlQuery gql_query = 7; + * * @return Whether the gqlQuery field is set. */ boolean hasGqlQuery(); /** + * + * *
    * The GQL query to run. This query must be an aggregation query.
    * 
* * .google.datastore.v1.GqlQuery gql_query = 7; + * * @return The gqlQuery. */ com.google.datastore.v1.GqlQuery getGqlQuery(); /** + * + * *
    * The GQL query to run. This query must be an aggregation query.
    * 
@@ -172,32 +230,46 @@ public interface RunAggregationQueryRequestOrBuilder extends com.google.datastore.v1.GqlQueryOrBuilder getGqlQueryOrBuilder(); /** + * + * *
    * Optional. Explain options for the query. If set, additional query
    * statistics will be returned. If not, only query results will be returned.
    * 
* - * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the explainOptions field is set. */ boolean hasExplainOptions(); /** + * + * *
    * Optional. Explain options for the query. If set, additional query
    * statistics will be returned. If not, only query results will be returned.
    * 
* - * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The explainOptions. */ com.google.datastore.v1.ExplainOptions getExplainOptions(); /** + * + * *
    * Optional. Explain options for the query. If set, additional query
    * statistics will be returned. If not, only query results will be returned.
    * 
* - * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.datastore.v1.ExplainOptions explain_options = 11 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.datastore.v1.ExplainOptionsOrBuilder getExplainOptionsOrBuilder(); diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryResponse.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryResponse.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryResponse.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryResponse.java index 6d16ddda0..9165ba575 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryResponse.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryResponse.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto @@ -5,6 +20,8 @@ package com.google.datastore.v1; /** + * + * *
  * The response for
  * [Datastore.RunAggregationQuery][google.datastore.v1.Datastore.RunAggregationQuery].
@@ -12,48 +29,53 @@
  *
  * Protobuf type {@code google.datastore.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.datastore.v1.RunAggregationQueryResponse)
     RunAggregationQueryResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RunAggregationQueryResponse.newBuilder() to construct.
   private RunAggregationQueryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RunAggregationQueryResponse() {
     transaction_ = com.google.protobuf.ByteString.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RunAggregationQueryResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunAggregationQueryResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.datastore.v1.DatastoreProto
+        .internal_static_google_datastore_v1_RunAggregationQueryResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunAggregationQueryResponse_fieldAccessorTable
+    return com.google.datastore.v1.DatastoreProto
+        .internal_static_google_datastore_v1_RunAggregationQueryResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.v1.RunAggregationQueryResponse.class, com.google.datastore.v1.RunAggregationQueryResponse.Builder.class);
+            com.google.datastore.v1.RunAggregationQueryResponse.class,
+            com.google.datastore.v1.RunAggregationQueryResponse.Builder.class);
   }
 
   private int bitField0_;
   public static final int BATCH_FIELD_NUMBER = 1;
   private com.google.datastore.v1.AggregationResultBatch batch_;
   /**
+   *
+   *
    * 
    * A batch of aggregation results. Always present.
    * 
* * .google.datastore.v1.AggregationResultBatch batch = 1; + * * @return Whether the batch field is set. */ @java.lang.Override @@ -61,18 +83,25 @@ public boolean hasBatch() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * A batch of aggregation results. Always present.
    * 
* * .google.datastore.v1.AggregationResultBatch batch = 1; + * * @return The batch. */ @java.lang.Override public com.google.datastore.v1.AggregationResultBatch getBatch() { - return batch_ == null ? com.google.datastore.v1.AggregationResultBatch.getDefaultInstance() : batch_; + return batch_ == null + ? com.google.datastore.v1.AggregationResultBatch.getDefaultInstance() + : batch_; } /** + * + * *
    * A batch of aggregation results. Always present.
    * 
@@ -81,17 +110,22 @@ public com.google.datastore.v1.AggregationResultBatch getBatch() { */ @java.lang.Override public com.google.datastore.v1.AggregationResultBatchOrBuilder getBatchOrBuilder() { - return batch_ == null ? com.google.datastore.v1.AggregationResultBatch.getDefaultInstance() : batch_; + return batch_ == null + ? com.google.datastore.v1.AggregationResultBatch.getDefaultInstance() + : batch_; } public static final int QUERY_FIELD_NUMBER = 2; private com.google.datastore.v1.AggregationQuery query_; /** + * + * *
    * The parsed form of the `GqlQuery` from the request, if it was set.
    * 
* * .google.datastore.v1.AggregationQuery query = 2; + * * @return Whether the query field is set. */ @java.lang.Override @@ -99,11 +133,14 @@ public boolean hasQuery() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * The parsed form of the `GqlQuery` from the request, if it was set.
    * 
* * .google.datastore.v1.AggregationQuery query = 2; + * * @return The query. */ @java.lang.Override @@ -111,6 +148,8 @@ public com.google.datastore.v1.AggregationQuery getQuery() { return query_ == null ? com.google.datastore.v1.AggregationQuery.getDefaultInstance() : query_; } /** + * + * *
    * The parsed form of the `GqlQuery` from the request, if it was set.
    * 
@@ -125,6 +164,8 @@ public com.google.datastore.v1.AggregationQueryOrBuilder getQueryOrBuilder() { public static final int TRANSACTION_FIELD_NUMBER = 5; private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
    * The identifier of the transaction that was started as part of this
    * RunAggregationQuery request.
@@ -136,6 +177,7 @@ public com.google.datastore.v1.AggregationQueryOrBuilder getQueryOrBuilder() {
    * 
* * bytes transaction = 5; + * * @return The transaction. */ @java.lang.Override @@ -146,6 +188,8 @@ public com.google.protobuf.ByteString getTransaction() { public static final int EXPLAIN_METRICS_FIELD_NUMBER = 9; private com.google.datastore.v1.ExplainMetrics explainMetrics_; /** + * + * *
    * Query explain metrics. This is only present when the
    * [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
@@ -153,6 +197,7 @@ public com.google.protobuf.ByteString getTransaction() {
    * 
* * .google.datastore.v1.ExplainMetrics explain_metrics = 9; + * * @return Whether the explainMetrics field is set. */ @java.lang.Override @@ -160,6 +205,8 @@ public boolean hasExplainMetrics() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
    * Query explain metrics. This is only present when the
    * [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
@@ -167,13 +214,18 @@ public boolean hasExplainMetrics() {
    * 
* * .google.datastore.v1.ExplainMetrics explain_metrics = 9; + * * @return The explainMetrics. */ @java.lang.Override public com.google.datastore.v1.ExplainMetrics getExplainMetrics() { - return explainMetrics_ == null ? com.google.datastore.v1.ExplainMetrics.getDefaultInstance() : explainMetrics_; + return explainMetrics_ == null + ? com.google.datastore.v1.ExplainMetrics.getDefaultInstance() + : explainMetrics_; } /** + * + * *
    * Query explain metrics. This is only present when the
    * [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
@@ -184,10 +236,13 @@ public com.google.datastore.v1.ExplainMetrics getExplainMetrics() {
    */
   @java.lang.Override
   public com.google.datastore.v1.ExplainMetricsOrBuilder getExplainMetricsOrBuilder() {
-    return explainMetrics_ == null ? com.google.datastore.v1.ExplainMetrics.getDefaultInstance() : explainMetrics_;
+    return explainMetrics_ == null
+        ? com.google.datastore.v1.ExplainMetrics.getDefaultInstance()
+        : explainMetrics_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -199,8 +254,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 (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(1, getBatch());
     }
@@ -223,20 +277,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getBatch());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBatch());
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getQuery());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getQuery());
     }
     if (!transaction_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(5, transaction_);
+      size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, transaction_);
     }
     if (((bitField0_ & 0x00000004) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(9, getExplainMetrics());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getExplainMetrics());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -246,29 +296,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.datastore.v1.RunAggregationQueryResponse)) {
       return super.equals(obj);
     }
-    com.google.datastore.v1.RunAggregationQueryResponse other = (com.google.datastore.v1.RunAggregationQueryResponse) obj;
+    com.google.datastore.v1.RunAggregationQueryResponse other =
+        (com.google.datastore.v1.RunAggregationQueryResponse) obj;
 
     if (hasBatch() != other.hasBatch()) return false;
     if (hasBatch()) {
-      if (!getBatch()
-          .equals(other.getBatch())) return false;
+      if (!getBatch().equals(other.getBatch())) return false;
     }
     if (hasQuery() != other.hasQuery()) return false;
     if (hasQuery()) {
-      if (!getQuery()
-          .equals(other.getQuery())) return false;
+      if (!getQuery().equals(other.getQuery())) return false;
     }
-    if (!getTransaction()
-        .equals(other.getTransaction())) return false;
+    if (!getTransaction().equals(other.getTransaction())) return false;
     if (hasExplainMetrics() != other.hasExplainMetrics()) return false;
     if (hasExplainMetrics()) {
-      if (!getExplainMetrics()
-          .equals(other.getExplainMetrics())) return false;
+      if (!getExplainMetrics().equals(other.getExplainMetrics())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -301,98 +348,103 @@ public int hashCode() {
   }
 
   public static com.google.datastore.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.datastore.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.datastore.v1.RunAggregationQueryResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.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.datastore.v1.RunAggregationQueryResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.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.datastore.v1.RunAggregationQueryResponse parseFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseWithIOException(PARSER, input);
+
+  public static com.google.datastore.v1.RunAggregationQueryResponse parseFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
   }
+
   public static com.google.datastore.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.datastore.v1.RunAggregationQueryResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.datastore.v1.RunAggregationQueryResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.datastore.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.datastore.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.datastore.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.datastore.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
    * [Datastore.RunAggregationQuery][google.datastore.v1.Datastore.RunAggregationQuery].
@@ -400,21 +452,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.datastore.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.datastore.v1.RunAggregationQueryResponse)
       com.google.datastore.v1.RunAggregationQueryResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunAggregationQueryResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_RunAggregationQueryResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunAggregationQueryResponse_fieldAccessorTable
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_RunAggregationQueryResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.RunAggregationQueryResponse.class, com.google.datastore.v1.RunAggregationQueryResponse.Builder.class);
+              com.google.datastore.v1.RunAggregationQueryResponse.class,
+              com.google.datastore.v1.RunAggregationQueryResponse.Builder.class);
     }
 
     // Construct using com.google.datastore.v1.RunAggregationQueryResponse.newBuilder()
@@ -422,19 +476,19 @@ 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) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getBatchFieldBuilder();
         getQueryFieldBuilder();
         getExplainMetricsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -459,9 +513,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunAggregationQueryResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_RunAggregationQueryResponse_descriptor;
     }
 
     @java.lang.Override
@@ -480,8 +534,11 @@ public com.google.datastore.v1.RunAggregationQueryResponse build() {
 
     @java.lang.Override
     public com.google.datastore.v1.RunAggregationQueryResponse buildPartial() {
-      com.google.datastore.v1.RunAggregationQueryResponse result = new com.google.datastore.v1.RunAggregationQueryResponse(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.datastore.v1.RunAggregationQueryResponse result =
+          new com.google.datastore.v1.RunAggregationQueryResponse(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -490,24 +547,19 @@ private void buildPartial0(com.google.datastore.v1.RunAggregationQueryResponse r
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.batch_ = batchBuilder_ == null
-            ? batch_
-            : batchBuilder_.build();
+        result.batch_ = batchBuilder_ == null ? batch_ : batchBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.query_ = queryBuilder_ == null
-            ? query_
-            : queryBuilder_.build();
+        result.query_ = queryBuilder_ == null ? query_ : queryBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.transaction_ = transaction_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.explainMetrics_ = explainMetricsBuilder_ == null
-            ? explainMetrics_
-            : explainMetricsBuilder_.build();
+        result.explainMetrics_ =
+            explainMetricsBuilder_ == null ? explainMetrics_ : explainMetricsBuilder_.build();
         to_bitField0_ |= 0x00000004;
       }
       result.bitField0_ |= to_bitField0_;
@@ -517,38 +569,39 @@ private void buildPartial0(com.google.datastore.v1.RunAggregationQueryResponse r
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.RunAggregationQueryResponse) {
-        return mergeFrom((com.google.datastore.v1.RunAggregationQueryResponse)other);
+        return mergeFrom((com.google.datastore.v1.RunAggregationQueryResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -556,7 +609,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.datastore.v1.RunAggregationQueryResponse other) {
-      if (other == com.google.datastore.v1.RunAggregationQueryResponse.getDefaultInstance()) return this;
+      if (other == com.google.datastore.v1.RunAggregationQueryResponse.getDefaultInstance())
+        return this;
       if (other.hasBatch()) {
         mergeBatch(other.getBatch());
       }
@@ -595,38 +649,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getBatchFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getQueryFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 42: {
-              transaction_ = input.readBytes();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 42
-            case 74: {
-              input.readMessage(
-                  getExplainMetricsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 74
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getBatchFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getQueryFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 42:
+              {
+                transaction_ = input.readBytes();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 42
+            case 74:
+              {
+                input.readMessage(getExplainMetricsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 74
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -636,38 +689,52 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.datastore.v1.AggregationResultBatch batch_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.v1.AggregationResultBatch, com.google.datastore.v1.AggregationResultBatch.Builder, com.google.datastore.v1.AggregationResultBatchOrBuilder> batchBuilder_;
+            com.google.datastore.v1.AggregationResultBatch,
+            com.google.datastore.v1.AggregationResultBatch.Builder,
+            com.google.datastore.v1.AggregationResultBatchOrBuilder>
+        batchBuilder_;
     /**
+     *
+     *
      * 
      * A batch of aggregation results. Always present.
      * 
* * .google.datastore.v1.AggregationResultBatch batch = 1; + * * @return Whether the batch field is set. */ public boolean hasBatch() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * A batch of aggregation results. Always present.
      * 
* * .google.datastore.v1.AggregationResultBatch batch = 1; + * * @return The batch. */ public com.google.datastore.v1.AggregationResultBatch getBatch() { if (batchBuilder_ == null) { - return batch_ == null ? com.google.datastore.v1.AggregationResultBatch.getDefaultInstance() : batch_; + return batch_ == null + ? com.google.datastore.v1.AggregationResultBatch.getDefaultInstance() + : batch_; } else { return batchBuilder_.getMessage(); } } /** + * + * *
      * A batch of aggregation results. Always present.
      * 
@@ -688,6 +755,8 @@ public Builder setBatch(com.google.datastore.v1.AggregationResultBatch value) { return this; } /** + * + * *
      * A batch of aggregation results. Always present.
      * 
@@ -706,6 +775,8 @@ public Builder setBatch( return this; } /** + * + * *
      * A batch of aggregation results. Always present.
      * 
@@ -714,9 +785,9 @@ public Builder setBatch( */ public Builder mergeBatch(com.google.datastore.v1.AggregationResultBatch value) { if (batchBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - batch_ != null && - batch_ != com.google.datastore.v1.AggregationResultBatch.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && batch_ != null + && batch_ != com.google.datastore.v1.AggregationResultBatch.getDefaultInstance()) { getBatchBuilder().mergeFrom(value); } else { batch_ = value; @@ -731,6 +802,8 @@ public Builder mergeBatch(com.google.datastore.v1.AggregationResultBatch value) return this; } /** + * + * *
      * A batch of aggregation results. Always present.
      * 
@@ -748,6 +821,8 @@ public Builder clearBatch() { return this; } /** + * + * *
      * A batch of aggregation results. Always present.
      * 
@@ -760,6 +835,8 @@ public com.google.datastore.v1.AggregationResultBatch.Builder getBatchBuilder() return getBatchFieldBuilder().getBuilder(); } /** + * + * *
      * A batch of aggregation results. Always present.
      * 
@@ -770,11 +847,14 @@ public com.google.datastore.v1.AggregationResultBatchOrBuilder getBatchOrBuilder if (batchBuilder_ != null) { return batchBuilder_.getMessageOrBuilder(); } else { - return batch_ == null ? - com.google.datastore.v1.AggregationResultBatch.getDefaultInstance() : batch_; + return batch_ == null + ? com.google.datastore.v1.AggregationResultBatch.getDefaultInstance() + : batch_; } } /** + * + * *
      * A batch of aggregation results. Always present.
      * 
@@ -782,14 +862,17 @@ public com.google.datastore.v1.AggregationResultBatchOrBuilder getBatchOrBuilder * .google.datastore.v1.AggregationResultBatch batch = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationResultBatch, com.google.datastore.v1.AggregationResultBatch.Builder, com.google.datastore.v1.AggregationResultBatchOrBuilder> + com.google.datastore.v1.AggregationResultBatch, + com.google.datastore.v1.AggregationResultBatch.Builder, + com.google.datastore.v1.AggregationResultBatchOrBuilder> getBatchFieldBuilder() { if (batchBuilder_ == null) { - batchBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationResultBatch, com.google.datastore.v1.AggregationResultBatch.Builder, com.google.datastore.v1.AggregationResultBatchOrBuilder>( - getBatch(), - getParentForChildren(), - isClean()); + batchBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.AggregationResultBatch, + com.google.datastore.v1.AggregationResultBatch.Builder, + com.google.datastore.v1.AggregationResultBatchOrBuilder>( + getBatch(), getParentForChildren(), isClean()); batch_ = null; } return batchBuilder_; @@ -797,34 +880,47 @@ public com.google.datastore.v1.AggregationResultBatchOrBuilder getBatchOrBuilder private com.google.datastore.v1.AggregationQuery query_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationQuery, com.google.datastore.v1.AggregationQuery.Builder, com.google.datastore.v1.AggregationQueryOrBuilder> queryBuilder_; + com.google.datastore.v1.AggregationQuery, + com.google.datastore.v1.AggregationQuery.Builder, + com.google.datastore.v1.AggregationQueryOrBuilder> + queryBuilder_; /** + * + * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
* * .google.datastore.v1.AggregationQuery query = 2; + * * @return Whether the query field is set. */ public boolean hasQuery() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
* * .google.datastore.v1.AggregationQuery query = 2; + * * @return The query. */ public com.google.datastore.v1.AggregationQuery getQuery() { if (queryBuilder_ == null) { - return query_ == null ? com.google.datastore.v1.AggregationQuery.getDefaultInstance() : query_; + return query_ == null + ? com.google.datastore.v1.AggregationQuery.getDefaultInstance() + : query_; } else { return queryBuilder_.getMessage(); } } /** + * + * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
@@ -845,14 +941,15 @@ public Builder setQuery(com.google.datastore.v1.AggregationQuery value) { return this; } /** + * + * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
* * .google.datastore.v1.AggregationQuery query = 2; */ - public Builder setQuery( - com.google.datastore.v1.AggregationQuery.Builder builderForValue) { + public Builder setQuery(com.google.datastore.v1.AggregationQuery.Builder builderForValue) { if (queryBuilder_ == null) { query_ = builderForValue.build(); } else { @@ -863,6 +960,8 @@ public Builder setQuery( return this; } /** + * + * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
@@ -871,9 +970,9 @@ public Builder setQuery( */ public Builder mergeQuery(com.google.datastore.v1.AggregationQuery value) { if (queryBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - query_ != null && - query_ != com.google.datastore.v1.AggregationQuery.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && query_ != null + && query_ != com.google.datastore.v1.AggregationQuery.getDefaultInstance()) { getQueryBuilder().mergeFrom(value); } else { query_ = value; @@ -888,6 +987,8 @@ public Builder mergeQuery(com.google.datastore.v1.AggregationQuery value) { return this; } /** + * + * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
@@ -905,6 +1006,8 @@ public Builder clearQuery() { return this; } /** + * + * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
@@ -917,6 +1020,8 @@ public com.google.datastore.v1.AggregationQuery.Builder getQueryBuilder() { return getQueryFieldBuilder().getBuilder(); } /** + * + * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
@@ -927,11 +1032,14 @@ public com.google.datastore.v1.AggregationQueryOrBuilder getQueryOrBuilder() { if (queryBuilder_ != null) { return queryBuilder_.getMessageOrBuilder(); } else { - return query_ == null ? - com.google.datastore.v1.AggregationQuery.getDefaultInstance() : query_; + return query_ == null + ? com.google.datastore.v1.AggregationQuery.getDefaultInstance() + : query_; } } /** + * + * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
@@ -939,14 +1047,17 @@ public com.google.datastore.v1.AggregationQueryOrBuilder getQueryOrBuilder() { * .google.datastore.v1.AggregationQuery query = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationQuery, com.google.datastore.v1.AggregationQuery.Builder, com.google.datastore.v1.AggregationQueryOrBuilder> + com.google.datastore.v1.AggregationQuery, + com.google.datastore.v1.AggregationQuery.Builder, + com.google.datastore.v1.AggregationQueryOrBuilder> getQueryFieldBuilder() { if (queryBuilder_ == null) { - queryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.AggregationQuery, com.google.datastore.v1.AggregationQuery.Builder, com.google.datastore.v1.AggregationQueryOrBuilder>( - getQuery(), - getParentForChildren(), - isClean()); + queryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.AggregationQuery, + com.google.datastore.v1.AggregationQuery.Builder, + com.google.datastore.v1.AggregationQueryOrBuilder>( + getQuery(), getParentForChildren(), isClean()); query_ = null; } return queryBuilder_; @@ -954,6 +1065,8 @@ public com.google.datastore.v1.AggregationQueryOrBuilder getQueryOrBuilder() { private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * The identifier of the transaction that was started as part of this
      * RunAggregationQuery request.
@@ -965,6 +1078,7 @@ public com.google.datastore.v1.AggregationQueryOrBuilder getQueryOrBuilder() {
      * 
* * bytes transaction = 5; + * * @return The transaction. */ @java.lang.Override @@ -972,6 +1086,8 @@ public com.google.protobuf.ByteString getTransaction() { return transaction_; } /** + * + * *
      * The identifier of the transaction that was started as part of this
      * RunAggregationQuery request.
@@ -983,17 +1099,22 @@ public com.google.protobuf.ByteString getTransaction() {
      * 
* * bytes transaction = 5; + * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } transaction_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The identifier of the transaction that was started as part of this
      * RunAggregationQuery request.
@@ -1005,6 +1126,7 @@ public Builder setTransaction(com.google.protobuf.ByteString value) {
      * 
* * bytes transaction = 5; + * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -1016,8 +1138,13 @@ public Builder clearTransaction() { private com.google.datastore.v1.ExplainMetrics explainMetrics_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ExplainMetrics, com.google.datastore.v1.ExplainMetrics.Builder, com.google.datastore.v1.ExplainMetricsOrBuilder> explainMetricsBuilder_; + com.google.datastore.v1.ExplainMetrics, + com.google.datastore.v1.ExplainMetrics.Builder, + com.google.datastore.v1.ExplainMetricsOrBuilder> + explainMetricsBuilder_; /** + * + * *
      * Query explain metrics. This is only present when the
      * [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
@@ -1025,12 +1152,15 @@ public Builder clearTransaction() {
      * 
* * .google.datastore.v1.ExplainMetrics explain_metrics = 9; + * * @return Whether the explainMetrics field is set. */ public boolean hasExplainMetrics() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Query explain metrics. This is only present when the
      * [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
@@ -1038,16 +1168,21 @@ public boolean hasExplainMetrics() {
      * 
* * .google.datastore.v1.ExplainMetrics explain_metrics = 9; + * * @return The explainMetrics. */ public com.google.datastore.v1.ExplainMetrics getExplainMetrics() { if (explainMetricsBuilder_ == null) { - return explainMetrics_ == null ? com.google.datastore.v1.ExplainMetrics.getDefaultInstance() : explainMetrics_; + return explainMetrics_ == null + ? com.google.datastore.v1.ExplainMetrics.getDefaultInstance() + : explainMetrics_; } else { return explainMetricsBuilder_.getMessage(); } } /** + * + * *
      * Query explain metrics. This is only present when the
      * [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
@@ -1070,6 +1205,8 @@ public Builder setExplainMetrics(com.google.datastore.v1.ExplainMetrics value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Query explain metrics. This is only present when the
      * [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
@@ -1090,6 +1227,8 @@ public Builder setExplainMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * Query explain metrics. This is only present when the
      * [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
@@ -1100,9 +1239,9 @@ public Builder setExplainMetrics(
      */
     public Builder mergeExplainMetrics(com.google.datastore.v1.ExplainMetrics value) {
       if (explainMetricsBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0) &&
-          explainMetrics_ != null &&
-          explainMetrics_ != com.google.datastore.v1.ExplainMetrics.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && explainMetrics_ != null
+            && explainMetrics_ != com.google.datastore.v1.ExplainMetrics.getDefaultInstance()) {
           getExplainMetricsBuilder().mergeFrom(value);
         } else {
           explainMetrics_ = value;
@@ -1117,6 +1256,8 @@ public Builder mergeExplainMetrics(com.google.datastore.v1.ExplainMetrics value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Query explain metrics. This is only present when the
      * [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
@@ -1136,6 +1277,8 @@ public Builder clearExplainMetrics() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Query explain metrics. This is only present when the
      * [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
@@ -1150,6 +1293,8 @@ public com.google.datastore.v1.ExplainMetrics.Builder getExplainMetricsBuilder()
       return getExplainMetricsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Query explain metrics. This is only present when the
      * [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
@@ -1162,11 +1307,14 @@ public com.google.datastore.v1.ExplainMetricsOrBuilder getExplainMetricsOrBuilde
       if (explainMetricsBuilder_ != null) {
         return explainMetricsBuilder_.getMessageOrBuilder();
       } else {
-        return explainMetrics_ == null ?
-            com.google.datastore.v1.ExplainMetrics.getDefaultInstance() : explainMetrics_;
+        return explainMetrics_ == null
+            ? com.google.datastore.v1.ExplainMetrics.getDefaultInstance()
+            : explainMetrics_;
       }
     }
     /**
+     *
+     *
      * 
      * Query explain metrics. This is only present when the
      * [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
@@ -1176,21 +1324,24 @@ public com.google.datastore.v1.ExplainMetricsOrBuilder getExplainMetricsOrBuilde
      * .google.datastore.v1.ExplainMetrics explain_metrics = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.v1.ExplainMetrics, com.google.datastore.v1.ExplainMetrics.Builder, com.google.datastore.v1.ExplainMetricsOrBuilder> 
+            com.google.datastore.v1.ExplainMetrics,
+            com.google.datastore.v1.ExplainMetrics.Builder,
+            com.google.datastore.v1.ExplainMetricsOrBuilder>
         getExplainMetricsFieldBuilder() {
       if (explainMetricsBuilder_ == null) {
-        explainMetricsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.ExplainMetrics, com.google.datastore.v1.ExplainMetrics.Builder, com.google.datastore.v1.ExplainMetricsOrBuilder>(
-                getExplainMetrics(),
-                getParentForChildren(),
-                isClean());
+        explainMetricsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.datastore.v1.ExplainMetrics,
+                com.google.datastore.v1.ExplainMetrics.Builder,
+                com.google.datastore.v1.ExplainMetricsOrBuilder>(
+                getExplainMetrics(), getParentForChildren(), isClean());
         explainMetrics_ = null;
       }
       return explainMetricsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1200,12 +1351,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.RunAggregationQueryResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.RunAggregationQueryResponse)
   private static final com.google.datastore.v1.RunAggregationQueryResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.RunAggregationQueryResponse();
   }
@@ -1214,27 +1365,27 @@ public static com.google.datastore.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;
@@ -1249,6 +1400,4 @@ public com.google.protobuf.Parser getParserForType(
   public com.google.datastore.v1.RunAggregationQueryResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryResponseOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryResponseOrBuilder.java
similarity index 82%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryResponseOrBuilder.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryResponseOrBuilder.java
index b5781cc8b..dc90c61e6 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryResponseOrBuilder.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunAggregationQueryResponseOrBuilder.java
@@ -1,32 +1,56 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/datastore.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface RunAggregationQueryResponseOrBuilder extends
+public interface RunAggregationQueryResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.RunAggregationQueryResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * A batch of aggregation results. Always present.
    * 
* * .google.datastore.v1.AggregationResultBatch batch = 1; + * * @return Whether the batch field is set. */ boolean hasBatch(); /** + * + * *
    * A batch of aggregation results. Always present.
    * 
* * .google.datastore.v1.AggregationResultBatch batch = 1; + * * @return The batch. */ com.google.datastore.v1.AggregationResultBatch getBatch(); /** + * + * *
    * A batch of aggregation results. Always present.
    * 
@@ -36,24 +60,32 @@ public interface RunAggregationQueryResponseOrBuilder extends com.google.datastore.v1.AggregationResultBatchOrBuilder getBatchOrBuilder(); /** + * + * *
    * The parsed form of the `GqlQuery` from the request, if it was set.
    * 
* * .google.datastore.v1.AggregationQuery query = 2; + * * @return Whether the query field is set. */ boolean hasQuery(); /** + * + * *
    * The parsed form of the `GqlQuery` from the request, if it was set.
    * 
* * .google.datastore.v1.AggregationQuery query = 2; + * * @return The query. */ com.google.datastore.v1.AggregationQuery getQuery(); /** + * + * *
    * The parsed form of the `GqlQuery` from the request, if it was set.
    * 
@@ -63,6 +95,8 @@ public interface RunAggregationQueryResponseOrBuilder extends com.google.datastore.v1.AggregationQueryOrBuilder getQueryOrBuilder(); /** + * + * *
    * The identifier of the transaction that was started as part of this
    * RunAggregationQuery request.
@@ -74,11 +108,14 @@ public interface RunAggregationQueryResponseOrBuilder extends
    * 
* * bytes transaction = 5; + * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** + * + * *
    * Query explain metrics. This is only present when the
    * [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
@@ -86,10 +123,13 @@ public interface RunAggregationQueryResponseOrBuilder extends
    * 
* * .google.datastore.v1.ExplainMetrics explain_metrics = 9; + * * @return Whether the explainMetrics field is set. */ boolean hasExplainMetrics(); /** + * + * *
    * Query explain metrics. This is only present when the
    * [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
@@ -97,10 +137,13 @@ public interface RunAggregationQueryResponseOrBuilder extends
    * 
* * .google.datastore.v1.ExplainMetrics explain_metrics = 9; + * * @return The explainMetrics. */ com.google.datastore.v1.ExplainMetrics getExplainMetrics(); /** + * + * *
    * Query explain metrics. This is only present when the
    * [RunAggregationQueryRequest.explain_options][google.datastore.v1.RunAggregationQueryRequest.explain_options]
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryRequest.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryRequest.java
similarity index 71%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryRequest.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryRequest.java
index 536580b38..4420d5779 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryRequest.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryRequest.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/datastore.proto
 
@@ -5,21 +20,24 @@
 package com.google.datastore.v1;
 
 /**
+ *
+ *
  * 
  * The request for [Datastore.RunQuery][google.datastore.v1.Datastore.RunQuery].
  * 
* * Protobuf type {@code google.datastore.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.datastore.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() { projectId_ = ""; databaseId_ = ""; @@ -27,35 +45,40 @@ private RunQueryRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new RunQueryRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_RunQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunQueryRequest_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_RunQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.RunQueryRequest.class, com.google.datastore.v1.RunQueryRequest.Builder.class); + com.google.datastore.v1.RunQueryRequest.class, + com.google.datastore.v1.RunQueryRequest.Builder.class); } private int bitField0_; private int queryTypeCase_ = 0; + @SuppressWarnings("serial") private java.lang.Object queryType_; + public enum QueryTypeCase - implements com.google.protobuf.Internal.EnumLite, + implements + com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { QUERY(3), GQL_QUERY(7), QUERYTYPE_NOT_SET(0); private final int value; + private QueryTypeCase(int value) { this.value = value; } @@ -71,32 +94,39 @@ public static QueryTypeCase valueOf(int value) { public static QueryTypeCase forNumber(int value) { switch (value) { - case 3: return QUERY; - case 7: return GQL_QUERY; - case 0: return QUERYTYPE_NOT_SET; - default: return null; + case 3: + return QUERY; + case 7: + return GQL_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 PROJECT_ID_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object projectId_ = ""; /** + * + * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ @java.lang.Override @@ -105,29 +135,29 @@ public java.lang.String getProjectId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; } } /** + * + * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ @java.lang.Override - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -136,9 +166,12 @@ public java.lang.String getProjectId() { } public static final int DATABASE_ID_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object databaseId_ = ""; /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -147,6 +180,7 @@ public java.lang.String getProjectId() {
    * 
* * string database_id = 9; + * * @return The databaseId. */ @java.lang.Override @@ -155,14 +189,15 @@ public java.lang.String getDatabaseId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; } } /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -171,16 +206,15 @@ public java.lang.String getDatabaseId() {
    * 
* * string database_id = 9; + * * @return The bytes for databaseId. */ @java.lang.Override - public com.google.protobuf.ByteString - getDatabaseIdBytes() { + public com.google.protobuf.ByteString getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); databaseId_ = b; return b; } else { @@ -191,6 +225,8 @@ public java.lang.String getDatabaseId() { public static final int PARTITION_ID_FIELD_NUMBER = 2; private com.google.datastore.v1.PartitionId partitionId_; /** + * + * *
    * Entities are partitioned into subsets, identified by a partition ID.
    * Queries are scoped to a single partition.
@@ -199,6 +235,7 @@ public java.lang.String getDatabaseId() {
    * 
* * .google.datastore.v1.PartitionId partition_id = 2; + * * @return Whether the partitionId field is set. */ @java.lang.Override @@ -206,6 +243,8 @@ public boolean hasPartitionId() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * Entities are partitioned into subsets, identified by a partition ID.
    * Queries are scoped to a single partition.
@@ -214,13 +253,18 @@ public boolean hasPartitionId() {
    * 
* * .google.datastore.v1.PartitionId partition_id = 2; + * * @return The partitionId. */ @java.lang.Override public com.google.datastore.v1.PartitionId getPartitionId() { - return partitionId_ == null ? com.google.datastore.v1.PartitionId.getDefaultInstance() : partitionId_; + return partitionId_ == null + ? com.google.datastore.v1.PartitionId.getDefaultInstance() + : partitionId_; } /** + * + * *
    * Entities are partitioned into subsets, identified by a partition ID.
    * Queries are scoped to a single partition.
@@ -232,17 +276,22 @@ public com.google.datastore.v1.PartitionId getPartitionId() {
    */
   @java.lang.Override
   public com.google.datastore.v1.PartitionIdOrBuilder getPartitionIdOrBuilder() {
-    return partitionId_ == null ? com.google.datastore.v1.PartitionId.getDefaultInstance() : partitionId_;
+    return partitionId_ == null
+        ? com.google.datastore.v1.PartitionId.getDefaultInstance()
+        : partitionId_;
   }
 
   public static final int READ_OPTIONS_FIELD_NUMBER = 1;
   private com.google.datastore.v1.ReadOptions readOptions_;
   /**
+   *
+   *
    * 
    * The options for this query.
    * 
* * .google.datastore.v1.ReadOptions read_options = 1; + * * @return Whether the readOptions field is set. */ @java.lang.Override @@ -250,18 +299,25 @@ public boolean hasReadOptions() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * The options for this query.
    * 
* * .google.datastore.v1.ReadOptions read_options = 1; + * * @return The readOptions. */ @java.lang.Override public com.google.datastore.v1.ReadOptions getReadOptions() { - return readOptions_ == null ? com.google.datastore.v1.ReadOptions.getDefaultInstance() : readOptions_; + return readOptions_ == null + ? com.google.datastore.v1.ReadOptions.getDefaultInstance() + : readOptions_; } /** + * + * *
    * The options for this query.
    * 
@@ -270,16 +326,21 @@ public com.google.datastore.v1.ReadOptions getReadOptions() { */ @java.lang.Override public com.google.datastore.v1.ReadOptionsOrBuilder getReadOptionsOrBuilder() { - return readOptions_ == null ? com.google.datastore.v1.ReadOptions.getDefaultInstance() : readOptions_; + return readOptions_ == null + ? com.google.datastore.v1.ReadOptions.getDefaultInstance() + : readOptions_; } public static final int QUERY_FIELD_NUMBER = 3; /** + * + * *
    * The query to run.
    * 
* * .google.datastore.v1.Query query = 3; + * * @return Whether the query field is set. */ @java.lang.Override @@ -287,21 +348,26 @@ public boolean hasQuery() { return queryTypeCase_ == 3; } /** + * + * *
    * The query to run.
    * 
* * .google.datastore.v1.Query query = 3; + * * @return The query. */ @java.lang.Override public com.google.datastore.v1.Query getQuery() { if (queryTypeCase_ == 3) { - return (com.google.datastore.v1.Query) queryType_; + return (com.google.datastore.v1.Query) queryType_; } return com.google.datastore.v1.Query.getDefaultInstance(); } /** + * + * *
    * The query to run.
    * 
@@ -311,18 +377,21 @@ public com.google.datastore.v1.Query getQuery() { @java.lang.Override public com.google.datastore.v1.QueryOrBuilder getQueryOrBuilder() { if (queryTypeCase_ == 3) { - return (com.google.datastore.v1.Query) queryType_; + return (com.google.datastore.v1.Query) queryType_; } return com.google.datastore.v1.Query.getDefaultInstance(); } public static final int GQL_QUERY_FIELD_NUMBER = 7; /** + * + * *
    * The GQL query to run. This query must be a non-aggregation query.
    * 
* * .google.datastore.v1.GqlQuery gql_query = 7; + * * @return Whether the gqlQuery field is set. */ @java.lang.Override @@ -330,21 +399,26 @@ public boolean hasGqlQuery() { return queryTypeCase_ == 7; } /** + * + * *
    * The GQL query to run. This query must be a non-aggregation query.
    * 
* * .google.datastore.v1.GqlQuery gql_query = 7; + * * @return The gqlQuery. */ @java.lang.Override public com.google.datastore.v1.GqlQuery getGqlQuery() { if (queryTypeCase_ == 7) { - return (com.google.datastore.v1.GqlQuery) queryType_; + return (com.google.datastore.v1.GqlQuery) queryType_; } return com.google.datastore.v1.GqlQuery.getDefaultInstance(); } /** + * + * *
    * The GQL query to run. This query must be a non-aggregation query.
    * 
@@ -354,7 +428,7 @@ public com.google.datastore.v1.GqlQuery getGqlQuery() { @java.lang.Override public com.google.datastore.v1.GqlQueryOrBuilder getGqlQueryOrBuilder() { if (queryTypeCase_ == 7) { - return (com.google.datastore.v1.GqlQuery) queryType_; + return (com.google.datastore.v1.GqlQuery) queryType_; } return com.google.datastore.v1.GqlQuery.getDefaultInstance(); } @@ -362,12 +436,17 @@ public com.google.datastore.v1.GqlQueryOrBuilder getGqlQueryOrBuilder() { public static final int EXPLAIN_OPTIONS_FIELD_NUMBER = 12; private com.google.datastore.v1.ExplainOptions explainOptions_; /** + * + * *
    * Optional. Explain options for the query. If set, additional query
    * statistics will be returned. If not, only query results will be returned.
    * 
* - * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the explainOptions field is set. */ @java.lang.Override @@ -375,32 +454,46 @@ public boolean hasExplainOptions() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
    * Optional. Explain options for the query. If set, additional query
    * statistics will be returned. If not, only query results will be returned.
    * 
* - * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The explainOptions. */ @java.lang.Override public com.google.datastore.v1.ExplainOptions getExplainOptions() { - return explainOptions_ == null ? com.google.datastore.v1.ExplainOptions.getDefaultInstance() : explainOptions_; + return explainOptions_ == null + ? com.google.datastore.v1.ExplainOptions.getDefaultInstance() + : explainOptions_; } /** + * + * *
    * Optional. Explain options for the query. If set, additional query
    * statistics will be returned. If not, only query results will be returned.
    * 
* - * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ @java.lang.Override public com.google.datastore.v1.ExplainOptionsOrBuilder getExplainOptionsOrBuilder() { - return explainOptions_ == null ? com.google.datastore.v1.ExplainOptions.getDefaultInstance() : explainOptions_; + return explainOptions_ == null + ? com.google.datastore.v1.ExplainOptions.getDefaultInstance() + : explainOptions_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -412,8 +505,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 (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(1, getReadOptions()); } @@ -445,20 +537,20 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getReadOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReadOptions()); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getPartitionId()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getPartitionId()); } if (queryTypeCase_ == 3) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, (com.google.datastore.v1.Query) queryType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 3, (com.google.datastore.v1.Query) queryType_); } if (queryTypeCase_ == 7) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, (com.google.datastore.v1.GqlQuery) queryType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 7, (com.google.datastore.v1.GqlQuery) queryType_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(projectId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, projectId_); @@ -467,8 +559,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, databaseId_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getExplainOptions()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getExplainOptions()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -478,41 +569,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.datastore.v1.RunQueryRequest)) { return super.equals(obj); } com.google.datastore.v1.RunQueryRequest other = (com.google.datastore.v1.RunQueryRequest) obj; - if (!getProjectId() - .equals(other.getProjectId())) return false; - if (!getDatabaseId() - .equals(other.getDatabaseId())) return false; + if (!getProjectId().equals(other.getProjectId())) return false; + if (!getDatabaseId().equals(other.getDatabaseId())) return false; if (hasPartitionId() != other.hasPartitionId()) return false; if (hasPartitionId()) { - if (!getPartitionId() - .equals(other.getPartitionId())) return false; + if (!getPartitionId().equals(other.getPartitionId())) return false; } if (hasReadOptions() != other.hasReadOptions()) return false; if (hasReadOptions()) { - if (!getReadOptions() - .equals(other.getReadOptions())) return false; + if (!getReadOptions().equals(other.getReadOptions())) return false; } if (hasExplainOptions() != other.hasExplainOptions()) return false; if (hasExplainOptions()) { - if (!getExplainOptions() - .equals(other.getExplainOptions())) return false; + if (!getExplainOptions().equals(other.getExplainOptions())) return false; } if (!getQueryTypeCase().equals(other.getQueryTypeCase())) return false; switch (queryTypeCase_) { case 3: - if (!getQuery() - .equals(other.getQuery())) return false; + if (!getQuery().equals(other.getQuery())) return false; break; case 7: - if (!getGqlQuery() - .equals(other.getGqlQuery())) return false; + if (!getGqlQuery().equals(other.getGqlQuery())) return false; break; case 0: default: @@ -561,120 +645,127 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.RunQueryRequest parseFrom( - java.nio.ByteBuffer data) + public static com.google.datastore.v1.RunQueryRequest parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.v1.RunQueryRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.v1.RunQueryRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.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.datastore.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.datastore.v1.RunQueryRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.RunQueryRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.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.datastore.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.datastore.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.datastore.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 [Datastore.RunQuery][google.datastore.v1.Datastore.RunQuery].
    * 
* * Protobuf type {@code google.datastore.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.datastore.v1.RunQueryRequest) com.google.datastore.v1.RunQueryRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunQueryRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_RunQueryRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunQueryRequest_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_RunQueryRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.RunQueryRequest.class, com.google.datastore.v1.RunQueryRequest.Builder.class); + com.google.datastore.v1.RunQueryRequest.class, + com.google.datastore.v1.RunQueryRequest.Builder.class); } // Construct using com.google.datastore.v1.RunQueryRequest.newBuilder() @@ -682,19 +773,19 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getPartitionIdFieldBuilder(); getReadOptionsFieldBuilder(); getExplainOptionsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -728,9 +819,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunQueryRequest_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_RunQueryRequest_descriptor; } @java.lang.Override @@ -749,8 +840,11 @@ public com.google.datastore.v1.RunQueryRequest build() { @java.lang.Override public com.google.datastore.v1.RunQueryRequest buildPartial() { - com.google.datastore.v1.RunQueryRequest result = new com.google.datastore.v1.RunQueryRequest(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.datastore.v1.RunQueryRequest result = + new com.google.datastore.v1.RunQueryRequest(this); + if (bitField0_ != 0) { + buildPartial0(result); + } buildPartialOneofs(result); onBuilt(); return result; @@ -766,21 +860,18 @@ private void buildPartial0(com.google.datastore.v1.RunQueryRequest result) { } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { - result.partitionId_ = partitionIdBuilder_ == null - ? partitionId_ - : partitionIdBuilder_.build(); + result.partitionId_ = + partitionIdBuilder_ == null ? partitionId_ : partitionIdBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { - result.readOptions_ = readOptionsBuilder_ == null - ? readOptions_ - : readOptionsBuilder_.build(); + result.readOptions_ = + readOptionsBuilder_ == null ? readOptions_ : readOptionsBuilder_.build(); to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.explainOptions_ = explainOptionsBuilder_ == null - ? explainOptions_ - : explainOptionsBuilder_.build(); + result.explainOptions_ = + explainOptionsBuilder_ == null ? explainOptions_ : explainOptionsBuilder_.build(); to_bitField0_ |= 0x00000004; } result.bitField0_ |= to_bitField0_; @@ -789,12 +880,10 @@ private void buildPartial0(com.google.datastore.v1.RunQueryRequest result) { private void buildPartialOneofs(com.google.datastore.v1.RunQueryRequest result) { result.queryTypeCase_ = queryTypeCase_; result.queryType_ = this.queryType_; - if (queryTypeCase_ == 3 && - queryBuilder_ != null) { + if (queryTypeCase_ == 3 && queryBuilder_ != null) { result.queryType_ = queryBuilder_.build(); } - if (queryTypeCase_ == 7 && - gqlQueryBuilder_ != null) { + if (queryTypeCase_ == 7 && gqlQueryBuilder_ != null) { result.queryType_ = gqlQueryBuilder_.build(); } } @@ -803,38 +892,39 @@ private void buildPartialOneofs(com.google.datastore.v1.RunQueryRequest result) public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.RunQueryRequest) { - return mergeFrom((com.google.datastore.v1.RunQueryRequest)other); + return mergeFrom((com.google.datastore.v1.RunQueryRequest) other); } else { super.mergeFrom(other); return this; @@ -863,17 +953,20 @@ public Builder mergeFrom(com.google.datastore.v1.RunQueryRequest other) { mergeExplainOptions(other.getExplainOptions()); } switch (other.getQueryTypeCase()) { - case QUERY: { - mergeQuery(other.getQuery()); - break; - } - case GQL_QUERY: { - mergeGqlQuery(other.getGqlQuery()); - break; - } - case QUERYTYPE_NOT_SET: { - break; - } + case QUERY: + { + mergeQuery(other.getQuery()); + break; + } + case GQL_QUERY: + { + mergeGqlQuery(other.getGqlQuery()); + break; + } + case QUERYTYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); @@ -901,57 +994,55 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getReadOptionsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000008; - break; - } // case 10 - case 18: { - input.readMessage( - getPartitionIdFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 18 - case 26: { - input.readMessage( - getQueryFieldBuilder().getBuilder(), - extensionRegistry); - queryTypeCase_ = 3; - break; - } // case 26 - case 58: { - input.readMessage( - getGqlQueryFieldBuilder().getBuilder(), - extensionRegistry); - queryTypeCase_ = 7; - break; - } // case 58 - case 66: { - projectId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 66 - case 74: { - databaseId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 74 - case 98: { - input.readMessage( - getExplainOptionsFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 98 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getReadOptionsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 10 + case 18: + { + input.readMessage(getPartitionIdFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 18 + case 26: + { + input.readMessage(getQueryFieldBuilder().getBuilder(), extensionRegistry); + queryTypeCase_ = 3; + break; + } // case 26 + case 58: + { + input.readMessage(getGqlQueryFieldBuilder().getBuilder(), extensionRegistry); + queryTypeCase_ = 7; + break; + } // case 58 + case 66: + { + projectId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 66 + case 74: + { + databaseId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 74 + case 98: + { + input.readMessage(getExplainOptionsFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 98 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -961,12 +1052,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() { @@ -980,18 +1071,20 @@ public Builder clearQueryType() { private java.lang.Object projectId_ = ""; /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ public java.lang.String getProjectId() { java.lang.Object ref = projectId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); projectId_ = s; return s; @@ -1000,20 +1093,21 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - public com.google.protobuf.ByteString - getProjectIdBytes() { + public com.google.protobuf.ByteString getProjectIdBytes() { java.lang.Object ref = projectId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); projectId_ = b; return b; } else { @@ -1021,28 +1115,35 @@ public java.lang.String getProjectId() { } } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The projectId to set. * @return This builder for chaining. */ - public Builder setProjectId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } projectId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return This builder for chaining. */ public Builder clearProjectId() { @@ -1052,17 +1153,21 @@ public Builder clearProjectId() { return this; } /** + * + * *
      * Required. The ID of the project against which to make the request.
      * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @param value The bytes for projectId to set. * @return This builder for chaining. */ - public Builder setProjectIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProjectIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); projectId_ = value; bitField0_ |= 0x00000001; @@ -1072,6 +1177,8 @@ public Builder setProjectIdBytes( private java.lang.Object databaseId_ = ""; /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -1080,13 +1187,13 @@ public Builder setProjectIdBytes(
      * 
* * string database_id = 9; + * * @return The databaseId. */ public java.lang.String getDatabaseId() { java.lang.Object ref = databaseId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); databaseId_ = s; return s; @@ -1095,6 +1202,8 @@ public java.lang.String getDatabaseId() { } } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -1103,15 +1212,14 @@ public java.lang.String getDatabaseId() {
      * 
* * string database_id = 9; + * * @return The bytes for databaseId. */ - public com.google.protobuf.ByteString - getDatabaseIdBytes() { + public com.google.protobuf.ByteString getDatabaseIdBytes() { java.lang.Object ref = databaseId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); databaseId_ = b; return b; } else { @@ -1119,6 +1227,8 @@ public java.lang.String getDatabaseId() { } } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -1127,18 +1237,22 @@ public java.lang.String getDatabaseId() {
      * 
* * string database_id = 9; + * * @param value The databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } databaseId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -1147,6 +1261,7 @@ public Builder setDatabaseId(
      * 
* * string database_id = 9; + * * @return This builder for chaining. */ public Builder clearDatabaseId() { @@ -1156,6 +1271,8 @@ public Builder clearDatabaseId() { return this; } /** + * + * *
      * The ID of the database against which to make the request.
      *
@@ -1164,12 +1281,14 @@ public Builder clearDatabaseId() {
      * 
* * string database_id = 9; + * * @param value The bytes for databaseId to set. * @return This builder for chaining. */ - public Builder setDatabaseIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDatabaseIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); databaseId_ = value; bitField0_ |= 0x00000002; @@ -1179,8 +1298,13 @@ public Builder setDatabaseIdBytes( private com.google.datastore.v1.PartitionId partitionId_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.PartitionId, com.google.datastore.v1.PartitionId.Builder, com.google.datastore.v1.PartitionIdOrBuilder> partitionIdBuilder_; + com.google.datastore.v1.PartitionId, + com.google.datastore.v1.PartitionId.Builder, + com.google.datastore.v1.PartitionIdOrBuilder> + partitionIdBuilder_; /** + * + * *
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1189,12 +1313,15 @@ public Builder setDatabaseIdBytes(
      * 
* * .google.datastore.v1.PartitionId partition_id = 2; + * * @return Whether the partitionId field is set. */ public boolean hasPartitionId() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1203,16 +1330,21 @@ public boolean hasPartitionId() {
      * 
* * .google.datastore.v1.PartitionId partition_id = 2; + * * @return The partitionId. */ public com.google.datastore.v1.PartitionId getPartitionId() { if (partitionIdBuilder_ == null) { - return partitionId_ == null ? com.google.datastore.v1.PartitionId.getDefaultInstance() : partitionId_; + return partitionId_ == null + ? com.google.datastore.v1.PartitionId.getDefaultInstance() + : partitionId_; } else { return partitionIdBuilder_.getMessage(); } } /** + * + * *
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1236,6 +1368,8 @@ public Builder setPartitionId(com.google.datastore.v1.PartitionId value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1245,8 +1379,7 @@ public Builder setPartitionId(com.google.datastore.v1.PartitionId value) {
      *
      * .google.datastore.v1.PartitionId partition_id = 2;
      */
-    public Builder setPartitionId(
-        com.google.datastore.v1.PartitionId.Builder builderForValue) {
+    public Builder setPartitionId(com.google.datastore.v1.PartitionId.Builder builderForValue) {
       if (partitionIdBuilder_ == null) {
         partitionId_ = builderForValue.build();
       } else {
@@ -1257,6 +1390,8 @@ public Builder setPartitionId(
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1268,9 +1403,9 @@ public Builder setPartitionId(
      */
     public Builder mergePartitionId(com.google.datastore.v1.PartitionId value) {
       if (partitionIdBuilder_ == null) {
-        if (((bitField0_ & 0x00000004) != 0) &&
-          partitionId_ != null &&
-          partitionId_ != com.google.datastore.v1.PartitionId.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000004) != 0)
+            && partitionId_ != null
+            && partitionId_ != com.google.datastore.v1.PartitionId.getDefaultInstance()) {
           getPartitionIdBuilder().mergeFrom(value);
         } else {
           partitionId_ = value;
@@ -1285,6 +1420,8 @@ public Builder mergePartitionId(com.google.datastore.v1.PartitionId value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1305,6 +1442,8 @@ public Builder clearPartitionId() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1320,6 +1459,8 @@ public com.google.datastore.v1.PartitionId.Builder getPartitionIdBuilder() {
       return getPartitionIdFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1333,11 +1474,14 @@ public com.google.datastore.v1.PartitionIdOrBuilder getPartitionIdOrBuilder() {
       if (partitionIdBuilder_ != null) {
         return partitionIdBuilder_.getMessageOrBuilder();
       } else {
-        return partitionId_ == null ?
-            com.google.datastore.v1.PartitionId.getDefaultInstance() : partitionId_;
+        return partitionId_ == null
+            ? com.google.datastore.v1.PartitionId.getDefaultInstance()
+            : partitionId_;
       }
     }
     /**
+     *
+     *
      * 
      * Entities are partitioned into subsets, identified by a partition ID.
      * Queries are scoped to a single partition.
@@ -1348,14 +1492,17 @@ public com.google.datastore.v1.PartitionIdOrBuilder getPartitionIdOrBuilder() {
      * .google.datastore.v1.PartitionId partition_id = 2;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.v1.PartitionId, com.google.datastore.v1.PartitionId.Builder, com.google.datastore.v1.PartitionIdOrBuilder> 
+            com.google.datastore.v1.PartitionId,
+            com.google.datastore.v1.PartitionId.Builder,
+            com.google.datastore.v1.PartitionIdOrBuilder>
         getPartitionIdFieldBuilder() {
       if (partitionIdBuilder_ == null) {
-        partitionIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.PartitionId, com.google.datastore.v1.PartitionId.Builder, com.google.datastore.v1.PartitionIdOrBuilder>(
-                getPartitionId(),
-                getParentForChildren(),
-                isClean());
+        partitionIdBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.datastore.v1.PartitionId,
+                com.google.datastore.v1.PartitionId.Builder,
+                com.google.datastore.v1.PartitionIdOrBuilder>(
+                getPartitionId(), getParentForChildren(), isClean());
         partitionId_ = null;
       }
       return partitionIdBuilder_;
@@ -1363,34 +1510,47 @@ public com.google.datastore.v1.PartitionIdOrBuilder getPartitionIdOrBuilder() {
 
     private com.google.datastore.v1.ReadOptions readOptions_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.v1.ReadOptions, com.google.datastore.v1.ReadOptions.Builder, com.google.datastore.v1.ReadOptionsOrBuilder> readOptionsBuilder_;
+            com.google.datastore.v1.ReadOptions,
+            com.google.datastore.v1.ReadOptions.Builder,
+            com.google.datastore.v1.ReadOptionsOrBuilder>
+        readOptionsBuilder_;
     /**
+     *
+     *
      * 
      * The options for this query.
      * 
* * .google.datastore.v1.ReadOptions read_options = 1; + * * @return Whether the readOptions field is set. */ public boolean hasReadOptions() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * The options for this query.
      * 
* * .google.datastore.v1.ReadOptions read_options = 1; + * * @return The readOptions. */ public com.google.datastore.v1.ReadOptions getReadOptions() { if (readOptionsBuilder_ == null) { - return readOptions_ == null ? com.google.datastore.v1.ReadOptions.getDefaultInstance() : readOptions_; + return readOptions_ == null + ? com.google.datastore.v1.ReadOptions.getDefaultInstance() + : readOptions_; } else { return readOptionsBuilder_.getMessage(); } } /** + * + * *
      * The options for this query.
      * 
@@ -1411,14 +1571,15 @@ public Builder setReadOptions(com.google.datastore.v1.ReadOptions value) { return this; } /** + * + * *
      * The options for this query.
      * 
* * .google.datastore.v1.ReadOptions read_options = 1; */ - public Builder setReadOptions( - com.google.datastore.v1.ReadOptions.Builder builderForValue) { + public Builder setReadOptions(com.google.datastore.v1.ReadOptions.Builder builderForValue) { if (readOptionsBuilder_ == null) { readOptions_ = builderForValue.build(); } else { @@ -1429,6 +1590,8 @@ public Builder setReadOptions( return this; } /** + * + * *
      * The options for this query.
      * 
@@ -1437,9 +1600,9 @@ public Builder setReadOptions( */ public Builder mergeReadOptions(com.google.datastore.v1.ReadOptions value) { if (readOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - readOptions_ != null && - readOptions_ != com.google.datastore.v1.ReadOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && readOptions_ != null + && readOptions_ != com.google.datastore.v1.ReadOptions.getDefaultInstance()) { getReadOptionsBuilder().mergeFrom(value); } else { readOptions_ = value; @@ -1454,6 +1617,8 @@ public Builder mergeReadOptions(com.google.datastore.v1.ReadOptions value) { return this; } /** + * + * *
      * The options for this query.
      * 
@@ -1471,6 +1636,8 @@ public Builder clearReadOptions() { return this; } /** + * + * *
      * The options for this query.
      * 
@@ -1483,6 +1650,8 @@ public com.google.datastore.v1.ReadOptions.Builder getReadOptionsBuilder() { return getReadOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * The options for this query.
      * 
@@ -1493,11 +1662,14 @@ public com.google.datastore.v1.ReadOptionsOrBuilder getReadOptionsOrBuilder() { if (readOptionsBuilder_ != null) { return readOptionsBuilder_.getMessageOrBuilder(); } else { - return readOptions_ == null ? - com.google.datastore.v1.ReadOptions.getDefaultInstance() : readOptions_; + return readOptions_ == null + ? com.google.datastore.v1.ReadOptions.getDefaultInstance() + : readOptions_; } } /** + * + * *
      * The options for this query.
      * 
@@ -1505,27 +1677,36 @@ public com.google.datastore.v1.ReadOptionsOrBuilder getReadOptionsOrBuilder() { * .google.datastore.v1.ReadOptions read_options = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ReadOptions, com.google.datastore.v1.ReadOptions.Builder, com.google.datastore.v1.ReadOptionsOrBuilder> + com.google.datastore.v1.ReadOptions, + com.google.datastore.v1.ReadOptions.Builder, + com.google.datastore.v1.ReadOptionsOrBuilder> getReadOptionsFieldBuilder() { if (readOptionsBuilder_ == null) { - readOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ReadOptions, com.google.datastore.v1.ReadOptions.Builder, com.google.datastore.v1.ReadOptionsOrBuilder>( - getReadOptions(), - getParentForChildren(), - isClean()); + readOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.ReadOptions, + com.google.datastore.v1.ReadOptions.Builder, + com.google.datastore.v1.ReadOptionsOrBuilder>( + getReadOptions(), getParentForChildren(), isClean()); readOptions_ = null; } return readOptionsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Query, com.google.datastore.v1.Query.Builder, com.google.datastore.v1.QueryOrBuilder> queryBuilder_; + com.google.datastore.v1.Query, + com.google.datastore.v1.Query.Builder, + com.google.datastore.v1.QueryOrBuilder> + queryBuilder_; /** + * + * *
      * The query to run.
      * 
* * .google.datastore.v1.Query query = 3; + * * @return Whether the query field is set. */ @java.lang.Override @@ -1533,11 +1714,14 @@ public boolean hasQuery() { return queryTypeCase_ == 3; } /** + * + * *
      * The query to run.
      * 
* * .google.datastore.v1.Query query = 3; + * * @return The query. */ @java.lang.Override @@ -1555,6 +1739,8 @@ public com.google.datastore.v1.Query getQuery() { } } /** + * + * *
      * The query to run.
      * 
@@ -1575,14 +1761,15 @@ public Builder setQuery(com.google.datastore.v1.Query value) { return this; } /** + * + * *
      * The query to run.
      * 
* * .google.datastore.v1.Query query = 3; */ - public Builder setQuery( - com.google.datastore.v1.Query.Builder builderForValue) { + public Builder setQuery(com.google.datastore.v1.Query.Builder builderForValue) { if (queryBuilder_ == null) { queryType_ = builderForValue.build(); onChanged(); @@ -1593,6 +1780,8 @@ public Builder setQuery( return this; } /** + * + * *
      * The query to run.
      * 
@@ -1601,10 +1790,12 @@ public Builder setQuery( */ public Builder mergeQuery(com.google.datastore.v1.Query value) { if (queryBuilder_ == null) { - if (queryTypeCase_ == 3 && - queryType_ != com.google.datastore.v1.Query.getDefaultInstance()) { - queryType_ = com.google.datastore.v1.Query.newBuilder((com.google.datastore.v1.Query) queryType_) - .mergeFrom(value).buildPartial(); + if (queryTypeCase_ == 3 + && queryType_ != com.google.datastore.v1.Query.getDefaultInstance()) { + queryType_ = + com.google.datastore.v1.Query.newBuilder((com.google.datastore.v1.Query) queryType_) + .mergeFrom(value) + .buildPartial(); } else { queryType_ = value; } @@ -1620,6 +1811,8 @@ public Builder mergeQuery(com.google.datastore.v1.Query value) { return this; } /** + * + * *
      * The query to run.
      * 
@@ -1643,6 +1836,8 @@ public Builder clearQuery() { return this; } /** + * + * *
      * The query to run.
      * 
@@ -1653,6 +1848,8 @@ public com.google.datastore.v1.Query.Builder getQueryBuilder() { return getQueryFieldBuilder().getBuilder(); } /** + * + * *
      * The query to run.
      * 
@@ -1671,6 +1868,8 @@ public com.google.datastore.v1.QueryOrBuilder getQueryOrBuilder() { } } /** + * + * *
      * The query to run.
      * 
@@ -1678,17 +1877,20 @@ public com.google.datastore.v1.QueryOrBuilder getQueryOrBuilder() { * .google.datastore.v1.Query query = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Query, com.google.datastore.v1.Query.Builder, com.google.datastore.v1.QueryOrBuilder> + com.google.datastore.v1.Query, + com.google.datastore.v1.Query.Builder, + com.google.datastore.v1.QueryOrBuilder> getQueryFieldBuilder() { if (queryBuilder_ == null) { if (!(queryTypeCase_ == 3)) { queryType_ = com.google.datastore.v1.Query.getDefaultInstance(); } - queryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Query, com.google.datastore.v1.Query.Builder, com.google.datastore.v1.QueryOrBuilder>( - (com.google.datastore.v1.Query) queryType_, - getParentForChildren(), - isClean()); + queryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.Query, + com.google.datastore.v1.Query.Builder, + com.google.datastore.v1.QueryOrBuilder>( + (com.google.datastore.v1.Query) queryType_, getParentForChildren(), isClean()); queryType_ = null; } queryTypeCase_ = 3; @@ -1697,13 +1899,19 @@ public com.google.datastore.v1.QueryOrBuilder getQueryOrBuilder() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.GqlQuery, com.google.datastore.v1.GqlQuery.Builder, com.google.datastore.v1.GqlQueryOrBuilder> gqlQueryBuilder_; + com.google.datastore.v1.GqlQuery, + com.google.datastore.v1.GqlQuery.Builder, + com.google.datastore.v1.GqlQueryOrBuilder> + gqlQueryBuilder_; /** + * + * *
      * The GQL query to run. This query must be a non-aggregation query.
      * 
* * .google.datastore.v1.GqlQuery gql_query = 7; + * * @return Whether the gqlQuery field is set. */ @java.lang.Override @@ -1711,11 +1919,14 @@ public boolean hasGqlQuery() { return queryTypeCase_ == 7; } /** + * + * *
      * The GQL query to run. This query must be a non-aggregation query.
      * 
* * .google.datastore.v1.GqlQuery gql_query = 7; + * * @return The gqlQuery. */ @java.lang.Override @@ -1733,6 +1944,8 @@ public com.google.datastore.v1.GqlQuery getGqlQuery() { } } /** + * + * *
      * The GQL query to run. This query must be a non-aggregation query.
      * 
@@ -1753,14 +1966,15 @@ public Builder setGqlQuery(com.google.datastore.v1.GqlQuery value) { return this; } /** + * + * *
      * The GQL query to run. This query must be a non-aggregation query.
      * 
* * .google.datastore.v1.GqlQuery gql_query = 7; */ - public Builder setGqlQuery( - com.google.datastore.v1.GqlQuery.Builder builderForValue) { + public Builder setGqlQuery(com.google.datastore.v1.GqlQuery.Builder builderForValue) { if (gqlQueryBuilder_ == null) { queryType_ = builderForValue.build(); onChanged(); @@ -1771,6 +1985,8 @@ public Builder setGqlQuery( return this; } /** + * + * *
      * The GQL query to run. This query must be a non-aggregation query.
      * 
@@ -1779,10 +1995,13 @@ public Builder setGqlQuery( */ public Builder mergeGqlQuery(com.google.datastore.v1.GqlQuery value) { if (gqlQueryBuilder_ == null) { - if (queryTypeCase_ == 7 && - queryType_ != com.google.datastore.v1.GqlQuery.getDefaultInstance()) { - queryType_ = com.google.datastore.v1.GqlQuery.newBuilder((com.google.datastore.v1.GqlQuery) queryType_) - .mergeFrom(value).buildPartial(); + if (queryTypeCase_ == 7 + && queryType_ != com.google.datastore.v1.GqlQuery.getDefaultInstance()) { + queryType_ = + com.google.datastore.v1.GqlQuery.newBuilder( + (com.google.datastore.v1.GqlQuery) queryType_) + .mergeFrom(value) + .buildPartial(); } else { queryType_ = value; } @@ -1798,6 +2017,8 @@ public Builder mergeGqlQuery(com.google.datastore.v1.GqlQuery value) { return this; } /** + * + * *
      * The GQL query to run. This query must be a non-aggregation query.
      * 
@@ -1821,6 +2042,8 @@ public Builder clearGqlQuery() { return this; } /** + * + * *
      * The GQL query to run. This query must be a non-aggregation query.
      * 
@@ -1831,6 +2054,8 @@ public com.google.datastore.v1.GqlQuery.Builder getGqlQueryBuilder() { return getGqlQueryFieldBuilder().getBuilder(); } /** + * + * *
      * The GQL query to run. This query must be a non-aggregation query.
      * 
@@ -1849,6 +2074,8 @@ public com.google.datastore.v1.GqlQueryOrBuilder getGqlQueryOrBuilder() { } } /** + * + * *
      * The GQL query to run. This query must be a non-aggregation query.
      * 
@@ -1856,17 +2083,20 @@ public com.google.datastore.v1.GqlQueryOrBuilder getGqlQueryOrBuilder() { * .google.datastore.v1.GqlQuery gql_query = 7; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.GqlQuery, com.google.datastore.v1.GqlQuery.Builder, com.google.datastore.v1.GqlQueryOrBuilder> + com.google.datastore.v1.GqlQuery, + com.google.datastore.v1.GqlQuery.Builder, + com.google.datastore.v1.GqlQueryOrBuilder> getGqlQueryFieldBuilder() { if (gqlQueryBuilder_ == null) { if (!(queryTypeCase_ == 7)) { queryType_ = com.google.datastore.v1.GqlQuery.getDefaultInstance(); } - gqlQueryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.GqlQuery, com.google.datastore.v1.GqlQuery.Builder, com.google.datastore.v1.GqlQueryOrBuilder>( - (com.google.datastore.v1.GqlQuery) queryType_, - getParentForChildren(), - isClean()); + gqlQueryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.GqlQuery, + com.google.datastore.v1.GqlQuery.Builder, + com.google.datastore.v1.GqlQueryOrBuilder>( + (com.google.datastore.v1.GqlQuery) queryType_, getParentForChildren(), isClean()); queryType_ = null; } queryTypeCase_ = 7; @@ -1876,42 +2106,61 @@ public com.google.datastore.v1.GqlQueryOrBuilder getGqlQueryOrBuilder() { private com.google.datastore.v1.ExplainOptions explainOptions_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ExplainOptions, com.google.datastore.v1.ExplainOptions.Builder, com.google.datastore.v1.ExplainOptionsOrBuilder> explainOptionsBuilder_; + com.google.datastore.v1.ExplainOptions, + com.google.datastore.v1.ExplainOptions.Builder, + com.google.datastore.v1.ExplainOptionsOrBuilder> + explainOptionsBuilder_; /** + * + * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the explainOptions field is set. */ public boolean hasExplainOptions() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The explainOptions. */ public com.google.datastore.v1.ExplainOptions getExplainOptions() { if (explainOptionsBuilder_ == null) { - return explainOptions_ == null ? com.google.datastore.v1.ExplainOptions.getDefaultInstance() : explainOptions_; + return explainOptions_ == null + ? com.google.datastore.v1.ExplainOptions.getDefaultInstance() + : explainOptions_; } else { return explainOptionsBuilder_.getMessage(); } } /** + * + * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setExplainOptions(com.google.datastore.v1.ExplainOptions value) { if (explainOptionsBuilder_ == null) { @@ -1927,12 +2176,16 @@ public Builder setExplainOptions(com.google.datastore.v1.ExplainOptions value) { return this; } /** + * + * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder setExplainOptions( com.google.datastore.v1.ExplainOptions.Builder builderForValue) { @@ -1946,18 +2199,22 @@ public Builder setExplainOptions( return this; } /** + * + * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder mergeExplainOptions(com.google.datastore.v1.ExplainOptions value) { if (explainOptionsBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - explainOptions_ != null && - explainOptions_ != com.google.datastore.v1.ExplainOptions.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && explainOptions_ != null + && explainOptions_ != com.google.datastore.v1.ExplainOptions.getDefaultInstance()) { getExplainOptionsBuilder().mergeFrom(value); } else { explainOptions_ = value; @@ -1972,12 +2229,16 @@ public Builder mergeExplainOptions(com.google.datastore.v1.ExplainOptions value) return this; } /** + * + * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public Builder clearExplainOptions() { bitField0_ = (bitField0_ & ~0x00000040); @@ -1990,12 +2251,16 @@ public Builder clearExplainOptions() { return this; } /** + * + * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.datastore.v1.ExplainOptions.Builder getExplainOptionsBuilder() { bitField0_ |= 0x00000040; @@ -2003,45 +2268,57 @@ public com.google.datastore.v1.ExplainOptions.Builder getExplainOptionsBuilder() return getExplainOptionsFieldBuilder().getBuilder(); } /** + * + * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ public com.google.datastore.v1.ExplainOptionsOrBuilder getExplainOptionsOrBuilder() { if (explainOptionsBuilder_ != null) { return explainOptionsBuilder_.getMessageOrBuilder(); } else { - return explainOptions_ == null ? - com.google.datastore.v1.ExplainOptions.getDefaultInstance() : explainOptions_; + return explainOptions_ == null + ? com.google.datastore.v1.ExplainOptions.getDefaultInstance() + : explainOptions_; } } /** + * + * *
      * Optional. Explain options for the query. If set, additional query
      * statistics will be returned. If not, only query results will be returned.
      * 
* - * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ExplainOptions, com.google.datastore.v1.ExplainOptions.Builder, com.google.datastore.v1.ExplainOptionsOrBuilder> + com.google.datastore.v1.ExplainOptions, + com.google.datastore.v1.ExplainOptions.Builder, + com.google.datastore.v1.ExplainOptionsOrBuilder> getExplainOptionsFieldBuilder() { if (explainOptionsBuilder_ == null) { - explainOptionsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ExplainOptions, com.google.datastore.v1.ExplainOptions.Builder, com.google.datastore.v1.ExplainOptionsOrBuilder>( - getExplainOptions(), - getParentForChildren(), - isClean()); + explainOptionsBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.ExplainOptions, + com.google.datastore.v1.ExplainOptions.Builder, + com.google.datastore.v1.ExplainOptionsOrBuilder>( + getExplainOptions(), getParentForChildren(), isClean()); explainOptions_ = null; } return explainOptionsBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2051,12 +2328,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.v1.RunQueryRequest) } // @@protoc_insertion_point(class_scope:google.datastore.v1.RunQueryRequest) private static final com.google.datastore.v1.RunQueryRequest DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.v1.RunQueryRequest(); } @@ -2065,27 +2342,27 @@ public static com.google.datastore.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; @@ -2100,6 +2377,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.RunQueryRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryRequestOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryRequestOrBuilder.java similarity index 79% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryRequestOrBuilder.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryRequestOrBuilder.java index 6d4062889..9e7a6f0b9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryRequestOrBuilder.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryRequestOrBuilder.java @@ -1,34 +1,57 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface RunQueryRequestOrBuilder extends +public interface RunQueryRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.RunQueryRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The projectId. */ java.lang.String getProjectId(); /** + * + * *
    * Required. The ID of the project against which to make the request.
    * 
* * string project_id = 8 [(.google.api.field_behavior) = REQUIRED]; + * * @return The bytes for projectId. */ - com.google.protobuf.ByteString - getProjectIdBytes(); + com.google.protobuf.ByteString getProjectIdBytes(); /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -37,10 +60,13 @@ public interface RunQueryRequestOrBuilder extends
    * 
* * string database_id = 9; + * * @return The databaseId. */ java.lang.String getDatabaseId(); /** + * + * *
    * The ID of the database against which to make the request.
    *
@@ -49,12 +75,14 @@ public interface RunQueryRequestOrBuilder extends
    * 
* * string database_id = 9; + * * @return The bytes for databaseId. */ - com.google.protobuf.ByteString - getDatabaseIdBytes(); + com.google.protobuf.ByteString getDatabaseIdBytes(); /** + * + * *
    * Entities are partitioned into subsets, identified by a partition ID.
    * Queries are scoped to a single partition.
@@ -63,10 +91,13 @@ public interface RunQueryRequestOrBuilder extends
    * 
* * .google.datastore.v1.PartitionId partition_id = 2; + * * @return Whether the partitionId field is set. */ boolean hasPartitionId(); /** + * + * *
    * Entities are partitioned into subsets, identified by a partition ID.
    * Queries are scoped to a single partition.
@@ -75,10 +106,13 @@ public interface RunQueryRequestOrBuilder extends
    * 
* * .google.datastore.v1.PartitionId partition_id = 2; + * * @return The partitionId. */ com.google.datastore.v1.PartitionId getPartitionId(); /** + * + * *
    * Entities are partitioned into subsets, identified by a partition ID.
    * Queries are scoped to a single partition.
@@ -91,24 +125,32 @@ public interface RunQueryRequestOrBuilder extends
   com.google.datastore.v1.PartitionIdOrBuilder getPartitionIdOrBuilder();
 
   /**
+   *
+   *
    * 
    * The options for this query.
    * 
* * .google.datastore.v1.ReadOptions read_options = 1; + * * @return Whether the readOptions field is set. */ boolean hasReadOptions(); /** + * + * *
    * The options for this query.
    * 
* * .google.datastore.v1.ReadOptions read_options = 1; + * * @return The readOptions. */ com.google.datastore.v1.ReadOptions getReadOptions(); /** + * + * *
    * The options for this query.
    * 
@@ -118,24 +160,32 @@ public interface RunQueryRequestOrBuilder extends com.google.datastore.v1.ReadOptionsOrBuilder getReadOptionsOrBuilder(); /** + * + * *
    * The query to run.
    * 
* * .google.datastore.v1.Query query = 3; + * * @return Whether the query field is set. */ boolean hasQuery(); /** + * + * *
    * The query to run.
    * 
* * .google.datastore.v1.Query query = 3; + * * @return The query. */ com.google.datastore.v1.Query getQuery(); /** + * + * *
    * The query to run.
    * 
@@ -145,24 +195,32 @@ public interface RunQueryRequestOrBuilder extends com.google.datastore.v1.QueryOrBuilder getQueryOrBuilder(); /** + * + * *
    * The GQL query to run. This query must be a non-aggregation query.
    * 
* * .google.datastore.v1.GqlQuery gql_query = 7; + * * @return Whether the gqlQuery field is set. */ boolean hasGqlQuery(); /** + * + * *
    * The GQL query to run. This query must be a non-aggregation query.
    * 
* * .google.datastore.v1.GqlQuery gql_query = 7; + * * @return The gqlQuery. */ com.google.datastore.v1.GqlQuery getGqlQuery(); /** + * + * *
    * The GQL query to run. This query must be a non-aggregation query.
    * 
@@ -172,32 +230,46 @@ public interface RunQueryRequestOrBuilder extends com.google.datastore.v1.GqlQueryOrBuilder getGqlQueryOrBuilder(); /** + * + * *
    * Optional. Explain options for the query. If set, additional query
    * statistics will be returned. If not, only query results will be returned.
    * 
* - * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return Whether the explainOptions field is set. */ boolean hasExplainOptions(); /** + * + * *
    * Optional. Explain options for the query. If set, additional query
    * statistics will be returned. If not, only query results will be returned.
    * 
* - * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The explainOptions. */ com.google.datastore.v1.ExplainOptions getExplainOptions(); /** + * + * *
    * Optional. Explain options for the query. If set, additional query
    * statistics will be returned. If not, only query results will be returned.
    * 
* - * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.datastore.v1.ExplainOptions explain_options = 12 [(.google.api.field_behavior) = OPTIONAL]; + * */ com.google.datastore.v1.ExplainOptionsOrBuilder getExplainOptionsOrBuilder(); diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponse.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponse.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponse.java index d578149ca..03d5b4b8f 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponse.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponse.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto @@ -5,6 +20,8 @@ package com.google.datastore.v1; /** + * + * *
  * The response for
  * [Datastore.RunQuery][google.datastore.v1.Datastore.RunQuery].
@@ -12,48 +29,53 @@
  *
  * Protobuf type {@code google.datastore.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.datastore.v1.RunQueryResponse)
     RunQueryResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use RunQueryResponse.newBuilder() to construct.
   private RunQueryResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private RunQueryResponse() {
     transaction_ = com.google.protobuf.ByteString.EMPTY;
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new RunQueryResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunQueryResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.datastore.v1.DatastoreProto
+        .internal_static_google_datastore_v1_RunQueryResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunQueryResponse_fieldAccessorTable
+    return com.google.datastore.v1.DatastoreProto
+        .internal_static_google_datastore_v1_RunQueryResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.v1.RunQueryResponse.class, com.google.datastore.v1.RunQueryResponse.Builder.class);
+            com.google.datastore.v1.RunQueryResponse.class,
+            com.google.datastore.v1.RunQueryResponse.Builder.class);
   }
 
   private int bitField0_;
   public static final int BATCH_FIELD_NUMBER = 1;
   private com.google.datastore.v1.QueryResultBatch batch_;
   /**
+   *
+   *
    * 
    * A batch of query results (always present).
    * 
* * .google.datastore.v1.QueryResultBatch batch = 1; + * * @return Whether the batch field is set. */ @java.lang.Override @@ -61,11 +83,14 @@ public boolean hasBatch() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
    * A batch of query results (always present).
    * 
* * .google.datastore.v1.QueryResultBatch batch = 1; + * * @return The batch. */ @java.lang.Override @@ -73,6 +98,8 @@ public com.google.datastore.v1.QueryResultBatch getBatch() { return batch_ == null ? com.google.datastore.v1.QueryResultBatch.getDefaultInstance() : batch_; } /** + * + * *
    * A batch of query results (always present).
    * 
@@ -87,11 +114,14 @@ public com.google.datastore.v1.QueryResultBatchOrBuilder getBatchOrBuilder() { public static final int QUERY_FIELD_NUMBER = 2; private com.google.datastore.v1.Query query_; /** + * + * *
    * The parsed form of the `GqlQuery` from the request, if it was set.
    * 
* * .google.datastore.v1.Query query = 2; + * * @return Whether the query field is set. */ @java.lang.Override @@ -99,11 +129,14 @@ public boolean hasQuery() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
    * The parsed form of the `GqlQuery` from the request, if it was set.
    * 
* * .google.datastore.v1.Query query = 2; + * * @return The query. */ @java.lang.Override @@ -111,6 +144,8 @@ public com.google.datastore.v1.Query getQuery() { return query_ == null ? com.google.datastore.v1.Query.getDefaultInstance() : query_; } /** + * + * *
    * The parsed form of the `GqlQuery` from the request, if it was set.
    * 
@@ -125,6 +160,8 @@ public com.google.datastore.v1.QueryOrBuilder getQueryOrBuilder() { public static final int TRANSACTION_FIELD_NUMBER = 5; private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
    * The identifier of the transaction that was started as part of this
    * RunQuery request.
@@ -136,6 +173,7 @@ public com.google.datastore.v1.QueryOrBuilder getQueryOrBuilder() {
    * 
* * bytes transaction = 5; + * * @return The transaction. */ @java.lang.Override @@ -146,6 +184,8 @@ public com.google.protobuf.ByteString getTransaction() { public static final int EXPLAIN_METRICS_FIELD_NUMBER = 9; private com.google.datastore.v1.ExplainMetrics explainMetrics_; /** + * + * *
    * Query explain metrics. This is only present when the
    * [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options]
@@ -153,6 +193,7 @@ public com.google.protobuf.ByteString getTransaction() {
    * 
* * .google.datastore.v1.ExplainMetrics explain_metrics = 9; + * * @return Whether the explainMetrics field is set. */ @java.lang.Override @@ -160,6 +201,8 @@ public boolean hasExplainMetrics() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
    * Query explain metrics. This is only present when the
    * [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options]
@@ -167,13 +210,18 @@ public boolean hasExplainMetrics() {
    * 
* * .google.datastore.v1.ExplainMetrics explain_metrics = 9; + * * @return The explainMetrics. */ @java.lang.Override public com.google.datastore.v1.ExplainMetrics getExplainMetrics() { - return explainMetrics_ == null ? com.google.datastore.v1.ExplainMetrics.getDefaultInstance() : explainMetrics_; + return explainMetrics_ == null + ? com.google.datastore.v1.ExplainMetrics.getDefaultInstance() + : explainMetrics_; } /** + * + * *
    * Query explain metrics. This is only present when the
    * [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options]
@@ -184,10 +232,13 @@ public com.google.datastore.v1.ExplainMetrics getExplainMetrics() {
    */
   @java.lang.Override
   public com.google.datastore.v1.ExplainMetricsOrBuilder getExplainMetricsOrBuilder() {
-    return explainMetrics_ == null ? com.google.datastore.v1.ExplainMetrics.getDefaultInstance() : explainMetrics_;
+    return explainMetrics_ == null
+        ? com.google.datastore.v1.ExplainMetrics.getDefaultInstance()
+        : explainMetrics_;
   }
 
   private byte memoizedIsInitialized = -1;
+
   @java.lang.Override
   public final boolean isInitialized() {
     byte isInitialized = memoizedIsInitialized;
@@ -199,8 +250,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 (((bitField0_ & 0x00000001) != 0)) {
       output.writeMessage(1, getBatch());
     }
@@ -223,20 +273,16 @@ public int getSerializedSize() {
 
     size = 0;
     if (((bitField0_ & 0x00000001) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(1, getBatch());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBatch());
     }
     if (((bitField0_ & 0x00000002) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(2, getQuery());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getQuery());
     }
     if (!transaction_.isEmpty()) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeBytesSize(5, transaction_);
+      size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, transaction_);
     }
     if (((bitField0_ & 0x00000004) != 0)) {
-      size += com.google.protobuf.CodedOutputStream
-        .computeMessageSize(9, getExplainMetrics());
+      size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getExplainMetrics());
     }
     size += getUnknownFields().getSerializedSize();
     memoizedSize = size;
@@ -246,7 +292,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.datastore.v1.RunQueryResponse)) {
       return super.equals(obj);
@@ -255,20 +301,16 @@ public boolean equals(final java.lang.Object obj) {
 
     if (hasBatch() != other.hasBatch()) return false;
     if (hasBatch()) {
-      if (!getBatch()
-          .equals(other.getBatch())) return false;
+      if (!getBatch().equals(other.getBatch())) return false;
     }
     if (hasQuery() != other.hasQuery()) return false;
     if (hasQuery()) {
-      if (!getQuery()
-          .equals(other.getQuery())) return false;
+      if (!getQuery().equals(other.getQuery())) return false;
     }
-    if (!getTransaction()
-        .equals(other.getTransaction())) return false;
+    if (!getTransaction().equals(other.getTransaction())) return false;
     if (hasExplainMetrics() != other.hasExplainMetrics()) return false;
     if (hasExplainMetrics()) {
-      if (!getExplainMetrics()
-          .equals(other.getExplainMetrics())) return false;
+      if (!getExplainMetrics().equals(other.getExplainMetrics())) return false;
     }
     if (!getUnknownFields().equals(other.getUnknownFields())) return false;
     return true;
@@ -300,99 +342,104 @@ public int hashCode() {
     return hash;
   }
 
-  public static com.google.datastore.v1.RunQueryResponse parseFrom(
-      java.nio.ByteBuffer data)
+  public static com.google.datastore.v1.RunQueryResponse parseFrom(java.nio.ByteBuffer data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.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.datastore.v1.RunQueryResponse parseFrom(
       com.google.protobuf.ByteString data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.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.datastore.v1.RunQueryResponse parseFrom(byte[] data)
       throws com.google.protobuf.InvalidProtocolBufferException {
     return PARSER.parseFrom(data);
   }
+
   public static com.google.datastore.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.datastore.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.datastore.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.datastore.v1.RunQueryResponse parseDelimitedFrom(java.io.InputStream input)
-      throws java.io.IOException {
-    return com.google.protobuf.GeneratedMessageV3
-        .parseDelimitedWithIOException(PARSER, input);
+  public static com.google.datastore.v1.RunQueryResponse parseDelimitedFrom(
+      java.io.InputStream input) throws java.io.IOException {
+    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
   }
 
   public static com.google.datastore.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.datastore.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.datastore.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.datastore.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
    * [Datastore.RunQuery][google.datastore.v1.Datastore.RunQuery].
@@ -400,21 +447,23 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.datastore.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.datastore.v1.RunQueryResponse)
       com.google.datastore.v1.RunQueryResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunQueryResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_RunQueryResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunQueryResponse_fieldAccessorTable
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_RunQueryResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.RunQueryResponse.class, com.google.datastore.v1.RunQueryResponse.Builder.class);
+              com.google.datastore.v1.RunQueryResponse.class,
+              com.google.datastore.v1.RunQueryResponse.Builder.class);
     }
 
     // Construct using com.google.datastore.v1.RunQueryResponse.newBuilder()
@@ -422,19 +471,19 @@ 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) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getBatchFieldBuilder();
         getQueryFieldBuilder();
         getExplainMetricsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -459,9 +508,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_RunQueryResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_RunQueryResponse_descriptor;
     }
 
     @java.lang.Override
@@ -480,8 +529,11 @@ public com.google.datastore.v1.RunQueryResponse build() {
 
     @java.lang.Override
     public com.google.datastore.v1.RunQueryResponse buildPartial() {
-      com.google.datastore.v1.RunQueryResponse result = new com.google.datastore.v1.RunQueryResponse(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.datastore.v1.RunQueryResponse result =
+          new com.google.datastore.v1.RunQueryResponse(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -490,24 +542,19 @@ private void buildPartial0(com.google.datastore.v1.RunQueryResponse result) {
       int from_bitField0_ = bitField0_;
       int to_bitField0_ = 0;
       if (((from_bitField0_ & 0x00000001) != 0)) {
-        result.batch_ = batchBuilder_ == null
-            ? batch_
-            : batchBuilder_.build();
+        result.batch_ = batchBuilder_ == null ? batch_ : batchBuilder_.build();
         to_bitField0_ |= 0x00000001;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.query_ = queryBuilder_ == null
-            ? query_
-            : queryBuilder_.build();
+        result.query_ = queryBuilder_ == null ? query_ : queryBuilder_.build();
         to_bitField0_ |= 0x00000002;
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
         result.transaction_ = transaction_;
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.explainMetrics_ = explainMetricsBuilder_ == null
-            ? explainMetrics_
-            : explainMetricsBuilder_.build();
+        result.explainMetrics_ =
+            explainMetricsBuilder_ == null ? explainMetrics_ : explainMetricsBuilder_.build();
         to_bitField0_ |= 0x00000004;
       }
       result.bitField0_ |= to_bitField0_;
@@ -517,38 +564,39 @@ private void buildPartial0(com.google.datastore.v1.RunQueryResponse result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.RunQueryResponse) {
-        return mergeFrom((com.google.datastore.v1.RunQueryResponse)other);
+        return mergeFrom((com.google.datastore.v1.RunQueryResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -595,38 +643,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getBatchFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getQueryFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 42: {
-              transaction_ = input.readBytes();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 42
-            case 74: {
-              input.readMessage(
-                  getExplainMetricsFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 74
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getBatchFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getQueryFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 42:
+              {
+                transaction_ = input.readBytes();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 42
+            case 74:
+              {
+                input.readMessage(getExplainMetricsFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 74
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -636,38 +683,52 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private com.google.datastore.v1.QueryResultBatch batch_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.v1.QueryResultBatch, com.google.datastore.v1.QueryResultBatch.Builder, com.google.datastore.v1.QueryResultBatchOrBuilder> batchBuilder_;
+            com.google.datastore.v1.QueryResultBatch,
+            com.google.datastore.v1.QueryResultBatch.Builder,
+            com.google.datastore.v1.QueryResultBatchOrBuilder>
+        batchBuilder_;
     /**
+     *
+     *
      * 
      * A batch of query results (always present).
      * 
* * .google.datastore.v1.QueryResultBatch batch = 1; + * * @return Whether the batch field is set. */ public boolean hasBatch() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * A batch of query results (always present).
      * 
* * .google.datastore.v1.QueryResultBatch batch = 1; + * * @return The batch. */ public com.google.datastore.v1.QueryResultBatch getBatch() { if (batchBuilder_ == null) { - return batch_ == null ? com.google.datastore.v1.QueryResultBatch.getDefaultInstance() : batch_; + return batch_ == null + ? com.google.datastore.v1.QueryResultBatch.getDefaultInstance() + : batch_; } else { return batchBuilder_.getMessage(); } } /** + * + * *
      * A batch of query results (always present).
      * 
@@ -688,14 +749,15 @@ public Builder setBatch(com.google.datastore.v1.QueryResultBatch value) { return this; } /** + * + * *
      * A batch of query results (always present).
      * 
* * .google.datastore.v1.QueryResultBatch batch = 1; */ - public Builder setBatch( - com.google.datastore.v1.QueryResultBatch.Builder builderForValue) { + public Builder setBatch(com.google.datastore.v1.QueryResultBatch.Builder builderForValue) { if (batchBuilder_ == null) { batch_ = builderForValue.build(); } else { @@ -706,6 +768,8 @@ public Builder setBatch( return this; } /** + * + * *
      * A batch of query results (always present).
      * 
@@ -714,9 +778,9 @@ public Builder setBatch( */ public Builder mergeBatch(com.google.datastore.v1.QueryResultBatch value) { if (batchBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - batch_ != null && - batch_ != com.google.datastore.v1.QueryResultBatch.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && batch_ != null + && batch_ != com.google.datastore.v1.QueryResultBatch.getDefaultInstance()) { getBatchBuilder().mergeFrom(value); } else { batch_ = value; @@ -731,6 +795,8 @@ public Builder mergeBatch(com.google.datastore.v1.QueryResultBatch value) { return this; } /** + * + * *
      * A batch of query results (always present).
      * 
@@ -748,6 +814,8 @@ public Builder clearBatch() { return this; } /** + * + * *
      * A batch of query results (always present).
      * 
@@ -760,6 +828,8 @@ public com.google.datastore.v1.QueryResultBatch.Builder getBatchBuilder() { return getBatchFieldBuilder().getBuilder(); } /** + * + * *
      * A batch of query results (always present).
      * 
@@ -770,11 +840,14 @@ public com.google.datastore.v1.QueryResultBatchOrBuilder getBatchOrBuilder() { if (batchBuilder_ != null) { return batchBuilder_.getMessageOrBuilder(); } else { - return batch_ == null ? - com.google.datastore.v1.QueryResultBatch.getDefaultInstance() : batch_; + return batch_ == null + ? com.google.datastore.v1.QueryResultBatch.getDefaultInstance() + : batch_; } } /** + * + * *
      * A batch of query results (always present).
      * 
@@ -782,14 +855,17 @@ public com.google.datastore.v1.QueryResultBatchOrBuilder getBatchOrBuilder() { * .google.datastore.v1.QueryResultBatch batch = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.QueryResultBatch, com.google.datastore.v1.QueryResultBatch.Builder, com.google.datastore.v1.QueryResultBatchOrBuilder> + com.google.datastore.v1.QueryResultBatch, + com.google.datastore.v1.QueryResultBatch.Builder, + com.google.datastore.v1.QueryResultBatchOrBuilder> getBatchFieldBuilder() { if (batchBuilder_ == null) { - batchBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.QueryResultBatch, com.google.datastore.v1.QueryResultBatch.Builder, com.google.datastore.v1.QueryResultBatchOrBuilder>( - getBatch(), - getParentForChildren(), - isClean()); + batchBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.QueryResultBatch, + com.google.datastore.v1.QueryResultBatch.Builder, + com.google.datastore.v1.QueryResultBatchOrBuilder>( + getBatch(), getParentForChildren(), isClean()); batch_ = null; } return batchBuilder_; @@ -797,24 +873,33 @@ public com.google.datastore.v1.QueryResultBatchOrBuilder getBatchOrBuilder() { private com.google.datastore.v1.Query query_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Query, com.google.datastore.v1.Query.Builder, com.google.datastore.v1.QueryOrBuilder> queryBuilder_; + com.google.datastore.v1.Query, + com.google.datastore.v1.Query.Builder, + com.google.datastore.v1.QueryOrBuilder> + queryBuilder_; /** + * + * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
* * .google.datastore.v1.Query query = 2; + * * @return Whether the query field is set. */ public boolean hasQuery() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
* * .google.datastore.v1.Query query = 2; + * * @return The query. */ public com.google.datastore.v1.Query getQuery() { @@ -825,6 +910,8 @@ public com.google.datastore.v1.Query getQuery() { } } /** + * + * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
@@ -845,14 +932,15 @@ public Builder setQuery(com.google.datastore.v1.Query value) { return this; } /** + * + * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
* * .google.datastore.v1.Query query = 2; */ - public Builder setQuery( - com.google.datastore.v1.Query.Builder builderForValue) { + public Builder setQuery(com.google.datastore.v1.Query.Builder builderForValue) { if (queryBuilder_ == null) { query_ = builderForValue.build(); } else { @@ -863,6 +951,8 @@ public Builder setQuery( return this; } /** + * + * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
@@ -871,9 +961,9 @@ public Builder setQuery( */ public Builder mergeQuery(com.google.datastore.v1.Query value) { if (queryBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - query_ != null && - query_ != com.google.datastore.v1.Query.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && query_ != null + && query_ != com.google.datastore.v1.Query.getDefaultInstance()) { getQueryBuilder().mergeFrom(value); } else { query_ = value; @@ -888,6 +978,8 @@ public Builder mergeQuery(com.google.datastore.v1.Query value) { return this; } /** + * + * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
@@ -905,6 +997,8 @@ public Builder clearQuery() { return this; } /** + * + * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
@@ -917,6 +1011,8 @@ public com.google.datastore.v1.Query.Builder getQueryBuilder() { return getQueryFieldBuilder().getBuilder(); } /** + * + * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
@@ -927,11 +1023,12 @@ public com.google.datastore.v1.QueryOrBuilder getQueryOrBuilder() { if (queryBuilder_ != null) { return queryBuilder_.getMessageOrBuilder(); } else { - return query_ == null ? - com.google.datastore.v1.Query.getDefaultInstance() : query_; + return query_ == null ? com.google.datastore.v1.Query.getDefaultInstance() : query_; } } /** + * + * *
      * The parsed form of the `GqlQuery` from the request, if it was set.
      * 
@@ -939,14 +1036,17 @@ public com.google.datastore.v1.QueryOrBuilder getQueryOrBuilder() { * .google.datastore.v1.Query query = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Query, com.google.datastore.v1.Query.Builder, com.google.datastore.v1.QueryOrBuilder> + com.google.datastore.v1.Query, + com.google.datastore.v1.Query.Builder, + com.google.datastore.v1.QueryOrBuilder> getQueryFieldBuilder() { if (queryBuilder_ == null) { - queryBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Query, com.google.datastore.v1.Query.Builder, com.google.datastore.v1.QueryOrBuilder>( - getQuery(), - getParentForChildren(), - isClean()); + queryBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.Query, + com.google.datastore.v1.Query.Builder, + com.google.datastore.v1.QueryOrBuilder>( + getQuery(), getParentForChildren(), isClean()); query_ = null; } return queryBuilder_; @@ -954,6 +1054,8 @@ public com.google.datastore.v1.QueryOrBuilder getQueryOrBuilder() { private com.google.protobuf.ByteString transaction_ = com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * The identifier of the transaction that was started as part of this
      * RunQuery request.
@@ -965,6 +1067,7 @@ public com.google.datastore.v1.QueryOrBuilder getQueryOrBuilder() {
      * 
* * bytes transaction = 5; + * * @return The transaction. */ @java.lang.Override @@ -972,6 +1075,8 @@ public com.google.protobuf.ByteString getTransaction() { return transaction_; } /** + * + * *
      * The identifier of the transaction that was started as part of this
      * RunQuery request.
@@ -983,17 +1088,22 @@ public com.google.protobuf.ByteString getTransaction() {
      * 
* * bytes transaction = 5; + * * @param value The transaction to set. * @return This builder for chaining. */ public Builder setTransaction(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } transaction_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * The identifier of the transaction that was started as part of this
      * RunQuery request.
@@ -1005,6 +1115,7 @@ public Builder setTransaction(com.google.protobuf.ByteString value) {
      * 
* * bytes transaction = 5; + * * @return This builder for chaining. */ public Builder clearTransaction() { @@ -1016,8 +1127,13 @@ public Builder clearTransaction() { private com.google.datastore.v1.ExplainMetrics explainMetrics_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.ExplainMetrics, com.google.datastore.v1.ExplainMetrics.Builder, com.google.datastore.v1.ExplainMetricsOrBuilder> explainMetricsBuilder_; + com.google.datastore.v1.ExplainMetrics, + com.google.datastore.v1.ExplainMetrics.Builder, + com.google.datastore.v1.ExplainMetricsOrBuilder> + explainMetricsBuilder_; /** + * + * *
      * Query explain metrics. This is only present when the
      * [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options]
@@ -1025,12 +1141,15 @@ public Builder clearTransaction() {
      * 
* * .google.datastore.v1.ExplainMetrics explain_metrics = 9; + * * @return Whether the explainMetrics field is set. */ public boolean hasExplainMetrics() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Query explain metrics. This is only present when the
      * [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options]
@@ -1038,16 +1157,21 @@ public boolean hasExplainMetrics() {
      * 
* * .google.datastore.v1.ExplainMetrics explain_metrics = 9; + * * @return The explainMetrics. */ public com.google.datastore.v1.ExplainMetrics getExplainMetrics() { if (explainMetricsBuilder_ == null) { - return explainMetrics_ == null ? com.google.datastore.v1.ExplainMetrics.getDefaultInstance() : explainMetrics_; + return explainMetrics_ == null + ? com.google.datastore.v1.ExplainMetrics.getDefaultInstance() + : explainMetrics_; } else { return explainMetricsBuilder_.getMessage(); } } /** + * + * *
      * Query explain metrics. This is only present when the
      * [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options]
@@ -1070,6 +1194,8 @@ public Builder setExplainMetrics(com.google.datastore.v1.ExplainMetrics value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * Query explain metrics. This is only present when the
      * [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options]
@@ -1090,6 +1216,8 @@ public Builder setExplainMetrics(
       return this;
     }
     /**
+     *
+     *
      * 
      * Query explain metrics. This is only present when the
      * [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options]
@@ -1100,9 +1228,9 @@ public Builder setExplainMetrics(
      */
     public Builder mergeExplainMetrics(com.google.datastore.v1.ExplainMetrics value) {
       if (explainMetricsBuilder_ == null) {
-        if (((bitField0_ & 0x00000008) != 0) &&
-          explainMetrics_ != null &&
-          explainMetrics_ != com.google.datastore.v1.ExplainMetrics.getDefaultInstance()) {
+        if (((bitField0_ & 0x00000008) != 0)
+            && explainMetrics_ != null
+            && explainMetrics_ != com.google.datastore.v1.ExplainMetrics.getDefaultInstance()) {
           getExplainMetricsBuilder().mergeFrom(value);
         } else {
           explainMetrics_ = value;
@@ -1117,6 +1245,8 @@ public Builder mergeExplainMetrics(com.google.datastore.v1.ExplainMetrics value)
       return this;
     }
     /**
+     *
+     *
      * 
      * Query explain metrics. This is only present when the
      * [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options]
@@ -1136,6 +1266,8 @@ public Builder clearExplainMetrics() {
       return this;
     }
     /**
+     *
+     *
      * 
      * Query explain metrics. This is only present when the
      * [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options]
@@ -1150,6 +1282,8 @@ public com.google.datastore.v1.ExplainMetrics.Builder getExplainMetricsBuilder()
       return getExplainMetricsFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * Query explain metrics. This is only present when the
      * [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options]
@@ -1162,11 +1296,14 @@ public com.google.datastore.v1.ExplainMetricsOrBuilder getExplainMetricsOrBuilde
       if (explainMetricsBuilder_ != null) {
         return explainMetricsBuilder_.getMessageOrBuilder();
       } else {
-        return explainMetrics_ == null ?
-            com.google.datastore.v1.ExplainMetrics.getDefaultInstance() : explainMetrics_;
+        return explainMetrics_ == null
+            ? com.google.datastore.v1.ExplainMetrics.getDefaultInstance()
+            : explainMetrics_;
       }
     }
     /**
+     *
+     *
      * 
      * Query explain metrics. This is only present when the
      * [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options]
@@ -1176,21 +1313,24 @@ public com.google.datastore.v1.ExplainMetricsOrBuilder getExplainMetricsOrBuilde
      * .google.datastore.v1.ExplainMetrics explain_metrics = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.v1.ExplainMetrics, com.google.datastore.v1.ExplainMetrics.Builder, com.google.datastore.v1.ExplainMetricsOrBuilder> 
+            com.google.datastore.v1.ExplainMetrics,
+            com.google.datastore.v1.ExplainMetrics.Builder,
+            com.google.datastore.v1.ExplainMetricsOrBuilder>
         getExplainMetricsFieldBuilder() {
       if (explainMetricsBuilder_ == null) {
-        explainMetricsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.ExplainMetrics, com.google.datastore.v1.ExplainMetrics.Builder, com.google.datastore.v1.ExplainMetricsOrBuilder>(
-                getExplainMetrics(),
-                getParentForChildren(),
-                isClean());
+        explainMetricsBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.datastore.v1.ExplainMetrics,
+                com.google.datastore.v1.ExplainMetrics.Builder,
+                com.google.datastore.v1.ExplainMetricsOrBuilder>(
+                getExplainMetrics(), getParentForChildren(), isClean());
         explainMetrics_ = null;
       }
       return explainMetricsBuilder_;
     }
+
     @java.lang.Override
-    public final Builder setUnknownFields(
-        final com.google.protobuf.UnknownFieldSet unknownFields) {
+    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
       return super.setUnknownFields(unknownFields);
     }
 
@@ -1200,12 +1340,12 @@ public final Builder mergeUnknownFields(
       return super.mergeUnknownFields(unknownFields);
     }
 
-
     // @@protoc_insertion_point(builder_scope:google.datastore.v1.RunQueryResponse)
   }
 
   // @@protoc_insertion_point(class_scope:google.datastore.v1.RunQueryResponse)
   private static final com.google.datastore.v1.RunQueryResponse DEFAULT_INSTANCE;
+
   static {
     DEFAULT_INSTANCE = new com.google.datastore.v1.RunQueryResponse();
   }
@@ -1214,27 +1354,27 @@ public static com.google.datastore.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;
@@ -1249,6 +1389,4 @@ public com.google.protobuf.Parser getParserForType() {
   public com.google.datastore.v1.RunQueryResponse getDefaultInstanceForType() {
     return DEFAULT_INSTANCE;
   }
-
 }
-
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponseOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponseOrBuilder.java
similarity index 81%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponseOrBuilder.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponseOrBuilder.java
index 8817eaf97..e3c0dbf8d 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponseOrBuilder.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/RunQueryResponseOrBuilder.java
@@ -1,32 +1,56 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/datastore.proto
 
 // Protobuf Java Version: 3.25.3
 package com.google.datastore.v1;
 
-public interface RunQueryResponseOrBuilder extends
+public interface RunQueryResponseOrBuilder
+    extends
     // @@protoc_insertion_point(interface_extends:google.datastore.v1.RunQueryResponse)
     com.google.protobuf.MessageOrBuilder {
 
   /**
+   *
+   *
    * 
    * A batch of query results (always present).
    * 
* * .google.datastore.v1.QueryResultBatch batch = 1; + * * @return Whether the batch field is set. */ boolean hasBatch(); /** + * + * *
    * A batch of query results (always present).
    * 
* * .google.datastore.v1.QueryResultBatch batch = 1; + * * @return The batch. */ com.google.datastore.v1.QueryResultBatch getBatch(); /** + * + * *
    * A batch of query results (always present).
    * 
@@ -36,24 +60,32 @@ public interface RunQueryResponseOrBuilder extends com.google.datastore.v1.QueryResultBatchOrBuilder getBatchOrBuilder(); /** + * + * *
    * The parsed form of the `GqlQuery` from the request, if it was set.
    * 
* * .google.datastore.v1.Query query = 2; + * * @return Whether the query field is set. */ boolean hasQuery(); /** + * + * *
    * The parsed form of the `GqlQuery` from the request, if it was set.
    * 
* * .google.datastore.v1.Query query = 2; + * * @return The query. */ com.google.datastore.v1.Query getQuery(); /** + * + * *
    * The parsed form of the `GqlQuery` from the request, if it was set.
    * 
@@ -63,6 +95,8 @@ public interface RunQueryResponseOrBuilder extends com.google.datastore.v1.QueryOrBuilder getQueryOrBuilder(); /** + * + * *
    * The identifier of the transaction that was started as part of this
    * RunQuery request.
@@ -74,11 +108,14 @@ public interface RunQueryResponseOrBuilder extends
    * 
* * bytes transaction = 5; + * * @return The transaction. */ com.google.protobuf.ByteString getTransaction(); /** + * + * *
    * Query explain metrics. This is only present when the
    * [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options]
@@ -86,10 +123,13 @@ public interface RunQueryResponseOrBuilder extends
    * 
* * .google.datastore.v1.ExplainMetrics explain_metrics = 9; + * * @return Whether the explainMetrics field is set. */ boolean hasExplainMetrics(); /** + * + * *
    * Query explain metrics. This is only present when the
    * [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options]
@@ -97,10 +137,13 @@ public interface RunQueryResponseOrBuilder extends
    * 
* * .google.datastore.v1.ExplainMetrics explain_metrics = 9; + * * @return The explainMetrics. */ com.google.datastore.v1.ExplainMetrics getExplainMetrics(); /** + * + * *
    * Query explain metrics. This is only present when the
    * [RunQueryRequest.explain_options][google.datastore.v1.RunQueryRequest.explain_options]
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptions.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptions.java
similarity index 72%
rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptions.java
rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptions.java
index ebbbb29a7..52c53d486 100644
--- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptions.java
+++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptions.java
@@ -1,3 +1,18 @@
+/*
+ * Copyright 2024 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 // Generated by the protocol buffer compiler.  DO NOT EDIT!
 // source: google/datastore/v1/datastore.proto
 
@@ -5,6 +20,8 @@
 package com.google.datastore.v1;
 
 /**
+ *
+ *
  * 
  * Options for beginning a new transaction.
  *
@@ -17,100 +34,113 @@
  *
  * Protobuf type {@code google.datastore.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.datastore.v1.TransactionOptions)
     TransactionOptionsOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use TransactionOptions.newBuilder() to construct.
   private TransactionOptions(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private TransactionOptions() {
-  }
+
+  private TransactionOptions() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new TransactionOptions();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_TransactionOptions_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.datastore.v1.DatastoreProto
+        .internal_static_google_datastore_v1_TransactionOptions_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_TransactionOptions_fieldAccessorTable
+    return com.google.datastore.v1.DatastoreProto
+        .internal_static_google_datastore_v1_TransactionOptions_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.datastore.v1.TransactionOptions.class, com.google.datastore.v1.TransactionOptions.Builder.class);
+            com.google.datastore.v1.TransactionOptions.class,
+            com.google.datastore.v1.TransactionOptions.Builder.class);
   }
 
-  public interface ReadWriteOrBuilder extends
+  public interface ReadWriteOrBuilder
+      extends
       // @@protoc_insertion_point(interface_extends:google.datastore.v1.TransactionOptions.ReadWrite)
       com.google.protobuf.MessageOrBuilder {
 
     /**
+     *
+     *
      * 
      * The transaction identifier of the transaction being retried.
      * 
* * bytes previous_transaction = 1; + * * @return The previousTransaction. */ com.google.protobuf.ByteString getPreviousTransaction(); } /** + * + * *
    * Options specific to read / write transactions.
    * 
* * Protobuf type {@code google.datastore.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.datastore.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() { previousTransaction_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReadWrite(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_TransactionOptions_ReadWrite_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_TransactionOptions_ReadWrite_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_TransactionOptions_ReadWrite_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_TransactionOptions_ReadWrite_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.TransactionOptions.ReadWrite.class, com.google.datastore.v1.TransactionOptions.ReadWrite.Builder.class); + com.google.datastore.v1.TransactionOptions.ReadWrite.class, + com.google.datastore.v1.TransactionOptions.ReadWrite.Builder.class); } public static final int PREVIOUS_TRANSACTION_FIELD_NUMBER = 1; - private com.google.protobuf.ByteString previousTransaction_ = com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString previousTransaction_ = + com.google.protobuf.ByteString.EMPTY; /** + * + * *
      * The transaction identifier of the transaction being retried.
      * 
* * bytes previous_transaction = 1; + * * @return The previousTransaction. */ @java.lang.Override @@ -119,6 +149,7 @@ public com.google.protobuf.ByteString getPreviousTransaction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -130,8 +161,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 (!previousTransaction_.isEmpty()) { output.writeBytes(1, previousTransaction_); } @@ -145,8 +175,7 @@ public int getSerializedSize() { size = 0; if (!previousTransaction_.isEmpty()) { - size += com.google.protobuf.CodedOutputStream - .computeBytesSize(1, previousTransaction_); + size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, previousTransaction_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -156,15 +185,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.datastore.v1.TransactionOptions.ReadWrite)) { return super.equals(obj); } - com.google.datastore.v1.TransactionOptions.ReadWrite other = (com.google.datastore.v1.TransactionOptions.ReadWrite) obj; + com.google.datastore.v1.TransactionOptions.ReadWrite other = + (com.google.datastore.v1.TransactionOptions.ReadWrite) obj; - if (!getPreviousTransaction() - .equals(other.getPreviousTransaction())) return false; + if (!getPreviousTransaction().equals(other.getPreviousTransaction())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -184,89 +213,94 @@ public int hashCode() { } public static com.google.datastore.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.datastore.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.datastore.v1.TransactionOptions.ReadWrite parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.v1.TransactionOptions.ReadWrite parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.v1.TransactionOptions.ReadWrite parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.datastore.v1.TransactionOptions.ReadWrite parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.datastore.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.datastore.v1.TransactionOptions.ReadWrite parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.TransactionOptions.ReadWrite parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.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.datastore.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.datastore.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.datastore.v1.TransactionOptions.ReadWrite prototype) { + + public static Builder newBuilder( + com.google.datastore.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 @@ -276,39 +310,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Options specific to read / write transactions.
      * 
* * Protobuf type {@code google.datastore.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.datastore.v1.TransactionOptions.ReadWrite) com.google.datastore.v1.TransactionOptions.ReadWriteOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_TransactionOptions_ReadWrite_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_TransactionOptions_ReadWrite_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_TransactionOptions_ReadWrite_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_TransactionOptions_ReadWrite_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.TransactionOptions.ReadWrite.class, com.google.datastore.v1.TransactionOptions.ReadWrite.Builder.class); + com.google.datastore.v1.TransactionOptions.ReadWrite.class, + com.google.datastore.v1.TransactionOptions.ReadWrite.Builder.class); } // Construct using com.google.datastore.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(); @@ -318,9 +354,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_TransactionOptions_ReadWrite_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_TransactionOptions_ReadWrite_descriptor; } @java.lang.Override @@ -339,8 +375,11 @@ public com.google.datastore.v1.TransactionOptions.ReadWrite build() { @java.lang.Override public com.google.datastore.v1.TransactionOptions.ReadWrite buildPartial() { - com.google.datastore.v1.TransactionOptions.ReadWrite result = new com.google.datastore.v1.TransactionOptions.ReadWrite(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.datastore.v1.TransactionOptions.ReadWrite result = + new com.google.datastore.v1.TransactionOptions.ReadWrite(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -356,38 +395,41 @@ private void buildPartial0(com.google.datastore.v1.TransactionOptions.ReadWrite public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.TransactionOptions.ReadWrite) { - return mergeFrom((com.google.datastore.v1.TransactionOptions.ReadWrite)other); + return mergeFrom((com.google.datastore.v1.TransactionOptions.ReadWrite) other); } else { super.mergeFrom(other); return this; @@ -395,7 +437,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.datastore.v1.TransactionOptions.ReadWrite other) { - if (other == com.google.datastore.v1.TransactionOptions.ReadWrite.getDefaultInstance()) return this; + if (other == com.google.datastore.v1.TransactionOptions.ReadWrite.getDefaultInstance()) + return this; if (other.getPreviousTransaction() != com.google.protobuf.ByteString.EMPTY) { setPreviousTransaction(other.getPreviousTransaction()); } @@ -425,17 +468,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - previousTransaction_ = input.readBytes(); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + previousTransaction_ = input.readBytes(); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -445,15 +490,20 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private com.google.protobuf.ByteString previousTransaction_ = com.google.protobuf.ByteString.EMPTY; + private com.google.protobuf.ByteString previousTransaction_ = + com.google.protobuf.ByteString.EMPTY; /** + * + * *
        * The transaction identifier of the transaction being retried.
        * 
* * bytes previous_transaction = 1; + * * @return The previousTransaction. */ @java.lang.Override @@ -461,27 +511,35 @@ public com.google.protobuf.ByteString getPreviousTransaction() { return previousTransaction_; } /** + * + * *
        * The transaction identifier of the transaction being retried.
        * 
* * bytes previous_transaction = 1; + * * @param value The previousTransaction to set. * @return This builder for chaining. */ public Builder setPreviousTransaction(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } previousTransaction_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The transaction identifier of the transaction being retried.
        * 
* * bytes previous_transaction = 1; + * * @return This builder for chaining. */ public Builder clearPreviousTransaction() { @@ -490,6 +548,7 @@ public Builder clearPreviousTransaction() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -502,12 +561,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.v1.TransactionOptions.ReadWrite) } // @@protoc_insertion_point(class_scope:google.datastore.v1.TransactionOptions.ReadWrite) private static final com.google.datastore.v1.TransactionOptions.ReadWrite DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.v1.TransactionOptions.ReadWrite(); } @@ -516,27 +575,28 @@ public static com.google.datastore.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; @@ -551,14 +611,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.TransactionOptions.ReadWrite getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ReadOnlyOrBuilder extends + public interface ReadOnlyOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.TransactionOptions.ReadOnly) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Reads entities at the given time.
      *
@@ -568,10 +630,13 @@ public interface ReadOnlyOrBuilder extends
      * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return Whether the readTime field is set. */ boolean hasReadTime(); /** + * + * *
      * Reads entities at the given time.
      *
@@ -581,10 +646,13 @@ public interface ReadOnlyOrBuilder extends
      * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return The readTime. */ com.google.protobuf.Timestamp getReadTime(); /** + * + * *
      * Reads entities at the given time.
      *
@@ -598,48 +666,53 @@ public interface ReadOnlyOrBuilder extends
     com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
   }
   /**
+   *
+   *
    * 
    * Options specific to read-only transactions.
    * 
* * Protobuf type {@code google.datastore.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.datastore.v1.TransactionOptions.ReadOnly) ReadOnlyOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ReadOnly.newBuilder() to construct. private ReadOnly(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private ReadOnly() { - } + + private ReadOnly() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ReadOnly(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_TransactionOptions_ReadOnly_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_TransactionOptions_ReadOnly_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_TransactionOptions_ReadOnly_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_TransactionOptions_ReadOnly_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.TransactionOptions.ReadOnly.class, com.google.datastore.v1.TransactionOptions.ReadOnly.Builder.class); + com.google.datastore.v1.TransactionOptions.ReadOnly.class, + com.google.datastore.v1.TransactionOptions.ReadOnly.Builder.class); } private int bitField0_; public static final int READ_TIME_FIELD_NUMBER = 1; private com.google.protobuf.Timestamp readTime_; /** + * + * *
      * Reads entities at the given time.
      *
@@ -649,6 +722,7 @@ protected java.lang.Object newInstance(
      * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return Whether the readTime field is set. */ @java.lang.Override @@ -656,6 +730,8 @@ public boolean hasReadTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
      * Reads entities at the given time.
      *
@@ -665,6 +741,7 @@ public boolean hasReadTime() {
      * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return The readTime. */ @java.lang.Override @@ -672,6 +749,8 @@ public com.google.protobuf.Timestamp getReadTime() { return readTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : readTime_; } /** + * + * *
      * Reads entities at the given time.
      *
@@ -688,6 +767,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
     }
 
     private byte memoizedIsInitialized = -1;
+
     @java.lang.Override
     public final boolean isInitialized() {
       byte isInitialized = memoizedIsInitialized;
@@ -699,8 +779,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 (((bitField0_ & 0x00000001) != 0)) {
         output.writeMessage(1, getReadTime());
       }
@@ -714,8 +793,7 @@ public int getSerializedSize() {
 
       size = 0;
       if (((bitField0_ & 0x00000001) != 0)) {
-        size += com.google.protobuf.CodedOutputStream
-          .computeMessageSize(1, getReadTime());
+        size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReadTime());
       }
       size += getUnknownFields().getSerializedSize();
       memoizedSize = size;
@@ -725,17 +803,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.datastore.v1.TransactionOptions.ReadOnly)) {
         return super.equals(obj);
       }
-      com.google.datastore.v1.TransactionOptions.ReadOnly other = (com.google.datastore.v1.TransactionOptions.ReadOnly) obj;
+      com.google.datastore.v1.TransactionOptions.ReadOnly other =
+          (com.google.datastore.v1.TransactionOptions.ReadOnly) obj;
 
       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;
@@ -758,89 +836,94 @@ public int hashCode() {
     }
 
     public static com.google.datastore.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.datastore.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.datastore.v1.TransactionOptions.ReadOnly parseFrom(
         com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.datastore.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.datastore.v1.TransactionOptions.ReadOnly parseFrom(byte[] data)
         throws com.google.protobuf.InvalidProtocolBufferException {
       return PARSER.parseFrom(data);
     }
+
     public static com.google.datastore.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.datastore.v1.TransactionOptions.ReadOnly parseFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseWithIOException(PARSER, input);
+
+    public static com.google.datastore.v1.TransactionOptions.ReadOnly parseFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
     }
+
     public static com.google.datastore.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.datastore.v1.TransactionOptions.ReadOnly parseDelimitedFrom(java.io.InputStream input)
-        throws java.io.IOException {
-      return com.google.protobuf.GeneratedMessageV3
-          .parseDelimitedWithIOException(PARSER, input);
+    public static com.google.datastore.v1.TransactionOptions.ReadOnly parseDelimitedFrom(
+        java.io.InputStream input) throws java.io.IOException {
+      return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
     }
 
     public static com.google.datastore.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.datastore.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.datastore.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.datastore.v1.TransactionOptions.ReadOnly prototype) {
+
+    public static Builder newBuilder(
+        com.google.datastore.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
@@ -850,27 +933,32 @@ protected Builder newBuilderForType(
       return builder;
     }
     /**
+     *
+     *
      * 
      * Options specific to read-only transactions.
      * 
* * Protobuf type {@code google.datastore.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.datastore.v1.TransactionOptions.ReadOnly) com.google.datastore.v1.TransactionOptions.ReadOnlyOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_TransactionOptions_ReadOnly_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_TransactionOptions_ReadOnly_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_TransactionOptions_ReadOnly_fieldAccessorTable + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_TransactionOptions_ReadOnly_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.datastore.v1.TransactionOptions.ReadOnly.class, com.google.datastore.v1.TransactionOptions.ReadOnly.Builder.class); + com.google.datastore.v1.TransactionOptions.ReadOnly.class, + com.google.datastore.v1.TransactionOptions.ReadOnly.Builder.class); } // Construct using com.google.datastore.v1.TransactionOptions.ReadOnly.newBuilder() @@ -878,17 +966,17 @@ 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) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getReadTimeFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -902,9 +990,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_TransactionOptions_ReadOnly_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.datastore.v1.DatastoreProto + .internal_static_google_datastore_v1_TransactionOptions_ReadOnly_descriptor; } @java.lang.Override @@ -923,8 +1011,11 @@ public com.google.datastore.v1.TransactionOptions.ReadOnly build() { @java.lang.Override public com.google.datastore.v1.TransactionOptions.ReadOnly buildPartial() { - com.google.datastore.v1.TransactionOptions.ReadOnly result = new com.google.datastore.v1.TransactionOptions.ReadOnly(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.datastore.v1.TransactionOptions.ReadOnly result = + new com.google.datastore.v1.TransactionOptions.ReadOnly(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -933,9 +1024,7 @@ private void buildPartial0(com.google.datastore.v1.TransactionOptions.ReadOnly r int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { - result.readTime_ = readTimeBuilder_ == null - ? readTime_ - : readTimeBuilder_.build(); + result.readTime_ = readTimeBuilder_ == null ? readTime_ : readTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; @@ -945,38 +1034,41 @@ private void buildPartial0(com.google.datastore.v1.TransactionOptions.ReadOnly r public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.datastore.v1.TransactionOptions.ReadOnly) { - return mergeFrom((com.google.datastore.v1.TransactionOptions.ReadOnly)other); + return mergeFrom((com.google.datastore.v1.TransactionOptions.ReadOnly) other); } else { super.mergeFrom(other); return this; @@ -984,7 +1076,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.datastore.v1.TransactionOptions.ReadOnly other) { - if (other == com.google.datastore.v1.TransactionOptions.ReadOnly.getDefaultInstance()) return this; + if (other == com.google.datastore.v1.TransactionOptions.ReadOnly.getDefaultInstance()) + return this; if (other.hasReadTime()) { mergeReadTime(other.getReadTime()); } @@ -1014,19 +1107,19 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getReadTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getReadTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1036,12 +1129,18 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; 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_; /** + * + * *
        * Reads entities at the given time.
        *
@@ -1051,12 +1150,15 @@ public Builder mergeFrom(
        * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return Whether the readTime field is set. */ public boolean hasReadTime() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * *
        * Reads entities at the given time.
        *
@@ -1066,6 +1168,7 @@ public boolean hasReadTime() {
        * 
* * .google.protobuf.Timestamp read_time = 1; + * * @return The readTime. */ public com.google.protobuf.Timestamp getReadTime() { @@ -1076,6 +1179,8 @@ public com.google.protobuf.Timestamp getReadTime() { } } /** + * + * *
        * Reads entities at the given time.
        *
@@ -1100,6 +1205,8 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Reads entities at the given time.
        *
@@ -1110,8 +1217,7 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
        *
        * .google.protobuf.Timestamp read_time = 1;
        */
-      public Builder setReadTime(
-          com.google.protobuf.Timestamp.Builder builderForValue) {
+      public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue) {
         if (readTimeBuilder_ == null) {
           readTime_ = builderForValue.build();
         } else {
@@ -1122,6 +1228,8 @@ public Builder setReadTime(
         return this;
       }
       /**
+       *
+       *
        * 
        * Reads entities at the given time.
        *
@@ -1134,9 +1242,9 @@ public Builder setReadTime(
        */
       public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
         if (readTimeBuilder_ == null) {
-          if (((bitField0_ & 0x00000001) != 0) &&
-            readTime_ != null &&
-            readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
+          if (((bitField0_ & 0x00000001) != 0)
+              && readTime_ != null
+              && readTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
             getReadTimeBuilder().mergeFrom(value);
           } else {
             readTime_ = value;
@@ -1151,6 +1259,8 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
         return this;
       }
       /**
+       *
+       *
        * 
        * Reads entities at the given time.
        *
@@ -1172,6 +1282,8 @@ public Builder clearReadTime() {
         return this;
       }
       /**
+       *
+       *
        * 
        * Reads entities at the given time.
        *
@@ -1188,6 +1300,8 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
         return getReadTimeFieldBuilder().getBuilder();
       }
       /**
+       *
+       *
        * 
        * Reads entities at the given time.
        *
@@ -1202,11 +1316,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_;
         }
       }
       /**
+       *
+       *
        * 
        * Reads entities at the given time.
        *
@@ -1218,18 +1333,22 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
        * .google.protobuf.Timestamp read_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>
           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) {
@@ -1242,12 +1361,12 @@ public final Builder mergeUnknownFields(
         return super.mergeUnknownFields(unknownFields);
       }
 
-
       // @@protoc_insertion_point(builder_scope:google.datastore.v1.TransactionOptions.ReadOnly)
     }
 
     // @@protoc_insertion_point(class_scope:google.datastore.v1.TransactionOptions.ReadOnly)
     private static final com.google.datastore.v1.TransactionOptions.ReadOnly DEFAULT_INSTANCE;
+
     static {
       DEFAULT_INSTANCE = new com.google.datastore.v1.TransactionOptions.ReadOnly();
     }
@@ -1256,27 +1375,28 @@ public static com.google.datastore.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;
@@ -1291,19 +1411,22 @@ public com.google.protobuf.Parser getParserForType() {
     public com.google.datastore.v1.TransactionOptions.ReadOnly getDefaultInstanceForType() {
       return DEFAULT_INSTANCE;
     }
-
   }
 
   private int modeCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object mode_;
+
   public enum ModeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     READ_WRITE(1),
     READ_ONLY(2),
     MODE_NOT_SET(0);
     private final int value;
+
     private ModeCase(int value) {
       this.value = value;
     }
@@ -1319,30 +1442,36 @@ public static ModeCase valueOf(int value) {
 
     public static ModeCase forNumber(int value) {
       switch (value) {
-        case 1: return READ_WRITE;
-        case 2: return READ_ONLY;
-        case 0: return MODE_NOT_SET;
-        default: return null;
+        case 1:
+          return READ_WRITE;
+        case 2:
+          return READ_ONLY;
+        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_WRITE_FIELD_NUMBER = 1;
   /**
+   *
+   *
    * 
    * The transaction should allow both reads and writes.
    * 
* * .google.datastore.v1.TransactionOptions.ReadWrite read_write = 1; + * * @return Whether the readWrite field is set. */ @java.lang.Override @@ -1350,21 +1479,26 @@ public boolean hasReadWrite() { return modeCase_ == 1; } /** + * + * *
    * The transaction should allow both reads and writes.
    * 
* * .google.datastore.v1.TransactionOptions.ReadWrite read_write = 1; + * * @return The readWrite. */ @java.lang.Override public com.google.datastore.v1.TransactionOptions.ReadWrite getReadWrite() { if (modeCase_ == 1) { - return (com.google.datastore.v1.TransactionOptions.ReadWrite) mode_; + return (com.google.datastore.v1.TransactionOptions.ReadWrite) mode_; } return com.google.datastore.v1.TransactionOptions.ReadWrite.getDefaultInstance(); } /** + * + * *
    * The transaction should allow both reads and writes.
    * 
@@ -1374,18 +1508,21 @@ public com.google.datastore.v1.TransactionOptions.ReadWrite getReadWrite() { @java.lang.Override public com.google.datastore.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteOrBuilder() { if (modeCase_ == 1) { - return (com.google.datastore.v1.TransactionOptions.ReadWrite) mode_; + return (com.google.datastore.v1.TransactionOptions.ReadWrite) mode_; } return com.google.datastore.v1.TransactionOptions.ReadWrite.getDefaultInstance(); } public static final int READ_ONLY_FIELD_NUMBER = 2; /** + * + * *
    * The transaction should only allow reads.
    * 
* * .google.datastore.v1.TransactionOptions.ReadOnly read_only = 2; + * * @return Whether the readOnly field is set. */ @java.lang.Override @@ -1393,21 +1530,26 @@ public boolean hasReadOnly() { return modeCase_ == 2; } /** + * + * *
    * The transaction should only allow reads.
    * 
* * .google.datastore.v1.TransactionOptions.ReadOnly read_only = 2; + * * @return The readOnly. */ @java.lang.Override public com.google.datastore.v1.TransactionOptions.ReadOnly getReadOnly() { if (modeCase_ == 2) { - return (com.google.datastore.v1.TransactionOptions.ReadOnly) mode_; + return (com.google.datastore.v1.TransactionOptions.ReadOnly) mode_; } return com.google.datastore.v1.TransactionOptions.ReadOnly.getDefaultInstance(); } /** + * + * *
    * The transaction should only allow reads.
    * 
@@ -1417,12 +1559,13 @@ public com.google.datastore.v1.TransactionOptions.ReadOnly getReadOnly() { @java.lang.Override public com.google.datastore.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyOrBuilder() { if (modeCase_ == 2) { - return (com.google.datastore.v1.TransactionOptions.ReadOnly) mode_; + return (com.google.datastore.v1.TransactionOptions.ReadOnly) mode_; } return com.google.datastore.v1.TransactionOptions.ReadOnly.getDefaultInstance(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1434,8 +1577,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_ == 1) { output.writeMessage(1, (com.google.datastore.v1.TransactionOptions.ReadWrite) mode_); } @@ -1452,12 +1594,14 @@ public int getSerializedSize() { size = 0; if (modeCase_ == 1) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, (com.google.datastore.v1.TransactionOptions.ReadWrite) mode_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 1, (com.google.datastore.v1.TransactionOptions.ReadWrite) mode_); } if (modeCase_ == 2) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, (com.google.datastore.v1.TransactionOptions.ReadOnly) mode_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.datastore.v1.TransactionOptions.ReadOnly) mode_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1467,22 +1611,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.datastore.v1.TransactionOptions)) { return super.equals(obj); } - com.google.datastore.v1.TransactionOptions other = (com.google.datastore.v1.TransactionOptions) obj; + com.google.datastore.v1.TransactionOptions other = + (com.google.datastore.v1.TransactionOptions) obj; if (!getModeCase().equals(other.getModeCase())) return false; switch (modeCase_) { case 1: - if (!getReadWrite() - .equals(other.getReadWrite())) return false; + if (!getReadWrite().equals(other.getReadWrite())) return false; break; case 2: - if (!getReadOnly() - .equals(other.getReadOnly())) return false; + if (!getReadOnly().equals(other.getReadOnly())) return false; break; case 0: default: @@ -1515,99 +1658,104 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.TransactionOptions parseFrom( - java.nio.ByteBuffer data) + public static com.google.datastore.v1.TransactionOptions parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.v1.TransactionOptions parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.v1.TransactionOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.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.datastore.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.datastore.v1.TransactionOptions parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.datastore.v1.TransactionOptions parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.datastore.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.datastore.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.datastore.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.datastore.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 beginning a new transaction.
    *
@@ -1620,33 +1768,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.datastore.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.datastore.v1.TransactionOptions)
       com.google.datastore.v1.TransactionOptionsOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_TransactionOptions_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_TransactionOptions_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_TransactionOptions_fieldAccessorTable
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_TransactionOptions_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.datastore.v1.TransactionOptions.class, com.google.datastore.v1.TransactionOptions.Builder.class);
+              com.google.datastore.v1.TransactionOptions.class,
+              com.google.datastore.v1.TransactionOptions.Builder.class);
     }
 
     // Construct using com.google.datastore.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();
@@ -1663,9 +1810,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.datastore.v1.DatastoreProto.internal_static_google_datastore_v1_TransactionOptions_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.datastore.v1.DatastoreProto
+          .internal_static_google_datastore_v1_TransactionOptions_descriptor;
     }
 
     @java.lang.Override
@@ -1684,8 +1831,11 @@ public com.google.datastore.v1.TransactionOptions build() {
 
     @java.lang.Override
     public com.google.datastore.v1.TransactionOptions buildPartial() {
-      com.google.datastore.v1.TransactionOptions result = new com.google.datastore.v1.TransactionOptions(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.datastore.v1.TransactionOptions result =
+          new com.google.datastore.v1.TransactionOptions(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1698,12 +1848,10 @@ private void buildPartial0(com.google.datastore.v1.TransactionOptions result) {
     private void buildPartialOneofs(com.google.datastore.v1.TransactionOptions result) {
       result.modeCase_ = modeCase_;
       result.mode_ = this.mode_;
-      if (modeCase_ == 1 &&
-          readWriteBuilder_ != null) {
+      if (modeCase_ == 1 && readWriteBuilder_ != null) {
         result.mode_ = readWriteBuilder_.build();
       }
-      if (modeCase_ == 2 &&
-          readOnlyBuilder_ != null) {
+      if (modeCase_ == 2 && readOnlyBuilder_ != null) {
         result.mode_ = readOnlyBuilder_.build();
       }
     }
@@ -1712,38 +1860,39 @@ private void buildPartialOneofs(com.google.datastore.v1.TransactionOptions resul
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.TransactionOptions) {
-        return mergeFrom((com.google.datastore.v1.TransactionOptions)other);
+        return mergeFrom((com.google.datastore.v1.TransactionOptions) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1753,17 +1902,20 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     public Builder mergeFrom(com.google.datastore.v1.TransactionOptions other) {
       if (other == com.google.datastore.v1.TransactionOptions.getDefaultInstance()) return this;
       switch (other.getModeCase()) {
-        case READ_WRITE: {
-          mergeReadWrite(other.getReadWrite());
-          break;
-        }
-        case READ_ONLY: {
-          mergeReadOnly(other.getReadOnly());
-          break;
-        }
-        case MODE_NOT_SET: {
-          break;
-        }
+        case READ_WRITE:
+          {
+            mergeReadWrite(other.getReadWrite());
+            break;
+          }
+        case READ_ONLY:
+          {
+            mergeReadOnly(other.getReadOnly());
+            break;
+          }
+        case MODE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1791,26 +1943,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              input.readMessage(
-                  getReadWriteFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              modeCase_ = 1;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getReadOnlyFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              modeCase_ = 2;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                input.readMessage(getReadWriteFieldBuilder().getBuilder(), extensionRegistry);
+                modeCase_ = 1;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getReadOnlyFieldBuilder().getBuilder(), extensionRegistry);
+                modeCase_ = 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) {
@@ -1820,12 +1971,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() {
@@ -1838,13 +1989,19 @@ public Builder clearMode() {
     private int bitField0_;
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.v1.TransactionOptions.ReadWrite, com.google.datastore.v1.TransactionOptions.ReadWrite.Builder, com.google.datastore.v1.TransactionOptions.ReadWriteOrBuilder> readWriteBuilder_;
+            com.google.datastore.v1.TransactionOptions.ReadWrite,
+            com.google.datastore.v1.TransactionOptions.ReadWrite.Builder,
+            com.google.datastore.v1.TransactionOptions.ReadWriteOrBuilder>
+        readWriteBuilder_;
     /**
+     *
+     *
      * 
      * The transaction should allow both reads and writes.
      * 
* * .google.datastore.v1.TransactionOptions.ReadWrite read_write = 1; + * * @return Whether the readWrite field is set. */ @java.lang.Override @@ -1852,11 +2009,14 @@ public boolean hasReadWrite() { return modeCase_ == 1; } /** + * + * *
      * The transaction should allow both reads and writes.
      * 
* * .google.datastore.v1.TransactionOptions.ReadWrite read_write = 1; + * * @return The readWrite. */ @java.lang.Override @@ -1874,6 +2034,8 @@ public com.google.datastore.v1.TransactionOptions.ReadWrite getReadWrite() { } } /** + * + * *
      * The transaction should allow both reads and writes.
      * 
@@ -1894,6 +2056,8 @@ public Builder setReadWrite(com.google.datastore.v1.TransactionOptions.ReadWrite return this; } /** + * + * *
      * The transaction should allow both reads and writes.
      * 
@@ -1912,6 +2076,8 @@ public Builder setReadWrite( return this; } /** + * + * *
      * The transaction should allow both reads and writes.
      * 
@@ -1920,10 +2086,13 @@ public Builder setReadWrite( */ public Builder mergeReadWrite(com.google.datastore.v1.TransactionOptions.ReadWrite value) { if (readWriteBuilder_ == null) { - if (modeCase_ == 1 && - mode_ != com.google.datastore.v1.TransactionOptions.ReadWrite.getDefaultInstance()) { - mode_ = com.google.datastore.v1.TransactionOptions.ReadWrite.newBuilder((com.google.datastore.v1.TransactionOptions.ReadWrite) mode_) - .mergeFrom(value).buildPartial(); + if (modeCase_ == 1 + && mode_ != com.google.datastore.v1.TransactionOptions.ReadWrite.getDefaultInstance()) { + mode_ = + com.google.datastore.v1.TransactionOptions.ReadWrite.newBuilder( + (com.google.datastore.v1.TransactionOptions.ReadWrite) mode_) + .mergeFrom(value) + .buildPartial(); } else { mode_ = value; } @@ -1939,6 +2108,8 @@ public Builder mergeReadWrite(com.google.datastore.v1.TransactionOptions.ReadWri return this; } /** + * + * *
      * The transaction should allow both reads and writes.
      * 
@@ -1962,6 +2133,8 @@ public Builder clearReadWrite() { return this; } /** + * + * *
      * The transaction should allow both reads and writes.
      * 
@@ -1972,6 +2145,8 @@ public com.google.datastore.v1.TransactionOptions.ReadWrite.Builder getReadWrite return getReadWriteFieldBuilder().getBuilder(); } /** + * + * *
      * The transaction should allow both reads and writes.
      * 
@@ -1990,6 +2165,8 @@ public com.google.datastore.v1.TransactionOptions.ReadWriteOrBuilder getReadWrit } } /** + * + * *
      * The transaction should allow both reads and writes.
      * 
@@ -1997,14 +2174,19 @@ public com.google.datastore.v1.TransactionOptions.ReadWriteOrBuilder getReadWrit * .google.datastore.v1.TransactionOptions.ReadWrite read_write = 1; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.TransactionOptions.ReadWrite, com.google.datastore.v1.TransactionOptions.ReadWrite.Builder, com.google.datastore.v1.TransactionOptions.ReadWriteOrBuilder> + com.google.datastore.v1.TransactionOptions.ReadWrite, + com.google.datastore.v1.TransactionOptions.ReadWrite.Builder, + com.google.datastore.v1.TransactionOptions.ReadWriteOrBuilder> getReadWriteFieldBuilder() { if (readWriteBuilder_ == null) { if (!(modeCase_ == 1)) { mode_ = com.google.datastore.v1.TransactionOptions.ReadWrite.getDefaultInstance(); } - readWriteBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.TransactionOptions.ReadWrite, com.google.datastore.v1.TransactionOptions.ReadWrite.Builder, com.google.datastore.v1.TransactionOptions.ReadWriteOrBuilder>( + readWriteBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.TransactionOptions.ReadWrite, + com.google.datastore.v1.TransactionOptions.ReadWrite.Builder, + com.google.datastore.v1.TransactionOptions.ReadWriteOrBuilder>( (com.google.datastore.v1.TransactionOptions.ReadWrite) mode_, getParentForChildren(), isClean()); @@ -2016,13 +2198,19 @@ public com.google.datastore.v1.TransactionOptions.ReadWriteOrBuilder getReadWrit } private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.TransactionOptions.ReadOnly, com.google.datastore.v1.TransactionOptions.ReadOnly.Builder, com.google.datastore.v1.TransactionOptions.ReadOnlyOrBuilder> readOnlyBuilder_; + com.google.datastore.v1.TransactionOptions.ReadOnly, + com.google.datastore.v1.TransactionOptions.ReadOnly.Builder, + com.google.datastore.v1.TransactionOptions.ReadOnlyOrBuilder> + readOnlyBuilder_; /** + * + * *
      * The transaction should only allow reads.
      * 
* * .google.datastore.v1.TransactionOptions.ReadOnly read_only = 2; + * * @return Whether the readOnly field is set. */ @java.lang.Override @@ -2030,11 +2218,14 @@ public boolean hasReadOnly() { return modeCase_ == 2; } /** + * + * *
      * The transaction should only allow reads.
      * 
* * .google.datastore.v1.TransactionOptions.ReadOnly read_only = 2; + * * @return The readOnly. */ @java.lang.Override @@ -2052,6 +2243,8 @@ public com.google.datastore.v1.TransactionOptions.ReadOnly getReadOnly() { } } /** + * + * *
      * The transaction should only allow reads.
      * 
@@ -2072,6 +2265,8 @@ public Builder setReadOnly(com.google.datastore.v1.TransactionOptions.ReadOnly v return this; } /** + * + * *
      * The transaction should only allow reads.
      * 
@@ -2090,6 +2285,8 @@ public Builder setReadOnly( return this; } /** + * + * *
      * The transaction should only allow reads.
      * 
@@ -2098,10 +2295,13 @@ public Builder setReadOnly( */ public Builder mergeReadOnly(com.google.datastore.v1.TransactionOptions.ReadOnly value) { if (readOnlyBuilder_ == null) { - if (modeCase_ == 2 && - mode_ != com.google.datastore.v1.TransactionOptions.ReadOnly.getDefaultInstance()) { - mode_ = com.google.datastore.v1.TransactionOptions.ReadOnly.newBuilder((com.google.datastore.v1.TransactionOptions.ReadOnly) mode_) - .mergeFrom(value).buildPartial(); + if (modeCase_ == 2 + && mode_ != com.google.datastore.v1.TransactionOptions.ReadOnly.getDefaultInstance()) { + mode_ = + com.google.datastore.v1.TransactionOptions.ReadOnly.newBuilder( + (com.google.datastore.v1.TransactionOptions.ReadOnly) mode_) + .mergeFrom(value) + .buildPartial(); } else { mode_ = value; } @@ -2117,6 +2317,8 @@ public Builder mergeReadOnly(com.google.datastore.v1.TransactionOptions.ReadOnly return this; } /** + * + * *
      * The transaction should only allow reads.
      * 
@@ -2140,6 +2342,8 @@ public Builder clearReadOnly() { return this; } /** + * + * *
      * The transaction should only allow reads.
      * 
@@ -2150,6 +2354,8 @@ public com.google.datastore.v1.TransactionOptions.ReadOnly.Builder getReadOnlyBu return getReadOnlyFieldBuilder().getBuilder(); } /** + * + * *
      * The transaction should only allow reads.
      * 
@@ -2168,6 +2374,8 @@ public com.google.datastore.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyO } } /** + * + * *
      * The transaction should only allow reads.
      * 
@@ -2175,14 +2383,19 @@ public com.google.datastore.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyO * .google.datastore.v1.TransactionOptions.ReadOnly read_only = 2; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.TransactionOptions.ReadOnly, com.google.datastore.v1.TransactionOptions.ReadOnly.Builder, com.google.datastore.v1.TransactionOptions.ReadOnlyOrBuilder> + com.google.datastore.v1.TransactionOptions.ReadOnly, + com.google.datastore.v1.TransactionOptions.ReadOnly.Builder, + com.google.datastore.v1.TransactionOptions.ReadOnlyOrBuilder> getReadOnlyFieldBuilder() { if (readOnlyBuilder_ == null) { if (!(modeCase_ == 2)) { mode_ = com.google.datastore.v1.TransactionOptions.ReadOnly.getDefaultInstance(); } - readOnlyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.TransactionOptions.ReadOnly, com.google.datastore.v1.TransactionOptions.ReadOnly.Builder, com.google.datastore.v1.TransactionOptions.ReadOnlyOrBuilder>( + readOnlyBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.TransactionOptions.ReadOnly, + com.google.datastore.v1.TransactionOptions.ReadOnly.Builder, + com.google.datastore.v1.TransactionOptions.ReadOnlyOrBuilder>( (com.google.datastore.v1.TransactionOptions.ReadOnly) mode_, getParentForChildren(), isClean()); @@ -2192,9 +2405,9 @@ public com.google.datastore.v1.TransactionOptions.ReadOnlyOrBuilder getReadOnlyO onChanged(); return readOnlyBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2204,12 +2417,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.v1.TransactionOptions) } // @@protoc_insertion_point(class_scope:google.datastore.v1.TransactionOptions) private static final com.google.datastore.v1.TransactionOptions DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.v1.TransactionOptions(); } @@ -2218,27 +2431,27 @@ public static com.google.datastore.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; @@ -2253,6 +2466,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.TransactionOptions getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptionsOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptionsOrBuilder.java similarity index 72% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptionsOrBuilder.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptionsOrBuilder.java index d2d756c81..5abaa12a4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptionsOrBuilder.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/TransactionOptionsOrBuilder.java @@ -1,32 +1,56 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/datastore.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface TransactionOptionsOrBuilder extends +public interface TransactionOptionsOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.v1.TransactionOptions) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The transaction should allow both reads and writes.
    * 
* * .google.datastore.v1.TransactionOptions.ReadWrite read_write = 1; + * * @return Whether the readWrite field is set. */ boolean hasReadWrite(); /** + * + * *
    * The transaction should allow both reads and writes.
    * 
* * .google.datastore.v1.TransactionOptions.ReadWrite read_write = 1; + * * @return The readWrite. */ com.google.datastore.v1.TransactionOptions.ReadWrite getReadWrite(); /** + * + * *
    * The transaction should allow both reads and writes.
    * 
@@ -36,24 +60,32 @@ public interface TransactionOptionsOrBuilder extends com.google.datastore.v1.TransactionOptions.ReadWriteOrBuilder getReadWriteOrBuilder(); /** + * + * *
    * The transaction should only allow reads.
    * 
* * .google.datastore.v1.TransactionOptions.ReadOnly read_only = 2; + * * @return Whether the readOnly field is set. */ boolean hasReadOnly(); /** + * + * *
    * The transaction should only allow reads.
    * 
* * .google.datastore.v1.TransactionOptions.ReadOnly read_only = 2; + * * @return The readOnly. */ com.google.datastore.v1.TransactionOptions.ReadOnly getReadOnly(); /** + * + * *
    * The transaction should only allow reads.
    * 
diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Value.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Value.java similarity index 75% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Value.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Value.java index a7cd5a505..1d63815b9 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Value.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/Value.java @@ -1,3 +1,18 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/entity.proto @@ -5,6 +20,8 @@ package com.google.datastore.v1; /** + * + * *
  * A message that can hold any of the supported value types and associated
  * metadata.
@@ -12,43 +29,45 @@
  *
  * Protobuf type {@code google.datastore.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.datastore.v1.Value)
     ValueOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Value.newBuilder() to construct.
   private Value(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-  private Value() {
-  }
+
+  private Value() {}
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Value();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
     return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Value_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Value_fieldAccessorTable
+    return com.google.datastore.v1.EntityProto
+        .internal_static_google_datastore_v1_Value_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
             com.google.datastore.v1.Value.class, com.google.datastore.v1.Value.Builder.class);
   }
 
   private int valueTypeCase_ = 0;
+
   @SuppressWarnings("serial")
   private java.lang.Object valueType_;
+
   public enum ValueTypeCase
-      implements com.google.protobuf.Internal.EnumLite,
+      implements
+          com.google.protobuf.Internal.EnumLite,
           com.google.protobuf.AbstractMessage.InternalOneOfEnum {
     NULL_VALUE(11),
     BOOLEAN_VALUE(1),
@@ -63,6 +82,7 @@ public enum ValueTypeCase
     ARRAY_VALUE(9),
     VALUETYPE_NOT_SET(0);
     private final int value;
+
     private ValueTypeCase(int value) {
       this.value = value;
     }
@@ -78,50 +98,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 5: return KEY_VALUE;
-        case 17: return STRING_VALUE;
-        case 18: return BLOB_VALUE;
-        case 8: return GEO_POINT_VALUE;
-        case 6: return ENTITY_VALUE;
-        case 9: return ARRAY_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 5:
+          return KEY_VALUE;
+        case 17:
+          return STRING_VALUE;
+        case 18:
+          return BLOB_VALUE;
+        case 8:
+          return GEO_POINT_VALUE;
+        case 6:
+          return ENTITY_VALUE;
+        case 9:
+          return ARRAY_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() { @@ -131,17 +169,20 @@ public int getNullValueValue() { return 0; } /** + * + * *
    * A null value.
    * 
* * .google.protobuf.NullValue null_value = 11; + * * @return The nullValue. */ public com.google.protobuf.NullValue getNullValue() { if (valueTypeCase_ == 11) { - com.google.protobuf.NullValue result = com.google.protobuf.NullValue.forNumber( - (java.lang.Integer) valueType_); + com.google.protobuf.NullValue result = + com.google.protobuf.NullValue.forNumber((java.lang.Integer) valueType_); return result == null ? com.google.protobuf.NullValue.UNRECOGNIZED : result; } return com.google.protobuf.NullValue.NULL_VALUE; @@ -149,11 +190,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 @@ -161,11 +205,14 @@ public boolean hasBooleanValue() { return valueTypeCase_ == 1; } /** + * + * *
    * A boolean value.
    * 
* * bool boolean_value = 1; + * * @return The booleanValue. */ @java.lang.Override @@ -178,11 +225,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 @@ -190,11 +240,14 @@ public boolean hasIntegerValue() { return valueTypeCase_ == 2; } /** + * + * *
    * An integer value.
    * 
* * int64 integer_value = 2; + * * @return The integerValue. */ @java.lang.Override @@ -207,11 +260,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 @@ -219,11 +275,14 @@ public boolean hasDoubleValue() { return valueTypeCase_ == 3; } /** + * + * *
    * A double value.
    * 
* * double double_value = 3; + * * @return The doubleValue. */ @java.lang.Override @@ -236,6 +295,8 @@ public double getDoubleValue() { public static final int TIMESTAMP_VALUE_FIELD_NUMBER = 10; /** + * + * *
    * A timestamp value.
    * When stored in the Datastore, precise only to microseconds;
@@ -243,6 +304,7 @@ public double getDoubleValue() {
    * 
* * .google.protobuf.Timestamp timestamp_value = 10; + * * @return Whether the timestampValue field is set. */ @java.lang.Override @@ -250,6 +312,8 @@ public boolean hasTimestampValue() { return valueTypeCase_ == 10; } /** + * + * *
    * A timestamp value.
    * When stored in the Datastore, precise only to microseconds;
@@ -257,16 +321,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.
    * When stored in the Datastore, precise only to microseconds;
@@ -278,18 +345,21 @@ 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 KEY_VALUE_FIELD_NUMBER = 5;
   /**
+   *
+   *
    * 
    * A key value.
    * 
* * .google.datastore.v1.Key key_value = 5; + * * @return Whether the keyValue field is set. */ @java.lang.Override @@ -297,21 +367,26 @@ public boolean hasKeyValue() { return valueTypeCase_ == 5; } /** + * + * *
    * A key value.
    * 
* * .google.datastore.v1.Key key_value = 5; + * * @return The keyValue. */ @java.lang.Override public com.google.datastore.v1.Key getKeyValue() { if (valueTypeCase_ == 5) { - return (com.google.datastore.v1.Key) valueType_; + return (com.google.datastore.v1.Key) valueType_; } return com.google.datastore.v1.Key.getDefaultInstance(); } /** + * + * *
    * A key value.
    * 
@@ -321,13 +396,15 @@ public com.google.datastore.v1.Key getKeyValue() { @java.lang.Override public com.google.datastore.v1.KeyOrBuilder getKeyValueOrBuilder() { if (valueTypeCase_ == 5) { - return (com.google.datastore.v1.Key) valueType_; + return (com.google.datastore.v1.Key) valueType_; } return com.google.datastore.v1.Key.getDefaultInstance(); } public static final int STRING_VALUE_FIELD_NUMBER = 17; /** + * + * *
    * A UTF-8 encoded string value.
    * When `exclude_from_indexes` is false (it is indexed) , may have at most
@@ -335,12 +412,15 @@ public com.google.datastore.v1.KeyOrBuilder getKeyValueOrBuilder() {
    * 
* * string string_value = 17; + * * @return Whether the stringValue field is set. */ public boolean hasStringValue() { return valueTypeCase_ == 17; } /** + * + * *
    * A UTF-8 encoded string value.
    * When `exclude_from_indexes` is false (it is indexed) , may have at most
@@ -348,6 +428,7 @@ public boolean hasStringValue() {
    * 
* * string string_value = 17; + * * @return The stringValue. */ public java.lang.String getStringValue() { @@ -358,8 +439,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; @@ -368,6 +448,8 @@ public java.lang.String getStringValue() { } } /** + * + * *
    * A UTF-8 encoded string value.
    * When `exclude_from_indexes` is false (it is indexed) , may have at most
@@ -375,18 +457,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; } @@ -398,6 +479,8 @@ public java.lang.String getStringValue() { public static final int BLOB_VALUE_FIELD_NUMBER = 18; /** + * + * *
    * A blob value.
    * May have at most 1,000,000 bytes.
@@ -406,6 +489,7 @@ public java.lang.String getStringValue() {
    * 
* * bytes blob_value = 18; + * * @return Whether the blobValue field is set. */ @java.lang.Override @@ -413,6 +497,8 @@ public boolean hasBlobValue() { return valueTypeCase_ == 18; } /** + * + * *
    * A blob value.
    * May have at most 1,000,000 bytes.
@@ -421,6 +507,7 @@ public boolean hasBlobValue() {
    * 
* * bytes blob_value = 18; + * * @return The blobValue. */ @java.lang.Override @@ -433,11 +520,14 @@ public com.google.protobuf.ByteString getBlobValue() { 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 @@ -445,21 +535,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.
    * 
@@ -469,13 +564,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 ENTITY_VALUE_FIELD_NUMBER = 6; /** + * + * *
    * An entity value.
    *
@@ -485,6 +582,7 @@ public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() {
    * 
* * .google.datastore.v1.Entity entity_value = 6; + * * @return Whether the entityValue field is set. */ @java.lang.Override @@ -492,6 +590,8 @@ public boolean hasEntityValue() { return valueTypeCase_ == 6; } /** + * + * *
    * An entity value.
    *
@@ -501,16 +601,19 @@ public boolean hasEntityValue() {
    * 
* * .google.datastore.v1.Entity entity_value = 6; + * * @return The entityValue. */ @java.lang.Override public com.google.datastore.v1.Entity getEntityValue() { if (valueTypeCase_ == 6) { - return (com.google.datastore.v1.Entity) valueType_; + return (com.google.datastore.v1.Entity) valueType_; } return com.google.datastore.v1.Entity.getDefaultInstance(); } /** + * + * *
    * An entity value.
    *
@@ -524,13 +627,15 @@ public com.google.datastore.v1.Entity getEntityValue() {
   @java.lang.Override
   public com.google.datastore.v1.EntityOrBuilder getEntityValueOrBuilder() {
     if (valueTypeCase_ == 6) {
-       return (com.google.datastore.v1.Entity) valueType_;
+      return (com.google.datastore.v1.Entity) valueType_;
     }
     return com.google.datastore.v1.Entity.getDefaultInstance();
   }
 
   public static final int ARRAY_VALUE_FIELD_NUMBER = 9;
   /**
+   *
+   *
    * 
    * An array value.
    * Cannot contain another array value.
@@ -539,6 +644,7 @@ public com.google.datastore.v1.EntityOrBuilder getEntityValueOrBuilder() {
    * 
* * .google.datastore.v1.ArrayValue array_value = 9; + * * @return Whether the arrayValue field is set. */ @java.lang.Override @@ -546,6 +652,8 @@ public boolean hasArrayValue() { return valueTypeCase_ == 9; } /** + * + * *
    * An array value.
    * Cannot contain another array value.
@@ -554,16 +662,19 @@ public boolean hasArrayValue() {
    * 
* * .google.datastore.v1.ArrayValue array_value = 9; + * * @return The arrayValue. */ @java.lang.Override public com.google.datastore.v1.ArrayValue getArrayValue() { if (valueTypeCase_ == 9) { - return (com.google.datastore.v1.ArrayValue) valueType_; + return (com.google.datastore.v1.ArrayValue) valueType_; } return com.google.datastore.v1.ArrayValue.getDefaultInstance(); } /** + * + * *
    * An array value.
    * Cannot contain another array value.
@@ -576,7 +687,7 @@ public com.google.datastore.v1.ArrayValue getArrayValue() {
   @java.lang.Override
   public com.google.datastore.v1.ArrayValueOrBuilder getArrayValueOrBuilder() {
     if (valueTypeCase_ == 9) {
-       return (com.google.datastore.v1.ArrayValue) valueType_;
+      return (com.google.datastore.v1.ArrayValue) valueType_;
     }
     return com.google.datastore.v1.ArrayValue.getDefaultInstance();
   }
@@ -584,11 +695,14 @@ public com.google.datastore.v1.ArrayValueOrBuilder getArrayValueOrBuilder() {
   public static final int MEANING_FIELD_NUMBER = 14;
   private int meaning_ = 0;
   /**
+   *
+   *
    * 
    * The `meaning` field should only be populated for backwards compatibility.
    * 
* * int32 meaning = 14; + * * @return The meaning. */ @java.lang.Override @@ -599,12 +713,15 @@ public int getMeaning() { public static final int EXCLUDE_FROM_INDEXES_FIELD_NUMBER = 19; private boolean excludeFromIndexes_ = false; /** + * + * *
    * If the value should be excluded from all indexes including those defined
    * explicitly.
    * 
* * bool exclude_from_indexes = 19; + * * @return The excludeFromIndexes. */ @java.lang.Override @@ -613,6 +730,7 @@ public boolean getExcludeFromIndexes() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -624,19 +742,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) { output.writeMessage(5, (com.google.datastore.v1.Key) valueType_); @@ -663,8 +777,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_); } if (excludeFromIndexes_ != false) { output.writeBool(19, excludeFromIndexes_); @@ -679,59 +792,63 @@ 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.CodedOutputStream - .computeMessageSize(5, (com.google.datastore.v1.Key) valueType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 5, (com.google.datastore.v1.Key) valueType_); } if (valueTypeCase_ == 6) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(6, (com.google.datastore.v1.Entity) valueType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 6, (com.google.datastore.v1.Entity) 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.datastore.v1.ArrayValue) valueType_); + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 9, (com.google.datastore.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 (meaning_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(14, meaning_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(14, meaning_); } 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_); } if (excludeFromIndexes_ != false) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(19, excludeFromIndexes_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(19, excludeFromIndexes_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -741,63 +858,50 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.datastore.v1.Value)) { return super.equals(obj); } com.google.datastore.v1.Value other = (com.google.datastore.v1.Value) obj; - if (getMeaning() - != other.getMeaning()) return false; - if (getExcludeFromIndexes() - != other.getExcludeFromIndexes()) return false; + if (getMeaning() != other.getMeaning()) return false; + if (getExcludeFromIndexes() != other.getExcludeFromIndexes()) return false; 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 5: - if (!getKeyValue() - .equals(other.getKeyValue())) return false; + if (!getKeyValue().equals(other.getKeyValue())) return false; break; case 17: - if (!getStringValue() - .equals(other.getStringValue())) return false; + if (!getStringValue().equals(other.getStringValue())) return false; break; case 18: - if (!getBlobValue() - .equals(other.getBlobValue())) return false; + if (!getBlobValue().equals(other.getBlobValue())) return false; break; case 8: - if (!getGeoPointValue() - .equals(other.getGeoPointValue())) return false; + if (!getGeoPointValue().equals(other.getGeoPointValue())) return false; break; case 6: - if (!getEntityValue() - .equals(other.getEntityValue())) return false; + if (!getEntityValue().equals(other.getEntityValue())) return false; break; case 9: - if (!getArrayValue() - .equals(other.getArrayValue())) return false; + if (!getArrayValue().equals(other.getArrayValue())) return false; break; case 0: default: @@ -816,8 +920,7 @@ public int hashCode() { hash = (37 * hash) + MEANING_FIELD_NUMBER; hash = (53 * hash) + getMeaning(); hash = (37 * hash) + EXCLUDE_FROM_INDEXES_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getExcludeFromIndexes()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getExcludeFromIndexes()); switch (valueTypeCase_) { case 11: hash = (37 * hash) + NULL_VALUE_FIELD_NUMBER; @@ -825,18 +928,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; @@ -874,99 +977,103 @@ public int hashCode() { return hash; } - public static com.google.datastore.v1.Value parseFrom( - java.nio.ByteBuffer data) + public static com.google.datastore.v1.Value parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.v1.Value parseFrom( - com.google.protobuf.ByteString data) + + public static com.google.datastore.v1.Value parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.v1.Value parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.datastore.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.datastore.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.datastore.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.datastore.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.datastore.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.datastore.v1.Value parseFrom( - com.google.protobuf.CodedInputStream input) + + public static com.google.datastore.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.datastore.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.datastore.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 and associated
    * metadata.
@@ -974,33 +1081,31 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.datastore.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.datastore.v1.Value)
       com.google.datastore.v1.ValueOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Value_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.datastore.v1.EntityProto
+          .internal_static_google_datastore_v1_Value_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Value_fieldAccessorTable
+      return com.google.datastore.v1.EntityProto
+          .internal_static_google_datastore_v1_Value_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
               com.google.datastore.v1.Value.class, com.google.datastore.v1.Value.Builder.class);
     }
 
     // Construct using com.google.datastore.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();
@@ -1028,9 +1133,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.datastore.v1.EntityProto.internal_static_google_datastore_v1_Value_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.datastore.v1.EntityProto
+          .internal_static_google_datastore_v1_Value_descriptor;
     }
 
     @java.lang.Override
@@ -1050,7 +1155,9 @@ public com.google.datastore.v1.Value build() {
     @java.lang.Override
     public com.google.datastore.v1.Value buildPartial() {
       com.google.datastore.v1.Value result = new com.google.datastore.v1.Value(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       buildPartialOneofs(result);
       onBuilt();
       return result;
@@ -1069,24 +1176,19 @@ private void buildPartial0(com.google.datastore.v1.Value result) {
     private void buildPartialOneofs(com.google.datastore.v1.Value result) {
       result.valueTypeCase_ = valueTypeCase_;
       result.valueType_ = this.valueType_;
-      if (valueTypeCase_ == 10 &&
-          timestampValueBuilder_ != null) {
+      if (valueTypeCase_ == 10 && timestampValueBuilder_ != null) {
         result.valueType_ = timestampValueBuilder_.build();
       }
-      if (valueTypeCase_ == 5 &&
-          keyValueBuilder_ != null) {
+      if (valueTypeCase_ == 5 && keyValueBuilder_ != null) {
         result.valueType_ = keyValueBuilder_.build();
       }
-      if (valueTypeCase_ == 8 &&
-          geoPointValueBuilder_ != null) {
+      if (valueTypeCase_ == 8 && geoPointValueBuilder_ != null) {
         result.valueType_ = geoPointValueBuilder_.build();
       }
-      if (valueTypeCase_ == 6 &&
-          entityValueBuilder_ != null) {
+      if (valueTypeCase_ == 6 && entityValueBuilder_ != null) {
         result.valueType_ = entityValueBuilder_.build();
       }
-      if (valueTypeCase_ == 9 &&
-          arrayValueBuilder_ != null) {
+      if (valueTypeCase_ == 9 && arrayValueBuilder_ != null) {
         result.valueType_ = arrayValueBuilder_.build();
       }
     }
@@ -1095,38 +1197,39 @@ private void buildPartialOneofs(com.google.datastore.v1.Value result) {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.datastore.v1.Value) {
-        return mergeFrom((com.google.datastore.v1.Value)other);
+        return mergeFrom((com.google.datastore.v1.Value) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -1142,55 +1245,67 @@ public Builder mergeFrom(com.google.datastore.v1.Value other) {
         setExcludeFromIndexes(other.getExcludeFromIndexes());
       }
       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 KEY_VALUE: {
-          mergeKeyValue(other.getKeyValue());
-          break;
-        }
-        case STRING_VALUE: {
-          valueTypeCase_ = 17;
-          valueType_ = other.valueType_;
-          onChanged();
-          break;
-        }
-        case BLOB_VALUE: {
-          setBlobValue(other.getBlobValue());
-          break;
-        }
-        case GEO_POINT_VALUE: {
-          mergeGeoPointValue(other.getGeoPointValue());
-          break;
-        }
-        case ENTITY_VALUE: {
-          mergeEntityValue(other.getEntityValue());
-          break;
-        }
-        case ARRAY_VALUE: {
-          mergeArrayValue(other.getArrayValue());
-          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 KEY_VALUE:
+          {
+            mergeKeyValue(other.getKeyValue());
+            break;
+          }
+        case STRING_VALUE:
+          {
+            valueTypeCase_ = 17;
+            valueType_ = other.valueType_;
+            onChanged();
+            break;
+          }
+        case BLOB_VALUE:
+          {
+            setBlobValue(other.getBlobValue());
+            break;
+          }
+        case GEO_POINT_VALUE:
+          {
+            mergeGeoPointValue(other.getGeoPointValue());
+            break;
+          }
+        case ENTITY_VALUE:
+          {
+            mergeEntityValue(other.getEntityValue());
+            break;
+          }
+        case ARRAY_VALUE:
+          {
+            mergeArrayValue(other.getArrayValue());
+            break;
+          }
+        case VALUETYPE_NOT_SET:
+          {
+            break;
+          }
       }
       this.mergeUnknownFields(other.getUnknownFields());
       onChanged();
@@ -1218,89 +1333,93 @@ 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: {
-              input.readMessage(
-                  getKeyValueFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              valueTypeCase_ = 5;
-              break;
-            } // case 42
-            case 50: {
-              input.readMessage(
-                  getEntityValueFieldBuilder().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 112: {
-              meaning_ = input.readInt32();
-              bitField0_ |= 0x00000800;
-              break;
-            } // case 112
-            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
-            case 152: {
-              excludeFromIndexes_ = input.readBool();
-              bitField0_ |= 0x00001000;
-              break;
-            } // case 152
-            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:
+              {
+                input.readMessage(getKeyValueFieldBuilder().getBuilder(), extensionRegistry);
+                valueTypeCase_ = 5;
+                break;
+              } // case 42
+            case 50:
+              {
+                input.readMessage(getEntityValueFieldBuilder().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 112:
+              {
+                meaning_ = input.readInt32();
+                bitField0_ |= 0x00000800;
+                break;
+              } // case 112
+            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
+            case 152:
+              {
+                excludeFromIndexes_ = input.readBool();
+                bitField0_ |= 0x00001000;
+                break;
+              } // case 152
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -1310,12 +1429,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() {
@@ -1328,11 +1447,14 @@ public Builder clearValueType() {
     private int bitField0_;
 
     /**
+     *
+     *
      * 
      * A null value.
      * 
* * .google.protobuf.NullValue null_value = 11; + * * @return Whether the nullValue field is set. */ @java.lang.Override @@ -1340,11 +1462,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 @@ -1355,11 +1480,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. */ @@ -1370,28 +1498,34 @@ public Builder setNullValueValue(int value) { return this; } /** + * + * *
      * A null value.
      * 
* * .google.protobuf.NullValue null_value = 11; + * * @return The nullValue. */ @java.lang.Override public com.google.protobuf.NullValue getNullValue() { if (valueTypeCase_ == 11) { - com.google.protobuf.NullValue result = com.google.protobuf.NullValue.forNumber( - (java.lang.Integer) valueType_); + com.google.protobuf.NullValue result = + com.google.protobuf.NullValue.forNumber((java.lang.Integer) valueType_); return result == null ? com.google.protobuf.NullValue.UNRECOGNIZED : result; } return com.google.protobuf.NullValue.NULL_VALUE; } /** + * + * *
      * A null value.
      * 
* * .google.protobuf.NullValue null_value = 11; + * * @param value The nullValue to set. * @return This builder for chaining. */ @@ -1405,11 +1539,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() { @@ -1422,22 +1559,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() { @@ -1447,11 +1590,14 @@ public boolean getBooleanValue() { return false; } /** + * + * *
      * A boolean value.
      * 
* * bool boolean_value = 1; + * * @param value The booleanValue to set. * @return This builder for chaining. */ @@ -1463,11 +1609,14 @@ public Builder setBooleanValue(boolean value) { return this; } /** + * + * *
      * A boolean value.
      * 
* * bool boolean_value = 1; + * * @return This builder for chaining. */ public Builder clearBooleanValue() { @@ -1480,22 +1629,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() { @@ -1505,11 +1660,14 @@ public long getIntegerValue() { return 0L; } /** + * + * *
      * An integer value.
      * 
* * int64 integer_value = 2; + * * @param value The integerValue to set. * @return This builder for chaining. */ @@ -1521,11 +1679,14 @@ public Builder setIntegerValue(long value) { return this; } /** + * + * *
      * An integer value.
      * 
* * int64 integer_value = 2; + * * @return This builder for chaining. */ public Builder clearIntegerValue() { @@ -1538,22 +1699,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() { @@ -1563,11 +1730,14 @@ public double getDoubleValue() { return 0D; } /** + * + * *
      * A double value.
      * 
* * double double_value = 3; + * * @param value The doubleValue to set. * @return This builder for chaining. */ @@ -1579,11 +1749,14 @@ public Builder setDoubleValue(double value) { return this; } /** + * + * *
      * A double value.
      * 
* * double double_value = 3; + * * @return This builder for chaining. */ public Builder clearDoubleValue() { @@ -1596,8 +1769,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.
      * When stored in the Datastore, precise only to microseconds;
@@ -1605,6 +1783,7 @@ public Builder clearDoubleValue() {
      * 
* * .google.protobuf.Timestamp timestamp_value = 10; + * * @return Whether the timestampValue field is set. */ @java.lang.Override @@ -1612,6 +1791,8 @@ public boolean hasTimestampValue() { return valueTypeCase_ == 10; } /** + * + * *
      * A timestamp value.
      * When stored in the Datastore, precise only to microseconds;
@@ -1619,6 +1800,7 @@ public boolean hasTimestampValue() {
      * 
* * .google.protobuf.Timestamp timestamp_value = 10; + * * @return The timestampValue. */ @java.lang.Override @@ -1636,6 +1818,8 @@ public com.google.protobuf.Timestamp getTimestampValue() { } } /** + * + * *
      * A timestamp value.
      * When stored in the Datastore, precise only to microseconds;
@@ -1658,6 +1842,8 @@ public Builder setTimestampValue(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A timestamp value.
      * When stored in the Datastore, precise only to microseconds;
@@ -1666,8 +1852,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();
@@ -1678,6 +1863,8 @@ public Builder setTimestampValue(
       return this;
     }
     /**
+     *
+     *
      * 
      * A timestamp value.
      * When stored in the Datastore, precise only to microseconds;
@@ -1688,10 +1875,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;
         }
@@ -1707,6 +1896,8 @@ public Builder mergeTimestampValue(com.google.protobuf.Timestamp value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * A timestamp value.
      * When stored in the Datastore, precise only to microseconds;
@@ -1732,6 +1923,8 @@ public Builder clearTimestampValue() {
       return this;
     }
     /**
+     *
+     *
      * 
      * A timestamp value.
      * When stored in the Datastore, precise only to microseconds;
@@ -1744,6 +1937,8 @@ public com.google.protobuf.Timestamp.Builder getTimestampValueBuilder() {
       return getTimestampValueFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * A timestamp value.
      * When stored in the Datastore, precise only to microseconds;
@@ -1764,6 +1959,8 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * A timestamp value.
      * When stored in the Datastore, precise only to microseconds;
@@ -1773,17 +1970,20 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
      * .google.protobuf.Timestamp timestamp_value = 10;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> 
+            com.google.protobuf.Timestamp,
+            com.google.protobuf.Timestamp.Builder,
+            com.google.protobuf.TimestampOrBuilder>
         getTimestampValueFieldBuilder() {
       if (timestampValueBuilder_ == null) {
         if (!(valueTypeCase_ == 10)) {
           valueType_ = com.google.protobuf.Timestamp.getDefaultInstance();
         }
-        timestampValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
-                (com.google.protobuf.Timestamp) valueType_,
-                getParentForChildren(),
-                isClean());
+        timestampValueBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.protobuf.Timestamp,
+                com.google.protobuf.Timestamp.Builder,
+                com.google.protobuf.TimestampOrBuilder>(
+                (com.google.protobuf.Timestamp) valueType_, getParentForChildren(), isClean());
         valueType_ = null;
       }
       valueTypeCase_ = 10;
@@ -1792,13 +1992,19 @@ public com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> keyValueBuilder_;
+            com.google.datastore.v1.Key,
+            com.google.datastore.v1.Key.Builder,
+            com.google.datastore.v1.KeyOrBuilder>
+        keyValueBuilder_;
     /**
+     *
+     *
      * 
      * A key value.
      * 
* * .google.datastore.v1.Key key_value = 5; + * * @return Whether the keyValue field is set. */ @java.lang.Override @@ -1806,11 +2012,14 @@ public boolean hasKeyValue() { return valueTypeCase_ == 5; } /** + * + * *
      * A key value.
      * 
* * .google.datastore.v1.Key key_value = 5; + * * @return The keyValue. */ @java.lang.Override @@ -1828,6 +2037,8 @@ public com.google.datastore.v1.Key getKeyValue() { } } /** + * + * *
      * A key value.
      * 
@@ -1848,14 +2059,15 @@ public Builder setKeyValue(com.google.datastore.v1.Key value) { return this; } /** + * + * *
      * A key value.
      * 
* * .google.datastore.v1.Key key_value = 5; */ - public Builder setKeyValue( - com.google.datastore.v1.Key.Builder builderForValue) { + public Builder setKeyValue(com.google.datastore.v1.Key.Builder builderForValue) { if (keyValueBuilder_ == null) { valueType_ = builderForValue.build(); onChanged(); @@ -1866,6 +2078,8 @@ public Builder setKeyValue( return this; } /** + * + * *
      * A key value.
      * 
@@ -1874,10 +2088,11 @@ public Builder setKeyValue( */ public Builder mergeKeyValue(com.google.datastore.v1.Key value) { if (keyValueBuilder_ == null) { - if (valueTypeCase_ == 5 && - valueType_ != com.google.datastore.v1.Key.getDefaultInstance()) { - valueType_ = com.google.datastore.v1.Key.newBuilder((com.google.datastore.v1.Key) valueType_) - .mergeFrom(value).buildPartial(); + if (valueTypeCase_ == 5 && valueType_ != com.google.datastore.v1.Key.getDefaultInstance()) { + valueType_ = + com.google.datastore.v1.Key.newBuilder((com.google.datastore.v1.Key) valueType_) + .mergeFrom(value) + .buildPartial(); } else { valueType_ = value; } @@ -1893,6 +2108,8 @@ public Builder mergeKeyValue(com.google.datastore.v1.Key value) { return this; } /** + * + * *
      * A key value.
      * 
@@ -1916,6 +2133,8 @@ public Builder clearKeyValue() { return this; } /** + * + * *
      * A key value.
      * 
@@ -1926,6 +2145,8 @@ public com.google.datastore.v1.Key.Builder getKeyValueBuilder() { return getKeyValueFieldBuilder().getBuilder(); } /** + * + * *
      * A key value.
      * 
@@ -1944,6 +2165,8 @@ public com.google.datastore.v1.KeyOrBuilder getKeyValueOrBuilder() { } } /** + * + * *
      * A key value.
      * 
@@ -1951,17 +2174,20 @@ public com.google.datastore.v1.KeyOrBuilder getKeyValueOrBuilder() { * .google.datastore.v1.Key key_value = 5; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder> + com.google.datastore.v1.Key, + com.google.datastore.v1.Key.Builder, + com.google.datastore.v1.KeyOrBuilder> getKeyValueFieldBuilder() { if (keyValueBuilder_ == null) { if (!(valueTypeCase_ == 5)) { valueType_ = com.google.datastore.v1.Key.getDefaultInstance(); } - keyValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Key, com.google.datastore.v1.Key.Builder, com.google.datastore.v1.KeyOrBuilder>( - (com.google.datastore.v1.Key) valueType_, - getParentForChildren(), - isClean()); + keyValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.datastore.v1.Key, + com.google.datastore.v1.Key.Builder, + com.google.datastore.v1.KeyOrBuilder>( + (com.google.datastore.v1.Key) valueType_, getParentForChildren(), isClean()); valueType_ = null; } valueTypeCase_ = 5; @@ -1970,6 +2196,8 @@ public com.google.datastore.v1.KeyOrBuilder getKeyValueOrBuilder() { } /** + * + * *
      * A UTF-8 encoded string value.
      * When `exclude_from_indexes` is false (it is indexed) , may have at most
@@ -1977,6 +2205,7 @@ public com.google.datastore.v1.KeyOrBuilder getKeyValueOrBuilder() {
      * 
* * string string_value = 17; + * * @return Whether the stringValue field is set. */ @java.lang.Override @@ -1984,6 +2213,8 @@ public boolean hasStringValue() { return valueTypeCase_ == 17; } /** + * + * *
      * A UTF-8 encoded string value.
      * When `exclude_from_indexes` is false (it is indexed) , may have at most
@@ -1991,6 +2222,7 @@ public boolean hasStringValue() {
      * 
* * string string_value = 17; + * * @return The stringValue. */ @java.lang.Override @@ -2000,8 +2232,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; @@ -2012,6 +2243,8 @@ public java.lang.String getStringValue() { } } /** + * + * *
      * A UTF-8 encoded string value.
      * When `exclude_from_indexes` is false (it is indexed) , may have at most
@@ -2019,19 +2252,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; } @@ -2041,6 +2273,8 @@ public java.lang.String getStringValue() { } } /** + * + * *
      * A UTF-8 encoded string value.
      * When `exclude_from_indexes` is false (it is indexed) , may have at most
@@ -2048,18 +2282,22 @@ public java.lang.String getStringValue() {
      * 
* * string string_value = 17; + * * @param value The stringValue to set. * @return This builder for chaining. */ - public Builder setStringValue( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStringValue(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } valueTypeCase_ = 17; valueType_ = value; onChanged(); return this; } /** + * + * *
      * A UTF-8 encoded string value.
      * When `exclude_from_indexes` is false (it is indexed) , may have at most
@@ -2067,6 +2305,7 @@ public Builder setStringValue(
      * 
* * string string_value = 17; + * * @return This builder for chaining. */ public Builder clearStringValue() { @@ -2078,6 +2317,8 @@ public Builder clearStringValue() { return this; } /** + * + * *
      * A UTF-8 encoded string value.
      * When `exclude_from_indexes` is false (it is indexed) , may have at most
@@ -2085,12 +2326,14 @@ public Builder clearStringValue() {
      * 
* * string string_value = 17; + * * @param value The bytes for stringValue to set. * @return This builder for chaining. */ - public Builder setStringValueBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStringValueBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); valueTypeCase_ = 17; valueType_ = value; @@ -2099,6 +2342,8 @@ public Builder setStringValueBytes( } /** + * + * *
      * A blob value.
      * May have at most 1,000,000 bytes.
@@ -2107,12 +2352,15 @@ public Builder setStringValueBytes(
      * 
* * bytes blob_value = 18; + * * @return Whether the blobValue field is set. */ public boolean hasBlobValue() { return valueTypeCase_ == 18; } /** + * + * *
      * A blob value.
      * May have at most 1,000,000 bytes.
@@ -2121,6 +2369,7 @@ public boolean hasBlobValue() {
      * 
* * bytes blob_value = 18; + * * @return The blobValue. */ public com.google.protobuf.ByteString getBlobValue() { @@ -2130,6 +2379,8 @@ public com.google.protobuf.ByteString getBlobValue() { return com.google.protobuf.ByteString.EMPTY; } /** + * + * *
      * A blob value.
      * May have at most 1,000,000 bytes.
@@ -2138,17 +2389,22 @@ public com.google.protobuf.ByteString getBlobValue() {
      * 
* * bytes blob_value = 18; + * * @param value The blobValue to set. * @return This builder for chaining. */ public Builder setBlobValue(com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + if (value == null) { + throw new NullPointerException(); + } valueTypeCase_ = 18; valueType_ = value; onChanged(); return this; } /** + * + * *
      * A blob value.
      * May have at most 1,000,000 bytes.
@@ -2157,6 +2413,7 @@ public Builder setBlobValue(com.google.protobuf.ByteString value) {
      * 
* * bytes blob_value = 18; + * * @return This builder for chaining. */ public Builder clearBlobValue() { @@ -2169,13 +2426,17 @@ public Builder clearBlobValue() { } 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 @@ -2183,11 +2444,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 @@ -2205,6 +2469,8 @@ public com.google.type.LatLng getGeoPointValue() { } } /** + * + * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2225,14 +2491,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(); @@ -2243,6 +2510,8 @@ public Builder setGeoPointValue( return this; } /** + * + * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2251,10 +2520,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; } @@ -2270,6 +2540,8 @@ public Builder mergeGeoPointValue(com.google.type.LatLng value) { return this; } /** + * + * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2293,6 +2565,8 @@ public Builder clearGeoPointValue() { return this; } /** + * + * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2303,6 +2577,8 @@ public com.google.type.LatLng.Builder getGeoPointValueBuilder() { return getGeoPointValueFieldBuilder().getBuilder(); } /** + * + * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2321,6 +2597,8 @@ public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() { } } /** + * + * *
      * A geo point value representing a point on the surface of Earth.
      * 
@@ -2328,17 +2606,18 @@ public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() { * .google.type.LatLng geo_point_value = 8; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> + com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder> getGeoPointValueFieldBuilder() { if (geoPointValueBuilder_ == null) { if (!(valueTypeCase_ == 8)) { valueType_ = com.google.type.LatLng.getDefaultInstance(); } - geoPointValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.LatLng, com.google.type.LatLng.Builder, com.google.type.LatLngOrBuilder>( - (com.google.type.LatLng) valueType_, - getParentForChildren(), - isClean()); + geoPointValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.LatLng, + com.google.type.LatLng.Builder, + com.google.type.LatLngOrBuilder>( + (com.google.type.LatLng) valueType_, getParentForChildren(), isClean()); valueType_ = null; } valueTypeCase_ = 8; @@ -2347,8 +2626,13 @@ public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() { } private com.google.protobuf.SingleFieldBuilderV3< - com.google.datastore.v1.Entity, com.google.datastore.v1.Entity.Builder, com.google.datastore.v1.EntityOrBuilder> entityValueBuilder_; + com.google.datastore.v1.Entity, + com.google.datastore.v1.Entity.Builder, + com.google.datastore.v1.EntityOrBuilder> + entityValueBuilder_; /** + * + * *
      * An entity value.
      *
@@ -2358,6 +2642,7 @@ public com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder() {
      * 
* * .google.datastore.v1.Entity entity_value = 6; + * * @return Whether the entityValue field is set. */ @java.lang.Override @@ -2365,6 +2650,8 @@ public boolean hasEntityValue() { return valueTypeCase_ == 6; } /** + * + * *
      * An entity value.
      *
@@ -2374,6 +2661,7 @@ public boolean hasEntityValue() {
      * 
* * .google.datastore.v1.Entity entity_value = 6; + * * @return The entityValue. */ @java.lang.Override @@ -2391,6 +2679,8 @@ public com.google.datastore.v1.Entity getEntityValue() { } } /** + * + * *
      * An entity value.
      *
@@ -2415,6 +2705,8 @@ public Builder setEntityValue(com.google.datastore.v1.Entity value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An entity value.
      *
@@ -2425,8 +2717,7 @@ public Builder setEntityValue(com.google.datastore.v1.Entity value) {
      *
      * .google.datastore.v1.Entity entity_value = 6;
      */
-    public Builder setEntityValue(
-        com.google.datastore.v1.Entity.Builder builderForValue) {
+    public Builder setEntityValue(com.google.datastore.v1.Entity.Builder builderForValue) {
       if (entityValueBuilder_ == null) {
         valueType_ = builderForValue.build();
         onChanged();
@@ -2437,6 +2728,8 @@ public Builder setEntityValue(
       return this;
     }
     /**
+     *
+     *
      * 
      * An entity value.
      *
@@ -2449,10 +2742,12 @@ public Builder setEntityValue(
      */
     public Builder mergeEntityValue(com.google.datastore.v1.Entity value) {
       if (entityValueBuilder_ == null) {
-        if (valueTypeCase_ == 6 &&
-            valueType_ != com.google.datastore.v1.Entity.getDefaultInstance()) {
-          valueType_ = com.google.datastore.v1.Entity.newBuilder((com.google.datastore.v1.Entity) valueType_)
-              .mergeFrom(value).buildPartial();
+        if (valueTypeCase_ == 6
+            && valueType_ != com.google.datastore.v1.Entity.getDefaultInstance()) {
+          valueType_ =
+              com.google.datastore.v1.Entity.newBuilder((com.google.datastore.v1.Entity) valueType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           valueType_ = value;
         }
@@ -2468,6 +2763,8 @@ public Builder mergeEntityValue(com.google.datastore.v1.Entity value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An entity value.
      *
@@ -2495,6 +2792,8 @@ public Builder clearEntityValue() {
       return this;
     }
     /**
+     *
+     *
      * 
      * An entity value.
      *
@@ -2509,6 +2808,8 @@ public com.google.datastore.v1.Entity.Builder getEntityValueBuilder() {
       return getEntityValueFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * An entity value.
      *
@@ -2531,6 +2832,8 @@ public com.google.datastore.v1.EntityOrBuilder getEntityValueOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * An entity value.
      *
@@ -2542,17 +2845,20 @@ public com.google.datastore.v1.EntityOrBuilder getEntityValueOrBuilder() {
      * .google.datastore.v1.Entity entity_value = 6;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.v1.Entity, com.google.datastore.v1.Entity.Builder, com.google.datastore.v1.EntityOrBuilder> 
+            com.google.datastore.v1.Entity,
+            com.google.datastore.v1.Entity.Builder,
+            com.google.datastore.v1.EntityOrBuilder>
         getEntityValueFieldBuilder() {
       if (entityValueBuilder_ == null) {
         if (!(valueTypeCase_ == 6)) {
           valueType_ = com.google.datastore.v1.Entity.getDefaultInstance();
         }
-        entityValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.Entity, com.google.datastore.v1.Entity.Builder, com.google.datastore.v1.EntityOrBuilder>(
-                (com.google.datastore.v1.Entity) valueType_,
-                getParentForChildren(),
-                isClean());
+        entityValueBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.datastore.v1.Entity,
+                com.google.datastore.v1.Entity.Builder,
+                com.google.datastore.v1.EntityOrBuilder>(
+                (com.google.datastore.v1.Entity) valueType_, getParentForChildren(), isClean());
         valueType_ = null;
       }
       valueTypeCase_ = 6;
@@ -2561,8 +2867,13 @@ public com.google.datastore.v1.EntityOrBuilder getEntityValueOrBuilder() {
     }
 
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.v1.ArrayValue, com.google.datastore.v1.ArrayValue.Builder, com.google.datastore.v1.ArrayValueOrBuilder> arrayValueBuilder_;
+            com.google.datastore.v1.ArrayValue,
+            com.google.datastore.v1.ArrayValue.Builder,
+            com.google.datastore.v1.ArrayValueOrBuilder>
+        arrayValueBuilder_;
     /**
+     *
+     *
      * 
      * An array value.
      * Cannot contain another array value.
@@ -2571,6 +2882,7 @@ public com.google.datastore.v1.EntityOrBuilder getEntityValueOrBuilder() {
      * 
* * .google.datastore.v1.ArrayValue array_value = 9; + * * @return Whether the arrayValue field is set. */ @java.lang.Override @@ -2578,6 +2890,8 @@ public boolean hasArrayValue() { return valueTypeCase_ == 9; } /** + * + * *
      * An array value.
      * Cannot contain another array value.
@@ -2586,6 +2900,7 @@ public boolean hasArrayValue() {
      * 
* * .google.datastore.v1.ArrayValue array_value = 9; + * * @return The arrayValue. */ @java.lang.Override @@ -2603,6 +2918,8 @@ public com.google.datastore.v1.ArrayValue getArrayValue() { } } /** + * + * *
      * An array value.
      * Cannot contain another array value.
@@ -2626,6 +2943,8 @@ public Builder setArrayValue(com.google.datastore.v1.ArrayValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An array value.
      * Cannot contain another array value.
@@ -2635,8 +2954,7 @@ public Builder setArrayValue(com.google.datastore.v1.ArrayValue value) {
      *
      * .google.datastore.v1.ArrayValue array_value = 9;
      */
-    public Builder setArrayValue(
-        com.google.datastore.v1.ArrayValue.Builder builderForValue) {
+    public Builder setArrayValue(com.google.datastore.v1.ArrayValue.Builder builderForValue) {
       if (arrayValueBuilder_ == null) {
         valueType_ = builderForValue.build();
         onChanged();
@@ -2647,6 +2965,8 @@ public Builder setArrayValue(
       return this;
     }
     /**
+     *
+     *
      * 
      * An array value.
      * Cannot contain another array value.
@@ -2658,10 +2978,13 @@ public Builder setArrayValue(
      */
     public Builder mergeArrayValue(com.google.datastore.v1.ArrayValue value) {
       if (arrayValueBuilder_ == null) {
-        if (valueTypeCase_ == 9 &&
-            valueType_ != com.google.datastore.v1.ArrayValue.getDefaultInstance()) {
-          valueType_ = com.google.datastore.v1.ArrayValue.newBuilder((com.google.datastore.v1.ArrayValue) valueType_)
-              .mergeFrom(value).buildPartial();
+        if (valueTypeCase_ == 9
+            && valueType_ != com.google.datastore.v1.ArrayValue.getDefaultInstance()) {
+          valueType_ =
+              com.google.datastore.v1.ArrayValue.newBuilder(
+                      (com.google.datastore.v1.ArrayValue) valueType_)
+                  .mergeFrom(value)
+                  .buildPartial();
         } else {
           valueType_ = value;
         }
@@ -2677,6 +3000,8 @@ public Builder mergeArrayValue(com.google.datastore.v1.ArrayValue value) {
       return this;
     }
     /**
+     *
+     *
      * 
      * An array value.
      * Cannot contain another array value.
@@ -2703,6 +3028,8 @@ public Builder clearArrayValue() {
       return this;
     }
     /**
+     *
+     *
      * 
      * An array value.
      * Cannot contain another array value.
@@ -2716,6 +3043,8 @@ public com.google.datastore.v1.ArrayValue.Builder getArrayValueBuilder() {
       return getArrayValueFieldBuilder().getBuilder();
     }
     /**
+     *
+     *
      * 
      * An array value.
      * Cannot contain another array value.
@@ -2737,6 +3066,8 @@ public com.google.datastore.v1.ArrayValueOrBuilder getArrayValueOrBuilder() {
       }
     }
     /**
+     *
+     *
      * 
      * An array value.
      * Cannot contain another array value.
@@ -2747,17 +3078,20 @@ public com.google.datastore.v1.ArrayValueOrBuilder getArrayValueOrBuilder() {
      * .google.datastore.v1.ArrayValue array_value = 9;
      */
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.datastore.v1.ArrayValue, com.google.datastore.v1.ArrayValue.Builder, com.google.datastore.v1.ArrayValueOrBuilder> 
+            com.google.datastore.v1.ArrayValue,
+            com.google.datastore.v1.ArrayValue.Builder,
+            com.google.datastore.v1.ArrayValueOrBuilder>
         getArrayValueFieldBuilder() {
       if (arrayValueBuilder_ == null) {
         if (!(valueTypeCase_ == 9)) {
           valueType_ = com.google.datastore.v1.ArrayValue.getDefaultInstance();
         }
-        arrayValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
-            com.google.datastore.v1.ArrayValue, com.google.datastore.v1.ArrayValue.Builder, com.google.datastore.v1.ArrayValueOrBuilder>(
-                (com.google.datastore.v1.ArrayValue) valueType_,
-                getParentForChildren(),
-                isClean());
+        arrayValueBuilder_ =
+            new com.google.protobuf.SingleFieldBuilderV3<
+                com.google.datastore.v1.ArrayValue,
+                com.google.datastore.v1.ArrayValue.Builder,
+                com.google.datastore.v1.ArrayValueOrBuilder>(
+                (com.google.datastore.v1.ArrayValue) valueType_, getParentForChildren(), isClean());
         valueType_ = null;
       }
       valueTypeCase_ = 9;
@@ -2765,13 +3099,16 @@ public com.google.datastore.v1.ArrayValueOrBuilder getArrayValueOrBuilder() {
       return arrayValueBuilder_;
     }
 
-    private int meaning_ ;
+    private int meaning_;
     /**
+     *
+     *
      * 
      * The `meaning` field should only be populated for backwards compatibility.
      * 
* * int32 meaning = 14; + * * @return The meaning. */ @java.lang.Override @@ -2779,11 +3116,14 @@ public int getMeaning() { return meaning_; } /** + * + * *
      * The `meaning` field should only be populated for backwards compatibility.
      * 
* * int32 meaning = 14; + * * @param value The meaning to set. * @return This builder for chaining. */ @@ -2795,11 +3135,14 @@ public Builder setMeaning(int value) { return this; } /** + * + * *
      * The `meaning` field should only be populated for backwards compatibility.
      * 
* * int32 meaning = 14; + * * @return This builder for chaining. */ public Builder clearMeaning() { @@ -2809,14 +3152,17 @@ public Builder clearMeaning() { return this; } - private boolean excludeFromIndexes_ ; + private boolean excludeFromIndexes_; /** + * + * *
      * If the value should be excluded from all indexes including those defined
      * explicitly.
      * 
* * bool exclude_from_indexes = 19; + * * @return The excludeFromIndexes. */ @java.lang.Override @@ -2824,12 +3170,15 @@ public boolean getExcludeFromIndexes() { return excludeFromIndexes_; } /** + * + * *
      * If the value should be excluded from all indexes including those defined
      * explicitly.
      * 
* * bool exclude_from_indexes = 19; + * * @param value The excludeFromIndexes to set. * @return This builder for chaining. */ @@ -2841,12 +3190,15 @@ public Builder setExcludeFromIndexes(boolean value) { return this; } /** + * + * *
      * If the value should be excluded from all indexes including those defined
      * explicitly.
      * 
* * bool exclude_from_indexes = 19; + * * @return This builder for chaining. */ public Builder clearExcludeFromIndexes() { @@ -2855,9 +3207,9 @@ public Builder clearExcludeFromIndexes() { 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); } @@ -2867,12 +3219,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.datastore.v1.Value) } // @@protoc_insertion_point(class_scope:google.datastore.v1.Value) private static final com.google.datastore.v1.Value DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.datastore.v1.Value(); } @@ -2881,27 +3233,27 @@ public static com.google.datastore.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; @@ -2916,6 +3268,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.datastore.v1.Value getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ValueOrBuilder.java b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ValueOrBuilder.java similarity index 88% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ValueOrBuilder.java rename to proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ValueOrBuilder.java index f89a3a6ad..8e4021a58 100644 --- a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ValueOrBuilder.java +++ b/proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ValueOrBuilder.java @@ -1,99 +1,144 @@ +/* + * Copyright 2024 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/datastore/v1/entity.proto // Protobuf Java Version: 3.25.3 package com.google.datastore.v1; -public interface ValueOrBuilder extends +public interface ValueOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.datastore.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.
    * When stored in the Datastore, precise only to microseconds;
@@ -101,10 +146,13 @@ public interface ValueOrBuilder extends
    * 
* * .google.protobuf.Timestamp timestamp_value = 10; + * * @return Whether the timestampValue field is set. */ boolean hasTimestampValue(); /** + * + * *
    * A timestamp value.
    * When stored in the Datastore, precise only to microseconds;
@@ -112,10 +160,13 @@ public interface ValueOrBuilder extends
    * 
* * .google.protobuf.Timestamp timestamp_value = 10; + * * @return The timestampValue. */ com.google.protobuf.Timestamp getTimestampValue(); /** + * + * *
    * A timestamp value.
    * When stored in the Datastore, precise only to microseconds;
@@ -127,24 +178,32 @@ public interface ValueOrBuilder extends
   com.google.protobuf.TimestampOrBuilder getTimestampValueOrBuilder();
 
   /**
+   *
+   *
    * 
    * A key value.
    * 
* * .google.datastore.v1.Key key_value = 5; + * * @return Whether the keyValue field is set. */ boolean hasKeyValue(); /** + * + * *
    * A key value.
    * 
* * .google.datastore.v1.Key key_value = 5; + * * @return The keyValue. */ com.google.datastore.v1.Key getKeyValue(); /** + * + * *
    * A key value.
    * 
@@ -154,6 +213,8 @@ public interface ValueOrBuilder extends com.google.datastore.v1.KeyOrBuilder getKeyValueOrBuilder(); /** + * + * *
    * A UTF-8 encoded string value.
    * When `exclude_from_indexes` is false (it is indexed) , may have at most
@@ -161,10 +222,13 @@ public interface ValueOrBuilder extends
    * 
* * string string_value = 17; + * * @return Whether the stringValue field is set. */ boolean hasStringValue(); /** + * + * *
    * A UTF-8 encoded string value.
    * When `exclude_from_indexes` is false (it is indexed) , may have at most
@@ -172,10 +236,13 @@ public interface ValueOrBuilder extends
    * 
* * string string_value = 17; + * * @return The stringValue. */ java.lang.String getStringValue(); /** + * + * *
    * A UTF-8 encoded string value.
    * When `exclude_from_indexes` is false (it is indexed) , may have at most
@@ -183,12 +250,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 blob value.
    * May have at most 1,000,000 bytes.
@@ -197,10 +266,13 @@ public interface ValueOrBuilder extends
    * 
* * bytes blob_value = 18; + * * @return Whether the blobValue field is set. */ boolean hasBlobValue(); /** + * + * *
    * A blob value.
    * May have at most 1,000,000 bytes.
@@ -209,29 +281,38 @@ public interface ValueOrBuilder extends
    * 
* * bytes blob_value = 18; + * * @return The blobValue. */ com.google.protobuf.ByteString getBlobValue(); /** + * + * *
    * 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.
    * 
@@ -241,6 +322,8 @@ public interface ValueOrBuilder extends com.google.type.LatLngOrBuilder getGeoPointValueOrBuilder(); /** + * + * *
    * An entity value.
    *
@@ -250,10 +333,13 @@ public interface ValueOrBuilder extends
    * 
* * .google.datastore.v1.Entity entity_value = 6; + * * @return Whether the entityValue field is set. */ boolean hasEntityValue(); /** + * + * *
    * An entity value.
    *
@@ -263,10 +349,13 @@ public interface ValueOrBuilder extends
    * 
* * .google.datastore.v1.Entity entity_value = 6; + * * @return The entityValue. */ com.google.datastore.v1.Entity getEntityValue(); /** + * + * *
    * An entity value.
    *
@@ -280,6 +369,8 @@ public interface ValueOrBuilder extends
   com.google.datastore.v1.EntityOrBuilder getEntityValueOrBuilder();
 
   /**
+   *
+   *
    * 
    * An array value.
    * Cannot contain another array value.
@@ -288,10 +379,13 @@ public interface ValueOrBuilder extends
    * 
* * .google.datastore.v1.ArrayValue array_value = 9; + * * @return Whether the arrayValue field is set. */ boolean hasArrayValue(); /** + * + * *
    * An array value.
    * Cannot contain another array value.
@@ -300,10 +394,13 @@ public interface ValueOrBuilder extends
    * 
* * .google.datastore.v1.ArrayValue array_value = 9; + * * @return The arrayValue. */ com.google.datastore.v1.ArrayValue getArrayValue(); /** + * + * *
    * An array value.
    * Cannot contain another array value.
@@ -316,22 +413,28 @@ public interface ValueOrBuilder extends
   com.google.datastore.v1.ArrayValueOrBuilder getArrayValueOrBuilder();
 
   /**
+   *
+   *
    * 
    * The `meaning` field should only be populated for backwards compatibility.
    * 
* * int32 meaning = 14; + * * @return The meaning. */ int getMeaning(); /** + * + * *
    * If the value should be excluded from all indexes including those defined
    * explicitly.
    * 
* * bool exclude_from_indexes = 19; + * * @return The excludeFromIndexes. */ boolean getExcludeFromIndexes(); diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/aggregation_result.proto b/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/aggregation_result.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/aggregation_result.proto rename to proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/aggregation_result.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/datastore.proto b/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/datastore.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/datastore.proto rename to proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/datastore.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/entity.proto b/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/entity.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/entity.proto rename to proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/entity.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/query.proto b/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/query.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/query.proto rename to proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/query.proto diff --git a/owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/query_profile.proto b/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/query_profile.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/query_profile.proto rename to proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/query_profile.proto