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 (FirestoreAdminClient firestoreAdminClient = FirestoreAdminClient.create()) {
+ * ProjectName parent = ProjectName.of("[PROJECT]");
+ * Database database = Database.newBuilder().build();
+ * String databaseId = "databaseId1688905718";
+ * Database response =
+ * firestoreAdminClient.createDatabaseAsync(parent, database, databaseId).get();
+ * }
+ * }
+ *
+ * @param parent Required. A parent name of the form `projects/{project_id}`
+ * @param database Required. The Database to create.
+ * @param databaseId Required. The ID to use for the database, which will become the final
+ * component of the database's resource name.
+ * The value must be set to "(default)".
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture Sample code:
+ *
+ * The value must be set to "(default)".
+ * @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ */
+ public final OperationFuture Sample code:
+ *
+ * Sample code:
+ *
+ * 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 (FirestoreAdminClient firestoreAdminClient = FirestoreAdminClient.create()) {
+ * String parent = ProjectName.of("[PROJECT]").toString();
+ * Database database = Database.newBuilder().build();
+ * String databaseId = "databaseId1688905718";
+ * Database response =
+ * firestoreAdminClient.createDatabaseAsync(parent, database, databaseId).get();
+ * }
+ * }
+ *
+ * @param parent Required. A parent name of the form `projects/{project_id}`
+ * @param database Required. The Database to create.
+ * @param databaseId Required. The ID to use for the database, which will become the final
+ * component of the database's resource name.
+ * {@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 (FirestoreAdminClient firestoreAdminClient = FirestoreAdminClient.create()) {
+ * CreateDatabaseRequest request =
+ * CreateDatabaseRequest.newBuilder()
+ * .setParent(ProjectName.of("[PROJECT]").toString())
+ * .setDatabase(Database.newBuilder().build())
+ * .setDatabaseId("databaseId1688905718")
+ * .build();
+ * Database response = firestoreAdminClient.createDatabaseAsync(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{@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 (FirestoreAdminClient firestoreAdminClient = FirestoreAdminClient.create()) {
+ * CreateDatabaseRequest request =
+ * CreateDatabaseRequest.newBuilder()
+ * .setParent(ProjectName.of("[PROJECT]").toString())
+ * .setDatabase(Database.newBuilder().build())
+ * .setDatabaseId("databaseId1688905718")
+ * .build();
+ * OperationFuture
+ */
+ public final OperationCallable{@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 (FirestoreAdminClient firestoreAdminClient = FirestoreAdminClient.create()) {
+ * CreateDatabaseRequest request =
+ * CreateDatabaseRequest.newBuilder()
+ * .setParent(ProjectName.of("[PROJECT]").toString())
+ * .setDatabase(Database.newBuilder().build())
+ * .setDatabaseId("databaseId1688905718")
+ * .build();
+ * ApiFuture
+ */
+ public final UnaryCallable
- * Creates a composite index. This returns a [google.longrunning.Operation][google.longrunning.Operation]
- * which may be used to track the status of the creation. The metadata for
- * the operation will be the type [IndexOperationMetadata][google.firestore.admin.v1.IndexOperationMetadata].
+ * Creates a composite index. This returns a
+ * [google.longrunning.Operation][google.longrunning.Operation] which may be
+ * used to track the status of the creation. The metadata for the operation
+ * will be the type
+ * [IndexOperationMetadata][google.firestore.admin.v1.IndexOperationMetadata].
*
*/
default void createIndex(
@@ -722,12 +767,15 @@ default void getField(
*
* Updates a field configuration. Currently, field updates apply only to
* single field index configuration. However, calls to
- * [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField] should provide a field mask to avoid
- * changing any configuration that the caller isn't aware of. The field mask
- * should be specified as: `{ paths: "index_config" }`.
- * This call returns a [google.longrunning.Operation][google.longrunning.Operation] which may be used to
- * track the status of the field update. The metadata for
- * the operation will be the type [FieldOperationMetadata][google.firestore.admin.v1.FieldOperationMetadata].
+ * [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField]
+ * should provide a field mask to avoid changing any configuration that the
+ * caller isn't aware of. The field mask should be specified as: `{ paths:
+ * "index_config" }`.
+ * This call returns a
+ * [google.longrunning.Operation][google.longrunning.Operation] which may be
+ * used to track the status of the field update. The metadata for the
+ * operation will be the type
+ * [FieldOperationMetadata][google.firestore.admin.v1.FieldOperationMetadata].
* To configure the default field settings for the database, use
* the special `Field` with resource name:
* `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`.
@@ -745,10 +793,12 @@ default void updateField(
*
*
* Lists the field configuration and metadata for this database.
- * Currently, [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
- * that have been explicitly overridden. To issue this query, call
- * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] with the filter set to
- * `indexConfig.usesAncestorConfig:false` .
+ * Currently,
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]
+ * only supports listing fields that have been explicitly overridden. To issue
+ * this query, call
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]
+ * with the filter set to `indexConfig.usesAncestorConfig:false` .
*
*/
default void listFields(
@@ -799,6 +849,20 @@ default void importDocuments(
getImportDocumentsMethod(), responseObserver);
}
+ /**
+ *
+ *
+ *
+ * Create a database.
+ *
+ */
+ default void createDatabase(
+ com.google.firestore.admin.v1.CreateDatabaseRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(
+ getCreateDatabaseMethod(), responseObserver);
+ }
+
/**
*
*
@@ -919,9 +983,11 @@ protected FirestoreAdminStub build(io.grpc.Channel channel, io.grpc.CallOptions
*
*
*
- * Creates a composite index. This returns a [google.longrunning.Operation][google.longrunning.Operation]
- * which may be used to track the status of the creation. The metadata for
- * the operation will be the type [IndexOperationMetadata][google.firestore.admin.v1.IndexOperationMetadata].
+ * Creates a composite index. This returns a
+ * [google.longrunning.Operation][google.longrunning.Operation] which may be
+ * used to track the status of the creation. The metadata for the operation
+ * will be the type
+ * [IndexOperationMetadata][google.firestore.admin.v1.IndexOperationMetadata].
*
*/
public void createIndex(
@@ -1000,12 +1066,15 @@ public void getField(
*
* Updates a field configuration. Currently, field updates apply only to
* single field index configuration. However, calls to
- * [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField] should provide a field mask to avoid
- * changing any configuration that the caller isn't aware of. The field mask
- * should be specified as: `{ paths: "index_config" }`.
- * This call returns a [google.longrunning.Operation][google.longrunning.Operation] which may be used to
- * track the status of the field update. The metadata for
- * the operation will be the type [FieldOperationMetadata][google.firestore.admin.v1.FieldOperationMetadata].
+ * [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField]
+ * should provide a field mask to avoid changing any configuration that the
+ * caller isn't aware of. The field mask should be specified as: `{ paths:
+ * "index_config" }`.
+ * This call returns a
+ * [google.longrunning.Operation][google.longrunning.Operation] which may be
+ * used to track the status of the field update. The metadata for the
+ * operation will be the type
+ * [FieldOperationMetadata][google.firestore.admin.v1.FieldOperationMetadata].
* To configure the default field settings for the database, use
* the special `Field` with resource name:
* `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`.
@@ -1025,10 +1094,12 @@ public void updateField(
*
*
* Lists the field configuration and metadata for this database.
- * Currently, [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
- * that have been explicitly overridden. To issue this query, call
- * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] with the filter set to
- * `indexConfig.usesAncestorConfig:false` .
+ * Currently,
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]
+ * only supports listing fields that have been explicitly overridden. To issue
+ * this query, call
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]
+ * with the filter set to `indexConfig.usesAncestorConfig:false` .
*
*/
public void listFields(
@@ -1084,6 +1155,22 @@ public void importDocuments(
responseObserver);
}
+ /**
+ *
+ *
+ *
+ * Create a database.
+ *
+ */
+ public void createDatabase(
+ com.google.firestore.admin.v1.CreateDatabaseRequest request,
+ io.grpc.stub.StreamObserver responseObserver) {
+ io.grpc.stub.ClientCalls.asyncUnaryCall(
+ getChannel().newCall(getCreateDatabaseMethod(), getCallOptions()),
+ request,
+ responseObserver);
+ }
+
/**
*
*
@@ -1176,9 +1263,11 @@ protected FirestoreAdminBlockingStub build(
*
*
*
- * Creates a composite index. This returns a [google.longrunning.Operation][google.longrunning.Operation]
- * which may be used to track the status of the creation. The metadata for
- * the operation will be the type [IndexOperationMetadata][google.firestore.admin.v1.IndexOperationMetadata].
+ * Creates a composite index. This returns a
+ * [google.longrunning.Operation][google.longrunning.Operation] which may be
+ * used to track the status of the creation. The metadata for the operation
+ * will be the type
+ * [IndexOperationMetadata][google.firestore.admin.v1.IndexOperationMetadata].
*
*/
public com.google.longrunning.Operation createIndex(
@@ -1245,12 +1334,15 @@ public com.google.firestore.admin.v1.Field getField(
*
* Updates a field configuration. Currently, field updates apply only to
* single field index configuration. However, calls to
- * [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField] should provide a field mask to avoid
- * changing any configuration that the caller isn't aware of. The field mask
- * should be specified as: `{ paths: "index_config" }`.
- * This call returns a [google.longrunning.Operation][google.longrunning.Operation] which may be used to
- * track the status of the field update. The metadata for
- * the operation will be the type [FieldOperationMetadata][google.firestore.admin.v1.FieldOperationMetadata].
+ * [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField]
+ * should provide a field mask to avoid changing any configuration that the
+ * caller isn't aware of. The field mask should be specified as: `{ paths:
+ * "index_config" }`.
+ * This call returns a
+ * [google.longrunning.Operation][google.longrunning.Operation] which may be
+ * used to track the status of the field update. The metadata for the
+ * operation will be the type
+ * [FieldOperationMetadata][google.firestore.admin.v1.FieldOperationMetadata].
* To configure the default field settings for the database, use
* the special `Field` with resource name:
* `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`.
@@ -1267,10 +1359,12 @@ public com.google.longrunning.Operation updateField(
*
*
* Lists the field configuration and metadata for this database.
- * Currently, [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
- * that have been explicitly overridden. To issue this query, call
- * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] with the filter set to
- * `indexConfig.usesAncestorConfig:false` .
+ * Currently,
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]
+ * only supports listing fields that have been explicitly overridden. To issue
+ * this query, call
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]
+ * with the filter set to `indexConfig.usesAncestorConfig:false` .
*
*/
public com.google.firestore.admin.v1.ListFieldsResponse listFields(
@@ -1318,6 +1412,19 @@ public com.google.longrunning.Operation importDocuments(
getChannel(), getImportDocumentsMethod(), getCallOptions(), request);
}
+ /**
+ *
+ *
+ *
+ * Create a database.
+ *
+ */
+ public com.google.longrunning.Operation createDatabase(
+ com.google.firestore.admin.v1.CreateDatabaseRequest request) {
+ return io.grpc.stub.ClientCalls.blockingUnaryCall(
+ getChannel(), getCreateDatabaseMethod(), getCallOptions(), request);
+ }
+
/**
*
*
@@ -1400,9 +1507,11 @@ protected FirestoreAdminFutureStub build(
*
*
*
- * Creates a composite index. This returns a [google.longrunning.Operation][google.longrunning.Operation]
- * which may be used to track the status of the creation. The metadata for
- * the operation will be the type [IndexOperationMetadata][google.firestore.admin.v1.IndexOperationMetadata].
+ * Creates a composite index. This returns a
+ * [google.longrunning.Operation][google.longrunning.Operation] which may be
+ * used to track the status of the creation. The metadata for the operation
+ * will be the type
+ * [IndexOperationMetadata][google.firestore.admin.v1.IndexOperationMetadata].
*
*/
public com.google.common.util.concurrent.ListenableFuture
@@ -1470,12 +1579,15 @@ protected FirestoreAdminFutureStub build(
*
* Updates a field configuration. Currently, field updates apply only to
* single field index configuration. However, calls to
- * [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField] should provide a field mask to avoid
- * changing any configuration that the caller isn't aware of. The field mask
- * should be specified as: `{ paths: "index_config" }`.
- * This call returns a [google.longrunning.Operation][google.longrunning.Operation] which may be used to
- * track the status of the field update. The metadata for
- * the operation will be the type [FieldOperationMetadata][google.firestore.admin.v1.FieldOperationMetadata].
+ * [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField]
+ * should provide a field mask to avoid changing any configuration that the
+ * caller isn't aware of. The field mask should be specified as: `{ paths:
+ * "index_config" }`.
+ * This call returns a
+ * [google.longrunning.Operation][google.longrunning.Operation] which may be
+ * used to track the status of the field update. The metadata for the
+ * operation will be the type
+ * [FieldOperationMetadata][google.firestore.admin.v1.FieldOperationMetadata].
* To configure the default field settings for the database, use
* the special `Field` with resource name:
* `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`.
@@ -1492,10 +1604,12 @@ protected FirestoreAdminFutureStub build(
*
*
* Lists the field configuration and metadata for this database.
- * Currently, [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
- * that have been explicitly overridden. To issue this query, call
- * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] with the filter set to
- * `indexConfig.usesAncestorConfig:false` .
+ * Currently,
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]
+ * only supports listing fields that have been explicitly overridden. To issue
+ * this query, call
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]
+ * with the filter set to `indexConfig.usesAncestorConfig:false` .
*
*/
public com.google.common.util.concurrent.ListenableFuture<
@@ -1544,6 +1658,19 @@ protected FirestoreAdminFutureStub build(
getChannel().newCall(getImportDocumentsMethod(), getCallOptions()), request);
}
+ /**
+ *
+ *
+ *
+ * Create a database.
+ *
+ */
+ public com.google.common.util.concurrent.ListenableFuture
+ createDatabase(com.google.firestore.admin.v1.CreateDatabaseRequest request) {
+ return io.grpc.stub.ClientCalls.futureUnaryCall(
+ getChannel().newCall(getCreateDatabaseMethod(), getCallOptions()), request);
+ }
+
/**
*
*
@@ -1595,9 +1722,10 @@ protected FirestoreAdminFutureStub build(
private static final int METHODID_LIST_FIELDS = 6;
private static final int METHODID_EXPORT_DOCUMENTS = 7;
private static final int METHODID_IMPORT_DOCUMENTS = 8;
- private static final int METHODID_GET_DATABASE = 9;
- private static final int METHODID_LIST_DATABASES = 10;
- private static final int METHODID_UPDATE_DATABASE = 11;
+ private static final int METHODID_CREATE_DATABASE = 9;
+ private static final int METHODID_GET_DATABASE = 10;
+ private static final int METHODID_LIST_DATABASES = 11;
+ private static final int METHODID_UPDATE_DATABASE = 12;
private static final class MethodHandlers
implements io.grpc.stub.ServerCalls.UnaryMethod,
@@ -1663,6 +1791,11 @@ public void invoke(Req request, io.grpc.stub.StreamObserver responseObserv
(com.google.firestore.admin.v1.ImportDocumentsRequest) request,
(io.grpc.stub.StreamObserver) responseObserver);
break;
+ case METHODID_CREATE_DATABASE:
+ serviceImpl.createDatabase(
+ (com.google.firestore.admin.v1.CreateDatabaseRequest) request,
+ (io.grpc.stub.StreamObserver) responseObserver);
+ break;
case METHODID_GET_DATABASE:
serviceImpl.getDatabase(
(com.google.firestore.admin.v1.GetDatabaseRequest) request,
@@ -1754,6 +1887,12 @@ public static final io.grpc.ServerServiceDefinition bindService(AsyncService ser
new MethodHandlers<
com.google.firestore.admin.v1.ImportDocumentsRequest,
com.google.longrunning.Operation>(service, METHODID_IMPORT_DOCUMENTS)))
+ .addMethod(
+ getCreateDatabaseMethod(),
+ io.grpc.stub.ServerCalls.asyncUnaryCall(
+ new MethodHandlers<
+ com.google.firestore.admin.v1.CreateDatabaseRequest,
+ com.google.longrunning.Operation>(service, METHODID_CREATE_DATABASE)))
.addMethod(
getGetDatabaseMethod(),
io.grpc.stub.ServerCalls.asyncUnaryCall(
@@ -1833,6 +1972,7 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() {
.addMethod(getListFieldsMethod())
.addMethod(getExportDocumentsMethod())
.addMethod(getImportDocumentsMethod())
+ .addMethod(getCreateDatabaseMethod())
.addMethod(getGetDatabaseMethod())
.addMethod(getListDatabasesMethod())
.addMethod(getUpdateDatabaseMethod())
diff --git a/grpc-google-cloud-firestore-v1/clirr-ignored-differences.xml b/grpc-google-cloud-firestore-v1/clirr-ignored-differences.xml
index 36537772fc..fc73daacd1 100644
--- a/grpc-google-cloud-firestore-v1/clirr-ignored-differences.xml
+++ b/grpc-google-cloud-firestore-v1/clirr-ignored-differences.xml
@@ -1,10 +1,4 @@
-
-
- 6001
- com/google/firestore/v1/*Grpc
- METHOD_*
-
diff --git a/grpc-google-cloud-firestore-v1/pom.xml b/grpc-google-cloud-firestore-v1/pom.xml
index 568cc5d1c4..a7fad7f700 100644
--- a/grpc-google-cloud-firestore-v1/pom.xml
+++ b/grpc-google-cloud-firestore-v1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
grpc-google-cloud-firestore-v1
- 3.13.8
+ 3.14.0
grpc-google-cloud-firestore-v1
GRPC library for grpc-google-cloud-firestore-v1
com.google.cloud
google-cloud-firestore-parent
- 3.13.8
+ 3.14.0
diff --git a/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java b/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java
index cc63ecb8d4..41c7adac1b 100644
--- a/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java
+++ b/grpc-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreGrpc.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/pom.xml b/pom.xml
index 826eadae63..599aa91204 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.google.cloud
google-cloud-firestore-parent
pom
- 3.13.8
+ 3.14.0
Google Cloud Firestore Parent
https://github.com/googleapis/java-firestore
@@ -150,38 +150,38 @@
com.google.api.grpc
proto-google-cloud-firestore-admin-v1
- 3.13.8
+ 3.14.0
com.google.cloud
google-cloud-firestore
- 3.13.8
+ 3.14.0
com.google.cloud
proto-google-cloud-firestore-bundle-v1
- 3.13.8
+ 3.14.0
com.google.api.grpc
proto-google-cloud-firestore-v1
- 3.13.8
+ 3.14.0
com.google.api.grpc
grpc-google-cloud-firestore-admin-v1
- 3.13.8
+ 3.14.0
com.google.api.grpc
grpc-google-cloud-firestore-v1
- 3.13.8
+ 3.14.0
com.google.cloud
google-cloud-shared-dependencies
- 3.13.1
+ 3.14.0
pom
import
diff --git a/proto-google-cloud-firestore-admin-v1/pom.xml b/proto-google-cloud-firestore-admin-v1/pom.xml
index 4f15adfd44..9280cc3cb6 100644
--- a/proto-google-cloud-firestore-admin-v1/pom.xml
+++ b/proto-google-cloud-firestore-admin-v1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
proto-google-cloud-firestore-admin-v1
- 3.13.8
+ 3.14.0
proto-google-cloud-firestore-admin-v1
PROTO library for proto-google-cloud-firestore-admin-v1
com.google.cloud
google-cloud-firestore-parent
- 3.13.8
+ 3.14.0
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CollectionGroupName.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CollectionGroupName.java
index b58154939d..28690be0d6 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CollectionGroupName.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CollectionGroupName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateDatabaseMetadata.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateDatabaseMetadata.java
new file mode 100644
index 0000000000..85ed191bfe
--- /dev/null
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateDatabaseMetadata.java
@@ -0,0 +1,431 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/firestore/admin/v1/firestore_admin.proto
+
+package com.google.firestore.admin.v1;
+
+/**
+ *
+ *
+ *
+ * Metadata related to the create database operation.
+ *
+ *
+ * Protobuf type {@code google.firestore.admin.v1.CreateDatabaseMetadata}
+ */
+public final class CreateDatabaseMetadata extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.CreateDatabaseMetadata)
+ CreateDatabaseMetadataOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use CreateDatabaseMetadata.newBuilder() to construct.
+ private CreateDatabaseMetadata(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private CreateDatabaseMetadata() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateDatabaseMetadata();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.firestore.admin.v1.FirestoreAdminProto
+ .internal_static_google_firestore_admin_v1_CreateDatabaseMetadata_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.firestore.admin.v1.FirestoreAdminProto
+ .internal_static_google_firestore_admin_v1_CreateDatabaseMetadata_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.firestore.admin.v1.CreateDatabaseMetadata.class,
+ com.google.firestore.admin.v1.CreateDatabaseMetadata.Builder.class);
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.firestore.admin.v1.CreateDatabaseMetadata)) {
+ return super.equals(obj);
+ }
+ com.google.firestore.admin.v1.CreateDatabaseMetadata other =
+ (com.google.firestore.admin.v1.CreateDatabaseMetadata) obj;
+
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.firestore.admin.v1.CreateDatabaseMetadata parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.firestore.admin.v1.CreateDatabaseMetadata parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.firestore.admin.v1.CreateDatabaseMetadata parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.firestore.admin.v1.CreateDatabaseMetadata parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.firestore.admin.v1.CreateDatabaseMetadata parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.firestore.admin.v1.CreateDatabaseMetadata parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.firestore.admin.v1.CreateDatabaseMetadata parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.firestore.admin.v1.CreateDatabaseMetadata 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.firestore.admin.v1.CreateDatabaseMetadata parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.firestore.admin.v1.CreateDatabaseMetadata parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.firestore.admin.v1.CreateDatabaseMetadata parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.firestore.admin.v1.CreateDatabaseMetadata 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 static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(com.google.firestore.admin.v1.CreateDatabaseMetadata prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ *
+ * Metadata related to the create database operation.
+ *
+ *
+ * Protobuf type {@code google.firestore.admin.v1.CreateDatabaseMetadata}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.CreateDatabaseMetadata)
+ com.google.firestore.admin.v1.CreateDatabaseMetadataOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.firestore.admin.v1.FirestoreAdminProto
+ .internal_static_google_firestore_admin_v1_CreateDatabaseMetadata_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.firestore.admin.v1.FirestoreAdminProto
+ .internal_static_google_firestore_admin_v1_CreateDatabaseMetadata_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.firestore.admin.v1.CreateDatabaseMetadata.class,
+ com.google.firestore.admin.v1.CreateDatabaseMetadata.Builder.class);
+ }
+
+ // Construct using com.google.firestore.admin.v1.CreateDatabaseMetadata.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.firestore.admin.v1.FirestoreAdminProto
+ .internal_static_google_firestore_admin_v1_CreateDatabaseMetadata_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.firestore.admin.v1.CreateDatabaseMetadata getDefaultInstanceForType() {
+ return com.google.firestore.admin.v1.CreateDatabaseMetadata.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.firestore.admin.v1.CreateDatabaseMetadata build() {
+ com.google.firestore.admin.v1.CreateDatabaseMetadata result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.firestore.admin.v1.CreateDatabaseMetadata buildPartial() {
+ com.google.firestore.admin.v1.CreateDatabaseMetadata result =
+ new com.google.firestore.admin.v1.CreateDatabaseMetadata(this);
+ onBuilt();
+ return result;
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.firestore.admin.v1.CreateDatabaseMetadata) {
+ return mergeFrom((com.google.firestore.admin.v1.CreateDatabaseMetadata) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.firestore.admin.v1.CreateDatabaseMetadata other) {
+ if (other == com.google.firestore.admin.v1.CreateDatabaseMetadata.getDefaultInstance())
+ return this;
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ default:
+ {
+ if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+ done = true; // was an endgroup tag
+ }
+ break;
+ } // default:
+ } // switch (tag)
+ } // while (!done)
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.CreateDatabaseMetadata)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.CreateDatabaseMetadata)
+ private static final com.google.firestore.admin.v1.CreateDatabaseMetadata DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.firestore.admin.v1.CreateDatabaseMetadata();
+ }
+
+ public static com.google.firestore.admin.v1.CreateDatabaseMetadata getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public CreateDatabaseMetadata parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.firestore.admin.v1.CreateDatabaseMetadata getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateDatabaseMetadataOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateDatabaseMetadataOrBuilder.java
new file mode 100644
index 0000000000..913e02e0bc
--- /dev/null
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateDatabaseMetadataOrBuilder.java
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/firestore/admin/v1/firestore_admin.proto
+
+package com.google.firestore.admin.v1;
+
+public interface CreateDatabaseMetadataOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.CreateDatabaseMetadata)
+ com.google.protobuf.MessageOrBuilder {}
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateDatabaseRequest.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateDatabaseRequest.java
new file mode 100644
index 0000000000..7532f2a50f
--- /dev/null
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateDatabaseRequest.java
@@ -0,0 +1,1138 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/firestore/admin/v1/firestore_admin.proto
+
+package com.google.firestore.admin.v1;
+
+/**
+ *
+ *
+ *
+ * The request for
+ * [FirestoreAdmin.CreateDatabase][google.firestore.admin.v1.FirestoreAdmin.CreateDatabase].
+ *
+ *
+ * Protobuf type {@code google.firestore.admin.v1.CreateDatabaseRequest}
+ */
+public final class CreateDatabaseRequest extends com.google.protobuf.GeneratedMessageV3
+ implements
+ // @@protoc_insertion_point(message_implements:google.firestore.admin.v1.CreateDatabaseRequest)
+ CreateDatabaseRequestOrBuilder {
+ private static final long serialVersionUID = 0L;
+ // Use CreateDatabaseRequest.newBuilder() to construct.
+ private CreateDatabaseRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private CreateDatabaseRequest() {
+ parent_ = "";
+ databaseId_ = "";
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new CreateDatabaseRequest();
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.firestore.admin.v1.FirestoreAdminProto
+ .internal_static_google_firestore_admin_v1_CreateDatabaseRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.firestore.admin.v1.FirestoreAdminProto
+ .internal_static_google_firestore_admin_v1_CreateDatabaseRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.firestore.admin.v1.CreateDatabaseRequest.class,
+ com.google.firestore.admin.v1.CreateDatabaseRequest.Builder.class);
+ }
+
+ public static final int PARENT_FIELD_NUMBER = 1;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object parent_ = "";
+ /**
+ *
+ *
+ *
+ * Required. A parent name of the form
+ * `projects/{project_id}`
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The parent.
+ */
+ @java.lang.Override
+ public java.lang.String getParent() {
+ java.lang.Object ref = parent_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ parent_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. A parent name of the form
+ * `projects/{project_id}`
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for parent.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getParentBytes() {
+ java.lang.Object ref = parent_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ parent_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int DATABASE_FIELD_NUMBER = 2;
+ private com.google.firestore.admin.v1.Database database_;
+ /**
+ *
+ *
+ *
+ * Required. The Database to create.
+ *
+ *
+ *
+ * .google.firestore.admin.v1.Database database = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the database field is set.
+ */
+ @java.lang.Override
+ public boolean hasDatabase() {
+ return database_ != null;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The Database to create.
+ *
+ *
+ *
+ * .google.firestore.admin.v1.Database database = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The database.
+ */
+ @java.lang.Override
+ public com.google.firestore.admin.v1.Database getDatabase() {
+ return database_ == null
+ ? com.google.firestore.admin.v1.Database.getDefaultInstance()
+ : database_;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The Database to create.
+ *
+ *
+ *
+ * .google.firestore.admin.v1.Database database = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ @java.lang.Override
+ public com.google.firestore.admin.v1.DatabaseOrBuilder getDatabaseOrBuilder() {
+ return database_ == null
+ ? com.google.firestore.admin.v1.Database.getDefaultInstance()
+ : database_;
+ }
+
+ public static final int DATABASE_ID_FIELD_NUMBER = 3;
+
+ @SuppressWarnings("serial")
+ private volatile java.lang.Object databaseId_ = "";
+ /**
+ *
+ *
+ *
+ * Required. The ID to use for the database, which will become the final
+ * component of the database's resource name.
+ *
+ * The value must be set to "(default)".
+ *
+ *
+ * string database_id = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The databaseId.
+ */
+ @java.lang.Override
+ public java.lang.String getDatabaseId() {
+ java.lang.Object ref = databaseId_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ databaseId_ = s;
+ return s;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The ID to use for the database, which will become the final
+ * component of the database's resource name.
+ *
+ * The value must be set to "(default)".
+ *
+ *
+ * string database_id = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for databaseId.
+ */
+ @java.lang.Override
+ 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);
+ databaseId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1) return true;
+ if (isInitialized == 0) return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_);
+ }
+ if (database_ != null) {
+ output.writeMessage(2, getDatabase());
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseId_)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, databaseId_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1) return size;
+
+ size = 0;
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_);
+ }
+ if (database_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDatabase());
+ }
+ if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(databaseId_)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, databaseId_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof com.google.firestore.admin.v1.CreateDatabaseRequest)) {
+ return super.equals(obj);
+ }
+ com.google.firestore.admin.v1.CreateDatabaseRequest other =
+ (com.google.firestore.admin.v1.CreateDatabaseRequest) obj;
+
+ if (!getParent().equals(other.getParent())) return false;
+ if (hasDatabase() != other.hasDatabase()) return false;
+ if (hasDatabase()) {
+ if (!getDatabase().equals(other.getDatabase())) return false;
+ }
+ if (!getDatabaseId().equals(other.getDatabaseId())) return false;
+ if (!getUnknownFields().equals(other.getUnknownFields())) return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + PARENT_FIELD_NUMBER;
+ hash = (53 * hash) + getParent().hashCode();
+ if (hasDatabase()) {
+ hash = (37 * hash) + DATABASE_FIELD_NUMBER;
+ hash = (53 * hash) + getDatabase().hashCode();
+ }
+ hash = (37 * hash) + DATABASE_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getDatabaseId().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static com.google.firestore.admin.v1.CreateDatabaseRequest parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.firestore.admin.v1.CreateDatabaseRequest parseFrom(
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.firestore.admin.v1.CreateDatabaseRequest parseFrom(
+ com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.firestore.admin.v1.CreateDatabaseRequest parseFrom(
+ com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.firestore.admin.v1.CreateDatabaseRequest parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static com.google.firestore.admin.v1.CreateDatabaseRequest parseFrom(
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static com.google.firestore.admin.v1.CreateDatabaseRequest parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.firestore.admin.v1.CreateDatabaseRequest 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.firestore.admin.v1.CreateDatabaseRequest parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static com.google.firestore.admin.v1.CreateDatabaseRequest parseDelimitedFrom(
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
+ }
+
+ public static com.google.firestore.admin.v1.CreateDatabaseRequest parseFrom(
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static com.google.firestore.admin.v1.CreateDatabaseRequest 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 static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(com.google.firestore.admin.v1.CreateDatabaseRequest prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+ /**
+ *
+ *
+ *
+ * The request for
+ * [FirestoreAdmin.CreateDatabase][google.firestore.admin.v1.FirestoreAdmin.CreateDatabase].
+ *
+ *
+ * Protobuf type {@code google.firestore.admin.v1.CreateDatabaseRequest}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+ implements
+ // @@protoc_insertion_point(builder_implements:google.firestore.admin.v1.CreateDatabaseRequest)
+ com.google.firestore.admin.v1.CreateDatabaseRequestOrBuilder {
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.google.firestore.admin.v1.FirestoreAdminProto
+ .internal_static_google_firestore_admin_v1_CreateDatabaseRequest_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internalGetFieldAccessorTable() {
+ return com.google.firestore.admin.v1.FirestoreAdminProto
+ .internal_static_google_firestore_admin_v1_CreateDatabaseRequest_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(
+ com.google.firestore.admin.v1.CreateDatabaseRequest.class,
+ com.google.firestore.admin.v1.CreateDatabaseRequest.Builder.class);
+ }
+
+ // Construct using com.google.firestore.admin.v1.CreateDatabaseRequest.newBuilder()
+ private Builder() {}
+
+ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ super(parent);
+ }
+
+ @java.lang.Override
+ public Builder clear() {
+ super.clear();
+ bitField0_ = 0;
+ parent_ = "";
+ database_ = null;
+ if (databaseBuilder_ != null) {
+ databaseBuilder_.dispose();
+ databaseBuilder_ = null;
+ }
+ databaseId_ = "";
+ return this;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.google.firestore.admin.v1.FirestoreAdminProto
+ .internal_static_google_firestore_admin_v1_CreateDatabaseRequest_descriptor;
+ }
+
+ @java.lang.Override
+ public com.google.firestore.admin.v1.CreateDatabaseRequest getDefaultInstanceForType() {
+ return com.google.firestore.admin.v1.CreateDatabaseRequest.getDefaultInstance();
+ }
+
+ @java.lang.Override
+ public com.google.firestore.admin.v1.CreateDatabaseRequest build() {
+ com.google.firestore.admin.v1.CreateDatabaseRequest result = buildPartial();
+ if (!result.isInitialized()) {
+ throw newUninitializedMessageException(result);
+ }
+ return result;
+ }
+
+ @java.lang.Override
+ public com.google.firestore.admin.v1.CreateDatabaseRequest buildPartial() {
+ com.google.firestore.admin.v1.CreateDatabaseRequest result =
+ new com.google.firestore.admin.v1.CreateDatabaseRequest(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
+ onBuilt();
+ return result;
+ }
+
+ private void buildPartial0(com.google.firestore.admin.v1.CreateDatabaseRequest result) {
+ int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ result.parent_ = parent_;
+ }
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ result.database_ = databaseBuilder_ == null ? database_ : databaseBuilder_.build();
+ }
+ if (((from_bitField0_ & 0x00000004) != 0)) {
+ result.databaseId_ = databaseId_;
+ }
+ }
+
+ @java.lang.Override
+ public Builder clone() {
+ return super.clone();
+ }
+
+ @java.lang.Override
+ public Builder setField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.setField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+ return super.clearField(field);
+ }
+
+ @java.lang.Override
+ public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+ return super.clearOneof(oneof);
+ }
+
+ @java.lang.Override
+ public Builder setRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+ return super.setRepeatedField(field, index, value);
+ }
+
+ @java.lang.Override
+ public Builder addRepeatedField(
+ com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+ return super.addRepeatedField(field, value);
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(com.google.protobuf.Message other) {
+ if (other instanceof com.google.firestore.admin.v1.CreateDatabaseRequest) {
+ return mergeFrom((com.google.firestore.admin.v1.CreateDatabaseRequest) other);
+ } else {
+ super.mergeFrom(other);
+ return this;
+ }
+ }
+
+ public Builder mergeFrom(com.google.firestore.admin.v1.CreateDatabaseRequest other) {
+ if (other == com.google.firestore.admin.v1.CreateDatabaseRequest.getDefaultInstance())
+ return this;
+ if (!other.getParent().isEmpty()) {
+ parent_ = other.parent_;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ }
+ if (other.hasDatabase()) {
+ mergeDatabase(other.getDatabase());
+ }
+ if (!other.getDatabaseId().isEmpty()) {
+ databaseId_ = other.databaseId_;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ }
+ this.mergeUnknownFields(other.getUnknownFields());
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ return true;
+ }
+
+ @java.lang.Override
+ public Builder mergeFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws java.io.IOException {
+ if (extensionRegistry == null) {
+ throw new java.lang.NullPointerException();
+ }
+ try {
+ boolean done = false;
+ while (!done) {
+ int tag = input.readTag();
+ switch (tag) {
+ case 0:
+ done = true;
+ break;
+ case 10:
+ {
+ parent_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ case 18:
+ {
+ input.readMessage(getDatabaseFieldBuilder().getBuilder(), extensionRegistry);
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 18
+ case 26:
+ {
+ databaseId_ = 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) {
+ throw e.unwrapIOException();
+ } finally {
+ onChanged();
+ } // finally
+ return this;
+ }
+
+ private int bitField0_;
+
+ private java.lang.Object parent_ = "";
+ /**
+ *
+ *
+ *
+ * Required. A parent name of the form
+ * `projects/{project_id}`
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The parent.
+ */
+ public java.lang.String getParent() {
+ java.lang.Object ref = parent_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ parent_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. A parent name of the form
+ * `projects/{project_id}`
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for parent.
+ */
+ public com.google.protobuf.ByteString getParentBytes() {
+ java.lang.Object ref = parent_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ parent_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. A parent name of the form
+ * `projects/{project_id}`
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The parent to set.
+ * @return This builder for chaining.
+ */
+ public Builder setParent(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ parent_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. A parent name of the form
+ * `projects/{project_id}`
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearParent() {
+ parent_ = getDefaultInstance().getParent();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. A parent name of the form
+ * `projects/{project_id}`
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The bytes for parent to set.
+ * @return This builder for chaining.
+ */
+ public Builder setParentBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ parent_ = value;
+ bitField0_ |= 0x00000001;
+ onChanged();
+ return this;
+ }
+
+ private com.google.firestore.admin.v1.Database database_;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.firestore.admin.v1.Database,
+ com.google.firestore.admin.v1.Database.Builder,
+ com.google.firestore.admin.v1.DatabaseOrBuilder>
+ databaseBuilder_;
+ /**
+ *
+ *
+ *
+ * Required. The Database to create.
+ *
+ *
+ *
+ * .google.firestore.admin.v1.Database database = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the database field is set.
+ */
+ public boolean hasDatabase() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+ /**
+ *
+ *
+ *
+ * Required. The Database to create.
+ *
+ *
+ *
+ * .google.firestore.admin.v1.Database database = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The database.
+ */
+ public com.google.firestore.admin.v1.Database getDatabase() {
+ if (databaseBuilder_ == null) {
+ return database_ == null
+ ? com.google.firestore.admin.v1.Database.getDefaultInstance()
+ : database_;
+ } else {
+ return databaseBuilder_.getMessage();
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The Database to create.
+ *
+ *
+ *
+ * .google.firestore.admin.v1.Database database = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setDatabase(com.google.firestore.admin.v1.Database value) {
+ if (databaseBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ database_ = value;
+ } else {
+ databaseBuilder_.setMessage(value);
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The Database to create.
+ *
+ *
+ *
+ * .google.firestore.admin.v1.Database database = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder setDatabase(com.google.firestore.admin.v1.Database.Builder builderForValue) {
+ if (databaseBuilder_ == null) {
+ database_ = builderForValue.build();
+ } else {
+ databaseBuilder_.setMessage(builderForValue.build());
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The Database to create.
+ *
+ *
+ *
+ * .google.firestore.admin.v1.Database database = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder mergeDatabase(com.google.firestore.admin.v1.Database value) {
+ if (databaseBuilder_ == null) {
+ if (((bitField0_ & 0x00000002) != 0)
+ && database_ != null
+ && database_ != com.google.firestore.admin.v1.Database.getDefaultInstance()) {
+ getDatabaseBuilder().mergeFrom(value);
+ } else {
+ database_ = value;
+ }
+ } else {
+ databaseBuilder_.mergeFrom(value);
+ }
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The Database to create.
+ *
+ *
+ *
+ * .google.firestore.admin.v1.Database database = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public Builder clearDatabase() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ database_ = null;
+ if (databaseBuilder_ != null) {
+ databaseBuilder_.dispose();
+ databaseBuilder_ = null;
+ }
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The Database to create.
+ *
+ *
+ *
+ * .google.firestore.admin.v1.Database database = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.firestore.admin.v1.Database.Builder getDatabaseBuilder() {
+ bitField0_ |= 0x00000002;
+ onChanged();
+ return getDatabaseFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ *
+ * Required. The Database to create.
+ *
+ *
+ *
+ * .google.firestore.admin.v1.Database database = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ public com.google.firestore.admin.v1.DatabaseOrBuilder getDatabaseOrBuilder() {
+ if (databaseBuilder_ != null) {
+ return databaseBuilder_.getMessageOrBuilder();
+ } else {
+ return database_ == null
+ ? com.google.firestore.admin.v1.Database.getDefaultInstance()
+ : database_;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The Database to create.
+ *
+ *
+ *
+ * .google.firestore.admin.v1.Database database = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.firestore.admin.v1.Database,
+ com.google.firestore.admin.v1.Database.Builder,
+ com.google.firestore.admin.v1.DatabaseOrBuilder>
+ getDatabaseFieldBuilder() {
+ if (databaseBuilder_ == null) {
+ databaseBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.firestore.admin.v1.Database,
+ com.google.firestore.admin.v1.Database.Builder,
+ com.google.firestore.admin.v1.DatabaseOrBuilder>(
+ getDatabase(), getParentForChildren(), isClean());
+ database_ = null;
+ }
+ return databaseBuilder_;
+ }
+
+ private java.lang.Object databaseId_ = "";
+ /**
+ *
+ *
+ *
+ * Required. The ID to use for the database, which will become the final
+ * component of the database's resource name.
+ *
+ * The value must be set to "(default)".
+ *
+ *
+ * string database_id = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @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;
+ java.lang.String s = bs.toStringUtf8();
+ databaseId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The ID to use for the database, which will become the final
+ * component of the database's resource name.
+ *
+ * The value must be set to "(default)".
+ *
+ *
+ * string database_id = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for databaseId.
+ */
+ 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);
+ databaseId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+ /**
+ *
+ *
+ *
+ * Required. The ID to use for the database, which will become the final
+ * component of the database's resource name.
+ *
+ * The value must be set to "(default)".
+ *
+ *
+ * string database_id = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The databaseId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setDatabaseId(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ databaseId_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The ID to use for the database, which will become the final
+ * component of the database's resource name.
+ *
+ * The value must be set to "(default)".
+ *
+ *
+ * string database_id = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearDatabaseId() {
+ databaseId_ = getDefaultInstance().getDatabaseId();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ *
+ * Required. The ID to use for the database, which will become the final
+ * component of the database's resource name.
+ *
+ * The value must be set to "(default)".
+ *
+ *
+ * string database_id = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @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();
+ }
+ checkByteStringIsUtf8(value);
+ databaseId_ = value;
+ bitField0_ |= 0x00000004;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:google.firestore.admin.v1.CreateDatabaseRequest)
+ }
+
+ // @@protoc_insertion_point(class_scope:google.firestore.admin.v1.CreateDatabaseRequest)
+ private static final com.google.firestore.admin.v1.CreateDatabaseRequest DEFAULT_INSTANCE;
+
+ static {
+ DEFAULT_INSTANCE = new com.google.firestore.admin.v1.CreateDatabaseRequest();
+ }
+
+ public static com.google.firestore.admin.v1.CreateDatabaseRequest getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public CreateDatabaseRequest parsePartialFrom(
+ com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ Builder builder = newBuilder();
+ try {
+ builder.mergeFrom(input, extensionRegistry);
+ } catch (com.google.protobuf.InvalidProtocolBufferException e) {
+ throw e.setUnfinishedMessage(builder.buildPartial());
+ } catch (com.google.protobuf.UninitializedMessageException e) {
+ throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
+ } catch (java.io.IOException e) {
+ throw new com.google.protobuf.InvalidProtocolBufferException(e)
+ .setUnfinishedMessage(builder.buildPartial());
+ }
+ return builder.buildPartial();
+ }
+ };
+
+ public static com.google.protobuf.Parser parser() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.protobuf.Parser getParserForType() {
+ return PARSER;
+ }
+
+ @java.lang.Override
+ public com.google.firestore.admin.v1.CreateDatabaseRequest getDefaultInstanceForType() {
+ return DEFAULT_INSTANCE;
+ }
+}
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateDatabaseRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateDatabaseRequestOrBuilder.java
new file mode 100644
index 0000000000..0161cfbf0f
--- /dev/null
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateDatabaseRequestOrBuilder.java
@@ -0,0 +1,128 @@
+/*
+ * Copyright 2023 Google LLC
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * https://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+// Generated by the protocol buffer compiler. DO NOT EDIT!
+// source: google/firestore/admin/v1/firestore_admin.proto
+
+package com.google.firestore.admin.v1;
+
+public interface CreateDatabaseRequestOrBuilder
+ extends
+ // @@protoc_insertion_point(interface_extends:google.firestore.admin.v1.CreateDatabaseRequest)
+ com.google.protobuf.MessageOrBuilder {
+
+ /**
+ *
+ *
+ *
+ * Required. A parent name of the form
+ * `projects/{project_id}`
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The parent.
+ */
+ java.lang.String getParent();
+ /**
+ *
+ *
+ *
+ * Required. A parent name of the form
+ * `projects/{project_id}`
+ *
+ *
+ *
+ * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for parent.
+ */
+ com.google.protobuf.ByteString getParentBytes();
+
+ /**
+ *
+ *
+ *
+ * Required. The Database to create.
+ *
+ *
+ *
+ * .google.firestore.admin.v1.Database database = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the database field is set.
+ */
+ boolean hasDatabase();
+ /**
+ *
+ *
+ *
+ * Required. The Database to create.
+ *
+ *
+ *
+ * .google.firestore.admin.v1.Database database = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The database.
+ */
+ com.google.firestore.admin.v1.Database getDatabase();
+ /**
+ *
+ *
+ *
+ * Required. The Database to create.
+ *
+ *
+ *
+ * .google.firestore.admin.v1.Database database = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ */
+ com.google.firestore.admin.v1.DatabaseOrBuilder getDatabaseOrBuilder();
+
+ /**
+ *
+ *
+ *
+ * Required. The ID to use for the database, which will become the final
+ * component of the database's resource name.
+ *
+ * The value must be set to "(default)".
+ *
+ *
+ * string database_id = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The databaseId.
+ */
+ java.lang.String getDatabaseId();
+ /**
+ *
+ *
+ *
+ * Required. The ID to use for the database, which will become the final
+ * component of the database's resource name.
+ *
+ * The value must be set to "(default)".
+ *
+ *
+ * string database_id = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for databaseId.
+ */
+ com.google.protobuf.ByteString getDatabaseIdBytes();
+}
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequest.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequest.java
index 37b461738b..3a7f2f8750 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequest.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,7 +22,8 @@
*
*
*
- * The request for [FirestoreAdmin.CreateIndex][google.firestore.admin.v1.FirestoreAdmin.CreateIndex].
+ * The request for
+ * [FirestoreAdmin.CreateIndex][google.firestore.admin.v1.FirestoreAdmin.CreateIndex].
*
*
* Protobuf type {@code google.firestore.admin.v1.CreateIndexRequest}
@@ -47,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new CreateIndexRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.admin.v1.FirestoreAdminProto
.internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor;
@@ -350,7 +346,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The request for [FirestoreAdmin.CreateIndex][google.firestore.admin.v1.FirestoreAdmin.CreateIndex].
+ * The request for
+ * [FirestoreAdmin.CreateIndex][google.firestore.admin.v1.FirestoreAdmin.CreateIndex].
*
*
* Protobuf type {@code google.firestore.admin.v1.CreateIndexRequest}
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequestOrBuilder.java
index 664eb18a50..e37e367dd6 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/CreateIndexRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Database.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Database.java
index f3356a3efa..9cb562e2a1 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Database.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Database.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -55,11 +55,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new Database();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.admin.v1.DatabaseProto
.internal_static_google_firestore_admin_v1_Database_descriptor;
@@ -82,6 +77,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* The type of the database.
* See https://cloud.google.com/datastore/docs/firestore-or-datastore for
* information about how to choose.
+ *
* Mode changes are only allowed if the database is empty.
*
*
@@ -272,6 +268,7 @@ public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum {
*
* Use pessimistic concurrency control by default. This mode is available
* for Cloud Firestore databases.
+ *
* This is the default setting for Cloud Firestore.
*
*
@@ -283,7 +280,9 @@ public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum {
*
*
* Use optimistic concurrency control with entity groups by default.
+ *
* This is the only available mode for Cloud Datastore.
+ *
* This mode is also available for Cloud Firestore with Datastore Mode but
* is not recommended.
*
@@ -321,6 +320,7 @@ public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum {
*
* Use pessimistic concurrency control by default. This mode is available
* for Cloud Firestore databases.
+ *
* This is the default setting for Cloud Firestore.
*
*
@@ -332,7 +332,9 @@ public enum ConcurrencyMode implements com.google.protobuf.ProtocolMessageEnum {
*
*
* Use optimistic concurrency control with entity groups by default.
+ *
* This is the only available mode for Cloud Datastore.
+ *
* This mode is also available for Cloud Firestore with Datastore Mode but
* is not recommended.
*
@@ -835,6 +837,7 @@ public int getAppEngineIntegrationModeValue() {
* with the project id ("<key prefix>~<project id>") to construct the
* application id that is returned from the Cloud Datastore APIs in Google App
* Engine first generation runtimes.
+ *
* This value may be empty in which case the appid to use for URL-encoded keys
* is the project_id (eg: foo instead of v~foo).
*
@@ -863,6 +866,7 @@ public java.lang.String getKeyPrefix() {
* with the project id ("<key prefix>~<project id>") to construct the
* application id that is returned from the Cloud Datastore APIs in Google App
* Engine first generation runtimes.
+ *
* This value may be empty in which case the appid to use for URL-encoded keys
* is the project_id (eg: foo instead of v~foo).
*
@@ -1964,6 +1968,7 @@ public Builder clearAppEngineIntegrationMode() {
* with the project id ("<key prefix>~<project id>") to construct the
* application id that is returned from the Cloud Datastore APIs in Google App
* Engine first generation runtimes.
+ *
* This value may be empty in which case the appid to use for URL-encoded keys
* is the project_id (eg: foo instead of v~foo).
*
@@ -1991,6 +1996,7 @@ public java.lang.String getKeyPrefix() {
* with the project id ("<key prefix>~<project id>") to construct the
* application id that is returned from the Cloud Datastore APIs in Google App
* Engine first generation runtimes.
+ *
* This value may be empty in which case the appid to use for URL-encoded keys
* is the project_id (eg: foo instead of v~foo).
*
@@ -2018,6 +2024,7 @@ public com.google.protobuf.ByteString getKeyPrefixBytes() {
* with the project id ("<key prefix>~<project id>") to construct the
* application id that is returned from the Cloud Datastore APIs in Google App
* Engine first generation runtimes.
+ *
* This value may be empty in which case the appid to use for URL-encoded keys
* is the project_id (eg: foo instead of v~foo).
*
@@ -2044,6 +2051,7 @@ public Builder setKeyPrefix(java.lang.String value) {
* with the project id ("<key prefix>~<project id>") to construct the
* application id that is returned from the Cloud Datastore APIs in Google App
* Engine first generation runtimes.
+ *
* This value may be empty in which case the appid to use for URL-encoded keys
* is the project_id (eg: foo instead of v~foo).
*
@@ -2066,6 +2074,7 @@ public Builder clearKeyPrefix() {
* with the project id ("<key prefix>~<project id>") to construct the
* application id that is returned from the Cloud Datastore APIs in Google App
* Engine first generation runtimes.
+ *
* This value may be empty in which case the appid to use for URL-encoded keys
* is the project_id (eg: foo instead of v~foo).
*
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseName.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseName.java
index 023d9118be..084e3be3d9 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseName.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java
index c47da06ff4..c0f2053eb5 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -168,6 +168,7 @@ public interface DatabaseOrBuilder
* with the project id ("<key prefix>~<project id>") to construct the
* application id that is returned from the Cloud Datastore APIs in Google App
* Engine first generation runtimes.
+ *
* This value may be empty in which case the appid to use for URL-encoded keys
* is the project_id (eg: foo instead of v~foo).
*
@@ -185,6 +186,7 @@ public interface DatabaseOrBuilder
* with the project id ("<key prefix>~<project id>") to construct the
* application id that is returned from the Cloud Datastore APIs in Google App
* Engine first generation runtimes.
+ *
* This value may be empty in which case the appid to use for URL-encoded keys
* is the project_id (eg: foo instead of v~foo).
*
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java
index 31611a689f..a1148fa656 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DatabaseProto.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -43,31 +43,31 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"\n(google/firestore/admin/v1/database.pro"
+ "to\022\031google.firestore.admin.v1\032\037google/ap"
+ "i/field_behavior.proto\032\031google/api/resou"
- + "rce.proto\"\320\005\n\010Database\022\014\n\004name\030\001 \001(\t\022\023\n\013"
+ + "rce.proto\"\321\005\n\010Database\022\014\n\004name\030\001 \001(\t\022\023\n\013"
+ "location_id\030\t \001(\t\022>\n\004type\030\n \001(\01620.google"
+ ".firestore.admin.v1.Database.DatabaseTyp"
+ "e\022M\n\020concurrency_mode\030\017 \001(\01623.google.fir"
+ "estore.admin.v1.Database.ConcurrencyMode"
+ "\022a\n\033app_engine_integration_mode\030\023 \001(\0162<."
+ "google.firestore.admin.v1.Database.AppEn"
- + "gineIntegrationMode\022\027\n\nkey_prefix\030\024 \001(\tB"
- + "\003\340A\003\022\014\n\004etag\030c \001(\t\"W\n\014DatabaseType\022\035\n\031DA"
- + "TABASE_TYPE_UNSPECIFIED\020\000\022\024\n\020FIRESTORE_N"
- + "ATIVE\020\001\022\022\n\016DATASTORE_MODE\020\002\"w\n\017Concurren"
- + "cyMode\022 \n\034CONCURRENCY_MODE_UNSPECIFIED\020\000"
- + "\022\016\n\nOPTIMISTIC\020\001\022\017\n\013PESSIMISTIC\020\002\022!\n\035OPT"
- + "IMISTIC_WITH_ENTITY_GROUPS\020\003\"b\n\030AppEngin"
- + "eIntegrationMode\022+\n\'APP_ENGINE_INTEGRATI"
- + "ON_MODE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\014\n\010DI"
- + "SABLED\020\002:R\352AO\n!firestore.googleapis.com/"
- + "Database\022\'projects/{project}/databases/{"
- + "database}R\001\001B\334\001\n\035com.google.firestore.ad"
- + "min.v1B\rDatabaseProtoP\001Z9cloud.google.co"
- + "m/go/firestore/apiv1/admin/adminpb;admin"
- + "pb\242\002\004GCFS\252\002\037Google.Cloud.Firestore.Admin"
- + ".V1\312\002\037Google\\Cloud\\Firestore\\Admin\\V1\352\002#"
- + "Google::Cloud::Firestore::Admin::V1b\006pro"
- + "to3"
+ + "gineIntegrationMode\022\030\n\nkey_prefix\030\024 \001(\tB"
+ + "\004\342A\001\003\022\014\n\004etag\030c \001(\t\"W\n\014DatabaseType\022\035\n\031D"
+ + "ATABASE_TYPE_UNSPECIFIED\020\000\022\024\n\020FIRESTORE_"
+ + "NATIVE\020\001\022\022\n\016DATASTORE_MODE\020\002\"w\n\017Concurre"
+ + "ncyMode\022 \n\034CONCURRENCY_MODE_UNSPECIFIED\020"
+ + "\000\022\016\n\nOPTIMISTIC\020\001\022\017\n\013PESSIMISTIC\020\002\022!\n\035OP"
+ + "TIMISTIC_WITH_ENTITY_GROUPS\020\003\"b\n\030AppEngi"
+ + "neIntegrationMode\022+\n\'APP_ENGINE_INTEGRAT"
+ + "ION_MODE_UNSPECIFIED\020\000\022\013\n\007ENABLED\020\001\022\014\n\010D"
+ + "ISABLED\020\002:R\352AO\n!firestore.googleapis.com"
+ + "/Database\022\'projects/{project}/databases/"
+ + "{database}R\001\001B\334\001\n\035com.google.firestore.a"
+ + "dmin.v1B\rDatabaseProtoP\001Z9cloud.google.c"
+ + "om/go/firestore/apiv1/admin/adminpb;admi"
+ + "npb\242\002\004GCFS\252\002\037Google.Cloud.Firestore.Admi"
+ + "n.V1\312\002\037Google\\Cloud\\Firestore\\Admin\\V1\352\002"
+ + "#Google::Cloud::Firestore::Admin::V1b\006pr"
+ + "oto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequest.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequest.java
index e34a629296..32108f3e20 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequest.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,7 +22,8 @@
*
*
* - * The request for [FirestoreAdmin.DeleteIndex][google.firestore.admin.v1.FirestoreAdmin.DeleteIndex]. + * The request for + * [FirestoreAdmin.DeleteIndex][google.firestore.admin.v1.FirestoreAdmin.DeleteIndex]. ** * Protobuf type {@code google.firestore.admin.v1.DeleteIndexRequest} @@ -47,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new DeleteIndexRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.firestore.admin.v1.FirestoreAdminProto .internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor; @@ -287,7 +283,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
- * The request for [FirestoreAdmin.DeleteIndex][google.firestore.admin.v1.FirestoreAdmin.DeleteIndex].
+ * The request for
+ * [FirestoreAdmin.DeleteIndex][google.firestore.admin.v1.FirestoreAdmin.DeleteIndex].
*
*
* Protobuf type {@code google.firestore.admin.v1.DeleteIndexRequest}
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequestOrBuilder.java
index 360e0535cd..1227128174 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/DeleteIndexRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadata.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadata.java
index 5ff8a3111b..3f993c8757 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadata.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ExportDocumentsMetadata.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -40,7 +40,7 @@ private ExportDocumentsMetadata(com.google.protobuf.GeneratedMessageV3.Builder
private ExportDocumentsMetadata() {
operationState_ = 0;
- collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
outputUriPrefix_ = "";
}
@@ -50,11 +50,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ExportDocumentsMetadata();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.admin.v1.OperationProto
.internal_static_google_firestore_admin_v1_ExportDocumentsMetadata_descriptor;
@@ -303,7 +298,8 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder
public static final int COLLECTION_IDS_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
- private com.google.protobuf.LazyStringList collectionIds_;
+ private com.google.protobuf.LazyStringArrayList collectionIds_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
/**
*
*
@@ -718,8 +714,7 @@ public Builder clear() {
progressBytesBuilder_.dispose();
progressBytesBuilder_ = null;
}
- collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000020);
+ collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
outputUriPrefix_ = "";
return this;
}
@@ -748,7 +743,6 @@ public com.google.firestore.admin.v1.ExportDocumentsMetadata build() {
public com.google.firestore.admin.v1.ExportDocumentsMetadata buildPartial() {
com.google.firestore.admin.v1.ExportDocumentsMetadata result =
new com.google.firestore.admin.v1.ExportDocumentsMetadata(this);
- buildPartialRepeatedFields(result);
if (bitField0_ != 0) {
buildPartial0(result);
}
@@ -756,15 +750,6 @@ public com.google.firestore.admin.v1.ExportDocumentsMetadata buildPartial() {
return result;
}
- private void buildPartialRepeatedFields(
- com.google.firestore.admin.v1.ExportDocumentsMetadata result) {
- if (((bitField0_ & 0x00000020) != 0)) {
- collectionIds_ = collectionIds_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000020);
- }
- result.collectionIds_ = collectionIds_;
- }
-
private void buildPartial0(com.google.firestore.admin.v1.ExportDocumentsMetadata result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
@@ -786,6 +771,10 @@ private void buildPartial0(com.google.firestore.admin.v1.ExportDocumentsMetadata
result.progressBytes_ =
progressBytesBuilder_ == null ? progressBytes_ : progressBytesBuilder_.build();
}
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ collectionIds_.makeImmutable();
+ result.collectionIds_ = collectionIds_;
+ }
if (((from_bitField0_ & 0x00000040) != 0)) {
result.outputUriPrefix_ = outputUriPrefix_;
}
@@ -855,7 +844,7 @@ public Builder mergeFrom(com.google.firestore.admin.v1.ExportDocumentsMetadata o
if (!other.collectionIds_.isEmpty()) {
if (collectionIds_.isEmpty()) {
collectionIds_ = other.collectionIds_;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ |= 0x00000020;
} else {
ensureCollectionIdsIsMutable();
collectionIds_.addAll(other.collectionIds_);
@@ -1781,14 +1770,14 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder
return progressBytesBuilder_;
}
- private com.google.protobuf.LazyStringList collectionIds_ =
- com.google.protobuf.LazyStringArrayList.EMPTY;
+ private com.google.protobuf.LazyStringArrayList collectionIds_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureCollectionIdsIsMutable() {
- if (!((bitField0_ & 0x00000020) != 0)) {
+ if (!collectionIds_.isModifiable()) {
collectionIds_ = new com.google.protobuf.LazyStringArrayList(collectionIds_);
- bitField0_ |= 0x00000020;
}
+ bitField0_ |= 0x00000020;
}
/**
*
@@ -1802,7 +1791,8 @@ private void ensureCollectionIdsIsMutable() {
* @return A list containing the collectionIds.
*/
public com.google.protobuf.ProtocolStringList getCollectionIdsList() {
- return collectionIds_.getUnmodifiableView();
+ collectionIds_.makeImmutable();
+ return collectionIds_;
}
/**
*
@@ -1867,6 +1857,7 @@ public Builder setCollectionIds(int index, java.lang.String value) {
}
ensureCollectionIdsIsMutable();
collectionIds_.set(index, value);
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -1888,6 +1879,7 @@ public Builder addCollectionIds(java.lang.String value) {
}
ensureCollectionIdsIsMutable();
collectionIds_.add(value);
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -1906,6 +1898,7 @@ public Builder addCollectionIds(java.lang.String value) {
public Builder addAllCollectionIds(java.lang.Iterable- * The request for [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1.FirestoreAdmin.ExportDocuments]. + * The request for + * [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1.FirestoreAdmin.ExportDocuments]. ** * Protobuf type {@code google.firestore.admin.v1.ExportDocumentsRequest} @@ -39,7 +40,7 @@ private ExportDocumentsRequest(com.google.protobuf.GeneratedMessageV3.Builder> private ExportDocumentsRequest() { name_ = ""; - collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY; + collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList(); outputUriPrefix_ = ""; } @@ -49,11 +50,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ExportDocumentsRequest(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.firestore.admin.v1.FirestoreAdminProto .internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor; @@ -129,7 +125,8 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int COLLECTION_IDS_FIELD_NUMBER = 2; @SuppressWarnings("serial") - private com.google.protobuf.LazyStringList collectionIds_; + private com.google.protobuf.LazyStringArrayList collectionIds_ = + com.google.protobuf.LazyStringArrayList.emptyList(); /** * * @@ -442,7 +439,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
- * The request for [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1.FirestoreAdmin.ExportDocuments].
+ * The request for
+ * [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1.FirestoreAdmin.ExportDocuments].
*
*
* Protobuf type {@code google.firestore.admin.v1.ExportDocumentsRequest}
@@ -478,8 +476,7 @@ public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
- collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
+ collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
outputUriPrefix_ = "";
return this;
}
@@ -508,7 +505,6 @@ public com.google.firestore.admin.v1.ExportDocumentsRequest build() {
public com.google.firestore.admin.v1.ExportDocumentsRequest buildPartial() {
com.google.firestore.admin.v1.ExportDocumentsRequest result =
new com.google.firestore.admin.v1.ExportDocumentsRequest(this);
- buildPartialRepeatedFields(result);
if (bitField0_ != 0) {
buildPartial0(result);
}
@@ -516,20 +512,15 @@ public com.google.firestore.admin.v1.ExportDocumentsRequest buildPartial() {
return result;
}
- private void buildPartialRepeatedFields(
- com.google.firestore.admin.v1.ExportDocumentsRequest result) {
- if (((bitField0_ & 0x00000002) != 0)) {
- collectionIds_ = collectionIds_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000002);
- }
- result.collectionIds_ = collectionIds_;
- }
-
private void buildPartial0(com.google.firestore.admin.v1.ExportDocumentsRequest result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
}
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ collectionIds_.makeImmutable();
+ result.collectionIds_ = collectionIds_;
+ }
if (((from_bitField0_ & 0x00000004) != 0)) {
result.outputUriPrefix_ = outputUriPrefix_;
}
@@ -589,7 +580,7 @@ public Builder mergeFrom(com.google.firestore.admin.v1.ExportDocumentsRequest ot
if (!other.collectionIds_.isEmpty()) {
if (collectionIds_.isEmpty()) {
collectionIds_ = other.collectionIds_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ |= 0x00000002;
} else {
ensureCollectionIdsIsMutable();
collectionIds_.addAll(other.collectionIds_);
@@ -786,14 +777,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
return this;
}
- private com.google.protobuf.LazyStringList collectionIds_ =
- com.google.protobuf.LazyStringArrayList.EMPTY;
+ private com.google.protobuf.LazyStringArrayList collectionIds_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureCollectionIdsIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!collectionIds_.isModifiable()) {
collectionIds_ = new com.google.protobuf.LazyStringArrayList(collectionIds_);
- bitField0_ |= 0x00000002;
}
+ bitField0_ |= 0x00000002;
}
/**
*
@@ -807,7 +798,8 @@ private void ensureCollectionIdsIsMutable() {
* @return A list containing the collectionIds.
*/
public com.google.protobuf.ProtocolStringList getCollectionIdsList() {
- return collectionIds_.getUnmodifiableView();
+ collectionIds_.makeImmutable();
+ return collectionIds_;
}
/**
*
@@ -872,6 +864,7 @@ public Builder setCollectionIds(int index, java.lang.String value) {
}
ensureCollectionIdsIsMutable();
collectionIds_.set(index, value);
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -893,6 +886,7 @@ public Builder addCollectionIds(java.lang.String value) {
}
ensureCollectionIdsIsMutable();
collectionIds_.add(value);
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -911,6 +905,7 @@ public Builder addCollectionIds(java.lang.String value) {
public Builder addAllCollectionIds(java.lang.Iterable* Represents a single field in the database. + * * Fields are grouped by their "Collection Group", which represent all * collections in the database with the same id. *@@ -49,11 +50,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Field(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.firestore.admin.v1.FieldProto .internal_static_google_firestore_admin_v1_Field_descriptor; @@ -219,11 +215,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new IndexConfig(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.firestore.admin.v1.FieldProto .internal_static_google_firestore_admin_v1_Field_IndexConfig_descriptor; @@ -1595,11 +1586,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new TtlConfig(); } - @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { - return this.unknownFields; - } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.firestore.admin.v1.FieldProto .internal_static_google_firestore_admin_v1_Field_TtlConfig_descriptor; @@ -2375,21 +2361,25 @@ public com.google.firestore.admin.v1.Field.TtlConfig getDefaultInstanceForType() *
* Required. A field name of the form
* `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
+ *
* A field path may be a simple field name, e.g. `address` or a path to fields
* within map_value , e.g. `address.city`,
* or a special field path. The only valid special field is `*`, which
* represents any field.
+ *
* Field paths may be quoted using ` (backtick). The only character that needs
* to be escaped within a quoted field path is the backtick character itself,
* escaped using a backslash. Special characters in field paths that
* must be quoted include: `*`, `.`,
* ``` (backtick), `[`, `]`, as well as any ascii symbolic characters.
+ *
* Examples:
* (Note: Comments here are written in markdown syntax, so there is an
* additional layer of backticks to represent a code block)
* `\`address.city\`` represents a field named `address.city`, not the map key
* `city` in the field `address`.
* `\`*\`` represents a field named `*`, not any field.
+ *
* A special `Field` contains the default indexing settings for all fields.
* This field's resource name is:
* `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`
@@ -2419,21 +2409,25 @@ public java.lang.String getName() {
*
* Required. A field name of the form
* `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
+ *
* A field path may be a simple field name, e.g. `address` or a path to fields
* within map_value , e.g. `address.city`,
* or a special field path. The only valid special field is `*`, which
* represents any field.
+ *
* Field paths may be quoted using ` (backtick). The only character that needs
* to be escaped within a quoted field path is the backtick character itself,
* escaped using a backslash. Special characters in field paths that
* must be quoted include: `*`, `.`,
* ``` (backtick), `[`, `]`, as well as any ascii symbolic characters.
+ *
* Examples:
* (Note: Comments here are written in markdown syntax, so there is an
* additional layer of backticks to represent a code block)
* `\`address.city\`` represents a field named `address.city`, not the map key
* `city` in the field `address`.
* `\`*\`` represents a field named `*`, not any field.
+ *
* A special `Field` contains the default indexing settings for all fields.
* This field's resource name is:
* `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`
@@ -2763,6 +2757,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* Represents a single field in the database.
+ *
* Fields are grouped by their "Collection Group", which represent all
* collections in the database with the same id.
*
@@ -2983,21 +2978,25 @@ public Builder mergeFrom(
*
* Required. A field name of the form
* `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
+ *
* A field path may be a simple field name, e.g. `address` or a path to fields
* within map_value , e.g. `address.city`,
* or a special field path. The only valid special field is `*`, which
* represents any field.
+ *
* Field paths may be quoted using ` (backtick). The only character that needs
* to be escaped within a quoted field path is the backtick character itself,
* escaped using a backslash. Special characters in field paths that
* must be quoted include: `*`, `.`,
* ``` (backtick), `[`, `]`, as well as any ascii symbolic characters.
+ *
* Examples:
* (Note: Comments here are written in markdown syntax, so there is an
* additional layer of backticks to represent a code block)
* `\`address.city\`` represents a field named `address.city`, not the map key
* `city` in the field `address`.
* `\`*\`` represents a field named `*`, not any field.
+ *
* A special `Field` contains the default indexing settings for all fields.
* This field's resource name is:
* `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`
@@ -3026,21 +3025,25 @@ public java.lang.String getName() {
*
* Required. A field name of the form
* `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
+ *
* A field path may be a simple field name, e.g. `address` or a path to fields
* within map_value , e.g. `address.city`,
* or a special field path. The only valid special field is `*`, which
* represents any field.
+ *
* Field paths may be quoted using ` (backtick). The only character that needs
* to be escaped within a quoted field path is the backtick character itself,
* escaped using a backslash. Special characters in field paths that
* must be quoted include: `*`, `.`,
* ``` (backtick), `[`, `]`, as well as any ascii symbolic characters.
+ *
* Examples:
* (Note: Comments here are written in markdown syntax, so there is an
* additional layer of backticks to represent a code block)
* `\`address.city\`` represents a field named `address.city`, not the map key
* `city` in the field `address`.
* `\`*\`` represents a field named `*`, not any field.
+ *
* A special `Field` contains the default indexing settings for all fields.
* This field's resource name is:
* `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`
@@ -3069,21 +3072,25 @@ public com.google.protobuf.ByteString getNameBytes() {
*
* Required. A field name of the form
* `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
+ *
* A field path may be a simple field name, e.g. `address` or a path to fields
* within map_value , e.g. `address.city`,
* or a special field path. The only valid special field is `*`, which
* represents any field.
+ *
* Field paths may be quoted using ` (backtick). The only character that needs
* to be escaped within a quoted field path is the backtick character itself,
* escaped using a backslash. Special characters in field paths that
* must be quoted include: `*`, `.`,
* ``` (backtick), `[`, `]`, as well as any ascii symbolic characters.
+ *
* Examples:
* (Note: Comments here are written in markdown syntax, so there is an
* additional layer of backticks to represent a code block)
* `\`address.city\`` represents a field named `address.city`, not the map key
* `city` in the field `address`.
* `\`*\`` represents a field named `*`, not any field.
+ *
* A special `Field` contains the default indexing settings for all fields.
* This field's resource name is:
* `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`
@@ -3111,21 +3118,25 @@ public Builder setName(java.lang.String value) {
*
* Required. A field name of the form
* `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
+ *
* A field path may be a simple field name, e.g. `address` or a path to fields
* within map_value , e.g. `address.city`,
* or a special field path. The only valid special field is `*`, which
* represents any field.
+ *
* Field paths may be quoted using ` (backtick). The only character that needs
* to be escaped within a quoted field path is the backtick character itself,
* escaped using a backslash. Special characters in field paths that
* must be quoted include: `*`, `.`,
* ``` (backtick), `[`, `]`, as well as any ascii symbolic characters.
+ *
* Examples:
* (Note: Comments here are written in markdown syntax, so there is an
* additional layer of backticks to represent a code block)
* `\`address.city\`` represents a field named `address.city`, not the map key
* `city` in the field `address`.
* `\`*\`` represents a field named `*`, not any field.
+ *
* A special `Field` contains the default indexing settings for all fields.
* This field's resource name is:
* `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`
@@ -3149,21 +3160,25 @@ public Builder clearName() {
*
* Required. A field name of the form
* `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
+ *
* A field path may be a simple field name, e.g. `address` or a path to fields
* within map_value , e.g. `address.city`,
* or a special field path. The only valid special field is `*`, which
* represents any field.
+ *
* Field paths may be quoted using ` (backtick). The only character that needs
* to be escaped within a quoted field path is the backtick character itself,
* escaped using a backslash. Special characters in field paths that
* must be quoted include: `*`, `.`,
* ``` (backtick), `[`, `]`, as well as any ascii symbolic characters.
+ *
* Examples:
* (Note: Comments here are written in markdown syntax, so there is an
* additional layer of backticks to represent a code block)
* `\`address.city\`` represents a field named `address.city`, not the map key
* `city` in the field `address`.
* `\`*\`` represents a field named `*`, not any field.
+ *
* A special `Field` contains the default indexing settings for all fields.
* This field's resource name is:
* `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldName.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldName.java
index f0ddc21b2d..ed058e7bb8 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldName.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadata.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadata.java
index a675dfac83..bde0ef0589 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadata.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadata.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -50,11 +50,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new FieldOperationMetadata();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.admin.v1.OperationProto
.internal_static_google_firestore_admin_v1_FieldOperationMetadata_descriptor;
@@ -169,11 +164,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new IndexConfigDelta();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.admin.v1.OperationProto
.internal_static_google_firestore_admin_v1_FieldOperationMetadata_IndexConfigDelta_descriptor;
@@ -1248,11 +1238,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new TtlConfigDelta();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.admin.v1.OperationProto
.internal_static_google_firestore_admin_v1_FieldOperationMetadata_TtlConfigDelta_descriptor;
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadataOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadataOrBuilder.java
index 0af1212352..af5cb824d1 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadataOrBuilder.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOperationMetadataOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java
index 10f8556585..8a840451a2 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -29,21 +29,25 @@ public interface FieldOrBuilder
*
* Required. A field name of the form
* `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
+ *
* A field path may be a simple field name, e.g. `address` or a path to fields
* within map_value , e.g. `address.city`,
* or a special field path. The only valid special field is `*`, which
* represents any field.
+ *
* Field paths may be quoted using ` (backtick). The only character that needs
* to be escaped within a quoted field path is the backtick character itself,
* escaped using a backslash. Special characters in field paths that
* must be quoted include: `*`, `.`,
* ``` (backtick), `[`, `]`, as well as any ascii symbolic characters.
+ *
* Examples:
* (Note: Comments here are written in markdown syntax, so there is an
* additional layer of backticks to represent a code block)
* `\`address.city\`` represents a field named `address.city`, not the map key
* `city` in the field `address`.
* `\`*\`` represents a field named `*`, not any field.
+ *
* A special `Field` contains the default indexing settings for all fields.
* This field's resource name is:
* `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`
@@ -62,21 +66,25 @@ public interface FieldOrBuilder
*
* Required. A field name of the form
* `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_path}`
+ *
* A field path may be a simple field name, e.g. `address` or a path to fields
* within map_value , e.g. `address.city`,
* or a special field path. The only valid special field is `*`, which
* represents any field.
+ *
* Field paths may be quoted using ` (backtick). The only character that needs
* to be escaped within a quoted field path is the backtick character itself,
* escaped using a backslash. Special characters in field paths that
* must be quoted include: `*`, `.`,
* ``` (backtick), `[`, `]`, as well as any ascii symbolic characters.
+ *
* Examples:
* (Note: Comments here are written in markdown syntax, so there is an
* additional layer of backticks to represent a code block)
* `\`address.city\`` represents a field named `address.city`, not the map key
* `city` in the field `address`.
* `\`*\`` represents a field named `*`, not any field.
+ *
* A special `Field` contains the default indexing settings for all fields.
* This field's resource name is:
* `projects/{project_id}/databases/{database_id}/collectionGroups/__default__/fields/*`
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java
index 996ab05b93..34287e4acd 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FieldProto.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -52,27 +52,27 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\031google.firestore.admin.v1\032\037google/api/f"
+ "ield_behavior.proto\032\031google/api/resource"
+ ".proto\032%google/firestore/admin/v1/index."
- + "proto\"\305\004\n\005Field\022\021\n\004name\030\001 \001(\tB\003\340A\002\022B\n\014in"
- + "dex_config\030\002 \001(\0132,.google.firestore.admi"
- + "n.v1.Field.IndexConfig\022>\n\nttl_config\030\003 \001"
- + "(\0132*.google.firestore.admin.v1.Field.Ttl"
- + "Config\032\211\001\n\013IndexConfig\0221\n\007indexes\030\001 \003(\0132"
- + " .google.firestore.admin.v1.Index\022\034\n\024use"
- + "s_ancestor_config\030\002 \001(\010\022\026\n\016ancestor_fiel"
- + "d\030\003 \001(\t\022\021\n\treverting\030\004 \001(\010\032\235\001\n\tTtlConfig"
- + "\022D\n\005state\030\001 \001(\01620.google.firestore.admin"
- + ".v1.Field.TtlConfig.StateB\003\340A\003\"J\n\005State\022"
- + "\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\n\n\006"
- + "ACTIVE\020\002\022\020\n\014NEEDS_REPAIR\020\003:y\352Av\n\036firesto"
- + "re.googleapis.com/Field\022Tprojects/{proje"
- + "ct}/databases/{database}/collectionGroup"
- + "s/{collection}/fields/{field}B\331\001\n\035com.go"
- + "ogle.firestore.admin.v1B\nFieldProtoP\001Z9c"
- + "loud.google.com/go/firestore/apiv1/admin"
- + "/adminpb;adminpb\242\002\004GCFS\252\002\037Google.Cloud.F"
- + "irestore.Admin.V1\312\002\037Google\\Cloud\\Firesto"
- + "re\\Admin\\V1\352\002#Google::Cloud::Firestore::"
- + "Admin::V1b\006proto3"
+ + "proto\"\307\004\n\005Field\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\022B\n\014i"
+ + "ndex_config\030\002 \001(\0132,.google.firestore.adm"
+ + "in.v1.Field.IndexConfig\022>\n\nttl_config\030\003 "
+ + "\001(\0132*.google.firestore.admin.v1.Field.Tt"
+ + "lConfig\032\211\001\n\013IndexConfig\0221\n\007indexes\030\001 \003(\013"
+ + "2 .google.firestore.admin.v1.Index\022\034\n\024us"
+ + "es_ancestor_config\030\002 \001(\010\022\026\n\016ancestor_fie"
+ + "ld\030\003 \001(\t\022\021\n\treverting\030\004 \001(\010\032\236\001\n\tTtlConfi"
+ + "g\022E\n\005state\030\001 \001(\01620.google.firestore.admi"
+ + "n.v1.Field.TtlConfig.StateB\004\342A\001\003\"J\n\005Stat"
+ + "e\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATING\020\001\022\n"
+ + "\n\006ACTIVE\020\002\022\020\n\014NEEDS_REPAIR\020\003:y\352Av\n\036fires"
+ + "tore.googleapis.com/Field\022Tprojects/{pro"
+ + "ject}/databases/{database}/collectionGro"
+ + "ups/{collection}/fields/{field}B\331\001\n\035com."
+ + "google.firestore.admin.v1B\nFieldProtoP\001Z"
+ + "9cloud.google.com/go/firestore/apiv1/adm"
+ + "in/adminpb;adminpb\242\002\004GCFS\252\002\037Google.Cloud"
+ + ".Firestore.Admin.V1\312\002\037Google\\Cloud\\Fires"
+ + "tore\\Admin\\V1\352\002#Google::Cloud::Firestore"
+ + "::Admin::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java
index 3f9bb06d7f..50e4a25dc3 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminProto.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -31,6 +31,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_firestore_admin_v1_ListDatabasesRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_firestore_admin_v1_CreateDatabaseRequest_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_firestore_admin_v1_CreateDatabaseRequest_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_firestore_admin_v1_CreateDatabaseMetadata_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_firestore_admin_v1_CreateDatabaseMetadata_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -110,120 +118,131 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "/firestore/admin/v1/index.proto\032#google/"
+ "longrunning/operations.proto\032\033google/pro"
+ "tobuf/empty.proto\032 google/protobuf/field"
- + "_mask.proto\"Q\n\024ListDatabasesRequest\0229\n\006p"
- + "arent\030\001 \001(\tB)\340A\002\372A#\022!firestore.googleapi"
- + "s.com/Database\"O\n\025ListDatabasesResponse\022"
- + "6\n\tdatabases\030\001 \003(\0132#.google.firestore.ad"
- + "min.v1.Database\"M\n\022GetDatabaseRequest\0227\n"
- + "\004name\030\001 \001(\tB)\340A\002\372A#\n!firestore.googleapi"
- + "s.com/Database\"\204\001\n\025UpdateDatabaseRequest"
- + "\022:\n\010database\030\001 \001(\0132#.google.firestore.ad"
- + "min.v1.DatabaseB\003\340A\002\022/\n\013update_mask\030\002 \001("
- + "\0132\032.google.protobuf.FieldMask\"\030\n\026UpdateD"
- + "atabaseMetadata\"\214\001\n\022CreateIndexRequest\022@"
- + "\n\006parent\030\001 \001(\tB0\340A\002\372A*\n(firestore.google"
- + "apis.com/CollectionGroup\0224\n\005index\030\002 \001(\0132"
- + " .google.firestore.admin.v1.IndexB\003\340A\002\"\215"
- + "\001\n\022ListIndexesRequest\022@\n\006parent\030\001 \001(\tB0\340"
- + "A\002\372A*\n(firestore.googleapis.com/Collecti"
+ + "_mask.proto\"R\n\024ListDatabasesRequest\022:\n\006p"
+ + "arent\030\001 \001(\tB*\342A\001\002\372A#\022!firestore.googleap"
+ + "is.com/Database\"\253\001\n\025CreateDatabaseReques"
+ + "t\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\022!firestore.go"
+ + "ogleapis.com/Database\022;\n\010database\030\002 \001(\0132"
+ + "#.google.firestore.admin.v1.DatabaseB\004\342A"
+ + "\001\002\022\031\n\013database_id\030\003 \001(\tB\004\342A\001\002\"\030\n\026CreateD"
+ + "atabaseMetadata\"O\n\025ListDatabasesResponse"
+ + "\0226\n\tdatabases\030\001 \003(\0132#.google.firestore.a"
+ + "dmin.v1.Database\"N\n\022GetDatabaseRequest\0228"
+ + "\n\004name\030\001 \001(\tB*\342A\001\002\372A#\n!firestore.googlea"
+ + "pis.com/Database\"\205\001\n\025UpdateDatabaseReque"
+ + "st\022;\n\010database\030\001 \001(\0132#.google.firestore."
+ + "admin.v1.DatabaseB\004\342A\001\002\022/\n\013update_mask\030\002"
+ + " \001(\0132\032.google.protobuf.FieldMask\"\030\n\026Upda"
+ + "teDatabaseMetadata\"\216\001\n\022CreateIndexReques"
+ + "t\022A\n\006parent\030\001 \001(\tB1\342A\001\002\372A*\n(firestore.go"
+ + "ogleapis.com/CollectionGroup\0225\n\005index\030\002 "
+ + "\001(\0132 .google.firestore.admin.v1.IndexB\004\342"
+ + "A\001\002\"\216\001\n\022ListIndexesRequest\022A\n\006parent\030\001 \001"
+ + "(\tB1\342A\001\002\372A*\n(firestore.googleapis.com/Co"
+ + "llectionGroup\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_si"
+ + "ze\030\003 \001(\005\022\022\n\npage_token\030\004 \001(\t\"a\n\023ListInde"
+ + "xesResponse\0221\n\007indexes\030\001 \003(\0132 .google.fi"
+ + "restore.admin.v1.Index\022\027\n\017next_page_toke"
+ + "n\030\002 \001(\t\"H\n\017GetIndexRequest\0225\n\004name\030\001 \001(\t"
+ + "B\'\342A\001\002\372A \n\036firestore.googleapis.com/Inde"
+ + "x\"K\n\022DeleteIndexRequest\0225\n\004name\030\001 \001(\tB\'\342"
+ + "A\001\002\372A \n\036firestore.googleapis.com/Index\"|"
+ + "\n\022UpdateFieldRequest\0225\n\005field\030\001 \001(\0132 .go"
+ + "ogle.firestore.admin.v1.FieldB\004\342A\001\002\022/\n\013u"
+ + "pdate_mask\030\002 \001(\0132\032.google.protobuf.Field"
+ + "Mask\"H\n\017GetFieldRequest\0225\n\004name\030\001 \001(\tB\'\342"
+ + "A\001\002\372A \n\036firestore.googleapis.com/Field\"\215"
+ + "\001\n\021ListFieldsRequest\022A\n\006parent\030\001 \001(\tB1\342A"
+ + "\001\002\372A*\n(firestore.googleapis.com/Collecti"
+ "onGroup\022\016\n\006filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001"
- + "(\005\022\022\n\npage_token\030\004 \001(\t\"a\n\023ListIndexesRes"
- + "ponse\0221\n\007indexes\030\001 \003(\0132 .google.firestor"
- + "e.admin.v1.Index\022\027\n\017next_page_token\030\002 \001("
- + "\t\"G\n\017GetIndexRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372"
- + "A \n\036firestore.googleapis.com/Index\"J\n\022De"
- + "leteIndexRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036"
- + "firestore.googleapis.com/Index\"{\n\022Update"
- + "FieldRequest\0224\n\005field\030\001 \001(\0132 .google.fir"
- + "estore.admin.v1.FieldB\003\340A\002\022/\n\013update_mas"
- + "k\030\002 \001(\0132\032.google.protobuf.FieldMask\"G\n\017G"
- + "etFieldRequest\0224\n\004name\030\001 \001(\tB&\340A\002\372A \n\036fi"
- + "restore.googleapis.com/Field\"\214\001\n\021ListFie"
- + "ldsRequest\022@\n\006parent\030\001 \001(\tB0\340A\002\372A*\n(fire"
- + "store.googleapis.com/CollectionGroup\022\016\n\006"
- + "filter\030\002 \001(\t\022\021\n\tpage_size\030\003 \001(\005\022\022\n\npage_"
- + "token\030\004 \001(\t\"_\n\022ListFieldsResponse\0220\n\006fie"
- + "lds\030\001 \003(\0132 .google.firestore.admin.v1.Fi"
- + "eld\022\027\n\017next_page_token\030\002 \001(\t\"\204\001\n\026ExportD"
- + "ocumentsRequest\0227\n\004name\030\001 \001(\tB)\340A\002\372A#\n!f"
- + "irestore.googleapis.com/Database\022\026\n\016coll"
- + "ection_ids\030\002 \003(\t\022\031\n\021output_uri_prefix\030\003 "
- + "\001(\t\"\203\001\n\026ImportDocumentsRequest\0227\n\004name\030\001"
- + " \001(\tB)\340A\002\372A#\n!firestore.googleapis.com/D"
- + "atabase\022\026\n\016collection_ids\030\002 \003(\t\022\030\n\020input"
- + "_uri_prefix\030\003 \001(\t2\222\023\n\016FirestoreAdmin\022\333\001\n"
- + "\013CreateIndex\022-.google.firestore.admin.v1"
- + ".CreateIndexRequest\032\035.google.longrunning"
- + ".Operation\"~\202\323\344\223\002G\">/v1/{parent=projects"
- + "/*/databases/*/collectionGroups/*}/index"
- + "es:\005index\332A\014parent,index\312A\037\n\005Index\022\026Inde"
- + "xOperationMetadata\022\275\001\n\013ListIndexes\022-.goo"
- + "gle.firestore.admin.v1.ListIndexesReques"
- + "t\032..google.firestore.admin.v1.ListIndexe"
- + "sResponse\"O\202\323\344\223\002@\022>/v1/{parent=projects/"
- + "*/databases/*/collectionGroups/*}/indexe"
- + "s\332A\006parent\022\247\001\n\010GetIndex\022*.google.firesto"
- + "re.admin.v1.GetIndexRequest\032 .google.fir"
- + "estore.admin.v1.Index\"M\202\323\344\223\002@\022>/v1/{name"
- + "=projects/*/databases/*/collectionGroups"
- + "/*/indexes/*}\332A\004name\022\243\001\n\013DeleteIndex\022-.g"
- + "oogle.firestore.admin.v1.DeleteIndexRequ"
- + "est\032\026.google.protobuf.Empty\"M\202\323\344\223\002@*>/v1"
- + "/{name=projects/*/databases/*/collection"
- + "Groups/*/indexes/*}\332A\004name\022\246\001\n\010GetField\022"
- + "*.google.firestore.admin.v1.GetFieldRequ"
- + "est\032 .google.firestore.admin.v1.Field\"L\202"
- + "\323\344\223\002?\022=/v1/{name=projects/*/databases/*/"
- + "collectionGroups/*/fields/*}\332A\004name\022\331\001\n\013"
- + "UpdateField\022-.google.firestore.admin.v1."
- + "UpdateFieldRequest\032\035.google.longrunning."
- + "Operation\"|\202\323\344\223\002L2C/v1/{field.name=proje"
- + "cts/*/databases/*/collectionGroups/*/fie"
- + "lds/*}:\005field\332A\005field\312A\037\n\005Field\022\026FieldOp"
- + "erationMetadata\022\271\001\n\nListFields\022,.google."
- + "firestore.admin.v1.ListFieldsRequest\032-.g"
- + "oogle.firestore.admin.v1.ListFieldsRespo"
- + "nse\"N\202\323\344\223\002?\022=/v1/{parent=projects/*/data"
- + "bases/*/collectionGroups/*}/fields\332A\006par"
- + "ent\022\335\001\n\017ExportDocuments\0221.google.firesto"
- + "re.admin.v1.ExportDocumentsRequest\032\035.goo"
- + "gle.longrunning.Operation\"x\202\323\344\223\0026\"1/v1/{"
- + "name=projects/*/databases/*}:exportDocum"
- + "ents:\001*\332A\004name\312A2\n\027ExportDocumentsRespon"
- + "se\022\027ExportDocumentsMetadata\022\333\001\n\017ImportDo"
- + "cuments\0221.google.firestore.admin.v1.Impo"
- + "rtDocumentsRequest\032\035.google.longrunning."
- + "Operation\"v\202\323\344\223\0026\"1/v1/{name=projects/*/"
- + "databases/*}:importDocuments:\001*\332A\004name\312A"
- + "0\n\025google.protobuf.Empty\022\027ImportDocument"
- + "sMetadata\022\223\001\n\013GetDatabase\022-.google.fires"
- + "tore.admin.v1.GetDatabaseRequest\032#.googl"
- + "e.firestore.admin.v1.Database\"0\202\323\344\223\002#\022!/"
- + "v1/{name=projects/*/databases/*}\332A\004name\022"
- + "\246\001\n\rListDatabases\022/.google.firestore.adm"
- + "in.v1.ListDatabasesRequest\0320.google.fire"
- + "store.admin.v1.ListDatabasesResponse\"2\202\323"
- + "\344\223\002#\022!/v1/{parent=projects/*}/databases\332"
- + "A\006parent\022\333\001\n\016UpdateDatabase\0220.google.fir"
- + "estore.admin.v1.UpdateDatabaseRequest\032\035."
- + "google.longrunning.Operation\"x\202\323\344\223\00262*/v"
- + "1/{database.name=projects/*/databases/*}"
- + ":\010database\332A\024database,update_mask\312A\"\n\010Da"
- + "tabase\022\026UpdateDatabaseMetadata\032v\312A\030fires"
- + "tore.googleapis.com\322AXhttps://www.google"
- + "apis.com/auth/cloud-platform,https://www"
- + ".googleapis.com/auth/datastoreB\245\003\n\035com.g"
- + "oogle.firestore.admin.v1B\023FirestoreAdmin"
- + "ProtoP\001Z9cloud.google.com/go/firestore/a"
- + "piv1/admin/adminpb;adminpb\242\002\004GCFS\252\002\037Goog"
- + "le.Cloud.Firestore.Admin.V1\312\002\037Google\\Clo"
- + "ud\\Firestore\\Admin\\V1\352\002#Google::Cloud::F"
- + "irestore::Admin::V1\352AL\n!firestore.google"
- + "apis.com/Location\022\'projects/{project}/lo"
- + "cations/{location}\352Aq\n(firestore.googlea"
- + "pis.com/CollectionGroup\022Eprojects/{proje"
- + "ct}/databases/{database}/collectionGroup"
- + "s/{collection}b\006proto3"
+ + "(\005\022\022\n\npage_token\030\004 \001(\t\"_\n\022ListFieldsResp"
+ + "onse\0220\n\006fields\030\001 \003(\0132 .google.firestore."
+ + "admin.v1.Field\022\027\n\017next_page_token\030\002 \001(\t\""
+ + "\205\001\n\026ExportDocumentsRequest\0228\n\004name\030\001 \001(\t"
+ + "B*\342A\001\002\372A#\n!firestore.googleapis.com/Data"
+ + "base\022\026\n\016collection_ids\030\002 \003(\t\022\031\n\021output_u"
+ + "ri_prefix\030\003 \001(\t\"\204\001\n\026ImportDocumentsReque"
+ + "st\0228\n\004name\030\001 \001(\tB*\342A\001\002\372A#\n!firestore.goo"
+ + "gleapis.com/Database\022\026\n\016collection_ids\030\002"
+ + " \003(\t\022\030\n\020input_uri_prefix\030\003 \001(\t2\356\024\n\016Fires"
+ + "toreAdmin\022\333\001\n\013CreateIndex\022-.google.fires"
+ + "tore.admin.v1.CreateIndexRequest\032\035.googl"
+ + "e.longrunning.Operation\"~\312A\037\n\005Index\022\026Ind"
+ + "exOperationMetadata\332A\014parent,index\202\323\344\223\002G"
+ + "\">/v1/{parent=projects/*/databases/*/col"
+ + "lectionGroups/*}/indexes:\005index\022\275\001\n\013List"
+ + "Indexes\022-.google.firestore.admin.v1.List"
+ + "IndexesRequest\032..google.firestore.admin."
+ + "v1.ListIndexesResponse\"O\332A\006parent\202\323\344\223\002@\022"
+ + ">/v1/{parent=projects/*/databases/*/coll"
+ + "ectionGroups/*}/indexes\022\247\001\n\010GetIndex\022*.g"
+ + "oogle.firestore.admin.v1.GetIndexRequest"
+ + "\032 .google.firestore.admin.v1.Index\"M\332A\004n"
+ + "ame\202\323\344\223\002@\022>/v1/{name=projects/*/database"
+ + "s/*/collectionGroups/*/indexes/*}\022\243\001\n\013De"
+ + "leteIndex\022-.google.firestore.admin.v1.De"
+ + "leteIndexRequest\032\026.google.protobuf.Empty"
+ + "\"M\332A\004name\202\323\344\223\002@*>/v1/{name=projects/*/da"
+ + "tabases/*/collectionGroups/*/indexes/*}\022"
+ + "\246\001\n\010GetField\022*.google.firestore.admin.v1"
+ + ".GetFieldRequest\032 .google.firestore.admi"
+ + "n.v1.Field\"L\332A\004name\202\323\344\223\002?\022=/v1/{name=pro"
+ + "jects/*/databases/*/collectionGroups/*/f"
+ + "ields/*}\022\331\001\n\013UpdateField\022-.google.firest"
+ + "ore.admin.v1.UpdateFieldRequest\032\035.google"
+ + ".longrunning.Operation\"|\312A\037\n\005Field\022\026Fiel"
+ + "dOperationMetadata\332A\005field\202\323\344\223\002L2C/v1/{f"
+ + "ield.name=projects/*/databases/*/collect"
+ + "ionGroups/*/fields/*}:\005field\022\271\001\n\nListFie"
+ + "lds\022,.google.firestore.admin.v1.ListFiel"
+ + "dsRequest\032-.google.firestore.admin.v1.Li"
+ + "stFieldsResponse\"N\332A\006parent\202\323\344\223\002?\022=/v1/{"
+ + "parent=projects/*/databases/*/collection"
+ + "Groups/*}/fields\022\335\001\n\017ExportDocuments\0221.g"
+ + "oogle.firestore.admin.v1.ExportDocuments"
+ + "Request\032\035.google.longrunning.Operation\"x"
+ + "\312A2\n\027ExportDocumentsResponse\022\027ExportDocu"
+ + "mentsMetadata\332A\004name\202\323\344\223\0026\"1/v1/{name=pr"
+ + "ojects/*/databases/*}:exportDocuments:\001*"
+ + "\022\333\001\n\017ImportDocuments\0221.google.firestore."
+ + "admin.v1.ImportDocumentsRequest\032\035.google"
+ + ".longrunning.Operation\"v\312A0\n\025google.prot"
+ + "obuf.Empty\022\027ImportDocumentsMetadata\332A\004na"
+ + "me\202\323\344\223\0026\"1/v1/{name=projects/*/databases"
+ + "/*}:importDocuments:\001*\022\331\001\n\016CreateDatabas"
+ + "e\0220.google.firestore.admin.v1.CreateData"
+ + "baseRequest\032\035.google.longrunning.Operati"
+ + "on\"v\312A\"\n\010Database\022\026CreateDatabaseMetadat"
+ + "a\332A\033parent,database,database_id\202\323\344\223\002-\"!/"
+ + "v1/{parent=projects/*}/databases:\010databa"
+ + "se\022\223\001\n\013GetDatabase\022-.google.firestore.ad"
+ + "min.v1.GetDatabaseRequest\032#.google.fires"
+ + "tore.admin.v1.Database\"0\332A\004name\202\323\344\223\002#\022!/"
+ + "v1/{name=projects/*/databases/*}\022\246\001\n\rLis"
+ + "tDatabases\022/.google.firestore.admin.v1.L"
+ + "istDatabasesRequest\0320.google.firestore.a"
+ + "dmin.v1.ListDatabasesResponse\"2\332A\006parent"
+ + "\202\323\344\223\002#\022!/v1/{parent=projects/*}/database"
+ + "s\022\333\001\n\016UpdateDatabase\0220.google.firestore."
+ + "admin.v1.UpdateDatabaseRequest\032\035.google."
+ + "longrunning.Operation\"x\312A\"\n\010Database\022\026Up"
+ + "dateDatabaseMetadata\332A\024database,update_m"
+ + "ask\202\323\344\223\00262*/v1/{database.name=projects/*"
+ + "/databases/*}:\010database\032v\312A\030firestore.go"
+ + "ogleapis.com\322AXhttps://www.googleapis.co"
+ + "m/auth/cloud-platform,https://www.google"
+ + "apis.com/auth/datastoreB\245\003\n\035com.google.f"
+ + "irestore.admin.v1B\023FirestoreAdminProtoP\001"
+ + "Z9cloud.google.com/go/firestore/apiv1/ad"
+ + "min/adminpb;adminpb\242\002\004GCFS\252\002\037Google.Clou"
+ + "d.Firestore.Admin.V1\312\002\037Google\\Cloud\\Fire"
+ + "store\\Admin\\V1\352\002#Google::Cloud::Firestor"
+ + "e::Admin::V1\352AL\n!firestore.googleapis.co"
+ + "m/Location\022\'projects/{project}/locations"
+ + "/{location}\352Aq\n(firestore.googleapis.com"
+ + "/CollectionGroup\022Eprojects/{project}/dat"
+ + "abases/{database}/collectionGroups/{coll"
+ + "ection}b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
@@ -248,8 +267,22 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new java.lang.String[] {
"Parent",
});
- internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor =
+ internal_static_google_firestore_admin_v1_CreateDatabaseRequest_descriptor =
getDescriptor().getMessageTypes().get(1);
+ internal_static_google_firestore_admin_v1_CreateDatabaseRequest_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_firestore_admin_v1_CreateDatabaseRequest_descriptor,
+ new java.lang.String[] {
+ "Parent", "Database", "DatabaseId",
+ });
+ internal_static_google_firestore_admin_v1_CreateDatabaseMetadata_descriptor =
+ getDescriptor().getMessageTypes().get(2);
+ internal_static_google_firestore_admin_v1_CreateDatabaseMetadata_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
+ internal_static_google_firestore_admin_v1_CreateDatabaseMetadata_descriptor,
+ new java.lang.String[] {});
+ internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor =
+ getDescriptor().getMessageTypes().get(3);
internal_static_google_firestore_admin_v1_ListDatabasesResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor,
@@ -257,7 +290,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Databases",
});
internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor =
- getDescriptor().getMessageTypes().get(2);
+ getDescriptor().getMessageTypes().get(4);
internal_static_google_firestore_admin_v1_GetDatabaseRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor,
@@ -265,7 +298,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor =
- getDescriptor().getMessageTypes().get(3);
+ getDescriptor().getMessageTypes().get(5);
internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor,
@@ -273,13 +306,13 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Database", "UpdateMask",
});
internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor =
- getDescriptor().getMessageTypes().get(4);
+ getDescriptor().getMessageTypes().get(6);
internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor,
new java.lang.String[] {});
internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor =
- getDescriptor().getMessageTypes().get(5);
+ getDescriptor().getMessageTypes().get(7);
internal_static_google_firestore_admin_v1_CreateIndexRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_firestore_admin_v1_CreateIndexRequest_descriptor,
@@ -287,7 +320,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "Index",
});
internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor =
- getDescriptor().getMessageTypes().get(6);
+ getDescriptor().getMessageTypes().get(8);
internal_static_google_firestore_admin_v1_ListIndexesRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor,
@@ -295,7 +328,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "Filter", "PageSize", "PageToken",
});
internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor =
- getDescriptor().getMessageTypes().get(7);
+ getDescriptor().getMessageTypes().get(9);
internal_static_google_firestore_admin_v1_ListIndexesResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor,
@@ -303,7 +336,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Indexes", "NextPageToken",
});
internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor =
- getDescriptor().getMessageTypes().get(8);
+ getDescriptor().getMessageTypes().get(10);
internal_static_google_firestore_admin_v1_GetIndexRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor,
@@ -311,7 +344,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor =
- getDescriptor().getMessageTypes().get(9);
+ getDescriptor().getMessageTypes().get(11);
internal_static_google_firestore_admin_v1_DeleteIndexRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_firestore_admin_v1_DeleteIndexRequest_descriptor,
@@ -319,7 +352,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor =
- getDescriptor().getMessageTypes().get(10);
+ getDescriptor().getMessageTypes().get(12);
internal_static_google_firestore_admin_v1_UpdateFieldRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor,
@@ -327,7 +360,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Field", "UpdateMask",
});
internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor =
- getDescriptor().getMessageTypes().get(11);
+ getDescriptor().getMessageTypes().get(13);
internal_static_google_firestore_admin_v1_GetFieldRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor,
@@ -335,7 +368,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name",
});
internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor =
- getDescriptor().getMessageTypes().get(12);
+ getDescriptor().getMessageTypes().get(14);
internal_static_google_firestore_admin_v1_ListFieldsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor,
@@ -343,7 +376,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Parent", "Filter", "PageSize", "PageToken",
});
internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor =
- getDescriptor().getMessageTypes().get(13);
+ getDescriptor().getMessageTypes().get(15);
internal_static_google_firestore_admin_v1_ListFieldsResponse_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor,
@@ -351,7 +384,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Fields", "NextPageToken",
});
internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor =
- getDescriptor().getMessageTypes().get(14);
+ getDescriptor().getMessageTypes().get(16);
internal_static_google_firestore_admin_v1_ExportDocumentsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_firestore_admin_v1_ExportDocumentsRequest_descriptor,
@@ -359,7 +392,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"Name", "CollectionIds", "OutputUriPrefix",
});
internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor =
- getDescriptor().getMessageTypes().get(15);
+ getDescriptor().getMessageTypes().get(17);
internal_static_google_firestore_admin_v1_ImportDocumentsRequest_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor,
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequest.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequest.java
index 3139476343..c7d02aed3b 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequest.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,7 +22,8 @@
*
*
*
- * The request for [FirestoreAdmin.GetDatabase][google.firestore.admin.v1.FirestoreAdmin.GetDatabase].
+ * The request for
+ * [FirestoreAdmin.GetDatabase][google.firestore.admin.v1.FirestoreAdmin.GetDatabase].
*
*
* Protobuf type {@code google.firestore.admin.v1.GetDatabaseRequest}
@@ -47,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new GetDatabaseRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.admin.v1.FirestoreAdminProto
.internal_static_google_firestore_admin_v1_GetDatabaseRequest_descriptor;
@@ -287,7 +283,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The request for [FirestoreAdmin.GetDatabase][google.firestore.admin.v1.FirestoreAdmin.GetDatabase].
+ * The request for
+ * [FirestoreAdmin.GetDatabase][google.firestore.admin.v1.FirestoreAdmin.GetDatabase].
*
*
* Protobuf type {@code google.firestore.admin.v1.GetDatabaseRequest}
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java
index e6bebb2653..a0568ed957 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetDatabaseRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequest.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequest.java
index 734d3818c0..1bfb166ffe 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequest.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,7 +22,8 @@
*
*
*
- * The request for [FirestoreAdmin.GetField][google.firestore.admin.v1.FirestoreAdmin.GetField].
+ * The request for
+ * [FirestoreAdmin.GetField][google.firestore.admin.v1.FirestoreAdmin.GetField].
*
*
* Protobuf type {@code google.firestore.admin.v1.GetFieldRequest}
@@ -47,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new GetFieldRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.admin.v1.FirestoreAdminProto
.internal_static_google_firestore_admin_v1_GetFieldRequest_descriptor;
@@ -287,7 +283,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The request for [FirestoreAdmin.GetField][google.firestore.admin.v1.FirestoreAdmin.GetField].
+ * The request for
+ * [FirestoreAdmin.GetField][google.firestore.admin.v1.FirestoreAdmin.GetField].
*
*
* Protobuf type {@code google.firestore.admin.v1.GetFieldRequest}
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequestOrBuilder.java
index f5eaff563f..44fe3eb181 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetFieldRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequest.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequest.java
index 1e6741144a..db2869af00 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequest.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,7 +22,8 @@
*
*
*
- * The request for [FirestoreAdmin.GetIndex][google.firestore.admin.v1.FirestoreAdmin.GetIndex].
+ * The request for
+ * [FirestoreAdmin.GetIndex][google.firestore.admin.v1.FirestoreAdmin.GetIndex].
*
*
* Protobuf type {@code google.firestore.admin.v1.GetIndexRequest}
@@ -47,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new GetIndexRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.admin.v1.FirestoreAdminProto
.internal_static_google_firestore_admin_v1_GetIndexRequest_descriptor;
@@ -287,7 +283,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The request for [FirestoreAdmin.GetIndex][google.firestore.admin.v1.FirestoreAdmin.GetIndex].
+ * The request for
+ * [FirestoreAdmin.GetIndex][google.firestore.admin.v1.FirestoreAdmin.GetIndex].
*
*
* Protobuf type {@code google.firestore.admin.v1.GetIndexRequest}
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequestOrBuilder.java
index 82ae93d227..1722a7a7f6 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/GetIndexRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadata.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadata.java
index d9f95bf20f..a8d70740c5 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadata.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadata.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -40,7 +40,7 @@ private ImportDocumentsMetadata(com.google.protobuf.GeneratedMessageV3.Builder
private ImportDocumentsMetadata() {
operationState_ = 0;
- collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
inputUriPrefix_ = "";
}
@@ -50,11 +50,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ImportDocumentsMetadata();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.admin.v1.OperationProto
.internal_static_google_firestore_admin_v1_ImportDocumentsMetadata_descriptor;
@@ -303,7 +298,8 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder
public static final int COLLECTION_IDS_FIELD_NUMBER = 6;
@SuppressWarnings("serial")
- private com.google.protobuf.LazyStringList collectionIds_;
+ private com.google.protobuf.LazyStringArrayList collectionIds_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
/**
*
*
@@ -718,8 +714,7 @@ public Builder clear() {
progressBytesBuilder_.dispose();
progressBytesBuilder_ = null;
}
- collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000020);
+ collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
inputUriPrefix_ = "";
return this;
}
@@ -748,7 +743,6 @@ public com.google.firestore.admin.v1.ImportDocumentsMetadata build() {
public com.google.firestore.admin.v1.ImportDocumentsMetadata buildPartial() {
com.google.firestore.admin.v1.ImportDocumentsMetadata result =
new com.google.firestore.admin.v1.ImportDocumentsMetadata(this);
- buildPartialRepeatedFields(result);
if (bitField0_ != 0) {
buildPartial0(result);
}
@@ -756,15 +750,6 @@ public com.google.firestore.admin.v1.ImportDocumentsMetadata buildPartial() {
return result;
}
- private void buildPartialRepeatedFields(
- com.google.firestore.admin.v1.ImportDocumentsMetadata result) {
- if (((bitField0_ & 0x00000020) != 0)) {
- collectionIds_ = collectionIds_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000020);
- }
- result.collectionIds_ = collectionIds_;
- }
-
private void buildPartial0(com.google.firestore.admin.v1.ImportDocumentsMetadata result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
@@ -786,6 +771,10 @@ private void buildPartial0(com.google.firestore.admin.v1.ImportDocumentsMetadata
result.progressBytes_ =
progressBytesBuilder_ == null ? progressBytes_ : progressBytesBuilder_.build();
}
+ if (((from_bitField0_ & 0x00000020) != 0)) {
+ collectionIds_.makeImmutable();
+ result.collectionIds_ = collectionIds_;
+ }
if (((from_bitField0_ & 0x00000040) != 0)) {
result.inputUriPrefix_ = inputUriPrefix_;
}
@@ -855,7 +844,7 @@ public Builder mergeFrom(com.google.firestore.admin.v1.ImportDocumentsMetadata o
if (!other.collectionIds_.isEmpty()) {
if (collectionIds_.isEmpty()) {
collectionIds_ = other.collectionIds_;
- bitField0_ = (bitField0_ & ~0x00000020);
+ bitField0_ |= 0x00000020;
} else {
ensureCollectionIdsIsMutable();
collectionIds_.addAll(other.collectionIds_);
@@ -1781,14 +1770,14 @@ public com.google.firestore.admin.v1.ProgressOrBuilder getProgressBytesOrBuilder
return progressBytesBuilder_;
}
- private com.google.protobuf.LazyStringList collectionIds_ =
- com.google.protobuf.LazyStringArrayList.EMPTY;
+ private com.google.protobuf.LazyStringArrayList collectionIds_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureCollectionIdsIsMutable() {
- if (!((bitField0_ & 0x00000020) != 0)) {
+ if (!collectionIds_.isModifiable()) {
collectionIds_ = new com.google.protobuf.LazyStringArrayList(collectionIds_);
- bitField0_ |= 0x00000020;
}
+ bitField0_ |= 0x00000020;
}
/**
*
@@ -1802,7 +1791,8 @@ private void ensureCollectionIdsIsMutable() {
* @return A list containing the collectionIds.
*/
public com.google.protobuf.ProtocolStringList getCollectionIdsList() {
- return collectionIds_.getUnmodifiableView();
+ collectionIds_.makeImmutable();
+ return collectionIds_;
}
/**
*
@@ -1867,6 +1857,7 @@ public Builder setCollectionIds(int index, java.lang.String value) {
}
ensureCollectionIdsIsMutable();
collectionIds_.set(index, value);
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -1888,6 +1879,7 @@ public Builder addCollectionIds(java.lang.String value) {
}
ensureCollectionIdsIsMutable();
collectionIds_.add(value);
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -1906,6 +1898,7 @@ public Builder addCollectionIds(java.lang.String value) {
public Builder addAllCollectionIds(java.lang.Iterable values) {
ensureCollectionIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(values, collectionIds_);
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
@@ -1921,8 +1914,9 @@ public Builder addAllCollectionIds(java.lang.Iterable values)
* @return This builder for chaining.
*/
public Builder clearCollectionIds() {
- collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000020);
+ ;
onChanged();
return this;
}
@@ -1945,6 +1939,7 @@ public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ensureCollectionIdsIsMutable();
collectionIds_.add(value);
+ bitField0_ |= 0x00000020;
onChanged();
return this;
}
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadataOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadataOrBuilder.java
index dc9f0242fb..ff895c6479 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadataOrBuilder.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsMetadataOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequest.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequest.java
index cb41bb110e..044b01f7e8 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequest.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,7 +22,8 @@
*
*
*
- * The request for [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1.FirestoreAdmin.ImportDocuments].
+ * The request for
+ * [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1.FirestoreAdmin.ImportDocuments].
*
*
* Protobuf type {@code google.firestore.admin.v1.ImportDocumentsRequest}
@@ -39,7 +40,7 @@ private ImportDocumentsRequest(com.google.protobuf.GeneratedMessageV3.Builder>
private ImportDocumentsRequest() {
name_ = "";
- collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
inputUriPrefix_ = "";
}
@@ -49,11 +50,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ImportDocumentsRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.admin.v1.FirestoreAdminProto
.internal_static_google_firestore_admin_v1_ImportDocumentsRequest_descriptor;
@@ -129,7 +125,8 @@ public com.google.protobuf.ByteString getNameBytes() {
public static final int COLLECTION_IDS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
- private com.google.protobuf.LazyStringList collectionIds_;
+ private com.google.protobuf.LazyStringArrayList collectionIds_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
/**
*
*
@@ -440,7 +437,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The request for [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1.FirestoreAdmin.ImportDocuments].
+ * The request for
+ * [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1.FirestoreAdmin.ImportDocuments].
*
*
* Protobuf type {@code google.firestore.admin.v1.ImportDocumentsRequest}
@@ -476,8 +474,7 @@ public Builder clear() {
super.clear();
bitField0_ = 0;
name_ = "";
- collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
+ collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
inputUriPrefix_ = "";
return this;
}
@@ -506,7 +503,6 @@ public com.google.firestore.admin.v1.ImportDocumentsRequest build() {
public com.google.firestore.admin.v1.ImportDocumentsRequest buildPartial() {
com.google.firestore.admin.v1.ImportDocumentsRequest result =
new com.google.firestore.admin.v1.ImportDocumentsRequest(this);
- buildPartialRepeatedFields(result);
if (bitField0_ != 0) {
buildPartial0(result);
}
@@ -514,20 +510,15 @@ public com.google.firestore.admin.v1.ImportDocumentsRequest buildPartial() {
return result;
}
- private void buildPartialRepeatedFields(
- com.google.firestore.admin.v1.ImportDocumentsRequest result) {
- if (((bitField0_ & 0x00000002) != 0)) {
- collectionIds_ = collectionIds_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000002);
- }
- result.collectionIds_ = collectionIds_;
- }
-
private void buildPartial0(com.google.firestore.admin.v1.ImportDocumentsRequest result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.name_ = name_;
}
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ collectionIds_.makeImmutable();
+ result.collectionIds_ = collectionIds_;
+ }
if (((from_bitField0_ & 0x00000004) != 0)) {
result.inputUriPrefix_ = inputUriPrefix_;
}
@@ -587,7 +578,7 @@ public Builder mergeFrom(com.google.firestore.admin.v1.ImportDocumentsRequest ot
if (!other.collectionIds_.isEmpty()) {
if (collectionIds_.isEmpty()) {
collectionIds_ = other.collectionIds_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ |= 0x00000002;
} else {
ensureCollectionIdsIsMutable();
collectionIds_.addAll(other.collectionIds_);
@@ -784,14 +775,14 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
return this;
}
- private com.google.protobuf.LazyStringList collectionIds_ =
- com.google.protobuf.LazyStringArrayList.EMPTY;
+ private com.google.protobuf.LazyStringArrayList collectionIds_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureCollectionIdsIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!collectionIds_.isModifiable()) {
collectionIds_ = new com.google.protobuf.LazyStringArrayList(collectionIds_);
- bitField0_ |= 0x00000002;
}
+ bitField0_ |= 0x00000002;
}
/**
*
@@ -806,7 +797,8 @@ private void ensureCollectionIdsIsMutable() {
* @return A list containing the collectionIds.
*/
public com.google.protobuf.ProtocolStringList getCollectionIdsList() {
- return collectionIds_.getUnmodifiableView();
+ collectionIds_.makeImmutable();
+ return collectionIds_;
}
/**
*
@@ -875,6 +867,7 @@ public Builder setCollectionIds(int index, java.lang.String value) {
}
ensureCollectionIdsIsMutable();
collectionIds_.set(index, value);
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -897,6 +890,7 @@ public Builder addCollectionIds(java.lang.String value) {
}
ensureCollectionIdsIsMutable();
collectionIds_.add(value);
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -916,6 +910,7 @@ public Builder addCollectionIds(java.lang.String value) {
public Builder addAllCollectionIds(java.lang.Iterable values) {
ensureCollectionIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(values, collectionIds_);
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -932,8 +927,9 @@ public Builder addAllCollectionIds(java.lang.Iterable values)
* @return This builder for chaining.
*/
public Builder clearCollectionIds() {
- collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
+ ;
onChanged();
return this;
}
@@ -957,6 +953,7 @@ public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ensureCollectionIdsIsMutable();
collectionIds_.add(value);
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequestOrBuilder.java
index 28b8df4881..b0c764fea8 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ImportDocumentsRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Index.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Index.java
index afc60d5b09..5a944de66d 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Index.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Index.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -52,11 +52,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new Index();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.admin.v1.IndexProto
.internal_static_google_firestore_admin_v1_Index_descriptor;
@@ -717,7 +712,7 @@ public interface IndexFieldOrBuilder
*/
com.google.firestore.admin.v1.Index.IndexField.ArrayConfig getArrayConfig();
- public com.google.firestore.admin.v1.Index.IndexField.ValueModeCase getValueModeCase();
+ com.google.firestore.admin.v1.Index.IndexField.ValueModeCase getValueModeCase();
}
/**
*
@@ -750,11 +745,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new IndexField();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.admin.v1.IndexProto
.internal_static_google_firestore_admin_v1_Index_IndexField_descriptor;
@@ -1063,6 +1053,8 @@ private ArrayConfig(int value) {
}
private int valueModeCase_ = 0;
+
+ @SuppressWarnings("serial")
private java.lang.Object valueMode_;
public enum ValueModeCase
@@ -2199,6 +2191,7 @@ public com.google.protobuf.ByteString getNameBytes() {
* Indexes with a collection query scope specified allow queries
* against a collection that is the child of a specific document, specified at
* query time, and that has the same collection id.
+ *
* Indexes with a collection group query scope specified allow queries against
* all collections descended from a specific document, specified at query
* time, and that have the same collection id as this index.
@@ -2219,6 +2212,7 @@ public int getQueryScopeValue() {
* Indexes with a collection query scope specified allow queries
* against a collection that is the child of a specific document, specified at
* query time, and that has the same collection id.
+ *
* Indexes with a collection group query scope specified allow queries against
* all collections descended from a specific document, specified at query
* time, and that have the same collection id as this index.
@@ -2279,12 +2273,14 @@ public com.google.firestore.admin.v1.Index.ApiScope getApiScope() {
*
*
* The fields supported by this index.
+ *
* For composite indexes, this requires a minimum of 2 and a maximum of 100
* fields. The last field entry is always for the field path `__name__`. If,
* on creation, `__name__` was not specified as the last field, it will be
* added automatically with the same direction as that of the last field
* defined. If the final field in a composite index is not directional, the
* `__name__` will be ordered ASCENDING (unless explicitly specified).
+ *
* For single field indexes, this will always be exactly one entry with a
* field path equal to the field path of the associated field.
*
@@ -2300,12 +2296,14 @@ public java.util.List getFieldsL
*
*
* The fields supported by this index.
+ *
* For composite indexes, this requires a minimum of 2 and a maximum of 100
* fields. The last field entry is always for the field path `__name__`. If,
* on creation, `__name__` was not specified as the last field, it will be
* added automatically with the same direction as that of the last field
* defined. If the final field in a composite index is not directional, the
* `__name__` will be ordered ASCENDING (unless explicitly specified).
+ *
* For single field indexes, this will always be exactly one entry with a
* field path equal to the field path of the associated field.
*
@@ -2322,12 +2320,14 @@ public java.util.List getFieldsL
*
*
* The fields supported by this index.
+ *
* For composite indexes, this requires a minimum of 2 and a maximum of 100
* fields. The last field entry is always for the field path `__name__`. If,
* on creation, `__name__` was not specified as the last field, it will be
* added automatically with the same direction as that of the last field
* defined. If the final field in a composite index is not directional, the
* `__name__` will be ordered ASCENDING (unless explicitly specified).
+ *
* For single field indexes, this will always be exactly one entry with a
* field path equal to the field path of the associated field.
*
@@ -2343,12 +2343,14 @@ public int getFieldsCount() {
*
*
* The fields supported by this index.
+ *
* For composite indexes, this requires a minimum of 2 and a maximum of 100
* fields. The last field entry is always for the field path `__name__`. If,
* on creation, `__name__` was not specified as the last field, it will be
* added automatically with the same direction as that of the last field
* defined. If the final field in a composite index is not directional, the
* `__name__` will be ordered ASCENDING (unless explicitly specified).
+ *
* For single field indexes, this will always be exactly one entry with a
* field path equal to the field path of the associated field.
*
@@ -2364,12 +2366,14 @@ public com.google.firestore.admin.v1.Index.IndexField getFields(int index) {
*
*
* The fields supported by this index.
+ *
* For composite indexes, this requires a minimum of 2 and a maximum of 100
* fields. The last field entry is always for the field path `__name__`. If,
* on creation, `__name__` was not specified as the last field, it will be
* added automatically with the same direction as that of the last field
* defined. If the final field in a composite index is not directional, the
* `__name__` will be ordered ASCENDING (unless explicitly specified).
+ *
* For single field indexes, this will always be exactly one entry with a
* field path equal to the field path of the associated field.
*
@@ -3023,6 +3027,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
* Indexes with a collection query scope specified allow queries
* against a collection that is the child of a specific document, specified at
* query time, and that has the same collection id.
+ *
* Indexes with a collection group query scope specified allow queries against
* all collections descended from a specific document, specified at query
* time, and that have the same collection id as this index.
@@ -3043,6 +3048,7 @@ public int getQueryScopeValue() {
* Indexes with a collection query scope specified allow queries
* against a collection that is the child of a specific document, specified at
* query time, and that has the same collection id.
+ *
* Indexes with a collection group query scope specified allow queries against
* all collections descended from a specific document, specified at query
* time, and that have the same collection id as this index.
@@ -3066,6 +3072,7 @@ public Builder setQueryScopeValue(int value) {
* Indexes with a collection query scope specified allow queries
* against a collection that is the child of a specific document, specified at
* query time, and that has the same collection id.
+ *
* Indexes with a collection group query scope specified allow queries against
* all collections descended from a specific document, specified at query
* time, and that have the same collection id as this index.
@@ -3088,6 +3095,7 @@ public com.google.firestore.admin.v1.Index.QueryScope getQueryScope() {
* Indexes with a collection query scope specified allow queries
* against a collection that is the child of a specific document, specified at
* query time, and that has the same collection id.
+ *
* Indexes with a collection group query scope specified allow queries against
* all collections descended from a specific document, specified at query
* time, and that have the same collection id as this index.
@@ -3114,6 +3122,7 @@ public Builder setQueryScope(com.google.firestore.admin.v1.Index.QueryScope valu
* Indexes with a collection query scope specified allow queries
* against a collection that is the child of a specific document, specified at
* query time, and that has the same collection id.
+ *
* Indexes with a collection group query scope specified allow queries against
* all collections descended from a specific document, specified at query
* time, and that have the same collection id as this index.
@@ -3241,12 +3250,14 @@ private void ensureFieldsIsMutable() {
*
*
* The fields supported by this index.
+ *
* For composite indexes, this requires a minimum of 2 and a maximum of 100
* fields. The last field entry is always for the field path `__name__`. If,
* on creation, `__name__` was not specified as the last field, it will be
* added automatically with the same direction as that of the last field
* defined. If the final field in a composite index is not directional, the
* `__name__` will be ordered ASCENDING (unless explicitly specified).
+ *
* For single field indexes, this will always be exactly one entry with a
* field path equal to the field path of the associated field.
*
@@ -3265,12 +3276,14 @@ public java.util.List getFieldsL
*
*
* The fields supported by this index.
+ *
* For composite indexes, this requires a minimum of 2 and a maximum of 100
* fields. The last field entry is always for the field path `__name__`. If,
* on creation, `__name__` was not specified as the last field, it will be
* added automatically with the same direction as that of the last field
* defined. If the final field in a composite index is not directional, the
* `__name__` will be ordered ASCENDING (unless explicitly specified).
+ *
* For single field indexes, this will always be exactly one entry with a
* field path equal to the field path of the associated field.
*
@@ -3289,12 +3302,14 @@ public int getFieldsCount() {
*
*
* The fields supported by this index.
+ *
* For composite indexes, this requires a minimum of 2 and a maximum of 100
* fields. The last field entry is always for the field path `__name__`. If,
* on creation, `__name__` was not specified as the last field, it will be
* added automatically with the same direction as that of the last field
* defined. If the final field in a composite index is not directional, the
* `__name__` will be ordered ASCENDING (unless explicitly specified).
+ *
* For single field indexes, this will always be exactly one entry with a
* field path equal to the field path of the associated field.
*
@@ -3313,12 +3328,14 @@ public com.google.firestore.admin.v1.Index.IndexField getFields(int index) {
*
*
* The fields supported by this index.
+ *
* For composite indexes, this requires a minimum of 2 and a maximum of 100
* fields. The last field entry is always for the field path `__name__`. If,
* on creation, `__name__` was not specified as the last field, it will be
* added automatically with the same direction as that of the last field
* defined. If the final field in a composite index is not directional, the
* `__name__` will be ordered ASCENDING (unless explicitly specified).
+ *
* For single field indexes, this will always be exactly one entry with a
* field path equal to the field path of the associated field.
*
@@ -3343,12 +3360,14 @@ public Builder setFields(int index, com.google.firestore.admin.v1.Index.IndexFie
*
*
* The fields supported by this index.
+ *
* For composite indexes, this requires a minimum of 2 and a maximum of 100
* fields. The last field entry is always for the field path `__name__`. If,
* on creation, `__name__` was not specified as the last field, it will be
* added automatically with the same direction as that of the last field
* defined. If the final field in a composite index is not directional, the
* `__name__` will be ordered ASCENDING (unless explicitly specified).
+ *
* For single field indexes, this will always be exactly one entry with a
* field path equal to the field path of the associated field.
*
@@ -3371,12 +3390,14 @@ public Builder setFields(
*
*
* The fields supported by this index.
+ *
* For composite indexes, this requires a minimum of 2 and a maximum of 100
* fields. The last field entry is always for the field path `__name__`. If,
* on creation, `__name__` was not specified as the last field, it will be
* added automatically with the same direction as that of the last field
* defined. If the final field in a composite index is not directional, the
* `__name__` will be ordered ASCENDING (unless explicitly specified).
+ *
* For single field indexes, this will always be exactly one entry with a
* field path equal to the field path of the associated field.
*
@@ -3401,12 +3422,14 @@ public Builder addFields(com.google.firestore.admin.v1.Index.IndexField value) {
*
*
* The fields supported by this index.
+ *
* For composite indexes, this requires a minimum of 2 and a maximum of 100
* fields. The last field entry is always for the field path `__name__`. If,
* on creation, `__name__` was not specified as the last field, it will be
* added automatically with the same direction as that of the last field
* defined. If the final field in a composite index is not directional, the
* `__name__` will be ordered ASCENDING (unless explicitly specified).
+ *
* For single field indexes, this will always be exactly one entry with a
* field path equal to the field path of the associated field.
*
@@ -3431,12 +3454,14 @@ public Builder addFields(int index, com.google.firestore.admin.v1.Index.IndexFie
*
*
* The fields supported by this index.
+ *
* For composite indexes, this requires a minimum of 2 and a maximum of 100
* fields. The last field entry is always for the field path `__name__`. If,
* on creation, `__name__` was not specified as the last field, it will be
* added automatically with the same direction as that of the last field
* defined. If the final field in a composite index is not directional, the
* `__name__` will be ordered ASCENDING (unless explicitly specified).
+ *
* For single field indexes, this will always be exactly one entry with a
* field path equal to the field path of the associated field.
*
@@ -3459,12 +3484,14 @@ public Builder addFields(
*
*
* The fields supported by this index.
+ *
* For composite indexes, this requires a minimum of 2 and a maximum of 100
* fields. The last field entry is always for the field path `__name__`. If,
* on creation, `__name__` was not specified as the last field, it will be
* added automatically with the same direction as that of the last field
* defined. If the final field in a composite index is not directional, the
* `__name__` will be ordered ASCENDING (unless explicitly specified).
+ *
* For single field indexes, this will always be exactly one entry with a
* field path equal to the field path of the associated field.
*
@@ -3487,12 +3514,14 @@ public Builder addFields(
*
*
* The fields supported by this index.
+ *
* For composite indexes, this requires a minimum of 2 and a maximum of 100
* fields. The last field entry is always for the field path `__name__`. If,
* on creation, `__name__` was not specified as the last field, it will be
* added automatically with the same direction as that of the last field
* defined. If the final field in a composite index is not directional, the
* `__name__` will be ordered ASCENDING (unless explicitly specified).
+ *
* For single field indexes, this will always be exactly one entry with a
* field path equal to the field path of the associated field.
*
@@ -3515,12 +3544,14 @@ public Builder addAllFields(
*
*
* The fields supported by this index.
+ *
* For composite indexes, this requires a minimum of 2 and a maximum of 100
* fields. The last field entry is always for the field path `__name__`. If,
* on creation, `__name__` was not specified as the last field, it will be
* added automatically with the same direction as that of the last field
* defined. If the final field in a composite index is not directional, the
* `__name__` will be ordered ASCENDING (unless explicitly specified).
+ *
* For single field indexes, this will always be exactly one entry with a
* field path equal to the field path of the associated field.
*
@@ -3542,12 +3573,14 @@ public Builder clearFields() {
*
*
* The fields supported by this index.
+ *
* For composite indexes, this requires a minimum of 2 and a maximum of 100
* fields. The last field entry is always for the field path `__name__`. If,
* on creation, `__name__` was not specified as the last field, it will be
* added automatically with the same direction as that of the last field
* defined. If the final field in a composite index is not directional, the
* `__name__` will be ordered ASCENDING (unless explicitly specified).
+ *
* For single field indexes, this will always be exactly one entry with a
* field path equal to the field path of the associated field.
*
@@ -3569,12 +3602,14 @@ public Builder removeFields(int index) {
*
*
* The fields supported by this index.
+ *
* For composite indexes, this requires a minimum of 2 and a maximum of 100
* fields. The last field entry is always for the field path `__name__`. If,
* on creation, `__name__` was not specified as the last field, it will be
* added automatically with the same direction as that of the last field
* defined. If the final field in a composite index is not directional, the
* `__name__` will be ordered ASCENDING (unless explicitly specified).
+ *
* For single field indexes, this will always be exactly one entry with a
* field path equal to the field path of the associated field.
*
@@ -3589,12 +3624,14 @@ public com.google.firestore.admin.v1.Index.IndexField.Builder getFieldsBuilder(i
*
*
* The fields supported by this index.
+ *
* For composite indexes, this requires a minimum of 2 and a maximum of 100
* fields. The last field entry is always for the field path `__name__`. If,
* on creation, `__name__` was not specified as the last field, it will be
* added automatically with the same direction as that of the last field
* defined. If the final field in a composite index is not directional, the
* `__name__` will be ordered ASCENDING (unless explicitly specified).
+ *
* For single field indexes, this will always be exactly one entry with a
* field path equal to the field path of the associated field.
*
@@ -3613,12 +3650,14 @@ public com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilde
*
*
* The fields supported by this index.
+ *
* For composite indexes, this requires a minimum of 2 and a maximum of 100
* fields. The last field entry is always for the field path `__name__`. If,
* on creation, `__name__` was not specified as the last field, it will be
* added automatically with the same direction as that of the last field
* defined. If the final field in a composite index is not directional, the
* `__name__` will be ordered ASCENDING (unless explicitly specified).
+ *
* For single field indexes, this will always be exactly one entry with a
* field path equal to the field path of the associated field.
*
@@ -3638,12 +3677,14 @@ public com.google.firestore.admin.v1.Index.IndexFieldOrBuilder getFieldsOrBuilde
*
*
* The fields supported by this index.
+ *
* For composite indexes, this requires a minimum of 2 and a maximum of 100
* fields. The last field entry is always for the field path `__name__`. If,
* on creation, `__name__` was not specified as the last field, it will be
* added automatically with the same direction as that of the last field
* defined. If the final field in a composite index is not directional, the
* `__name__` will be ordered ASCENDING (unless explicitly specified).
+ *
* For single field indexes, this will always be exactly one entry with a
* field path equal to the field path of the associated field.
*
@@ -3659,12 +3700,14 @@ public com.google.firestore.admin.v1.Index.IndexField.Builder addFieldsBuilder()
*
*
* The fields supported by this index.
+ *
* For composite indexes, this requires a minimum of 2 and a maximum of 100
* fields. The last field entry is always for the field path `__name__`. If,
* on creation, `__name__` was not specified as the last field, it will be
* added automatically with the same direction as that of the last field
* defined. If the final field in a composite index is not directional, the
* `__name__` will be ordered ASCENDING (unless explicitly specified).
+ *
* For single field indexes, this will always be exactly one entry with a
* field path equal to the field path of the associated field.
*
@@ -3680,12 +3723,14 @@ public com.google.firestore.admin.v1.Index.IndexField.Builder addFieldsBuilder(i
*
*
* The fields supported by this index.
+ *
* For composite indexes, this requires a minimum of 2 and a maximum of 100
* fields. The last field entry is always for the field path `__name__`. If,
* on creation, `__name__` was not specified as the last field, it will be
* added automatically with the same direction as that of the last field
* defined. If the final field in a composite index is not directional, the
* `__name__` will be ordered ASCENDING (unless explicitly specified).
+ *
* For single field indexes, this will always be exactly one entry with a
* field path equal to the field path of the associated field.
*
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexName.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexName.java
index b22dcbcfa9..d0e9eda914 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexName.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadata.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadata.java
index 0f58c8d9a4..7867340fa5 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadata.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadata.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new IndexOperationMetadata();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.admin.v1.OperationProto
.internal_static_google_firestore_admin_v1_IndexOperationMetadata_descriptor;
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadataOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadataOrBuilder.java
index 1a4a29da2a..1fae0bd343 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadataOrBuilder.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOperationMetadataOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOrBuilder.java
index 6112dab31e..9122c79410 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOrBuilder.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -61,6 +61,7 @@ public interface IndexOrBuilder
* Indexes with a collection query scope specified allow queries
* against a collection that is the child of a specific document, specified at
* query time, and that has the same collection id.
+ *
* Indexes with a collection group query scope specified allow queries against
* all collections descended from a specific document, specified at query
* time, and that have the same collection id as this index.
@@ -78,6 +79,7 @@ public interface IndexOrBuilder
* Indexes with a collection query scope specified allow queries
* against a collection that is the child of a specific document, specified at
* query time, and that has the same collection id.
+ *
* Indexes with a collection group query scope specified allow queries against
* all collections descended from a specific document, specified at query
* time, and that have the same collection id as this index.
@@ -119,12 +121,14 @@ public interface IndexOrBuilder
*
*
* The fields supported by this index.
+ *
* For composite indexes, this requires a minimum of 2 and a maximum of 100
* fields. The last field entry is always for the field path `__name__`. If,
* on creation, `__name__` was not specified as the last field, it will be
* added automatically with the same direction as that of the last field
* defined. If the final field in a composite index is not directional, the
* `__name__` will be ordered ASCENDING (unless explicitly specified).
+ *
* For single field indexes, this will always be exactly one entry with a
* field path equal to the field path of the associated field.
*
@@ -137,12 +141,14 @@ public interface IndexOrBuilder
*
*
* The fields supported by this index.
+ *
* For composite indexes, this requires a minimum of 2 and a maximum of 100
* fields. The last field entry is always for the field path `__name__`. If,
* on creation, `__name__` was not specified as the last field, it will be
* added automatically with the same direction as that of the last field
* defined. If the final field in a composite index is not directional, the
* `__name__` will be ordered ASCENDING (unless explicitly specified).
+ *
* For single field indexes, this will always be exactly one entry with a
* field path equal to the field path of the associated field.
*
@@ -155,12 +161,14 @@ public interface IndexOrBuilder
*
*
* The fields supported by this index.
+ *
* For composite indexes, this requires a minimum of 2 and a maximum of 100
* fields. The last field entry is always for the field path `__name__`. If,
* on creation, `__name__` was not specified as the last field, it will be
* added automatically with the same direction as that of the last field
* defined. If the final field in a composite index is not directional, the
* `__name__` will be ordered ASCENDING (unless explicitly specified).
+ *
* For single field indexes, this will always be exactly one entry with a
* field path equal to the field path of the associated field.
*
@@ -173,12 +181,14 @@ public interface IndexOrBuilder
*
*
* The fields supported by this index.
+ *
* For composite indexes, this requires a minimum of 2 and a maximum of 100
* fields. The last field entry is always for the field path `__name__`. If,
* on creation, `__name__` was not specified as the last field, it will be
* added automatically with the same direction as that of the last field
* defined. If the final field in a composite index is not directional, the
* `__name__` will be ordered ASCENDING (unless explicitly specified).
+ *
* For single field indexes, this will always be exactly one entry with a
* field path equal to the field path of the associated field.
*
@@ -192,12 +202,14 @@ public interface IndexOrBuilder
*
*
* The fields supported by this index.
+ *
* For composite indexes, this requires a minimum of 2 and a maximum of 100
* fields. The last field entry is always for the field path `__name__`. If,
* on creation, `__name__` was not specified as the last field, it will be
* added automatically with the same direction as that of the last field
* defined. If the final field in a composite index is not directional, the
* `__name__` will be ordered ASCENDING (unless explicitly specified).
+ *
* For single field indexes, this will always be exactly one entry with a
* field path equal to the field path of the associated field.
*
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java
index 52e5560f9f..4ae5ae96bf 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/IndexProto.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java
index 67d39c0b41..bb701fdc24 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListDatabasesRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.admin.v1.FirestoreAdminProto
.internal_static_google_firestore_admin_v1_ListDatabasesRequest_descriptor;
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java
index 5af6e02937..66d511b75c 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponse.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponse.java
index 628702743c..99253b3606 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponse.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListDatabasesResponse();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.admin.v1.FirestoreAdminProto
.internal_static_google_firestore_admin_v1_ListDatabasesResponse_descriptor;
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponseOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponseOrBuilder.java
index 251d16fadf..9d160f406d 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponseOrBuilder.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListDatabasesResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequest.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequest.java
index 40b2c012bd..11d93f3907 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequest.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,7 +22,8 @@
*
*
*
- * The request for [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields].
+ * The request for
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields].
*
*
* Protobuf type {@code google.firestore.admin.v1.ListFieldsRequest}
@@ -49,11 +50,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListFieldsRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.admin.v1.FirestoreAdminProto
.internal_static_google_firestore_admin_v1_ListFieldsRequest_descriptor;
@@ -135,10 +131,11 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* The filter to apply to list results. Currently,
- * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
- * that have been explicitly overridden. To issue this query, call
- * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] with a filter that includes
- * `indexConfig.usesAncestorConfig:false` .
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]
+ * only supports listing fields that have been explicitly overridden. To issue
+ * this query, call
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]
+ * with a filter that includes `indexConfig.usesAncestorConfig:false` .
*
*
* string filter = 2;
@@ -162,10 +159,11 @@ public java.lang.String getFilter() {
*
*
* The filter to apply to list results. Currently,
- * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
- * that have been explicitly overridden. To issue this query, call
- * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] with a filter that includes
- * `indexConfig.usesAncestorConfig:false` .
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]
+ * only supports listing fields that have been explicitly overridden. To issue
+ * this query, call
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]
+ * with a filter that includes `indexConfig.usesAncestorConfig:false` .
*
*
* string filter = 2;
@@ -212,8 +210,8 @@ public int getPageSize() {
*
*
* A page token, returned from a previous call to
- * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
- * page of results.
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields],
+ * that may be used to get the next page of results.
*
*
* string page_token = 4;
@@ -237,8 +235,8 @@ public java.lang.String getPageToken() {
*
*
* A page token, returned from a previous call to
- * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
- * page of results.
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields],
+ * that may be used to get the next page of results.
*
*
* string page_token = 4;
@@ -448,7 +446,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The request for [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields].
+ * The request for
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields].
*
*
* Protobuf type {@code google.firestore.admin.v1.ListFieldsRequest}
@@ -797,10 +796,11 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* The filter to apply to list results. Currently,
- * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
- * that have been explicitly overridden. To issue this query, call
- * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] with a filter that includes
- * `indexConfig.usesAncestorConfig:false` .
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]
+ * only supports listing fields that have been explicitly overridden. To issue
+ * this query, call
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]
+ * with a filter that includes `indexConfig.usesAncestorConfig:false` .
*
*
* string filter = 2;
@@ -823,10 +823,11 @@ public java.lang.String getFilter() {
*
*
* The filter to apply to list results. Currently,
- * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
- * that have been explicitly overridden. To issue this query, call
- * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] with a filter that includes
- * `indexConfig.usesAncestorConfig:false` .
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]
+ * only supports listing fields that have been explicitly overridden. To issue
+ * this query, call
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]
+ * with a filter that includes `indexConfig.usesAncestorConfig:false` .
*
*
* string filter = 2;
@@ -849,10 +850,11 @@ public com.google.protobuf.ByteString getFilterBytes() {
*
*
* The filter to apply to list results. Currently,
- * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
- * that have been explicitly overridden. To issue this query, call
- * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] with a filter that includes
- * `indexConfig.usesAncestorConfig:false` .
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]
+ * only supports listing fields that have been explicitly overridden. To issue
+ * this query, call
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]
+ * with a filter that includes `indexConfig.usesAncestorConfig:false` .
*
*
* string filter = 2;
@@ -874,10 +876,11 @@ public Builder setFilter(java.lang.String value) {
*
*
* The filter to apply to list results. Currently,
- * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
- * that have been explicitly overridden. To issue this query, call
- * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] with a filter that includes
- * `indexConfig.usesAncestorConfig:false` .
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]
+ * only supports listing fields that have been explicitly overridden. To issue
+ * this query, call
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]
+ * with a filter that includes `indexConfig.usesAncestorConfig:false` .
*
*
* string filter = 2;
@@ -895,10 +898,11 @@ public Builder clearFilter() {
*
*
* The filter to apply to list results. Currently,
- * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
- * that have been explicitly overridden. To issue this query, call
- * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] with a filter that includes
- * `indexConfig.usesAncestorConfig:false` .
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]
+ * only supports listing fields that have been explicitly overridden. To issue
+ * this query, call
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]
+ * with a filter that includes `indexConfig.usesAncestorConfig:false` .
*
*
* string filter = 2;
@@ -976,8 +980,8 @@ public Builder clearPageSize() {
*
*
* A page token, returned from a previous call to
- * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
- * page of results.
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields],
+ * that may be used to get the next page of results.
*
*
* string page_token = 4;
@@ -1000,8 +1004,8 @@ public java.lang.String getPageToken() {
*
*
* A page token, returned from a previous call to
- * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
- * page of results.
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields],
+ * that may be used to get the next page of results.
*
*
* string page_token = 4;
@@ -1024,8 +1028,8 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* A page token, returned from a previous call to
- * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
- * page of results.
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields],
+ * that may be used to get the next page of results.
*
*
* string page_token = 4;
@@ -1047,8 +1051,8 @@ public Builder setPageToken(java.lang.String value) {
*
*
* A page token, returned from a previous call to
- * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
- * page of results.
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields],
+ * that may be used to get the next page of results.
*
*
* string page_token = 4;
@@ -1066,8 +1070,8 @@ public Builder clearPageToken() {
*
*
* A page token, returned from a previous call to
- * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
- * page of results.
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields],
+ * that may be used to get the next page of results.
*
*
* string page_token = 4;
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequestOrBuilder.java
index b92a37ddd1..38feaaa7c3 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -59,10 +59,11 @@ public interface ListFieldsRequestOrBuilder
*
*
* The filter to apply to list results. Currently,
- * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
- * that have been explicitly overridden. To issue this query, call
- * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] with a filter that includes
- * `indexConfig.usesAncestorConfig:false` .
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]
+ * only supports listing fields that have been explicitly overridden. To issue
+ * this query, call
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]
+ * with a filter that includes `indexConfig.usesAncestorConfig:false` .
*
*
* string filter = 2;
@@ -75,10 +76,11 @@ public interface ListFieldsRequestOrBuilder
*
*
* The filter to apply to list results. Currently,
- * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
- * that have been explicitly overridden. To issue this query, call
- * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] with a filter that includes
- * `indexConfig.usesAncestorConfig:false` .
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]
+ * only supports listing fields that have been explicitly overridden. To issue
+ * this query, call
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]
+ * with a filter that includes `indexConfig.usesAncestorConfig:false` .
*
*
* string filter = 2;
@@ -105,8 +107,8 @@ public interface ListFieldsRequestOrBuilder
*
*
* A page token, returned from a previous call to
- * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
- * page of results.
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields],
+ * that may be used to get the next page of results.
*
*
* string page_token = 4;
@@ -119,8 +121,8 @@ public interface ListFieldsRequestOrBuilder
*
*
* A page token, returned from a previous call to
- * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
- * page of results.
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields],
+ * that may be used to get the next page of results.
*
*
* string page_token = 4;
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponse.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponse.java
index 0ec5ec8a4a..ee3bd5ae0c 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponse.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,7 +22,8 @@
*
*
*
- * The response for [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields].
+ * The response for
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields].
*
*
* Protobuf type {@code google.firestore.admin.v1.ListFieldsResponse}
@@ -48,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListFieldsResponse();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.admin.v1.FirestoreAdminProto
.internal_static_google_firestore_admin_v1_ListFieldsResponse_descriptor;
@@ -366,7 +362,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The response for [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields].
+ * The response for
+ * [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields].
*
*
* Protobuf type {@code google.firestore.admin.v1.ListFieldsResponse}
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponseOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponseOrBuilder.java
index f855d32e5a..76fafe5585 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponseOrBuilder.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListFieldsResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequest.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequest.java
index 3e7633be60..c68a6becb5 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequest.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,7 +22,8 @@
*
*
*
- * The request for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes].
+ * The request for
+ * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes].
*
*
* Protobuf type {@code google.firestore.admin.v1.ListIndexesRequest}
@@ -49,11 +50,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListIndexesRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.admin.v1.FirestoreAdminProto
.internal_static_google_firestore_admin_v1_ListIndexesRequest_descriptor;
@@ -204,8 +200,8 @@ public int getPageSize() {
*
*
* A page token, returned from a previous call to
- * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
- * page of results.
+ * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes],
+ * that may be used to get the next page of results.
*
*
* string page_token = 4;
@@ -229,8 +225,8 @@ public java.lang.String getPageToken() {
*
*
* A page token, returned from a previous call to
- * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
- * page of results.
+ * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes],
+ * that may be used to get the next page of results.
*
*
* string page_token = 4;
@@ -440,7 +436,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The request for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes].
+ * The request for
+ * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes].
*
*
* Protobuf type {@code google.firestore.admin.v1.ListIndexesRequest}
@@ -948,8 +945,8 @@ public Builder clearPageSize() {
*
*
* A page token, returned from a previous call to
- * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
- * page of results.
+ * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes],
+ * that may be used to get the next page of results.
*
*
* string page_token = 4;
@@ -972,8 +969,8 @@ public java.lang.String getPageToken() {
*
*
* A page token, returned from a previous call to
- * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
- * page of results.
+ * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes],
+ * that may be used to get the next page of results.
*
*
* string page_token = 4;
@@ -996,8 +993,8 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* A page token, returned from a previous call to
- * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
- * page of results.
+ * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes],
+ * that may be used to get the next page of results.
*
*
* string page_token = 4;
@@ -1019,8 +1016,8 @@ public Builder setPageToken(java.lang.String value) {
*
*
* A page token, returned from a previous call to
- * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
- * page of results.
+ * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes],
+ * that may be used to get the next page of results.
*
*
* string page_token = 4;
@@ -1038,8 +1035,8 @@ public Builder clearPageToken() {
*
*
* A page token, returned from a previous call to
- * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
- * page of results.
+ * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes],
+ * that may be used to get the next page of results.
*
*
* string page_token = 4;
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequestOrBuilder.java
index abf086c2ab..9c855ee026 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -97,8 +97,8 @@ public interface ListIndexesRequestOrBuilder
*
*
* A page token, returned from a previous call to
- * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
- * page of results.
+ * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes],
+ * that may be used to get the next page of results.
*
*
* string page_token = 4;
@@ -111,8 +111,8 @@ public interface ListIndexesRequestOrBuilder
*
*
* A page token, returned from a previous call to
- * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
- * page of results.
+ * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes],
+ * that may be used to get the next page of results.
*
*
* string page_token = 4;
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponse.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponse.java
index eec16b8c7c..4bb5d0dbe9 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponse.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,7 +22,8 @@
*
*
*
- * The response for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes].
+ * The response for
+ * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes].
*
*
* Protobuf type {@code google.firestore.admin.v1.ListIndexesResponse}
@@ -48,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListIndexesResponse();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.admin.v1.FirestoreAdminProto
.internal_static_google_firestore_admin_v1_ListIndexesResponse_descriptor;
@@ -366,7 +362,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The response for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes].
+ * The response for
+ * [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes].
*
*
* Protobuf type {@code google.firestore.admin.v1.ListIndexesResponse}
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponseOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponseOrBuilder.java
index 88a0ab846f..55fc64f1af 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponseOrBuilder.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ListIndexesResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadata.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadata.java
index b7a9b1c2fa..bdaaa2aacf 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadata.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadata.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new LocationMetadata();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.admin.v1.LocationProto
.internal_static_google_firestore_admin_v1_LocationMetadata_descriptor;
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadataOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadataOrBuilder.java
index 84f402fb82..26b7fa9c50 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadataOrBuilder.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationMetadataOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationProto.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationProto.java
index 68c8de7122..ddbddaecac 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationProto.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/LocationProto.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationProto.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationProto.java
index 4c1848d39b..2c27cc9281 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationProto.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationProto.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationState.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationState.java
index e40f2f12b0..e48d317828 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationState.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/OperationState.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Progress.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Progress.java
index 3a3340c082..93a484d12e 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Progress.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Progress.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new Progress();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.admin.v1.OperationProto
.internal_static_google_firestore_admin_v1_Progress_descriptor;
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProgressOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProgressOrBuilder.java
index 632606ea9d..206609d002 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProgressOrBuilder.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProgressOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProjectName.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProjectName.java
index 540e2147ff..2d7a34500b 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProjectName.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/ProjectName.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2022 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadata.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadata.java
index b26f63b4cb..e73cec1b73 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadata.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadata.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new UpdateDatabaseMetadata();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.admin.v1.FirestoreAdminProto
.internal_static_google_firestore_admin_v1_UpdateDatabaseMetadata_descriptor;
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java
index d5ff4f5075..7680528abf 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseMetadataOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequest.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequest.java
index c5814c77b4..62da2faf1b 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequest.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,7 +22,8 @@
*
*
*
- * The request for [FirestoreAdmin.UpdateDatabase][google.firestore.admin.v1.FirestoreAdmin.UpdateDatabase].
+ * The request for
+ * [FirestoreAdmin.UpdateDatabase][google.firestore.admin.v1.FirestoreAdmin.UpdateDatabase].
*
*
* Protobuf type {@code google.firestore.admin.v1.UpdateDatabaseRequest}
@@ -45,11 +46,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new UpdateDatabaseRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.admin.v1.FirestoreAdminProto
.internal_static_google_firestore_admin_v1_UpdateDatabaseRequest_descriptor;
@@ -349,7 +345,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The request for [FirestoreAdmin.UpdateDatabase][google.firestore.admin.v1.FirestoreAdmin.UpdateDatabase].
+ * The request for
+ * [FirestoreAdmin.UpdateDatabase][google.firestore.admin.v1.FirestoreAdmin.UpdateDatabase].
*
*
* Protobuf type {@code google.firestore.admin.v1.UpdateDatabaseRequest}
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequestOrBuilder.java
index fb49c8b9e5..7dbec746a0 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateDatabaseRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequest.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequest.java
index 192c18afd0..ac82ed924a 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequest.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -22,7 +22,8 @@
*
*
*
- * The request for [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField].
+ * The request for
+ * [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField].
*
*
* Protobuf type {@code google.firestore.admin.v1.UpdateFieldRequest}
@@ -45,11 +46,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new UpdateFieldRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.admin.v1.FirestoreAdminProto
.internal_static_google_firestore_admin_v1_UpdateFieldRequest_descriptor;
@@ -345,7 +341,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * The request for [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField].
+ * The request for
+ * [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField].
*
*
* Protobuf type {@code google.firestore.admin.v1.UpdateFieldRequest}
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequestOrBuilder.java b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequestOrBuilder.java
index 3255149888..bd20087085 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/UpdateFieldRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/firestore_admin.proto b/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/firestore_admin.proto
index 71f849d0b3..e1faa4dcf7 100644
--- a/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/firestore_admin.proto
+++ b/proto-google-cloud-firestore-admin-v1/src/main/proto/google/firestore/admin/v1/firestore_admin.proto
@@ -1,4 +1,4 @@
-// Copyright 2022 Google LLC
+// Copyright 2023 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -78,9 +78,11 @@ service FirestoreAdmin {
"https://www.googleapis.com/auth/cloud-platform,"
"https://www.googleapis.com/auth/datastore";
- // Creates a composite index. This returns a [google.longrunning.Operation][google.longrunning.Operation]
- // which may be used to track the status of the creation. The metadata for
- // the operation will be the type [IndexOperationMetadata][google.firestore.admin.v1.IndexOperationMetadata].
+ // Creates a composite index. This returns a
+ // [google.longrunning.Operation][google.longrunning.Operation] which may be
+ // used to track the status of the creation. The metadata for the operation
+ // will be the type
+ // [IndexOperationMetadata][google.firestore.admin.v1.IndexOperationMetadata].
rpc CreateIndex(CreateIndexRequest) returns (google.longrunning.Operation) {
option (google.api.http) = {
post: "/v1/{parent=projects/*/databases/*/collectionGroups/*}/indexes"
@@ -127,13 +129,16 @@ service FirestoreAdmin {
// Updates a field configuration. Currently, field updates apply only to
// single field index configuration. However, calls to
- // [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField] should provide a field mask to avoid
- // changing any configuration that the caller isn't aware of. The field mask
- // should be specified as: `{ paths: "index_config" }`.
+ // [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField]
+ // should provide a field mask to avoid changing any configuration that the
+ // caller isn't aware of. The field mask should be specified as: `{ paths:
+ // "index_config" }`.
//
- // This call returns a [google.longrunning.Operation][google.longrunning.Operation] which may be used to
- // track the status of the field update. The metadata for
- // the operation will be the type [FieldOperationMetadata][google.firestore.admin.v1.FieldOperationMetadata].
+ // This call returns a
+ // [google.longrunning.Operation][google.longrunning.Operation] which may be
+ // used to track the status of the field update. The metadata for the
+ // operation will be the type
+ // [FieldOperationMetadata][google.firestore.admin.v1.FieldOperationMetadata].
//
// To configure the default field settings for the database, use
// the special `Field` with resource name:
@@ -152,10 +157,12 @@ service FirestoreAdmin {
// Lists the field configuration and metadata for this database.
//
- // Currently, [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
- // that have been explicitly overridden. To issue this query, call
- // [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] with the filter set to
- // `indexConfig.usesAncestorConfig:false` .
+ // Currently,
+ // [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]
+ // only supports listing fields that have been explicitly overridden. To issue
+ // this query, call
+ // [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]
+ // with the filter set to `indexConfig.usesAncestorConfig:false` .
rpc ListFields(ListFieldsRequest) returns (ListFieldsResponse) {
option (google.api.http) = {
get: "/v1/{parent=projects/*/databases/*/collectionGroups/*}/fields"
@@ -174,7 +181,8 @@ service FirestoreAdmin {
//
// For more details on export behavior and output format, refer to:
// https://cloud.google.com/firestore/docs/manage-data/export-import
- rpc ExportDocuments(ExportDocumentsRequest) returns (google.longrunning.Operation) {
+ rpc ExportDocuments(ExportDocumentsRequest)
+ returns (google.longrunning.Operation) {
option (google.api.http) = {
post: "/v1/{name=projects/*/databases/*}:exportDocuments"
body: "*"
@@ -191,7 +199,8 @@ service FirestoreAdmin {
// progress can be monitored and managed via the Operation resource that is
// created. If an ImportDocuments operation is cancelled, it is possible
// that a subset of the data has already been imported to Cloud Firestore.
- rpc ImportDocuments(ImportDocumentsRequest) returns (google.longrunning.Operation) {
+ rpc ImportDocuments(ImportDocumentsRequest)
+ returns (google.longrunning.Operation) {
option (google.api.http) = {
post: "/v1/{name=projects/*/databases/*}:importDocuments"
body: "*"
@@ -203,6 +212,20 @@ service FirestoreAdmin {
};
}
+ // Create a database.
+ rpc CreateDatabase(CreateDatabaseRequest)
+ returns (google.longrunning.Operation) {
+ option (google.api.http) = {
+ post: "/v1/{parent=projects/*}/databases"
+ body: "database"
+ };
+ option (google.api.method_signature) = "parent,database,database_id";
+ option (google.longrunning.operation_info) = {
+ response_type: "Database"
+ metadata_type: "CreateDatabaseMetadata"
+ };
+ }
+
// Gets information about a database.
rpc GetDatabase(GetDatabaseRequest) returns (Database) {
option (google.api.http) = {
@@ -220,7 +243,8 @@ service FirestoreAdmin {
}
// Updates a database.
- rpc UpdateDatabase(UpdateDatabaseRequest) returns (google.longrunning.Operation) {
+ rpc UpdateDatabase(UpdateDatabaseRequest)
+ returns (google.longrunning.Operation) {
option (google.api.http) = {
patch: "/v1/{database.name=projects/*/databases/*}"
body: "database"
@@ -245,13 +269,39 @@ message ListDatabasesRequest {
];
}
+// The request for
+// [FirestoreAdmin.CreateDatabase][google.firestore.admin.v1.FirestoreAdmin.CreateDatabase].
+message CreateDatabaseRequest {
+ // Required. A parent name of the form
+ // `projects/{project_id}`
+ string parent = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ child_type: "firestore.googleapis.com/Database"
+ }
+ ];
+
+ // Required. The Database to create.
+ Database database = 2 [(google.api.field_behavior) = REQUIRED];
+
+ // Required. The ID to use for the database, which will become the final
+ // component of the database's resource name.
+ //
+ // The value must be set to "(default)".
+ string database_id = 3 [(google.api.field_behavior) = REQUIRED];
+}
+
+// Metadata related to the create database operation.
+message CreateDatabaseMetadata {}
+
// The list of databases for a project.
message ListDatabasesResponse {
// The databases in the project.
repeated Database databases = 1;
}
-// The request for [FirestoreAdmin.GetDatabase][google.firestore.admin.v1.FirestoreAdmin.GetDatabase].
+// The request for
+// [FirestoreAdmin.GetDatabase][google.firestore.admin.v1.FirestoreAdmin.GetDatabase].
message GetDatabaseRequest {
// Required. A name of the form
// `projects/{project_id}/databases/{database_id}`
@@ -263,7 +313,8 @@ message GetDatabaseRequest {
];
}
-// The request for [FirestoreAdmin.UpdateDatabase][google.firestore.admin.v1.FirestoreAdmin.UpdateDatabase].
+// The request for
+// [FirestoreAdmin.UpdateDatabase][google.firestore.admin.v1.FirestoreAdmin.UpdateDatabase].
message UpdateDatabaseRequest {
// Required. The database to update.
Database database = 1 [(google.api.field_behavior) = REQUIRED];
@@ -273,11 +324,10 @@ message UpdateDatabaseRequest {
}
// Metadata related to the update database operation.
-message UpdateDatabaseMetadata {
+message UpdateDatabaseMetadata {}
-}
-
-// The request for [FirestoreAdmin.CreateIndex][google.firestore.admin.v1.FirestoreAdmin.CreateIndex].
+// The request for
+// [FirestoreAdmin.CreateIndex][google.firestore.admin.v1.FirestoreAdmin.CreateIndex].
message CreateIndexRequest {
// Required. A parent name of the form
// `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
@@ -292,7 +342,8 @@ message CreateIndexRequest {
Index index = 2 [(google.api.field_behavior) = REQUIRED];
}
-// The request for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes].
+// The request for
+// [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes].
message ListIndexesRequest {
// Required. A parent name of the form
// `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
@@ -310,12 +361,13 @@ message ListIndexesRequest {
int32 page_size = 3;
// A page token, returned from a previous call to
- // [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes], that may be used to get the next
- // page of results.
+ // [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes],
+ // that may be used to get the next page of results.
string page_token = 4;
}
-// The response for [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes].
+// The response for
+// [FirestoreAdmin.ListIndexes][google.firestore.admin.v1.FirestoreAdmin.ListIndexes].
message ListIndexesResponse {
// The requested indexes.
repeated Index indexes = 1;
@@ -325,31 +377,30 @@ message ListIndexesResponse {
string next_page_token = 2;
}
-// The request for [FirestoreAdmin.GetIndex][google.firestore.admin.v1.FirestoreAdmin.GetIndex].
+// The request for
+// [FirestoreAdmin.GetIndex][google.firestore.admin.v1.FirestoreAdmin.GetIndex].
message GetIndexRequest {
// Required. A name of the form
// `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
string name = 1 [
(google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "firestore.googleapis.com/Index"
- }
+ (google.api.resource_reference) = { type: "firestore.googleapis.com/Index" }
];
}
-// The request for [FirestoreAdmin.DeleteIndex][google.firestore.admin.v1.FirestoreAdmin.DeleteIndex].
+// The request for
+// [FirestoreAdmin.DeleteIndex][google.firestore.admin.v1.FirestoreAdmin.DeleteIndex].
message DeleteIndexRequest {
// Required. A name of the form
// `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/indexes/{index_id}`
string name = 1 [
(google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "firestore.googleapis.com/Index"
- }
+ (google.api.resource_reference) = { type: "firestore.googleapis.com/Index" }
];
}
-// The request for [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField].
+// The request for
+// [FirestoreAdmin.UpdateField][google.firestore.admin.v1.FirestoreAdmin.UpdateField].
message UpdateFieldRequest {
// Required. The field to be updated.
Field field = 1 [(google.api.field_behavior) = REQUIRED];
@@ -359,19 +410,19 @@ message UpdateFieldRequest {
google.protobuf.FieldMask update_mask = 2;
}
-// The request for [FirestoreAdmin.GetField][google.firestore.admin.v1.FirestoreAdmin.GetField].
+// The request for
+// [FirestoreAdmin.GetField][google.firestore.admin.v1.FirestoreAdmin.GetField].
message GetFieldRequest {
// Required. A name of the form
// `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}/fields/{field_id}`
string name = 1 [
(google.api.field_behavior) = REQUIRED,
- (google.api.resource_reference) = {
- type: "firestore.googleapis.com/Field"
- }
+ (google.api.resource_reference) = { type: "firestore.googleapis.com/Field" }
];
}
-// The request for [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields].
+// The request for
+// [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields].
message ListFieldsRequest {
// Required. A parent name of the form
// `projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}`
@@ -383,22 +434,24 @@ message ListFieldsRequest {
];
// The filter to apply to list results. Currently,
- // [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] only supports listing fields
- // that have been explicitly overridden. To issue this query, call
- // [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields] with a filter that includes
- // `indexConfig.usesAncestorConfig:false` .
+ // [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]
+ // only supports listing fields that have been explicitly overridden. To issue
+ // this query, call
+ // [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields]
+ // with a filter that includes `indexConfig.usesAncestorConfig:false` .
string filter = 2;
// The number of results to return.
int32 page_size = 3;
// A page token, returned from a previous call to
- // [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields], that may be used to get the next
- // page of results.
+ // [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields],
+ // that may be used to get the next page of results.
string page_token = 4;
}
-// The response for [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields].
+// The response for
+// [FirestoreAdmin.ListFields][google.firestore.admin.v1.FirestoreAdmin.ListFields].
message ListFieldsResponse {
// The requested fields.
repeated Field fields = 1;
@@ -408,7 +461,8 @@ message ListFieldsResponse {
string next_page_token = 2;
}
-// The request for [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1.FirestoreAdmin.ExportDocuments].
+// The request for
+// [FirestoreAdmin.ExportDocuments][google.firestore.admin.v1.FirestoreAdmin.ExportDocuments].
message ExportDocumentsRequest {
// Required. Database to export. Should be of the form:
// `projects/{project_id}/databases/{database_id}`.
@@ -433,7 +487,8 @@ message ExportDocumentsRequest {
string output_uri_prefix = 3;
}
-// The request for [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1.FirestoreAdmin.ImportDocuments].
+// The request for
+// [FirestoreAdmin.ImportDocuments][google.firestore.admin.v1.FirestoreAdmin.ImportDocuments].
message ImportDocumentsRequest {
// Required. Database to import into. Should be of the form:
// `projects/{project_id}/databases/{database_id}`.
diff --git a/proto-google-cloud-firestore-bundle-v1/pom.xml b/proto-google-cloud-firestore-bundle-v1/pom.xml
index 045b6e6301..b98837ef21 100644
--- a/proto-google-cloud-firestore-bundle-v1/pom.xml
+++ b/proto-google-cloud-firestore-bundle-v1/pom.xml
@@ -5,14 +5,14 @@
4.0.0
proto-google-cloud-firestore-bundle-v1
- 3.13.8
+ 3.14.0
proto-google-cloud-firestore-bundle-v1
PROTO library for proto-google-cloud-firestore-bundle-v1
com.google.cloud
google-cloud-firestore-parent
- 3.13.8
+ 3.14.0
diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElement.java b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElement.java
index 81f3ec9e24..3ad82b4800 100644
--- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElement.java
+++ b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElement.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new BundleElement();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.bundle.BundleProto
.internal_static_google_firestore_bundle_BundleElement_descriptor;
@@ -70,6 +65,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
private int elementTypeCase_ = 0;
+
+ @SuppressWarnings("serial")
private java.lang.Object elementType_;
public enum ElementTypeCase
diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java
index a84a717fcc..968f620d23 100644
--- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java
+++ b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleElementOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -83,5 +83,5 @@ public interface BundleElementOrBuilder
/** .google.firestore.v1.Document document = 4; */
com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder();
- public com.google.firestore.bundle.BundleElement.ElementTypeCase getElementTypeCase();
+ com.google.firestore.bundle.BundleElement.ElementTypeCase getElementTypeCase();
}
diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadata.java b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadata.java
index 08e4d9d84c..114d0e0546 100644
--- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadata.java
+++ b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadata.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new BundleMetadata();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.bundle.BundleProto
.internal_static_google_firestore_bundle_BundleMetadata_descriptor;
diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java
index 73817f7a5e..d6d2152c33 100644
--- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java
+++ b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleMetadataOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleProto.java b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleProto.java
index 38131535fa..ec7f1f5ca3 100644
--- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleProto.java
+++ b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundleProto.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java
index d8c48814bb..4e3659da36 100644
--- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java
+++ b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadata.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -39,7 +39,7 @@ private BundledDocumentMetadata(com.google.protobuf.GeneratedMessageV3.Builder
private BundledDocumentMetadata() {
name_ = "";
- queries_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ queries_ = com.google.protobuf.LazyStringArrayList.emptyList();
}
@java.lang.Override
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new BundledDocumentMetadata();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.bundle.BundleProto
.internal_static_google_firestore_bundle_BundledDocumentMetadata_descriptor;
@@ -186,7 +181,8 @@ public boolean getExists() {
public static final int QUERIES_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
- private com.google.protobuf.LazyStringList queries_;
+ private com.google.protobuf.LazyStringArrayList queries_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
/**
*
*
@@ -490,8 +486,7 @@ public Builder clear() {
readTimeBuilder_ = null;
}
exists_ = false;
- queries_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000008);
+ queries_ = com.google.protobuf.LazyStringArrayList.emptyList();
return this;
}
@@ -519,7 +514,6 @@ public com.google.firestore.bundle.BundledDocumentMetadata build() {
public com.google.firestore.bundle.BundledDocumentMetadata buildPartial() {
com.google.firestore.bundle.BundledDocumentMetadata result =
new com.google.firestore.bundle.BundledDocumentMetadata(this);
- buildPartialRepeatedFields(result);
if (bitField0_ != 0) {
buildPartial0(result);
}
@@ -527,15 +521,6 @@ public com.google.firestore.bundle.BundledDocumentMetadata buildPartial() {
return result;
}
- private void buildPartialRepeatedFields(
- com.google.firestore.bundle.BundledDocumentMetadata result) {
- if (((bitField0_ & 0x00000008) != 0)) {
- queries_ = queries_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000008);
- }
- result.queries_ = queries_;
- }
-
private void buildPartial0(com.google.firestore.bundle.BundledDocumentMetadata result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
@@ -547,6 +532,10 @@ private void buildPartial0(com.google.firestore.bundle.BundledDocumentMetadata r
if (((from_bitField0_ & 0x00000004) != 0)) {
result.exists_ = exists_;
}
+ if (((from_bitField0_ & 0x00000008) != 0)) {
+ queries_.makeImmutable();
+ result.queries_ = queries_;
+ }
}
@java.lang.Override
@@ -609,7 +598,7 @@ public Builder mergeFrom(com.google.firestore.bundle.BundledDocumentMetadata oth
if (!other.queries_.isEmpty()) {
if (queries_.isEmpty()) {
queries_ = other.queries_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ |= 0x00000008;
} else {
ensureQueriesIsMutable();
queries_.addAll(other.queries_);
@@ -1024,14 +1013,14 @@ public Builder clearExists() {
return this;
}
- private com.google.protobuf.LazyStringList queries_ =
- com.google.protobuf.LazyStringArrayList.EMPTY;
+ private com.google.protobuf.LazyStringArrayList queries_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureQueriesIsMutable() {
- if (!((bitField0_ & 0x00000008) != 0)) {
+ if (!queries_.isModifiable()) {
queries_ = new com.google.protobuf.LazyStringArrayList(queries_);
- bitField0_ |= 0x00000008;
}
+ bitField0_ |= 0x00000008;
}
/**
*
@@ -1045,7 +1034,8 @@ private void ensureQueriesIsMutable() {
* @return A list containing the queries.
*/
public com.google.protobuf.ProtocolStringList getQueriesList() {
- return queries_.getUnmodifiableView();
+ queries_.makeImmutable();
+ return queries_;
}
/**
*
@@ -1110,6 +1100,7 @@ public Builder setQueries(int index, java.lang.String value) {
}
ensureQueriesIsMutable();
queries_.set(index, value);
+ bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -1131,6 +1122,7 @@ public Builder addQueries(java.lang.String value) {
}
ensureQueriesIsMutable();
queries_.add(value);
+ bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -1149,6 +1141,7 @@ public Builder addQueries(java.lang.String value) {
public Builder addAllQueries(java.lang.Iterable values) {
ensureQueriesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(values, queries_);
+ bitField0_ |= 0x00000008;
onChanged();
return this;
}
@@ -1164,8 +1157,9 @@ public Builder addAllQueries(java.lang.Iterable values) {
* @return This builder for chaining.
*/
public Builder clearQueries() {
- queries_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ queries_ = com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
+ ;
onChanged();
return this;
}
@@ -1188,6 +1182,7 @@ public Builder addQueriesBytes(com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ensureQueriesIsMutable();
queries_.add(value);
+ bitField0_ |= 0x00000008;
onChanged();
return this;
}
diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java
index bf08931cc6..86209d7cde 100644
--- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java
+++ b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledDocumentMetadataOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQuery.java b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQuery.java
index 9a9042dfb3..d913631377 100644
--- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQuery.java
+++ b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQuery.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new BundledQuery();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.bundle.BundleProto
.internal_static_google_firestore_bundle_BundledQuery_descriptor;
@@ -173,6 +168,8 @@ private LimitType(int value) {
}
private int queryTypeCase_ = 0;
+
+ @SuppressWarnings("serial")
private java.lang.Object queryType_;
public enum QueryTypeCase
diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java
index baea728d22..01e0b54140 100644
--- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java
+++ b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/BundledQueryOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -96,5 +96,5 @@ public interface BundledQueryOrBuilder
*/
com.google.firestore.bundle.BundledQuery.LimitType getLimitType();
- public com.google.firestore.bundle.BundledQuery.QueryTypeCase getQueryTypeCase();
+ com.google.firestore.bundle.BundledQuery.QueryTypeCase getQueryTypeCase();
}
diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQuery.java b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQuery.java
index 7a107326e6..ab22ac42f6 100644
--- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQuery.java
+++ b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQuery.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new NamedQuery();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.bundle.BundleProto
.internal_static_google_firestore_bundle_NamedQuery_descriptor;
diff --git a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java
index 1ab84b31e9..436def346b 100644
--- a/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java
+++ b/proto-google-cloud-firestore-bundle-v1/src/main/java/com/google/firestore/bundle/NamedQueryOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-v1/pom.xml b/proto-google-cloud-firestore-v1/pom.xml
index 6d43522045..412761134f 100644
--- a/proto-google-cloud-firestore-v1/pom.xml
+++ b/proto-google-cloud-firestore-v1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
proto-google-cloud-firestore-v1
- 3.13.8
+ 3.14.0
proto-google-cloud-firestore-v1
PROTO library for proto-google-cloud-firestore-v1
com.google.cloud
google-cloud-firestore-parent
- 3.13.8
+ 3.14.0
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResult.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResult.java
index f8a8ee4daf..3fde4b8678 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResult.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResult.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,6 +23,7 @@
*
*
* The result of a single bucket from a Firestore aggregation query.
+ *
* The keys of `aggregate_fields` are the same for all results in an aggregation
* query, unlike document queries which can have different fields present for
* each result.
@@ -48,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new AggregationResult();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.v1.AggregationResultProto
.internal_static_google_firestore_v1_AggregationResult_descriptor;
@@ -115,6 +111,7 @@ public int getAggregateFieldsCount() {
*
*
* The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
+ *
* The key is the
* [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
* assigned to the aggregation function on input and the size of this map
@@ -141,6 +138,7 @@ public java.util.Map getAggrega
*
*
* The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
+ *
* The key is the
* [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
* assigned to the aggregation function on input and the size of this map
@@ -158,6 +156,7 @@ public java.util.Map getAggrega
*
*
* The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
+ *
* The key is the
* [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
* assigned to the aggregation function on input and the size of this map
@@ -183,6 +182,7 @@ public java.util.Map getAggrega
*
*
* The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
+ *
* The key is the
* [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
* assigned to the aggregation function on input and the size of this map
@@ -377,6 +377,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* The result of a single bucket from a Firestore aggregation query.
+ *
* The keys of `aggregate_fields` are the same for all results in an aggregation
* query, unlike document queries which can have different fields present for
* each result.
@@ -617,6 +618,7 @@ public int getAggregateFieldsCount() {
*
*
* The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
+ *
* The key is the
* [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
* assigned to the aggregation function on input and the size of this map
@@ -643,6 +645,7 @@ public java.util.Map getAggrega
*
*
* The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
+ *
* The key is the
* [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
* assigned to the aggregation function on input and the size of this map
@@ -660,6 +663,7 @@ public java.util.Map getAggrega
*
*
* The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
+ *
* The key is the
* [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
* assigned to the aggregation function on input and the size of this map
@@ -685,6 +689,7 @@ public java.util.Map getAggrega
*
*
* The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
+ *
* The key is the
* [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
* assigned to the aggregation function on input and the size of this map
@@ -716,6 +721,7 @@ public Builder clearAggregateFields() {
*
*
* The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
+ *
* The key is the
* [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
* assigned to the aggregation function on input and the size of this map
@@ -743,6 +749,7 @@ public Builder removeAggregateFields(java.lang.String key) {
*
*
* The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
+ *
* The key is the
* [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
* assigned to the aggregation function on input and the size of this map
@@ -767,6 +774,7 @@ public Builder putAggregateFields(java.lang.String key, com.google.firestore.v1.
*
*
* The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
+ *
* The key is the
* [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
* assigned to the aggregation function on input and the size of this map
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultOrBuilder.java
index c539ea8ec7..4c58e00692 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,6 +28,7 @@ public interface AggregationResultOrBuilder
*
*
* The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
+ *
* The key is the
* [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
* assigned to the aggregation function on input and the size of this map
@@ -42,6 +43,7 @@ public interface AggregationResultOrBuilder
*
*
* The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
+ *
* The key is the
* [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
* assigned to the aggregation function on input and the size of this map
@@ -59,6 +61,7 @@ public interface AggregationResultOrBuilder
*
*
* The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
+ *
* The key is the
* [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
* assigned to the aggregation function on input and the size of this map
@@ -73,6 +76,7 @@ public interface AggregationResultOrBuilder
*
*
* The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
+ *
* The key is the
* [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
* assigned to the aggregation function on input and the size of this map
@@ -91,6 +95,7 @@ com.google.firestore.v1.Value getAggregateFieldsOrDefault(
*
*
* The result of the aggregation functions, ex: `COUNT(*) AS total_docs`.
+ *
* The key is the
* [alias][google.firestore.v1.StructuredAggregationQuery.Aggregation.alias]
* assigned to the aggregation function on input and the size of this map
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultProto.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultProto.java
index 8b1862f71f..34ff57a376 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultProto.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/AggregationResultProto.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValue.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValue.java
index 4c24457e1c..1b48811ba4 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValue.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValue.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ArrayValue();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.v1.DocumentProto
.internal_static_google_firestore_v1_ArrayValue_descriptor;
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java
index 5aa4db46e4..a4089a2748 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ArrayValueOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java
index fb7a4bf34d..d754a6d1fb 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -40,7 +40,7 @@ private BatchGetDocumentsRequest(com.google.protobuf.GeneratedMessageV3.Builder<
private BatchGetDocumentsRequest() {
database_ = "";
- documents_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ documents_ = com.google.protobuf.LazyStringArrayList.emptyList();
}
@java.lang.Override
@@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new BatchGetDocumentsRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.v1.FirestoreProto
.internal_static_google_firestore_v1_BatchGetDocumentsRequest_descriptor;
@@ -70,6 +65,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
private int consistencySelectorCase_ = 0;
+
+ @SuppressWarnings("serial")
private java.lang.Object consistencySelector_;
public enum ConsistencySelectorCase
@@ -175,7 +172,8 @@ public com.google.protobuf.ByteString getDatabaseBytes() {
public static final int DOCUMENTS_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
- private com.google.protobuf.LazyStringList documents_;
+ private com.google.protobuf.LazyStringArrayList documents_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
/**
*
*
@@ -254,6 +252,7 @@ public com.google.protobuf.ByteString getDocumentsBytes(int index) {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If a document has a field that is not present in this mask, that field will
* not be returned in the response.
*
@@ -271,6 +270,7 @@ public boolean hasMask() {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If a document has a field that is not present in this mask, that field will
* not be returned in the response.
*
@@ -288,6 +288,7 @@ public com.google.firestore.v1.DocumentMask getMask() {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If a document has a field that is not present in this mask, that field will
* not be returned in the response.
*
@@ -400,7 +401,10 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
*
*
* Reads documents as they were at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 7;
@@ -416,7 +420,10 @@ public boolean hasReadTime() {
*
*
* Reads documents as they were at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 7;
@@ -435,7 +442,10 @@ public com.google.protobuf.Timestamp getReadTime() {
*
*
* Reads documents as they were at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 7;
@@ -732,8 +742,7 @@ public Builder clear() {
super.clear();
bitField0_ = 0;
database_ = "";
- documents_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
+ documents_ = com.google.protobuf.LazyStringArrayList.emptyList();
mask_ = null;
if (maskBuilder_ != null) {
maskBuilder_.dispose();
@@ -774,7 +783,6 @@ public com.google.firestore.v1.BatchGetDocumentsRequest build() {
public com.google.firestore.v1.BatchGetDocumentsRequest buildPartial() {
com.google.firestore.v1.BatchGetDocumentsRequest result =
new com.google.firestore.v1.BatchGetDocumentsRequest(this);
- buildPartialRepeatedFields(result);
if (bitField0_ != 0) {
buildPartial0(result);
}
@@ -783,20 +791,15 @@ public com.google.firestore.v1.BatchGetDocumentsRequest buildPartial() {
return result;
}
- private void buildPartialRepeatedFields(
- com.google.firestore.v1.BatchGetDocumentsRequest result) {
- if (((bitField0_ & 0x00000002) != 0)) {
- documents_ = documents_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000002);
- }
- result.documents_ = documents_;
- }
-
private void buildPartial0(com.google.firestore.v1.BatchGetDocumentsRequest result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.database_ = database_;
}
+ if (((from_bitField0_ & 0x00000002) != 0)) {
+ documents_.makeImmutable();
+ result.documents_ = documents_;
+ }
if (((from_bitField0_ & 0x00000004) != 0)) {
result.mask_ = maskBuilder_ == null ? mask_ : maskBuilder_.build();
}
@@ -867,7 +870,7 @@ public Builder mergeFrom(com.google.firestore.v1.BatchGetDocumentsRequest other)
if (!other.documents_.isEmpty()) {
if (documents_.isEmpty()) {
documents_ = other.documents_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ |= 0x00000002;
} else {
ensureDocumentsIsMutable();
documents_.addAll(other.documents_);
@@ -1105,14 +1108,14 @@ public Builder setDatabaseBytes(com.google.protobuf.ByteString value) {
return this;
}
- private com.google.protobuf.LazyStringList documents_ =
- com.google.protobuf.LazyStringArrayList.EMPTY;
+ private com.google.protobuf.LazyStringArrayList documents_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureDocumentsIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!documents_.isModifiable()) {
documents_ = new com.google.protobuf.LazyStringArrayList(documents_);
- bitField0_ |= 0x00000002;
}
+ bitField0_ |= 0x00000002;
}
/**
*
@@ -1129,7 +1132,8 @@ private void ensureDocumentsIsMutable() {
* @return A list containing the documents.
*/
public com.google.protobuf.ProtocolStringList getDocumentsList() {
- return documents_.getUnmodifiableView();
+ documents_.makeImmutable();
+ return documents_;
}
/**
*
@@ -1206,6 +1210,7 @@ public Builder setDocuments(int index, java.lang.String value) {
}
ensureDocumentsIsMutable();
documents_.set(index, value);
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1230,6 +1235,7 @@ public Builder addDocuments(java.lang.String value) {
}
ensureDocumentsIsMutable();
documents_.add(value);
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1251,6 +1257,7 @@ public Builder addDocuments(java.lang.String value) {
public Builder addAllDocuments(java.lang.Iterable values) {
ensureDocumentsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(values, documents_);
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1269,8 +1276,9 @@ public Builder addAllDocuments(java.lang.Iterable values) {
* @return This builder for chaining.
*/
public Builder clearDocuments() {
- documents_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ documents_ = com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
+ ;
onChanged();
return this;
}
@@ -1296,6 +1304,7 @@ public Builder addDocumentsBytes(com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ensureDocumentsIsMutable();
documents_.add(value);
+ bitField0_ |= 0x00000002;
onChanged();
return this;
}
@@ -1311,6 +1320,7 @@ public Builder addDocumentsBytes(com.google.protobuf.ByteString value) {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If a document has a field that is not present in this mask, that field will
* not be returned in the response.
*
@@ -1327,6 +1337,7 @@ public boolean hasMask() {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If a document has a field that is not present in this mask, that field will
* not be returned in the response.
*
@@ -1347,6 +1358,7 @@ public com.google.firestore.v1.DocumentMask getMask() {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If a document has a field that is not present in this mask, that field will
* not be returned in the response.
*
@@ -1371,6 +1383,7 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If a document has a field that is not present in this mask, that field will
* not be returned in the response.
*
@@ -1392,6 +1405,7 @@ public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForVa
*
*
* The fields to return. If not set, returns all fields.
+ *
* If a document has a field that is not present in this mask, that field will
* not be returned in the response.
*
@@ -1419,6 +1433,7 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If a document has a field that is not present in this mask, that field will
* not be returned in the response.
*
@@ -1440,6 +1455,7 @@ public Builder clearMask() {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If a document has a field that is not present in this mask, that field will
* not be returned in the response.
*
@@ -1456,6 +1472,7 @@ public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If a document has a field that is not present in this mask, that field will
* not be returned in the response.
*
@@ -1474,6 +1491,7 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If a document has a field that is not present in this mask, that field will
* not be returned in the response.
*
@@ -1816,7 +1834,10 @@ public com.google.firestore.v1.TransactionOptionsOrBuilder getNewTransactionOrBu
*
*
* Reads documents as they were at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 7;
@@ -1832,7 +1853,10 @@ public boolean hasReadTime() {
*
*
* Reads documents as they were at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 7;
@@ -1858,7 +1882,10 @@ public com.google.protobuf.Timestamp getReadTime() {
*
*
* Reads documents as they were at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 7;
@@ -1881,7 +1908,10 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
*
*
* Reads documents as they were at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 7;
@@ -1901,7 +1931,10 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
*
*
* Reads documents as they were at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 7;
@@ -1934,7 +1967,10 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
*
*
* Reads documents as they were at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 7;
@@ -1960,7 +1996,10 @@ public Builder clearReadTime() {
*
*
* Reads documents as they were at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 7;
@@ -1973,7 +2012,10 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
*
*
* Reads documents as they were at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 7;
@@ -1994,7 +2036,10 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
*
*
* Reads documents as they were at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 7;
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java
index 7c77b6fe6b..b55c209001 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -118,6 +118,7 @@ public interface BatchGetDocumentsRequestOrBuilder
*
*
* The fields to return. If not set, returns all fields.
+ *
* If a document has a field that is not present in this mask, that field will
* not be returned in the response.
*
@@ -132,6 +133,7 @@ public interface BatchGetDocumentsRequestOrBuilder
*
*
* The fields to return. If not set, returns all fields.
+ *
* If a document has a field that is not present in this mask, that field will
* not be returned in the response.
*
@@ -146,6 +148,7 @@ public interface BatchGetDocumentsRequestOrBuilder
*
*
* The fields to return. If not set, returns all fields.
+ *
* If a document has a field that is not present in this mask, that field will
* not be returned in the response.
*
@@ -228,7 +231,10 @@ public interface BatchGetDocumentsRequestOrBuilder
*
*
* Reads documents as they were at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 7;
@@ -241,7 +247,10 @@ public interface BatchGetDocumentsRequestOrBuilder
*
*
* Reads documents as they were at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 7;
@@ -254,13 +263,16 @@ public interface BatchGetDocumentsRequestOrBuilder
*
*
* Reads documents as they were at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 7;
*/
com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
- public com.google.firestore.v1.BatchGetDocumentsRequest.ConsistencySelectorCase
+ com.google.firestore.v1.BatchGetDocumentsRequest.ConsistencySelectorCase
getConsistencySelectorCase();
}
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java
index f00c5a233c..edf5f18dca 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new BatchGetDocumentsResponse();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.v1.FirestoreProto
.internal_static_google_firestore_v1_BatchGetDocumentsResponse_descriptor;
@@ -69,6 +64,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
private int resultCase_ = 0;
+
+ @SuppressWarnings("serial")
private java.lang.Object result_;
public enum ResultCase
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java
index fceb027e38..8c2b3b7df9 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -158,5 +158,5 @@ public interface BatchGetDocumentsResponseOrBuilder
*/
com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
- public com.google.firestore.v1.BatchGetDocumentsResponse.ResultCase getResultCase();
+ com.google.firestore.v1.BatchGetDocumentsResponse.ResultCase getResultCase();
}
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequest.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequest.java
index 1722941718..d3ed69554f 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequest.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new BatchWriteRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.v1.FirestoreProto
.internal_static_google_firestore_v1_BatchWriteRequest_descriptor;
@@ -142,6 +137,7 @@ public com.google.protobuf.ByteString getDatabaseBytes() {
*
*
* The writes to apply.
+ *
* Method does not apply writes atomically and does not guarantee ordering.
* Each write succeeds or fails independently. You cannot write to the same
* document more than once per request.
@@ -158,6 +154,7 @@ public java.util.List getWritesList() {
*
*
* The writes to apply.
+ *
* Method does not apply writes atomically and does not guarantee ordering.
* Each write succeeds or fails independently. You cannot write to the same
* document more than once per request.
@@ -174,6 +171,7 @@ public java.util.List extends com.google.firestore.v1.WriteOrBuilder> getWrite
*
*
* The writes to apply.
+ *
* Method does not apply writes atomically and does not guarantee ordering.
* Each write succeeds or fails independently. You cannot write to the same
* document more than once per request.
@@ -190,6 +188,7 @@ public int getWritesCount() {
*
*
* The writes to apply.
+ *
* Method does not apply writes atomically and does not guarantee ordering.
* Each write succeeds or fails independently. You cannot write to the same
* document more than once per request.
@@ -206,6 +205,7 @@ public com.google.firestore.v1.Write getWrites(int index) {
*
*
* The writes to apply.
+ *
* Method does not apply writes atomically and does not guarantee ordering.
* Each write succeeds or fails independently. You cannot write to the same
* document more than once per request.
@@ -920,6 +920,7 @@ private void ensureWritesIsMutable() {
*
*
* The writes to apply.
+ *
* Method does not apply writes atomically and does not guarantee ordering.
* Each write succeeds or fails independently. You cannot write to the same
* document more than once per request.
@@ -939,6 +940,7 @@ public java.util.List getWritesList() {
*
*
* The writes to apply.
+ *
* Method does not apply writes atomically and does not guarantee ordering.
* Each write succeeds or fails independently. You cannot write to the same
* document more than once per request.
@@ -958,6 +960,7 @@ public int getWritesCount() {
*
*
* The writes to apply.
+ *
* Method does not apply writes atomically and does not guarantee ordering.
* Each write succeeds or fails independently. You cannot write to the same
* document more than once per request.
@@ -977,6 +980,7 @@ public com.google.firestore.v1.Write getWrites(int index) {
*
*
* The writes to apply.
+ *
* Method does not apply writes atomically and does not guarantee ordering.
* Each write succeeds or fails independently. You cannot write to the same
* document more than once per request.
@@ -1002,6 +1006,7 @@ public Builder setWrites(int index, com.google.firestore.v1.Write value) {
*
*
* The writes to apply.
+ *
* Method does not apply writes atomically and does not guarantee ordering.
* Each write succeeds or fails independently. You cannot write to the same
* document more than once per request.
@@ -1024,6 +1029,7 @@ public Builder setWrites(int index, com.google.firestore.v1.Write.Builder builde
*
*
* The writes to apply.
+ *
* Method does not apply writes atomically and does not guarantee ordering.
* Each write succeeds or fails independently. You cannot write to the same
* document more than once per request.
@@ -1049,6 +1055,7 @@ public Builder addWrites(com.google.firestore.v1.Write value) {
*
*
* The writes to apply.
+ *
* Method does not apply writes atomically and does not guarantee ordering.
* Each write succeeds or fails independently. You cannot write to the same
* document more than once per request.
@@ -1074,6 +1081,7 @@ public Builder addWrites(int index, com.google.firestore.v1.Write value) {
*
*
* The writes to apply.
+ *
* Method does not apply writes atomically and does not guarantee ordering.
* Each write succeeds or fails independently. You cannot write to the same
* document more than once per request.
@@ -1096,6 +1104,7 @@ public Builder addWrites(com.google.firestore.v1.Write.Builder builderForValue)
*
*
* The writes to apply.
+ *
* Method does not apply writes atomically and does not guarantee ordering.
* Each write succeeds or fails independently. You cannot write to the same
* document more than once per request.
@@ -1118,6 +1127,7 @@ public Builder addWrites(int index, com.google.firestore.v1.Write.Builder builde
*
*
* The writes to apply.
+ *
* Method does not apply writes atomically and does not guarantee ordering.
* Each write succeeds or fails independently. You cannot write to the same
* document more than once per request.
@@ -1141,6 +1151,7 @@ public Builder addAllWrites(
*
*
* The writes to apply.
+ *
* Method does not apply writes atomically and does not guarantee ordering.
* Each write succeeds or fails independently. You cannot write to the same
* document more than once per request.
@@ -1163,6 +1174,7 @@ public Builder clearWrites() {
*
*
* The writes to apply.
+ *
* Method does not apply writes atomically and does not guarantee ordering.
* Each write succeeds or fails independently. You cannot write to the same
* document more than once per request.
@@ -1185,6 +1197,7 @@ public Builder removeWrites(int index) {
*
*
* The writes to apply.
+ *
* Method does not apply writes atomically and does not guarantee ordering.
* Each write succeeds or fails independently. You cannot write to the same
* document more than once per request.
@@ -1200,6 +1213,7 @@ public com.google.firestore.v1.Write.Builder getWritesBuilder(int index) {
*
*
* The writes to apply.
+ *
* Method does not apply writes atomically and does not guarantee ordering.
* Each write succeeds or fails independently. You cannot write to the same
* document more than once per request.
@@ -1219,6 +1233,7 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
*
*
* The writes to apply.
+ *
* Method does not apply writes atomically and does not guarantee ordering.
* Each write succeeds or fails independently. You cannot write to the same
* document more than once per request.
@@ -1239,6 +1254,7 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
*
*
* The writes to apply.
+ *
* Method does not apply writes atomically and does not guarantee ordering.
* Each write succeeds or fails independently. You cannot write to the same
* document more than once per request.
@@ -1254,6 +1270,7 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder() {
*
*
* The writes to apply.
+ *
* Method does not apply writes atomically and does not guarantee ordering.
* Each write succeeds or fails independently. You cannot write to the same
* document more than once per request.
@@ -1270,6 +1287,7 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder(int index) {
*
*
* The writes to apply.
+ *
* Method does not apply writes atomically and does not guarantee ordering.
* Each write succeeds or fails independently. You cannot write to the same
* document more than once per request.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequestOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequestOrBuilder.java
index 937b466574..78913348ea 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -55,6 +55,7 @@ public interface BatchWriteRequestOrBuilder
*
*
* The writes to apply.
+ *
* Method does not apply writes atomically and does not guarantee ordering.
* Each write succeeds or fails independently. You cannot write to the same
* document more than once per request.
@@ -68,6 +69,7 @@ public interface BatchWriteRequestOrBuilder
*
*
* The writes to apply.
+ *
* Method does not apply writes atomically and does not guarantee ordering.
* Each write succeeds or fails independently. You cannot write to the same
* document more than once per request.
@@ -81,6 +83,7 @@ public interface BatchWriteRequestOrBuilder
*
*
* The writes to apply.
+ *
* Method does not apply writes atomically and does not guarantee ordering.
* Each write succeeds or fails independently. You cannot write to the same
* document more than once per request.
@@ -94,6 +97,7 @@ public interface BatchWriteRequestOrBuilder
*
*
* The writes to apply.
+ *
* Method does not apply writes atomically and does not guarantee ordering.
* Each write succeeds or fails independently. You cannot write to the same
* document more than once per request.
@@ -107,6 +111,7 @@ public interface BatchWriteRequestOrBuilder
*
*
* The writes to apply.
+ *
* Method does not apply writes atomically and does not guarantee ordering.
* Each write succeeds or fails independently. You cannot write to the same
* document more than once per request.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponse.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponse.java
index 4ca4c0a12b..182728b2d6 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponse.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new BatchWriteResponse();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.v1.FirestoreProto
.internal_static_google_firestore_v1_BatchWriteResponse_descriptor;
@@ -78,6 +73,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -93,6 +89,7 @@ public java.util.List getWriteResultsList()
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -109,6 +106,7 @@ public java.util.List getWriteResultsList()
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -124,6 +122,7 @@ public int getWriteResultsCount() {
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -139,6 +138,7 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -159,6 +159,7 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int
*
*
* The status of applying the writes.
+ *
* This i-th write status corresponds to the i-th write in the
* request.
*
@@ -174,6 +175,7 @@ public java.util.List getStatusList() {
*
*
* The status of applying the writes.
+ *
* This i-th write status corresponds to the i-th write in the
* request.
*
@@ -189,6 +191,7 @@ public java.util.List extends com.google.rpc.StatusOrBuilder> getStatusOrBuild
*
*
* The status of applying the writes.
+ *
* This i-th write status corresponds to the i-th write in the
* request.
*
@@ -204,6 +207,7 @@ public int getStatusCount() {
*
*
* The status of applying the writes.
+ *
* This i-th write status corresponds to the i-th write in the
* request.
*
@@ -219,6 +223,7 @@ public com.google.rpc.Status getStatus(int index) {
*
*
* The status of applying the writes.
+ *
* This i-th write status corresponds to the i-th write in the
* request.
*
@@ -706,6 +711,7 @@ private void ensureWriteResultsIsMutable() {
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -724,6 +730,7 @@ public java.util.List getWriteResultsList()
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -742,6 +749,7 @@ public int getWriteResultsCount() {
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -760,6 +768,7 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -784,6 +793,7 @@ public Builder setWriteResults(int index, com.google.firestore.v1.WriteResult va
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -806,6 +816,7 @@ public Builder setWriteResults(
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -830,6 +841,7 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult value) {
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -854,6 +866,7 @@ public Builder addWriteResults(int index, com.google.firestore.v1.WriteResult va
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -875,6 +888,7 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult.Builder build
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -897,6 +911,7 @@ public Builder addWriteResults(
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -919,6 +934,7 @@ public Builder addAllWriteResults(
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -940,6 +956,7 @@ public Builder clearWriteResults() {
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -961,6 +978,7 @@ public Builder removeWriteResults(int index) {
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -975,6 +993,7 @@ public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(int in
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -993,6 +1012,7 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -1012,6 +1032,7 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -1027,6 +1048,7 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder() {
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -1042,6 +1064,7 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(int in
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -1088,6 +1111,7 @@ private void ensureStatusIsMutable() {
*
*
* The status of applying the writes.
+ *
* This i-th write status corresponds to the i-th write in the
* request.
*
@@ -1106,6 +1130,7 @@ public java.util.List getStatusList() {
*
*
* The status of applying the writes.
+ *
* This i-th write status corresponds to the i-th write in the
* request.
*
@@ -1124,6 +1149,7 @@ public int getStatusCount() {
*
*
* The status of applying the writes.
+ *
* This i-th write status corresponds to the i-th write in the
* request.
*
@@ -1142,6 +1168,7 @@ public com.google.rpc.Status getStatus(int index) {
*
*
* The status of applying the writes.
+ *
* This i-th write status corresponds to the i-th write in the
* request.
*
@@ -1166,6 +1193,7 @@ public Builder setStatus(int index, com.google.rpc.Status value) {
*
*
* The status of applying the writes.
+ *
* This i-th write status corresponds to the i-th write in the
* request.
*
@@ -1187,6 +1215,7 @@ public Builder setStatus(int index, com.google.rpc.Status.Builder builderForValu
*
*
* The status of applying the writes.
+ *
* This i-th write status corresponds to the i-th write in the
* request.
*
@@ -1211,6 +1240,7 @@ public Builder addStatus(com.google.rpc.Status value) {
*
*
* The status of applying the writes.
+ *
* This i-th write status corresponds to the i-th write in the
* request.
*
@@ -1235,6 +1265,7 @@ public Builder addStatus(int index, com.google.rpc.Status value) {
*
*
* The status of applying the writes.
+ *
* This i-th write status corresponds to the i-th write in the
* request.
*
@@ -1256,6 +1287,7 @@ public Builder addStatus(com.google.rpc.Status.Builder builderForValue) {
*
*
* The status of applying the writes.
+ *
* This i-th write status corresponds to the i-th write in the
* request.
*
@@ -1277,6 +1309,7 @@ public Builder addStatus(int index, com.google.rpc.Status.Builder builderForValu
*
*
* The status of applying the writes.
+ *
* This i-th write status corresponds to the i-th write in the
* request.
*
@@ -1298,6 +1331,7 @@ public Builder addAllStatus(java.lang.Iterable extends com.google.rpc.Status>
*
*
* The status of applying the writes.
+ *
* This i-th write status corresponds to the i-th write in the
* request.
*
@@ -1319,6 +1353,7 @@ public Builder clearStatus() {
*
*
* The status of applying the writes.
+ *
* This i-th write status corresponds to the i-th write in the
* request.
*
@@ -1340,6 +1375,7 @@ public Builder removeStatus(int index) {
*
*
* The status of applying the writes.
+ *
* This i-th write status corresponds to the i-th write in the
* request.
*
@@ -1354,6 +1390,7 @@ public com.google.rpc.Status.Builder getStatusBuilder(int index) {
*
*
* The status of applying the writes.
+ *
* This i-th write status corresponds to the i-th write in the
* request.
*
@@ -1372,6 +1409,7 @@ public com.google.rpc.StatusOrBuilder getStatusOrBuilder(int index) {
*
*
* The status of applying the writes.
+ *
* This i-th write status corresponds to the i-th write in the
* request.
*
@@ -1390,6 +1428,7 @@ public java.util.List extends com.google.rpc.StatusOrBuilder> getStatusOrBuild
*
*
* The status of applying the writes.
+ *
* This i-th write status corresponds to the i-th write in the
* request.
*
@@ -1404,6 +1443,7 @@ public com.google.rpc.Status.Builder addStatusBuilder() {
*
*
* The status of applying the writes.
+ *
* This i-th write status corresponds to the i-th write in the
* request.
*
@@ -1418,6 +1458,7 @@ public com.google.rpc.Status.Builder addStatusBuilder(int index) {
*
*
* The status of applying the writes.
+ *
* This i-th write status corresponds to the i-th write in the
* request.
*
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponseOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponseOrBuilder.java
index ec5ff4d760..06c090b05f 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponseOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchWriteResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,6 +28,7 @@ public interface BatchWriteResponseOrBuilder
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -40,6 +41,7 @@ public interface BatchWriteResponseOrBuilder
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -52,6 +54,7 @@ public interface BatchWriteResponseOrBuilder
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -64,6 +67,7 @@ public interface BatchWriteResponseOrBuilder
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -77,6 +81,7 @@ public interface BatchWriteResponseOrBuilder
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -90,6 +95,7 @@ public interface BatchWriteResponseOrBuilder
*
*
* The status of applying the writes.
+ *
* This i-th write status corresponds to the i-th write in the
* request.
*
@@ -102,6 +108,7 @@ public interface BatchWriteResponseOrBuilder
*
*
* The status of applying the writes.
+ *
* This i-th write status corresponds to the i-th write in the
* request.
*
@@ -114,6 +121,7 @@ public interface BatchWriteResponseOrBuilder
*
*
* The status of applying the writes.
+ *
* This i-th write status corresponds to the i-th write in the
* request.
*
@@ -126,6 +134,7 @@ public interface BatchWriteResponseOrBuilder
*
*
* The status of applying the writes.
+ *
* This i-th write status corresponds to the i-th write in the
* request.
*
@@ -138,6 +147,7 @@ public interface BatchWriteResponseOrBuilder
*
*
* The status of applying the writes.
+ *
* This i-th write status corresponds to the i-th write in the
* request.
*
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java
index 60ba895536..dfb433e092 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new BeginTransactionRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.v1.FirestoreProto
.internal_static_google_firestore_v1_BeginTransactionRequest_descriptor;
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequestOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequestOrBuilder.java
index d728054813..797ab2b824 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java
index 0ca41a9262..25176397b7 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new BeginTransactionResponse();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.v1.FirestoreProto
.internal_static_google_firestore_v1_BeginTransactionResponse_descriptor;
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponseOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponseOrBuilder.java
index 188d7f600e..a9b54fb99b 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponseOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BitSequence.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BitSequence.java
index 17f21007b3..ad3dd01382 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BitSequence.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BitSequence.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,15 +23,18 @@
*
*
* A sequence of bits, encoded in a byte array.
+ *
* Each byte in the `bitmap` byte array stores 8 bits of the sequence. The only
* exception is the last byte, which may store 8 _or fewer_ bits. The `padding`
* defines the number of bits of the last byte to be ignored as "padding". The
* values of these "padding" bits are unspecified and must be ignored.
+ *
* To retrieve the first bit, bit 0, calculate: `(bitmap[0] & 0x01) != 0`.
* To retrieve the second bit, bit 1, calculate: `(bitmap[0] & 0x02) != 0`.
* To retrieve the third bit, bit 2, calculate: `(bitmap[0] & 0x04) != 0`.
* To retrieve the fourth bit, bit 3, calculate: `(bitmap[0] & 0x08) != 0`.
* To retrieve bit n, calculate: `(bitmap[n / 8] & (0x01 << (n % 8))) != 0`.
+ *
* The "size" of a `BitSequence` (the number of bits it contains) is calculated
* by this formula: `(bitmap.length * 8) - padding`.
*
@@ -58,11 +61,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new BitSequence();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.v1.BloomFilterProto
.internal_static_google_firestore_v1_BitSequence_descriptor;
@@ -288,15 +286,18 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* A sequence of bits, encoded in a byte array.
+ *
* Each byte in the `bitmap` byte array stores 8 bits of the sequence. The only
* exception is the last byte, which may store 8 _or fewer_ bits. The `padding`
* defines the number of bits of the last byte to be ignored as "padding". The
* values of these "padding" bits are unspecified and must be ignored.
+ *
* To retrieve the first bit, bit 0, calculate: `(bitmap[0] & 0x01) != 0`.
* To retrieve the second bit, bit 1, calculate: `(bitmap[0] & 0x02) != 0`.
* To retrieve the third bit, bit 2, calculate: `(bitmap[0] & 0x04) != 0`.
* To retrieve the fourth bit, bit 3, calculate: `(bitmap[0] & 0x08) != 0`.
* To retrieve bit n, calculate: `(bitmap[n / 8] & (0x01 << (n % 8))) != 0`.
+ *
* The "size" of a `BitSequence` (the number of bits it contains) is calculated
* by this formula: `(bitmap.length * 8) - padding`.
*
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BitSequenceOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BitSequenceOrBuilder.java
index 09167ca65e..34a6c25254 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BitSequenceOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BitSequenceOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BloomFilter.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BloomFilter.java
index c0dab791a0..916efaac63 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BloomFilter.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BloomFilter.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,12 +23,16 @@
*
*
* A bloom filter (https://en.wikipedia.org/wiki/Bloom_filter).
+ *
* The bloom filter hashes the entries with MD5 and treats the resulting 128-bit
* hash as 2 distinct 64-bit hash values, interpreted as unsigned integers
* using 2's complement encoding.
+ *
* These two hash values, named `h1` and `h2`, are then used to compute the
* `hash_count` hash values using the formula, starting at `i=0`:
+ *
* h(i) = h1 + (i * h2)
+ *
* These resulting values are then taken modulo the number of bits in the bloom
* filter to get the bits of the bloom filter to test for the given entry.
*
@@ -53,11 +57,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new BloomFilter();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.v1.BloomFilterProto
.internal_static_google_firestore_v1_BloomFilter_descriptor;
@@ -313,12 +312,16 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* A bloom filter (https://en.wikipedia.org/wiki/Bloom_filter).
+ *
* The bloom filter hashes the entries with MD5 and treats the resulting 128-bit
* hash as 2 distinct 64-bit hash values, interpreted as unsigned integers
* using 2's complement encoding.
+ *
* These two hash values, named `h1` and `h2`, are then used to compute the
* `hash_count` hash values using the formula, starting at `i=0`:
+ *
* h(i) = h1 + (i * h2)
+ *
* These resulting values are then taken modulo the number of bits in the bloom
* filter to get the bits of the bloom filter to test for the given entry.
*
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BloomFilterOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BloomFilterOrBuilder.java
index 34c3847b62..5a008ada37 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BloomFilterOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BloomFilterOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BloomFilterProto.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BloomFilterProto.java
index 19f2f90ad9..aab45e90f7 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BloomFilterProto.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BloomFilterProto.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequest.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequest.java
index 8ec6a941b8..f036023b25 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequest.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new CommitRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.v1.FirestoreProto
.internal_static_google_firestore_v1_CommitRequest_descriptor;
@@ -131,6 +126,7 @@ public com.google.protobuf.ByteString getDatabaseBytes() {
*
*
* The writes to apply.
+ *
* Always executed atomically and in order.
*
*
@@ -145,6 +141,7 @@ public java.util.List getWritesList() {
*
*
* The writes to apply.
+ *
* Always executed atomically and in order.
*
*
@@ -159,6 +156,7 @@ public java.util.List extends com.google.firestore.v1.WriteOrBuilder> getWrite
*
*
* The writes to apply.
+ *
* Always executed atomically and in order.
*
*
@@ -173,6 +171,7 @@ public int getWritesCount() {
*
*
* The writes to apply.
+ *
* Always executed atomically and in order.
*
*
@@ -187,6 +186,7 @@ public com.google.firestore.v1.Write getWrites(int index) {
*
*
* The writes to apply.
+ *
* Always executed atomically and in order.
*
*
@@ -778,6 +778,7 @@ private void ensureWritesIsMutable() {
*
*
* The writes to apply.
+ *
* Always executed atomically and in order.
*
*
@@ -795,6 +796,7 @@ public java.util.List getWritesList() {
*
*
* The writes to apply.
+ *
* Always executed atomically and in order.
*
*
@@ -812,6 +814,7 @@ public int getWritesCount() {
*
*
* The writes to apply.
+ *
* Always executed atomically and in order.
*
*
@@ -829,6 +832,7 @@ public com.google.firestore.v1.Write getWrites(int index) {
*
*
* The writes to apply.
+ *
* Always executed atomically and in order.
*
*
@@ -852,6 +856,7 @@ public Builder setWrites(int index, com.google.firestore.v1.Write value) {
*
*
* The writes to apply.
+ *
* Always executed atomically and in order.
*
*
@@ -872,6 +877,7 @@ public Builder setWrites(int index, com.google.firestore.v1.Write.Builder builde
*
*
* The writes to apply.
+ *
* Always executed atomically and in order.
*
*
@@ -895,6 +901,7 @@ public Builder addWrites(com.google.firestore.v1.Write value) {
*
*
* The writes to apply.
+ *
* Always executed atomically and in order.
*
*
@@ -918,6 +925,7 @@ public Builder addWrites(int index, com.google.firestore.v1.Write value) {
*
*
* The writes to apply.
+ *
* Always executed atomically and in order.
*
*
@@ -938,6 +946,7 @@ public Builder addWrites(com.google.firestore.v1.Write.Builder builderForValue)
*
*
* The writes to apply.
+ *
* Always executed atomically and in order.
*
*
@@ -958,6 +967,7 @@ public Builder addWrites(int index, com.google.firestore.v1.Write.Builder builde
*
*
* The writes to apply.
+ *
* Always executed atomically and in order.
*
*
@@ -979,6 +989,7 @@ public Builder addAllWrites(
*
*
* The writes to apply.
+ *
* Always executed atomically and in order.
*
*
@@ -999,6 +1010,7 @@ public Builder clearWrites() {
*
*
* The writes to apply.
+ *
* Always executed atomically and in order.
*
*
@@ -1019,6 +1031,7 @@ public Builder removeWrites(int index) {
*
*
* The writes to apply.
+ *
* Always executed atomically and in order.
*
*
@@ -1032,6 +1045,7 @@ public com.google.firestore.v1.Write.Builder getWritesBuilder(int index) {
*
*
* The writes to apply.
+ *
* Always executed atomically and in order.
*
*
@@ -1049,6 +1063,7 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
*
*
* The writes to apply.
+ *
* Always executed atomically and in order.
*
*
@@ -1067,6 +1082,7 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) {
*
*
* The writes to apply.
+ *
* Always executed atomically and in order.
*
*
@@ -1080,6 +1096,7 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder() {
*
*
* The writes to apply.
+ *
* Always executed atomically and in order.
*
*
@@ -1094,6 +1111,7 @@ public com.google.firestore.v1.Write.Builder addWritesBuilder(int index) {
*
*
* The writes to apply.
+ *
* Always executed atomically and in order.
*
*
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java
index 2d72b4b202..699f7a7160 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -55,6 +55,7 @@ public interface CommitRequestOrBuilder
*
*
* The writes to apply.
+ *
* Always executed atomically and in order.
*
*
@@ -66,6 +67,7 @@ public interface CommitRequestOrBuilder
*
*
* The writes to apply.
+ *
* Always executed atomically and in order.
*
*
@@ -77,6 +79,7 @@ public interface CommitRequestOrBuilder
*
*
* The writes to apply.
+ *
* Always executed atomically and in order.
*
*
@@ -88,6 +91,7 @@ public interface CommitRequestOrBuilder
*
*
* The writes to apply.
+ *
* Always executed atomically and in order.
*
*
@@ -99,6 +103,7 @@ public interface CommitRequestOrBuilder
*
*
* The writes to apply.
+ *
* Always executed atomically and in order.
*
*
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponse.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponse.java
index 8cc91557de..27b053bfbb 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponse.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new CommitResponse();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.v1.FirestoreProto
.internal_static_google_firestore_v1_CommitResponse_descriptor;
@@ -76,6 +71,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -91,6 +87,7 @@ public java.util.List getWriteResultsList()
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -107,6 +104,7 @@ public java.util.List getWriteResultsList()
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -122,6 +120,7 @@ public int getWriteResultsCount() {
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -137,6 +136,7 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -636,6 +636,7 @@ private void ensureWriteResultsIsMutable() {
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -654,6 +655,7 @@ public java.util.List getWriteResultsList()
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -672,6 +674,7 @@ public int getWriteResultsCount() {
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -690,6 +693,7 @@ public com.google.firestore.v1.WriteResult getWriteResults(int index) {
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -714,6 +718,7 @@ public Builder setWriteResults(int index, com.google.firestore.v1.WriteResult va
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -736,6 +741,7 @@ public Builder setWriteResults(
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -760,6 +766,7 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult value) {
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -784,6 +791,7 @@ public Builder addWriteResults(int index, com.google.firestore.v1.WriteResult va
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -805,6 +813,7 @@ public Builder addWriteResults(com.google.firestore.v1.WriteResult.Builder build
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -827,6 +836,7 @@ public Builder addWriteResults(
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -849,6 +859,7 @@ public Builder addAllWriteResults(
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -870,6 +881,7 @@ public Builder clearWriteResults() {
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -891,6 +903,7 @@ public Builder removeWriteResults(int index) {
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -905,6 +918,7 @@ public com.google.firestore.v1.WriteResult.Builder getWriteResultsBuilder(int in
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -923,6 +937,7 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -942,6 +957,7 @@ public com.google.firestore.v1.WriteResultOrBuilder getWriteResultsOrBuilder(int
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -957,6 +973,7 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder() {
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -972,6 +989,7 @@ public com.google.firestore.v1.WriteResult.Builder addWriteResultsBuilder(int in
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java
index 76745e1248..3622343ab5 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommitResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,6 +28,7 @@ public interface CommitResponseOrBuilder
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -40,6 +41,7 @@ public interface CommitResponseOrBuilder
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -52,6 +54,7 @@ public interface CommitResponseOrBuilder
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -64,6 +67,7 @@ public interface CommitResponseOrBuilder
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
@@ -77,6 +81,7 @@ public interface CommitResponseOrBuilder
*
*
* The result of applying the writes.
+ *
* This i-th write result corresponds to the i-th write in the
* request.
*
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java
index 91c88f112b..3ed3eaac6f 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequest.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequest.java
index d9dcc99531..ac5577aca3 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequest.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -50,11 +50,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new CreateDocumentRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.v1.FirestoreProto
.internal_static_google_firestore_v1_CreateDocumentRequest_descriptor;
@@ -187,6 +182,7 @@ public com.google.protobuf.ByteString getCollectionIdBytes() {
*
*
* The client-assigned document ID to use for this document.
+ *
* Optional. If not specified, an ID will be assigned by the service.
*
*
@@ -211,6 +207,7 @@ public java.lang.String getDocumentId() {
*
*
* The client-assigned document ID to use for this document.
+ *
* Optional. If not specified, an ID will be assigned by the service.
*
*
@@ -287,6 +284,7 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If the document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -304,6 +302,7 @@ public boolean hasMask() {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If the document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -321,6 +320,7 @@ public com.google.firestore.v1.DocumentMask getMask() {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If the document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -1017,6 +1017,7 @@ public Builder setCollectionIdBytes(com.google.protobuf.ByteString value) {
*
*
* The client-assigned document ID to use for this document.
+ *
* Optional. If not specified, an ID will be assigned by the service.
*
*
@@ -1040,6 +1041,7 @@ public java.lang.String getDocumentId() {
*
*
* The client-assigned document ID to use for this document.
+ *
* Optional. If not specified, an ID will be assigned by the service.
*
*
@@ -1063,6 +1065,7 @@ public com.google.protobuf.ByteString getDocumentIdBytes() {
*
*
* The client-assigned document ID to use for this document.
+ *
* Optional. If not specified, an ID will be assigned by the service.
*
*
@@ -1085,6 +1088,7 @@ public Builder setDocumentId(java.lang.String value) {
*
*
* The client-assigned document ID to use for this document.
+ *
* Optional. If not specified, an ID will be assigned by the service.
*
*
@@ -1103,6 +1107,7 @@ public Builder clearDocumentId() {
*
*
* The client-assigned document ID to use for this document.
+ *
* Optional. If not specified, an ID will be assigned by the service.
*
*
@@ -1325,6 +1330,7 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If the document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -1341,6 +1347,7 @@ public boolean hasMask() {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If the document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -1361,6 +1368,7 @@ public com.google.firestore.v1.DocumentMask getMask() {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If the document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -1385,6 +1393,7 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If the document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -1406,6 +1415,7 @@ public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForVa
*
*
* The fields to return. If not set, returns all fields.
+ *
* If the document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -1433,6 +1443,7 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If the document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -1454,6 +1465,7 @@ public Builder clearMask() {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If the document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -1470,6 +1482,7 @@ public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If the document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -1488,6 +1501,7 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If the document has a field that is not present in this mask, that field
* will not be returned in the response.
*
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequestOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequestOrBuilder.java
index 8ad6def545..33c6f6c46f 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -84,6 +84,7 @@ public interface CreateDocumentRequestOrBuilder
*
*
* The client-assigned document ID to use for this document.
+ *
* Optional. If not specified, an ID will be assigned by the service.
*
*
@@ -97,6 +98,7 @@ public interface CreateDocumentRequestOrBuilder
*
*
* The client-assigned document ID to use for this document.
+ *
* Optional. If not specified, an ID will be assigned by the service.
*
*
@@ -149,6 +151,7 @@ public interface CreateDocumentRequestOrBuilder
*
*
* The fields to return. If not set, returns all fields.
+ *
* If the document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -163,6 +166,7 @@ public interface CreateDocumentRequestOrBuilder
*
*
* The fields to return. If not set, returns all fields.
+ *
* If the document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -177,6 +181,7 @@ public interface CreateDocumentRequestOrBuilder
*
*
* The fields to return. If not set, returns all fields.
+ *
* If the document has a field that is not present in this mask, that field
* will not be returned in the response.
*
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Cursor.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Cursor.java
index 52b0edfdac..abbfc3da3e 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Cursor.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Cursor.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new Cursor();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.v1.QueryProto.internal_static_google_firestore_v1_Cursor_descriptor;
}
@@ -75,6 +70,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
* The values that represent a position, in the order they appear in
* the order by clause of a query.
+ *
* Can contain fewer values than specified in the order by clause.
*
*
@@ -90,6 +86,7 @@ public java.util.List getValuesList() {
*
* The values that represent a position, in the order they appear in
* the order by clause of a query.
+ *
* Can contain fewer values than specified in the order by clause.
*
*
@@ -105,6 +102,7 @@ public java.util.List extends com.google.firestore.v1.ValueOrBuilder> getValue
*
* The values that represent a position, in the order they appear in
* the order by clause of a query.
+ *
* Can contain fewer values than specified in the order by clause.
*
*
@@ -120,6 +118,7 @@ public int getValuesCount() {
*
* The values that represent a position, in the order they appear in
* the order by clause of a query.
+ *
* Can contain fewer values than specified in the order by clause.
*
*
@@ -135,6 +134,7 @@ public com.google.firestore.v1.Value getValues(int index) {
*
* The values that represent a position, in the order they appear in
* the order by clause of a query.
+ *
* Can contain fewer values than specified in the order by clause.
*
*
@@ -591,6 +591,7 @@ private void ensureValuesIsMutable() {
*
* The values that represent a position, in the order they appear in
* the order by clause of a query.
+ *
* Can contain fewer values than specified in the order by clause.
*
*
@@ -609,6 +610,7 @@ public java.util.List getValuesList() {
*
* The values that represent a position, in the order they appear in
* the order by clause of a query.
+ *
* Can contain fewer values than specified in the order by clause.
*
*
@@ -627,6 +629,7 @@ public int getValuesCount() {
*
* The values that represent a position, in the order they appear in
* the order by clause of a query.
+ *
* Can contain fewer values than specified in the order by clause.
*
*
@@ -645,6 +648,7 @@ public com.google.firestore.v1.Value getValues(int index) {
*
* The values that represent a position, in the order they appear in
* the order by clause of a query.
+ *
* Can contain fewer values than specified in the order by clause.
*
*
@@ -669,6 +673,7 @@ public Builder setValues(int index, com.google.firestore.v1.Value value) {
*
* The values that represent a position, in the order they appear in
* the order by clause of a query.
+ *
* Can contain fewer values than specified in the order by clause.
*
*
@@ -690,6 +695,7 @@ public Builder setValues(int index, com.google.firestore.v1.Value.Builder builde
*
* The values that represent a position, in the order they appear in
* the order by clause of a query.
+ *
* Can contain fewer values than specified in the order by clause.
*
*
@@ -714,6 +720,7 @@ public Builder addValues(com.google.firestore.v1.Value value) {
*
* The values that represent a position, in the order they appear in
* the order by clause of a query.
+ *
* Can contain fewer values than specified in the order by clause.
*
*
@@ -738,6 +745,7 @@ public Builder addValues(int index, com.google.firestore.v1.Value value) {
*
* The values that represent a position, in the order they appear in
* the order by clause of a query.
+ *
* Can contain fewer values than specified in the order by clause.
*
*
@@ -759,6 +767,7 @@ public Builder addValues(com.google.firestore.v1.Value.Builder builderForValue)
*
* The values that represent a position, in the order they appear in
* the order by clause of a query.
+ *
* Can contain fewer values than specified in the order by clause.
*
*
@@ -780,6 +789,7 @@ public Builder addValues(int index, com.google.firestore.v1.Value.Builder builde
*
* The values that represent a position, in the order they appear in
* the order by clause of a query.
+ *
* Can contain fewer values than specified in the order by clause.
*
*
@@ -802,6 +812,7 @@ public Builder addAllValues(
*
* The values that represent a position, in the order they appear in
* the order by clause of a query.
+ *
* Can contain fewer values than specified in the order by clause.
*
*
@@ -823,6 +834,7 @@ public Builder clearValues() {
*
* The values that represent a position, in the order they appear in
* the order by clause of a query.
+ *
* Can contain fewer values than specified in the order by clause.
*
*
@@ -844,6 +856,7 @@ public Builder removeValues(int index) {
*
* The values that represent a position, in the order they appear in
* the order by clause of a query.
+ *
* Can contain fewer values than specified in the order by clause.
*
*
@@ -858,6 +871,7 @@ public com.google.firestore.v1.Value.Builder getValuesBuilder(int index) {
*
* The values that represent a position, in the order they appear in
* the order by clause of a query.
+ *
* Can contain fewer values than specified in the order by clause.
*
*
@@ -876,6 +890,7 @@ public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index) {
*
* The values that represent a position, in the order they appear in
* the order by clause of a query.
+ *
* Can contain fewer values than specified in the order by clause.
*
*
@@ -895,6 +910,7 @@ public com.google.firestore.v1.ValueOrBuilder getValuesOrBuilder(int index) {
*
* The values that represent a position, in the order they appear in
* the order by clause of a query.
+ *
* Can contain fewer values than specified in the order by clause.
*
*
@@ -909,6 +925,7 @@ public com.google.firestore.v1.Value.Builder addValuesBuilder() {
*
* The values that represent a position, in the order they appear in
* the order by clause of a query.
+ *
* Can contain fewer values than specified in the order by clause.
*
*
@@ -924,6 +941,7 @@ public com.google.firestore.v1.Value.Builder addValuesBuilder(int index) {
*
* The values that represent a position, in the order they appear in
* the order by clause of a query.
+ *
* Can contain fewer values than specified in the order by clause.
*
*
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CursorOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CursorOrBuilder.java
index 0d7526a9d9..1c287511a8 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CursorOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CursorOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -29,6 +29,7 @@ public interface CursorOrBuilder
*
* The values that represent a position, in the order they appear in
* the order by clause of a query.
+ *
* Can contain fewer values than specified in the order by clause.
*
*
@@ -41,6 +42,7 @@ public interface CursorOrBuilder
*
* The values that represent a position, in the order they appear in
* the order by clause of a query.
+ *
* Can contain fewer values than specified in the order by clause.
*
*
@@ -53,6 +55,7 @@ public interface CursorOrBuilder
*
* The values that represent a position, in the order they appear in
* the order by clause of a query.
+ *
* Can contain fewer values than specified in the order by clause.
*
*
@@ -65,6 +68,7 @@ public interface CursorOrBuilder
*
* The values that represent a position, in the order they appear in
* the order by clause of a query.
+ *
* Can contain fewer values than specified in the order by clause.
*
*
@@ -77,6 +81,7 @@ public interface CursorOrBuilder
*
* The values that represent a position, in the order they appear in
* the order by clause of a query.
+ *
* Can contain fewer values than specified in the order by clause.
*
*
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java
index cd06ebbb24..18a734d32f 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new DeleteDocumentRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.v1.FirestoreProto
.internal_static_google_firestore_v1_DeleteDocumentRequest_descriptor;
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequestOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequestOrBuilder.java
index ff6e2f1218..9f10e298ca 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Document.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Document.java
index e97f18f558..8932dabcf3 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Document.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/Document.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,6 +23,7 @@
*
*
* A Firestore document.
+ *
* Must not exceed 1 MiB - 4 bytes.
*
*
@@ -48,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new Document();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.v1.DocumentProto
.internal_static_google_firestore_v1_Document_descriptor;
@@ -165,20 +161,25 @@ public int getFieldsCount() {
*
*
* The document's fields.
+ *
* The map keys represent field names.
+ *
* A simple field name contains only characters `a` to `z`, `A` to `Z`,
* `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
* `foo_bar_17`.
+ *
* Field names matching the regular expression `__.*__` are reserved. Reserved
* field names are forbidden except in certain documented contexts. The map
* keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
* empty.
+ *
* Field paths may be used in other contexts to refer to structured fields
* defined here. For `map_value`, the field path is represented by the simple
* or quoted field names of the containing fields, delimited by `.`. For
* example, the structured field
* `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
* represented by the field path `foo.x&y`.
+ *
* Within a field path, a quoted field name starts and ends with `` ` `` and
* may contain any character. Some characters, including `` ` ``, must be
* escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
@@ -205,20 +206,25 @@ public java.util.Map getFields(
*
*
* The document's fields.
+ *
* The map keys represent field names.
+ *
* A simple field name contains only characters `a` to `z`, `A` to `Z`,
* `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
* `foo_bar_17`.
+ *
* Field names matching the regular expression `__.*__` are reserved. Reserved
* field names are forbidden except in certain documented contexts. The map
* keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
* empty.
+ *
* Field paths may be used in other contexts to refer to structured fields
* defined here. For `map_value`, the field path is represented by the simple
* or quoted field names of the containing fields, delimited by `.`. For
* example, the structured field
* `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
* represented by the field path `foo.x&y`.
+ *
* Within a field path, a quoted field name starts and ends with `` ` `` and
* may contain any character. Some characters, including `` ` ``, must be
* escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
@@ -236,20 +242,25 @@ public java.util.Map getFieldsM
*
*
* The document's fields.
+ *
* The map keys represent field names.
+ *
* A simple field name contains only characters `a` to `z`, `A` to `Z`,
* `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
* `foo_bar_17`.
+ *
* Field names matching the regular expression `__.*__` are reserved. Reserved
* field names are forbidden except in certain documented contexts. The map
* keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
* empty.
+ *
* Field paths may be used in other contexts to refer to structured fields
* defined here. For `map_value`, the field path is represented by the simple
* or quoted field names of the containing fields, delimited by `.`. For
* example, the structured field
* `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
* represented by the field path `foo.x&y`.
+ *
* Within a field path, a quoted field name starts and ends with `` ` `` and
* may contain any character. Some characters, including `` ` ``, must be
* escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
@@ -275,20 +286,25 @@ public java.util.Map getFieldsM
*
*
* The document's fields.
+ *
* The map keys represent field names.
+ *
* A simple field name contains only characters `a` to `z`, `A` to `Z`,
* `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
* `foo_bar_17`.
+ *
* Field names matching the regular expression `__.*__` are reserved. Reserved
* field names are forbidden except in certain documented contexts. The map
* keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
* empty.
+ *
* Field paths may be used in other contexts to refer to structured fields
* defined here. For `map_value`, the field path is represented by the simple
* or quoted field names of the containing fields, delimited by `.`. For
* example, the structured field
* `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
* represented by the field path `foo.x&y`.
+ *
* Within a field path, a quoted field name starts and ends with `` ` `` and
* may contain any character. Some characters, including `` ` ``, must be
* escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
@@ -317,6 +333,7 @@ public com.google.firestore.v1.Value getFieldsOrThrow(java.lang.String key) {
*
*
* Output only. The time at which the document was created.
+ *
* This value increases monotonically when a document is deleted then
* recreated. It can also be compared to values from other documents and
* the `read_time` of a query.
@@ -335,6 +352,7 @@ public boolean hasCreateTime() {
*
*
* Output only. The time at which the document was created.
+ *
* This value increases monotonically when a document is deleted then
* recreated. It can also be compared to values from other documents and
* the `read_time` of a query.
@@ -353,6 +371,7 @@ public com.google.protobuf.Timestamp getCreateTime() {
*
*
* Output only. The time at which the document was created.
+ *
* This value increases monotonically when a document is deleted then
* recreated. It can also be compared to values from other documents and
* the `read_time` of a query.
@@ -372,6 +391,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
*
* Output only. The time at which the document was last changed.
+ *
* This value is initially set to the `create_time` then increases
* monotonically with each change to the document. It can also be
* compared to values from other documents and the `read_time` of a query.
@@ -390,6 +410,7 @@ public boolean hasUpdateTime() {
*
*
* Output only. The time at which the document was last changed.
+ *
* This value is initially set to the `create_time` then increases
* monotonically with each change to the document. It can also be
* compared to values from other documents and the `read_time` of a query.
@@ -408,6 +429,7 @@ public com.google.protobuf.Timestamp getUpdateTime() {
*
*
* Output only. The time at which the document was last changed.
+ *
* This value is initially set to the `create_time` then increases
* monotonically with each change to the document. It can also be
* compared to values from other documents and the `read_time` of a query.
@@ -627,6 +649,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* A Firestore document.
+ *
* Must not exceed 1 MiB - 4 bytes.
*
*
@@ -1020,20 +1043,25 @@ public int getFieldsCount() {
*
*
* The document's fields.
+ *
* The map keys represent field names.
+ *
* A simple field name contains only characters `a` to `z`, `A` to `Z`,
* `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
* `foo_bar_17`.
+ *
* Field names matching the regular expression `__.*__` are reserved. Reserved
* field names are forbidden except in certain documented contexts. The map
* keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
* empty.
+ *
* Field paths may be used in other contexts to refer to structured fields
* defined here. For `map_value`, the field path is represented by the simple
* or quoted field names of the containing fields, delimited by `.`. For
* example, the structured field
* `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
* represented by the field path `foo.x&y`.
+ *
* Within a field path, a quoted field name starts and ends with `` ` `` and
* may contain any character. Some characters, including `` ` ``, must be
* escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
@@ -1060,20 +1088,25 @@ public java.util.Map getFields(
*
*
* The document's fields.
+ *
* The map keys represent field names.
+ *
* A simple field name contains only characters `a` to `z`, `A` to `Z`,
* `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
* `foo_bar_17`.
+ *
* Field names matching the regular expression `__.*__` are reserved. Reserved
* field names are forbidden except in certain documented contexts. The map
* keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
* empty.
+ *
* Field paths may be used in other contexts to refer to structured fields
* defined here. For `map_value`, the field path is represented by the simple
* or quoted field names of the containing fields, delimited by `.`. For
* example, the structured field
* `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
* represented by the field path `foo.x&y`.
+ *
* Within a field path, a quoted field name starts and ends with `` ` `` and
* may contain any character. Some characters, including `` ` ``, must be
* escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
@@ -1091,20 +1124,25 @@ public java.util.Map getFieldsM
*
*
* The document's fields.
+ *
* The map keys represent field names.
+ *
* A simple field name contains only characters `a` to `z`, `A` to `Z`,
* `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
* `foo_bar_17`.
+ *
* Field names matching the regular expression `__.*__` are reserved. Reserved
* field names are forbidden except in certain documented contexts. The map
* keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
* empty.
+ *
* Field paths may be used in other contexts to refer to structured fields
* defined here. For `map_value`, the field path is represented by the simple
* or quoted field names of the containing fields, delimited by `.`. For
* example, the structured field
* `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
* represented by the field path `foo.x&y`.
+ *
* Within a field path, a quoted field name starts and ends with `` ` `` and
* may contain any character. Some characters, including `` ` ``, must be
* escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
@@ -1130,20 +1168,25 @@ public java.util.Map getFieldsM
*
*
* The document's fields.
+ *
* The map keys represent field names.
+ *
* A simple field name contains only characters `a` to `z`, `A` to `Z`,
* `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
* `foo_bar_17`.
+ *
* Field names matching the regular expression `__.*__` are reserved. Reserved
* field names are forbidden except in certain documented contexts. The map
* keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
* empty.
+ *
* Field paths may be used in other contexts to refer to structured fields
* defined here. For `map_value`, the field path is represented by the simple
* or quoted field names of the containing fields, delimited by `.`. For
* example, the structured field
* `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
* represented by the field path `foo.x&y`.
+ *
* Within a field path, a quoted field name starts and ends with `` ` `` and
* may contain any character. Some characters, including `` ` ``, must be
* escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
@@ -1175,20 +1218,25 @@ public Builder clearFields() {
*
*
* The document's fields.
+ *
* The map keys represent field names.
+ *
* A simple field name contains only characters `a` to `z`, `A` to `Z`,
* `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
* `foo_bar_17`.
+ *
* Field names matching the regular expression `__.*__` are reserved. Reserved
* field names are forbidden except in certain documented contexts. The map
* keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
* empty.
+ *
* Field paths may be used in other contexts to refer to structured fields
* defined here. For `map_value`, the field path is represented by the simple
* or quoted field names of the containing fields, delimited by `.`. For
* example, the structured field
* `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
* represented by the field path `foo.x&y`.
+ *
* Within a field path, a quoted field name starts and ends with `` ` `` and
* may contain any character. Some characters, including `` ` ``, must be
* escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
@@ -1215,20 +1263,25 @@ public java.util.Map getMutable
*
*
* The document's fields.
+ *
* The map keys represent field names.
+ *
* A simple field name contains only characters `a` to `z`, `A` to `Z`,
* `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
* `foo_bar_17`.
+ *
* Field names matching the regular expression `__.*__` are reserved. Reserved
* field names are forbidden except in certain documented contexts. The map
* keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
* empty.
+ *
* Field paths may be used in other contexts to refer to structured fields
* defined here. For `map_value`, the field path is represented by the simple
* or quoted field names of the containing fields, delimited by `.`. For
* example, the structured field
* `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
* represented by the field path `foo.x&y`.
+ *
* Within a field path, a quoted field name starts and ends with `` ` `` and
* may contain any character. Some characters, including `` ` ``, must be
* escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
@@ -1253,20 +1306,25 @@ public Builder putFields(java.lang.String key, com.google.firestore.v1.Value val
*
*
* The document's fields.
+ *
* The map keys represent field names.
+ *
* A simple field name contains only characters `a` to `z`, `A` to `Z`,
* `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
* `foo_bar_17`.
+ *
* Field names matching the regular expression `__.*__` are reserved. Reserved
* field names are forbidden except in certain documented contexts. The map
* keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
* empty.
+ *
* Field paths may be used in other contexts to refer to structured fields
* defined here. For `map_value`, the field path is represented by the simple
* or quoted field names of the containing fields, delimited by `.`. For
* example, the structured field
* `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
* represented by the field path `foo.x&y`.
+ *
* Within a field path, a quoted field name starts and ends with `` ` `` and
* may contain any character. Some characters, including `` ` ``, must be
* escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
@@ -1293,6 +1351,7 @@ public Builder putAllFields(
*
*
* Output only. The time at which the document was created.
+ *
* This value increases monotonically when a document is deleted then
* recreated. It can also be compared to values from other documents and
* the `read_time` of a query.
@@ -1310,6 +1369,7 @@ public boolean hasCreateTime() {
*
*
* Output only. The time at which the document was created.
+ *
* This value increases monotonically when a document is deleted then
* recreated. It can also be compared to values from other documents and
* the `read_time` of a query.
@@ -1333,6 +1393,7 @@ public com.google.protobuf.Timestamp getCreateTime() {
*
*
* Output only. The time at which the document was created.
+ *
* This value increases monotonically when a document is deleted then
* recreated. It can also be compared to values from other documents and
* the `read_time` of a query.
@@ -1358,6 +1419,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp value) {
*
*
* Output only. The time at which the document was created.
+ *
* This value increases monotonically when a document is deleted then
* recreated. It can also be compared to values from other documents and
* the `read_time` of a query.
@@ -1380,6 +1442,7 @@ public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForVal
*
*
* Output only. The time at which the document was created.
+ *
* This value increases monotonically when a document is deleted then
* recreated. It can also be compared to values from other documents and
* the `read_time` of a query.
@@ -1408,6 +1471,7 @@ public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
*
*
* Output only. The time at which the document was created.
+ *
* This value increases monotonically when a document is deleted then
* recreated. It can also be compared to values from other documents and
* the `read_time` of a query.
@@ -1430,6 +1494,7 @@ public Builder clearCreateTime() {
*
*
* Output only. The time at which the document was created.
+ *
* This value increases monotonically when a document is deleted then
* recreated. It can also be compared to values from other documents and
* the `read_time` of a query.
@@ -1447,6 +1512,7 @@ public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
*
*
* Output only. The time at which the document was created.
+ *
* This value increases monotonically when a document is deleted then
* recreated. It can also be compared to values from other documents and
* the `read_time` of a query.
@@ -1468,6 +1534,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
*
* Output only. The time at which the document was created.
+ *
* This value increases monotonically when a document is deleted then
* recreated. It can also be compared to values from other documents and
* the `read_time` of a query.
@@ -1503,6 +1570,7 @@ public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
*
*
* Output only. The time at which the document was last changed.
+ *
* This value is initially set to the `create_time` then increases
* monotonically with each change to the document. It can also be
* compared to values from other documents and the `read_time` of a query.
@@ -1520,6 +1588,7 @@ public boolean hasUpdateTime() {
*
*
* Output only. The time at which the document was last changed.
+ *
* This value is initially set to the `create_time` then increases
* monotonically with each change to the document. It can also be
* compared to values from other documents and the `read_time` of a query.
@@ -1543,6 +1612,7 @@ public com.google.protobuf.Timestamp getUpdateTime() {
*
*
* Output only. The time at which the document was last changed.
+ *
* This value is initially set to the `create_time` then increases
* monotonically with each change to the document. It can also be
* compared to values from other documents and the `read_time` of a query.
@@ -1568,6 +1638,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp value) {
*
*
* Output only. The time at which the document was last changed.
+ *
* This value is initially set to the `create_time` then increases
* monotonically with each change to the document. It can also be
* compared to values from other documents and the `read_time` of a query.
@@ -1590,6 +1661,7 @@ public Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForVal
*
*
* Output only. The time at which the document was last changed.
+ *
* This value is initially set to the `create_time` then increases
* monotonically with each change to the document. It can also be
* compared to values from other documents and the `read_time` of a query.
@@ -1618,6 +1690,7 @@ public Builder mergeUpdateTime(com.google.protobuf.Timestamp value) {
*
*
* Output only. The time at which the document was last changed.
+ *
* This value is initially set to the `create_time` then increases
* monotonically with each change to the document. It can also be
* compared to values from other documents and the `read_time` of a query.
@@ -1640,6 +1713,7 @@ public Builder clearUpdateTime() {
*
*
* Output only. The time at which the document was last changed.
+ *
* This value is initially set to the `create_time` then increases
* monotonically with each change to the document. It can also be
* compared to values from other documents and the `read_time` of a query.
@@ -1657,6 +1731,7 @@ public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder() {
*
*
* Output only. The time at which the document was last changed.
+ *
* This value is initially set to the `create_time` then increases
* monotonically with each change to the document. It can also be
* compared to values from other documents and the `read_time` of a query.
@@ -1678,6 +1753,7 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() {
*
*
* Output only. The time at which the document was last changed.
+ *
* This value is initially set to the `create_time` then increases
* monotonically with each change to the document. It can also be
* compared to values from other documents and the `read_time` of a query.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java
index 0caf53ee55..22cb4753aa 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,9 +23,11 @@
*
*
* A [Document][google.firestore.v1.Document] has changed.
+ *
* May be the result of multiple [writes][google.firestore.v1.Write], including
* deletes, that ultimately resulted in a new value for the
* [Document][google.firestore.v1.Document].
+ *
* Multiple [DocumentChange][google.firestore.v1.DocumentChange] messages may be
* returned for the same logical change, if multiple targets are affected.
*
@@ -53,11 +55,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new DocumentChange();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.v1.WriteProto
.internal_static_google_firestore_v1_DocumentChange_descriptor;
@@ -80,6 +77,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* The new state of the [Document][google.firestore.v1.Document].
+ *
* If `mask` is set, contains only fields that were updated or added.
*
*
@@ -96,6 +94,7 @@ public boolean hasDocument() {
*
*
* The new state of the [Document][google.firestore.v1.Document].
+ *
* If `mask` is set, contains only fields that were updated or added.
*
*
@@ -112,6 +111,7 @@ public com.google.firestore.v1.Document getDocument() {
*
*
* The new state of the [Document][google.firestore.v1.Document].
+ *
* If `mask` is set, contains only fields that were updated or added.
*
*
@@ -444,9 +444,11 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* A [Document][google.firestore.v1.Document] has changed.
+ *
* May be the result of multiple [writes][google.firestore.v1.Write], including
* deletes, that ultimately resulted in a new value for the
* [Document][google.firestore.v1.Document].
+ *
* Multiple [DocumentChange][google.firestore.v1.DocumentChange] messages may be
* returned for the same logical change, if multiple targets are affected.
*
@@ -711,6 +713,7 @@ public Builder mergeFrom(
*
*
* The new state of the [Document][google.firestore.v1.Document].
+ *
* If `mask` is set, contains only fields that were updated or added.
*
*
@@ -726,6 +729,7 @@ public boolean hasDocument() {
*
*
* The new state of the [Document][google.firestore.v1.Document].
+ *
* If `mask` is set, contains only fields that were updated or added.
*
*
@@ -747,6 +751,7 @@ public com.google.firestore.v1.Document getDocument() {
*
*
* The new state of the [Document][google.firestore.v1.Document].
+ *
* If `mask` is set, contains only fields that were updated or added.
*
*
@@ -770,6 +775,7 @@ public Builder setDocument(com.google.firestore.v1.Document value) {
*
*
* The new state of the [Document][google.firestore.v1.Document].
+ *
* If `mask` is set, contains only fields that were updated or added.
*
*
@@ -790,6 +796,7 @@ public Builder setDocument(com.google.firestore.v1.Document.Builder builderForVa
*
*
* The new state of the [Document][google.firestore.v1.Document].
+ *
* If `mask` is set, contains only fields that were updated or added.
*
*
@@ -816,6 +823,7 @@ public Builder mergeDocument(com.google.firestore.v1.Document value) {
*
*
* The new state of the [Document][google.firestore.v1.Document].
+ *
* If `mask` is set, contains only fields that were updated or added.
*
*
@@ -836,6 +844,7 @@ public Builder clearDocument() {
*
*
* The new state of the [Document][google.firestore.v1.Document].
+ *
* If `mask` is set, contains only fields that were updated or added.
*
*
@@ -851,6 +860,7 @@ public com.google.firestore.v1.Document.Builder getDocumentBuilder() {
*
*
* The new state of the [Document][google.firestore.v1.Document].
+ *
* If `mask` is set, contains only fields that were updated or added.
*
*
@@ -870,6 +880,7 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentOrBuilder() {
*
*
* The new state of the [Document][google.firestore.v1.Document].
+ *
* If `mask` is set, contains only fields that were updated or added.
*
*
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChangeOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChangeOrBuilder.java
index faf5f3daba..eebcee49ae 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChangeOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChangeOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,6 +28,7 @@ public interface DocumentChangeOrBuilder
*
*
* The new state of the [Document][google.firestore.v1.Document].
+ *
* If `mask` is set, contains only fields that were updated or added.
*
*
@@ -41,6 +42,7 @@ public interface DocumentChangeOrBuilder
*
*
* The new state of the [Document][google.firestore.v1.Document].
+ *
* If `mask` is set, contains only fields that were updated or added.
*
*
@@ -54,6 +56,7 @@ public interface DocumentChangeOrBuilder
*
*
* The new state of the [Document][google.firestore.v1.Document].
+ *
* If `mask` is set, contains only fields that were updated or added.
*
*
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java
index 8cf3d6a685..6a6e63e802 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -23,9 +23,11 @@
*
*
* A [Document][google.firestore.v1.Document] has been deleted.
+ *
* May be the result of multiple [writes][google.firestore.v1.Write], including
* updates, the last of which deleted the
* [Document][google.firestore.v1.Document].
+ *
* Multiple [DocumentDelete][google.firestore.v1.DocumentDelete] messages may be
* returned for the same logical delete, if multiple targets are affected.
*
@@ -53,11 +55,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new DocumentDelete();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.v1.WriteProto
.internal_static_google_firestore_v1_DocumentDelete_descriptor;
@@ -184,6 +181,7 @@ public int getRemovedTargetIds(int index) {
*
*
* The read timestamp at which the delete was observed.
+ *
* Greater or equal to the `commit_time` of the delete.
*
*
@@ -200,6 +198,7 @@ public boolean hasReadTime() {
*
*
* The read timestamp at which the delete was observed.
+ *
* Greater or equal to the `commit_time` of the delete.
*
*
@@ -216,6 +215,7 @@ public com.google.protobuf.Timestamp getReadTime() {
*
*
* The read timestamp at which the delete was observed.
+ *
* Greater or equal to the `commit_time` of the delete.
*
*
@@ -430,9 +430,11 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* A [Document][google.firestore.v1.Document] has been deleted.
+ *
* May be the result of multiple [writes][google.firestore.v1.Write], including
* updates, the last of which deleted the
* [Document][google.firestore.v1.Document].
+ *
* Multiple [DocumentDelete][google.firestore.v1.DocumentDelete] messages may be
* returned for the same logical delete, if multiple targets are affected.
*
@@ -917,6 +919,7 @@ public Builder clearRemovedTargetIds() {
*
*
* The read timestamp at which the delete was observed.
+ *
* Greater or equal to the `commit_time` of the delete.
*
*
@@ -932,6 +935,7 @@ public boolean hasReadTime() {
*
*
* The read timestamp at which the delete was observed.
+ *
* Greater or equal to the `commit_time` of the delete.
*
*
@@ -951,6 +955,7 @@ public com.google.protobuf.Timestamp getReadTime() {
*
*
* The read timestamp at which the delete was observed.
+ *
* Greater or equal to the `commit_time` of the delete.
*
*
@@ -974,6 +979,7 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
*
*
* The read timestamp at which the delete was observed.
+ *
* Greater or equal to the `commit_time` of the delete.
*
*
@@ -994,6 +1000,7 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
*
*
* The read timestamp at which the delete was observed.
+ *
* Greater or equal to the `commit_time` of the delete.
*
*
@@ -1020,6 +1027,7 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
*
*
* The read timestamp at which the delete was observed.
+ *
* Greater or equal to the `commit_time` of the delete.
*
*
@@ -1040,6 +1048,7 @@ public Builder clearReadTime() {
*
*
* The read timestamp at which the delete was observed.
+ *
* Greater or equal to the `commit_time` of the delete.
*
*
@@ -1055,6 +1064,7 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
*
*
* The read timestamp at which the delete was observed.
+ *
* Greater or equal to the `commit_time` of the delete.
*
*
@@ -1072,6 +1082,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
*
*
* The read timestamp at which the delete was observed.
+ *
* Greater or equal to the `commit_time` of the delete.
*
*
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java
index 49b9524560..d09fba99e1 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -93,6 +93,7 @@ public interface DocumentDeleteOrBuilder
*
*
* The read timestamp at which the delete was observed.
+ *
* Greater or equal to the `commit_time` of the delete.
*
*
@@ -106,6 +107,7 @@ public interface DocumentDeleteOrBuilder
*
*
* The read timestamp at which the delete was observed.
+ *
* Greater or equal to the `commit_time` of the delete.
*
*
@@ -119,6 +121,7 @@ public interface DocumentDeleteOrBuilder
*
*
* The read timestamp at which the delete was observed.
+ *
* Greater or equal to the `commit_time` of the delete.
*
*
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java
index 2e7b517aed..062c453f1b 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -43,7 +43,7 @@ private DocumentMask(com.google.protobuf.GeneratedMessageV3.Builder> builder)
}
private DocumentMask() {
- fieldPaths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ fieldPaths_ = com.google.protobuf.LazyStringArrayList.emptyList();
}
@java.lang.Override
@@ -52,11 +52,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new DocumentMask();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.v1.CommonProto
.internal_static_google_firestore_v1_DocumentMask_descriptor;
@@ -75,7 +70,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
public static final int FIELD_PATHS_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
- private com.google.protobuf.LazyStringList fieldPaths_;
+ private com.google.protobuf.LazyStringArrayList fieldPaths_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
/**
*
*
@@ -351,8 +347,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
public Builder clear() {
super.clear();
bitField0_ = 0;
- fieldPaths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000001);
+ fieldPaths_ = com.google.protobuf.LazyStringArrayList.emptyList();
return this;
}
@@ -379,7 +374,6 @@ public com.google.firestore.v1.DocumentMask build() {
@java.lang.Override
public com.google.firestore.v1.DocumentMask buildPartial() {
com.google.firestore.v1.DocumentMask result = new com.google.firestore.v1.DocumentMask(this);
- buildPartialRepeatedFields(result);
if (bitField0_ != 0) {
buildPartial0(result);
}
@@ -387,16 +381,12 @@ public com.google.firestore.v1.DocumentMask buildPartial() {
return result;
}
- private void buildPartialRepeatedFields(com.google.firestore.v1.DocumentMask result) {
- if (((bitField0_ & 0x00000001) != 0)) {
- fieldPaths_ = fieldPaths_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000001);
- }
- result.fieldPaths_ = fieldPaths_;
- }
-
private void buildPartial0(com.google.firestore.v1.DocumentMask result) {
int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ fieldPaths_.makeImmutable();
+ result.fieldPaths_ = fieldPaths_;
+ }
}
@java.lang.Override
@@ -447,7 +437,7 @@ public Builder mergeFrom(com.google.firestore.v1.DocumentMask other) {
if (!other.fieldPaths_.isEmpty()) {
if (fieldPaths_.isEmpty()) {
fieldPaths_ = other.fieldPaths_;
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ |= 0x00000001;
} else {
ensureFieldPathsIsMutable();
fieldPaths_.addAll(other.fieldPaths_);
@@ -506,14 +496,14 @@ public Builder mergeFrom(
private int bitField0_;
- private com.google.protobuf.LazyStringList fieldPaths_ =
- com.google.protobuf.LazyStringArrayList.EMPTY;
+ private com.google.protobuf.LazyStringArrayList fieldPaths_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureFieldPathsIsMutable() {
- if (!((bitField0_ & 0x00000001) != 0)) {
+ if (!fieldPaths_.isModifiable()) {
fieldPaths_ = new com.google.protobuf.LazyStringArrayList(fieldPaths_);
- bitField0_ |= 0x00000001;
}
+ bitField0_ |= 0x00000001;
}
/**
*
@@ -529,7 +519,8 @@ private void ensureFieldPathsIsMutable() {
* @return A list containing the fieldPaths.
*/
public com.google.protobuf.ProtocolStringList getFieldPathsList() {
- return fieldPaths_.getUnmodifiableView();
+ fieldPaths_.makeImmutable();
+ return fieldPaths_;
}
/**
*
@@ -602,6 +593,7 @@ public Builder setFieldPaths(int index, java.lang.String value) {
}
ensureFieldPathsIsMutable();
fieldPaths_.set(index, value);
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -625,6 +617,7 @@ public Builder addFieldPaths(java.lang.String value) {
}
ensureFieldPathsIsMutable();
fieldPaths_.add(value);
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -645,6 +638,7 @@ public Builder addFieldPaths(java.lang.String value) {
public Builder addAllFieldPaths(java.lang.Iterable values) {
ensureFieldPathsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fieldPaths_);
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -662,8 +656,9 @@ public Builder addAllFieldPaths(java.lang.Iterable values) {
* @return This builder for chaining.
*/
public Builder clearFieldPaths() {
- fieldPaths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ fieldPaths_ = com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
+ ;
onChanged();
return this;
}
@@ -688,6 +683,7 @@ public Builder addFieldPathsBytes(com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ensureFieldPathsIsMutable();
fieldPaths_.add(value);
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java
index 7477603944..76baddf813 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentOrBuilder.java
index 6c80d8e2a0..f04f0d82a2 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -55,20 +55,25 @@ public interface DocumentOrBuilder
*
*
* The document's fields.
+ *
* The map keys represent field names.
+ *
* A simple field name contains only characters `a` to `z`, `A` to `Z`,
* `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
* `foo_bar_17`.
+ *
* Field names matching the regular expression `__.*__` are reserved. Reserved
* field names are forbidden except in certain documented contexts. The map
* keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
* empty.
+ *
* Field paths may be used in other contexts to refer to structured fields
* defined here. For `map_value`, the field path is represented by the simple
* or quoted field names of the containing fields, delimited by `.`. For
* example, the structured field
* `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
* represented by the field path `foo.x&y`.
+ *
* Within a field path, a quoted field name starts and ends with `` ` `` and
* may contain any character. Some characters, including `` ` ``, must be
* escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
@@ -83,20 +88,25 @@ public interface DocumentOrBuilder
*
*
* The document's fields.
+ *
* The map keys represent field names.
+ *
* A simple field name contains only characters `a` to `z`, `A` to `Z`,
* `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
* `foo_bar_17`.
+ *
* Field names matching the regular expression `__.*__` are reserved. Reserved
* field names are forbidden except in certain documented contexts. The map
* keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
* empty.
+ *
* Field paths may be used in other contexts to refer to structured fields
* defined here. For `map_value`, the field path is represented by the simple
* or quoted field names of the containing fields, delimited by `.`. For
* example, the structured field
* `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
* represented by the field path `foo.x&y`.
+ *
* Within a field path, a quoted field name starts and ends with `` ` `` and
* may contain any character. Some characters, including `` ` ``, must be
* escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
@@ -114,20 +124,25 @@ public interface DocumentOrBuilder
*
*
* The document's fields.
+ *
* The map keys represent field names.
+ *
* A simple field name contains only characters `a` to `z`, `A` to `Z`,
* `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
* `foo_bar_17`.
+ *
* Field names matching the regular expression `__.*__` are reserved. Reserved
* field names are forbidden except in certain documented contexts. The map
* keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
* empty.
+ *
* Field paths may be used in other contexts to refer to structured fields
* defined here. For `map_value`, the field path is represented by the simple
* or quoted field names of the containing fields, delimited by `.`. For
* example, the structured field
* `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
* represented by the field path `foo.x&y`.
+ *
* Within a field path, a quoted field name starts and ends with `` ` `` and
* may contain any character. Some characters, including `` ` ``, must be
* escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
@@ -142,20 +157,25 @@ public interface DocumentOrBuilder
*
*
* The document's fields.
+ *
* The map keys represent field names.
+ *
* A simple field name contains only characters `a` to `z`, `A` to `Z`,
* `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
* `foo_bar_17`.
+ *
* Field names matching the regular expression `__.*__` are reserved. Reserved
* field names are forbidden except in certain documented contexts. The map
* keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
* empty.
+ *
* Field paths may be used in other contexts to refer to structured fields
* defined here. For `map_value`, the field path is represented by the simple
* or quoted field names of the containing fields, delimited by `.`. For
* example, the structured field
* `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
* represented by the field path `foo.x&y`.
+ *
* Within a field path, a quoted field name starts and ends with `` ` `` and
* may contain any character. Some characters, including `` ` ``, must be
* escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
@@ -174,20 +194,25 @@ com.google.firestore.v1.Value getFieldsOrDefault(
*
*
* The document's fields.
+ *
* The map keys represent field names.
+ *
* A simple field name contains only characters `a` to `z`, `A` to `Z`,
* `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
* `foo_bar_17`.
+ *
* Field names matching the regular expression `__.*__` are reserved. Reserved
* field names are forbidden except in certain documented contexts. The map
* keys, represented as UTF-8, must not exceed 1,500 bytes and cannot be
* empty.
+ *
* Field paths may be used in other contexts to refer to structured fields
* defined here. For `map_value`, the field path is represented by the simple
* or quoted field names of the containing fields, delimited by `.`. For
* example, the structured field
* `"foo" : { map_value: { "x&y" : { string_value: "hello" }}}` would be
* represented by the field path `foo.x&y`.
+ *
* Within a field path, a quoted field name starts and ends with `` ` `` and
* may contain any character. Some characters, including `` ` ``, must be
* escaped using a `\`. For example, `` `x&y` `` represents `x&y` and
@@ -203,6 +228,7 @@ com.google.firestore.v1.Value getFieldsOrDefault(
*
*
* Output only. The time at which the document was created.
+ *
* This value increases monotonically when a document is deleted then
* recreated. It can also be compared to values from other documents and
* the `read_time` of a query.
@@ -218,6 +244,7 @@ com.google.firestore.v1.Value getFieldsOrDefault(
*
*
* Output only. The time at which the document was created.
+ *
* This value increases monotonically when a document is deleted then
* recreated. It can also be compared to values from other documents and
* the `read_time` of a query.
@@ -233,6 +260,7 @@ com.google.firestore.v1.Value getFieldsOrDefault(
*
*
* Output only. The time at which the document was created.
+ *
* This value increases monotonically when a document is deleted then
* recreated. It can also be compared to values from other documents and
* the `read_time` of a query.
@@ -247,6 +275,7 @@ com.google.firestore.v1.Value getFieldsOrDefault(
*
*
* Output only. The time at which the document was last changed.
+ *
* This value is initially set to the `create_time` then increases
* monotonically with each change to the document. It can also be
* compared to values from other documents and the `read_time` of a query.
@@ -262,6 +291,7 @@ com.google.firestore.v1.Value getFieldsOrDefault(
*
*
* Output only. The time at which the document was last changed.
+ *
* This value is initially set to the `create_time` then increases
* monotonically with each change to the document. It can also be
* compared to values from other documents and the `read_time` of a query.
@@ -277,6 +307,7 @@ com.google.firestore.v1.Value getFieldsOrDefault(
*
*
* Output only. The time at which the document was last changed.
+ *
* This value is initially set to the `create_time` then increases
* monotonically with each change to the document. It can also be
* compared to values from other documents and the `read_time` of a query.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java
index a5fbc45495..dbd5f29ceb 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemove.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemove.java
index 1f4f683002..d8489a1b36 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemove.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemove.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -24,9 +24,11 @@
*
* A [Document][google.firestore.v1.Document] has been removed from the view of
* the targets.
+ *
* Sent if the document is no longer relevant to a target and is out of view.
* Can be sent instead of a DocumentDelete or a DocumentChange if the server
* can not send the new value of the document.
+ *
* Multiple [DocumentRemove][google.firestore.v1.DocumentRemove] messages may be
* returned for the same logical write or delete, if multiple targets are
* affected.
@@ -55,11 +57,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new DocumentRemove();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.v1.WriteProto
.internal_static_google_firestore_v1_DocumentRemove_descriptor;
@@ -186,6 +183,7 @@ public int getRemovedTargetIds(int index) {
*
*
* The read timestamp at which the remove was observed.
+ *
* Greater or equal to the `commit_time` of the change/delete/remove.
*
*
@@ -202,6 +200,7 @@ public boolean hasReadTime() {
*
*
* The read timestamp at which the remove was observed.
+ *
* Greater or equal to the `commit_time` of the change/delete/remove.
*
*
@@ -218,6 +217,7 @@ public com.google.protobuf.Timestamp getReadTime() {
*
*
* The read timestamp at which the remove was observed.
+ *
* Greater or equal to the `commit_time` of the change/delete/remove.
*
*
@@ -433,9 +433,11 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
* A [Document][google.firestore.v1.Document] has been removed from the view of
* the targets.
+ *
* Sent if the document is no longer relevant to a target and is out of view.
* Can be sent instead of a DocumentDelete or a DocumentChange if the server
* can not send the new value of the document.
+ *
* Multiple [DocumentRemove][google.firestore.v1.DocumentRemove] messages may be
* returned for the same logical write or delete, if multiple targets are
* affected.
@@ -921,6 +923,7 @@ public Builder clearRemovedTargetIds() {
*
*
* The read timestamp at which the remove was observed.
+ *
* Greater or equal to the `commit_time` of the change/delete/remove.
*
*
@@ -936,6 +939,7 @@ public boolean hasReadTime() {
*
*
* The read timestamp at which the remove was observed.
+ *
* Greater or equal to the `commit_time` of the change/delete/remove.
*
*
@@ -955,6 +959,7 @@ public com.google.protobuf.Timestamp getReadTime() {
*
*
* The read timestamp at which the remove was observed.
+ *
* Greater or equal to the `commit_time` of the change/delete/remove.
*
*
@@ -978,6 +983,7 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
*
*
* The read timestamp at which the remove was observed.
+ *
* Greater or equal to the `commit_time` of the change/delete/remove.
*
*
@@ -998,6 +1004,7 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
*
*
* The read timestamp at which the remove was observed.
+ *
* Greater or equal to the `commit_time` of the change/delete/remove.
*
*
@@ -1024,6 +1031,7 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
*
*
* The read timestamp at which the remove was observed.
+ *
* Greater or equal to the `commit_time` of the change/delete/remove.
*
*
@@ -1044,6 +1052,7 @@ public Builder clearReadTime() {
*
*
* The read timestamp at which the remove was observed.
+ *
* Greater or equal to the `commit_time` of the change/delete/remove.
*
*
@@ -1059,6 +1068,7 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
*
*
* The read timestamp at which the remove was observed.
+ *
* Greater or equal to the `commit_time` of the change/delete/remove.
*
*
@@ -1076,6 +1086,7 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
*
*
* The read timestamp at which the remove was observed.
+ *
* Greater or equal to the `commit_time` of the change/delete/remove.
*
*
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java
index de610bbe28..8aea4177f8 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -93,6 +93,7 @@ public interface DocumentRemoveOrBuilder
*
*
* The read timestamp at which the remove was observed.
+ *
* Greater or equal to the `commit_time` of the change/delete/remove.
*
*
@@ -106,6 +107,7 @@ public interface DocumentRemoveOrBuilder
*
*
* The read timestamp at which the remove was observed.
+ *
* Greater or equal to the `commit_time` of the change/delete/remove.
*
*
@@ -119,6 +121,7 @@ public interface DocumentRemoveOrBuilder
*
*
* The read timestamp at which the remove was observed.
+ *
* Greater or equal to the `commit_time` of the change/delete/remove.
*
*
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java
index c20a45caff..01eea20b49 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -48,11 +48,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new DocumentTransform();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.v1.WriteProto
.internal_static_google_firestore_v1_DocumentTransform_descriptor;
@@ -150,6 +145,7 @@ public interface FieldTransformOrBuilder
*
*
* Adds the given value to the field's current value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the given value.
@@ -170,6 +166,7 @@ public interface FieldTransformOrBuilder
*
*
* Adds the given value to the field's current value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the given value.
@@ -190,6 +187,7 @@ public interface FieldTransformOrBuilder
*
*
* Adds the given value to the field's current value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the given value.
@@ -209,6 +207,7 @@ public interface FieldTransformOrBuilder
*
*
* Sets the field to the maximum of its current value and the given value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the given value.
@@ -231,6 +230,7 @@ public interface FieldTransformOrBuilder
*
*
* Sets the field to the maximum of its current value and the given value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the given value.
@@ -253,6 +253,7 @@ public interface FieldTransformOrBuilder
*
*
* Sets the field to the maximum of its current value and the given value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the given value.
@@ -274,6 +275,7 @@ public interface FieldTransformOrBuilder
*
*
* Sets the field to the minimum of its current value and the given value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the input value.
@@ -296,6 +298,7 @@ public interface FieldTransformOrBuilder
*
*
* Sets the field to the minimum of its current value and the given value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the input value.
@@ -318,6 +321,7 @@ public interface FieldTransformOrBuilder
*
*
* Sets the field to the minimum of its current value and the given value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the input value.
@@ -342,11 +346,13 @@ public interface FieldTransformOrBuilder
* the current field value.
* If the field is not an array, or if the field does not yet exist, it is
* first set to the empty array.
+ *
* Equivalent numbers of different types (e.g. 3L and 3.0) are
* considered equal when checking if a value is missing.
* NaN is equal to NaN, and Null is equal to Null.
* If the input contains multiple equivalent values, only the first will
* be considered.
+ *
* The corresponding transform_result will be the null value.
*
*
@@ -363,11 +369,13 @@ public interface FieldTransformOrBuilder
* the current field value.
* If the field is not an array, or if the field does not yet exist, it is
* first set to the empty array.
+ *
* Equivalent numbers of different types (e.g. 3L and 3.0) are
* considered equal when checking if a value is missing.
* NaN is equal to NaN, and Null is equal to Null.
* If the input contains multiple equivalent values, only the first will
* be considered.
+ *
* The corresponding transform_result will be the null value.
*
*
@@ -384,11 +392,13 @@ public interface FieldTransformOrBuilder
* the current field value.
* If the field is not an array, or if the field does not yet exist, it is
* first set to the empty array.
+ *
* Equivalent numbers of different types (e.g. 3L and 3.0) are
* considered equal when checking if a value is missing.
* NaN is equal to NaN, and Null is equal to Null.
* If the input contains multiple equivalent values, only the first will
* be considered.
+ *
* The corresponding transform_result will be the null value.
*
*
@@ -403,10 +413,12 @@ public interface FieldTransformOrBuilder
* Remove all of the given elements from the array in the field.
* If the field is not an array, or if the field does not yet exist, it is
* set to the empty array.
+ *
* Equivalent numbers of the different types (e.g. 3L and 3.0) are
* considered equal when deciding whether an element should be removed.
* NaN is equal to NaN, and Null is equal to Null.
* This will remove all equivalent values if there are duplicates.
+ *
* The corresponding transform_result will be the null value.
*
*
@@ -422,10 +434,12 @@ public interface FieldTransformOrBuilder
* Remove all of the given elements from the array in the field.
* If the field is not an array, or if the field does not yet exist, it is
* set to the empty array.
+ *
* Equivalent numbers of the different types (e.g. 3L and 3.0) are
* considered equal when deciding whether an element should be removed.
* NaN is equal to NaN, and Null is equal to Null.
* This will remove all equivalent values if there are duplicates.
+ *
* The corresponding transform_result will be the null value.
*
*
@@ -441,10 +455,12 @@ public interface FieldTransformOrBuilder
* Remove all of the given elements from the array in the field.
* If the field is not an array, or if the field does not yet exist, it is
* set to the empty array.
+ *
* Equivalent numbers of the different types (e.g. 3L and 3.0) are
* considered equal when deciding whether an element should be removed.
* NaN is equal to NaN, and Null is equal to Null.
* This will remove all equivalent values if there are duplicates.
+ *
* The corresponding transform_result will be the null value.
*
*
@@ -452,7 +468,7 @@ public interface FieldTransformOrBuilder
*/
com.google.firestore.v1.ArrayValueOrBuilder getRemoveAllFromArrayOrBuilder();
- public com.google.firestore.v1.DocumentTransform.FieldTransform.TransformTypeCase
+ com.google.firestore.v1.DocumentTransform.FieldTransform.TransformTypeCase
getTransformTypeCase();
}
/**
@@ -484,11 +500,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new FieldTransform();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.v1.WriteProto
.internal_static_google_firestore_v1_DocumentTransform_FieldTransform_descriptor;
@@ -646,6 +657,8 @@ private ServerValue(int value) {
}
private int transformTypeCase_ = 0;
+
+ @SuppressWarnings("serial")
private java.lang.Object transformType_;
public enum TransformTypeCase
@@ -828,6 +841,7 @@ public int getSetToServerValueValue() {
*
*
* Adds the given value to the field's current value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the given value.
@@ -851,6 +865,7 @@ public boolean hasIncrement() {
*
*
* Adds the given value to the field's current value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the given value.
@@ -877,6 +892,7 @@ public com.google.firestore.v1.Value getIncrement() {
*
*
* Adds the given value to the field's current value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the given value.
@@ -903,6 +919,7 @@ public com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder() {
*
*
* Sets the field to the maximum of its current value and the given value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the given value.
@@ -928,6 +945,7 @@ public boolean hasMaximum() {
*
*
* Sets the field to the maximum of its current value and the given value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the given value.
@@ -956,6 +974,7 @@ public com.google.firestore.v1.Value getMaximum() {
*
*
* Sets the field to the maximum of its current value and the given value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the given value.
@@ -984,6 +1003,7 @@ public com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder() {
*
*
* Sets the field to the minimum of its current value and the given value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the input value.
@@ -1009,6 +1029,7 @@ public boolean hasMinimum() {
*
*
* Sets the field to the minimum of its current value and the given value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the input value.
@@ -1037,6 +1058,7 @@ public com.google.firestore.v1.Value getMinimum() {
*
*
* Sets the field to the minimum of its current value and the given value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the input value.
@@ -1068,11 +1090,13 @@ public com.google.firestore.v1.ValueOrBuilder getMinimumOrBuilder() {
* the current field value.
* If the field is not an array, or if the field does not yet exist, it is
* first set to the empty array.
+ *
* Equivalent numbers of different types (e.g. 3L and 3.0) are
* considered equal when checking if a value is missing.
* NaN is equal to NaN, and Null is equal to Null.
* If the input contains multiple equivalent values, only the first will
* be considered.
+ *
* The corresponding transform_result will be the null value.
*
*
@@ -1092,11 +1116,13 @@ public boolean hasAppendMissingElements() {
* the current field value.
* If the field is not an array, or if the field does not yet exist, it is
* first set to the empty array.
+ *
* Equivalent numbers of different types (e.g. 3L and 3.0) are
* considered equal when checking if a value is missing.
* NaN is equal to NaN, and Null is equal to Null.
* If the input contains multiple equivalent values, only the first will
* be considered.
+ *
* The corresponding transform_result will be the null value.
*
*
@@ -1119,11 +1145,13 @@ public com.google.firestore.v1.ArrayValue getAppendMissingElements() {
* the current field value.
* If the field is not an array, or if the field does not yet exist, it is
* first set to the empty array.
+ *
* Equivalent numbers of different types (e.g. 3L and 3.0) are
* considered equal when checking if a value is missing.
* NaN is equal to NaN, and Null is equal to Null.
* If the input contains multiple equivalent values, only the first will
* be considered.
+ *
* The corresponding transform_result will be the null value.
*
*
@@ -1145,10 +1173,12 @@ public com.google.firestore.v1.ArrayValueOrBuilder getAppendMissingElementsOrBui
* Remove all of the given elements from the array in the field.
* If the field is not an array, or if the field does not yet exist, it is
* set to the empty array.
+ *
* Equivalent numbers of the different types (e.g. 3L and 3.0) are
* considered equal when deciding whether an element should be removed.
* NaN is equal to NaN, and Null is equal to Null.
* This will remove all equivalent values if there are duplicates.
+ *
* The corresponding transform_result will be the null value.
*
*
@@ -1167,10 +1197,12 @@ public boolean hasRemoveAllFromArray() {
* Remove all of the given elements from the array in the field.
* If the field is not an array, or if the field does not yet exist, it is
* set to the empty array.
+ *
* Equivalent numbers of the different types (e.g. 3L and 3.0) are
* considered equal when deciding whether an element should be removed.
* NaN is equal to NaN, and Null is equal to Null.
* This will remove all equivalent values if there are duplicates.
+ *
* The corresponding transform_result will be the null value.
*
*
@@ -1192,10 +1224,12 @@ public com.google.firestore.v1.ArrayValue getRemoveAllFromArray() {
* Remove all of the given elements from the array in the field.
* If the field is not an array, or if the field does not yet exist, it is
* set to the empty array.
+ *
* Equivalent numbers of the different types (e.g. 3L and 3.0) are
* considered equal when deciding whether an element should be removed.
* NaN is equal to NaN, and Null is equal to Null.
* This will remove all equivalent values if there are duplicates.
+ *
* The corresponding transform_result will be the null value.
*
*
@@ -2039,6 +2073,7 @@ public Builder clearSetToServerValue() {
*
*
* Adds the given value to the field's current value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the given value.
@@ -2062,6 +2097,7 @@ public boolean hasIncrement() {
*
*
* Adds the given value to the field's current value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the given value.
@@ -2095,6 +2131,7 @@ public com.google.firestore.v1.Value getIncrement() {
*
*
* Adds the given value to the field's current value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the given value.
@@ -2125,6 +2162,7 @@ public Builder setIncrement(com.google.firestore.v1.Value value) {
*
*
* Adds the given value to the field's current value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the given value.
@@ -2152,6 +2190,7 @@ public Builder setIncrement(com.google.firestore.v1.Value.Builder builderForValu
*
*
* Adds the given value to the field's current value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the given value.
@@ -2192,6 +2231,7 @@ public Builder mergeIncrement(com.google.firestore.v1.Value value) {
*
*
* Adds the given value to the field's current value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the given value.
@@ -2225,6 +2265,7 @@ public Builder clearIncrement() {
*
*
* Adds the given value to the field's current value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the given value.
@@ -2245,6 +2286,7 @@ public com.google.firestore.v1.Value.Builder getIncrementBuilder() {
*
*
* Adds the given value to the field's current value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the given value.
@@ -2273,6 +2315,7 @@ public com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder() {
*
*
* Adds the given value to the field's current value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the given value.
@@ -2319,6 +2362,7 @@ public com.google.firestore.v1.ValueOrBuilder getIncrementOrBuilder() {
*
*
* Sets the field to the maximum of its current value and the given value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the given value.
@@ -2344,6 +2388,7 @@ public boolean hasMaximum() {
*
*
* Sets the field to the maximum of its current value and the given value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the given value.
@@ -2379,6 +2424,7 @@ public com.google.firestore.v1.Value getMaximum() {
*
*
* Sets the field to the maximum of its current value and the given value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the given value.
@@ -2411,6 +2457,7 @@ public Builder setMaximum(com.google.firestore.v1.Value value) {
*
*
* Sets the field to the maximum of its current value and the given value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the given value.
@@ -2440,6 +2487,7 @@ public Builder setMaximum(com.google.firestore.v1.Value.Builder builderForValue)
*
*
* Sets the field to the maximum of its current value and the given value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the given value.
@@ -2482,6 +2530,7 @@ public Builder mergeMaximum(com.google.firestore.v1.Value value) {
*
*
* Sets the field to the maximum of its current value and the given value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the given value.
@@ -2517,6 +2566,7 @@ public Builder clearMaximum() {
*
*
* Sets the field to the maximum of its current value and the given value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the given value.
@@ -2539,6 +2589,7 @@ public com.google.firestore.v1.Value.Builder getMaximumBuilder() {
*
*
* Sets the field to the maximum of its current value and the given value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the given value.
@@ -2569,6 +2620,7 @@ public com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder() {
*
*
* Sets the field to the maximum of its current value and the given value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the given value.
@@ -2617,6 +2669,7 @@ public com.google.firestore.v1.ValueOrBuilder getMaximumOrBuilder() {
*
*
* Sets the field to the minimum of its current value and the given value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the input value.
@@ -2642,6 +2695,7 @@ public boolean hasMinimum() {
*
*
* Sets the field to the minimum of its current value and the given value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the input value.
@@ -2677,6 +2731,7 @@ public com.google.firestore.v1.Value getMinimum() {
*
*
* Sets the field to the minimum of its current value and the given value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the input value.
@@ -2709,6 +2764,7 @@ public Builder setMinimum(com.google.firestore.v1.Value value) {
*
*
* Sets the field to the minimum of its current value and the given value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the input value.
@@ -2738,6 +2794,7 @@ public Builder setMinimum(com.google.firestore.v1.Value.Builder builderForValue)
*
*
* Sets the field to the minimum of its current value and the given value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the input value.
@@ -2780,6 +2837,7 @@ public Builder mergeMinimum(com.google.firestore.v1.Value value) {
*
*
* Sets the field to the minimum of its current value and the given value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the input value.
@@ -2815,6 +2873,7 @@ public Builder clearMinimum() {
*
*
* Sets the field to the minimum of its current value and the given value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the input value.
@@ -2837,6 +2896,7 @@ public com.google.firestore.v1.Value.Builder getMinimumBuilder() {
*
*
* Sets the field to the minimum of its current value and the given value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the input value.
@@ -2867,6 +2927,7 @@ public com.google.firestore.v1.ValueOrBuilder getMinimumOrBuilder() {
*
*
* Sets the field to the minimum of its current value and the given value.
+ *
* This must be an integer or a double value.
* If the field is not an integer or double, or if the field does not yet
* exist, the transformation will set the field to the input value.
@@ -2918,11 +2979,13 @@ public com.google.firestore.v1.ValueOrBuilder getMinimumOrBuilder() {
* the current field value.
* If the field is not an array, or if the field does not yet exist, it is
* first set to the empty array.
+ *
* Equivalent numbers of different types (e.g. 3L and 3.0) are
* considered equal when checking if a value is missing.
* NaN is equal to NaN, and Null is equal to Null.
* If the input contains multiple equivalent values, only the first will
* be considered.
+ *
* The corresponding transform_result will be the null value.
*
*
@@ -2942,11 +3005,13 @@ public boolean hasAppendMissingElements() {
* the current field value.
* If the field is not an array, or if the field does not yet exist, it is
* first set to the empty array.
+ *
* Equivalent numbers of different types (e.g. 3L and 3.0) are
* considered equal when checking if a value is missing.
* NaN is equal to NaN, and Null is equal to Null.
* If the input contains multiple equivalent values, only the first will
* be considered.
+ *
* The corresponding transform_result will be the null value.
*
*
@@ -2976,11 +3041,13 @@ public com.google.firestore.v1.ArrayValue getAppendMissingElements() {
* the current field value.
* If the field is not an array, or if the field does not yet exist, it is
* first set to the empty array.
+ *
* Equivalent numbers of different types (e.g. 3L and 3.0) are
* considered equal when checking if a value is missing.
* NaN is equal to NaN, and Null is equal to Null.
* If the input contains multiple equivalent values, only the first will
* be considered.
+ *
* The corresponding transform_result will be the null value.
*
*
@@ -3007,11 +3074,13 @@ public Builder setAppendMissingElements(com.google.firestore.v1.ArrayValue value
* the current field value.
* If the field is not an array, or if the field does not yet exist, it is
* first set to the empty array.
+ *
* Equivalent numbers of different types (e.g. 3L and 3.0) are
* considered equal when checking if a value is missing.
* NaN is equal to NaN, and Null is equal to Null.
* If the input contains multiple equivalent values, only the first will
* be considered.
+ *
* The corresponding transform_result will be the null value.
*
*
@@ -3036,11 +3105,13 @@ public Builder setAppendMissingElements(
* the current field value.
* If the field is not an array, or if the field does not yet exist, it is
* first set to the empty array.
+ *
* Equivalent numbers of different types (e.g. 3L and 3.0) are
* considered equal when checking if a value is missing.
* NaN is equal to NaN, and Null is equal to Null.
* If the input contains multiple equivalent values, only the first will
* be considered.
+ *
* The corresponding transform_result will be the null value.
*
*
@@ -3077,11 +3148,13 @@ public Builder mergeAppendMissingElements(com.google.firestore.v1.ArrayValue val
* the current field value.
* If the field is not an array, or if the field does not yet exist, it is
* first set to the empty array.
+ *
* Equivalent numbers of different types (e.g. 3L and 3.0) are
* considered equal when checking if a value is missing.
* NaN is equal to NaN, and Null is equal to Null.
* If the input contains multiple equivalent values, only the first will
* be considered.
+ *
* The corresponding transform_result will be the null value.
*
*
@@ -3111,11 +3184,13 @@ public Builder clearAppendMissingElements() {
* the current field value.
* If the field is not an array, or if the field does not yet exist, it is
* first set to the empty array.
+ *
* Equivalent numbers of different types (e.g. 3L and 3.0) are
* considered equal when checking if a value is missing.
* NaN is equal to NaN, and Null is equal to Null.
* If the input contains multiple equivalent values, only the first will
* be considered.
+ *
* The corresponding transform_result will be the null value.
*
*
@@ -3132,11 +3207,13 @@ public com.google.firestore.v1.ArrayValue.Builder getAppendMissingElementsBuilde
* the current field value.
* If the field is not an array, or if the field does not yet exist, it is
* first set to the empty array.
+ *
* Equivalent numbers of different types (e.g. 3L and 3.0) are
* considered equal when checking if a value is missing.
* NaN is equal to NaN, and Null is equal to Null.
* If the input contains multiple equivalent values, only the first will
* be considered.
+ *
* The corresponding transform_result will be the null value.
*
*
@@ -3161,11 +3238,13 @@ public com.google.firestore.v1.ArrayValueOrBuilder getAppendMissingElementsOrBui
* the current field value.
* If the field is not an array, or if the field does not yet exist, it is
* first set to the empty array.
+ *
* Equivalent numbers of different types (e.g. 3L and 3.0) are
* considered equal when checking if a value is missing.
* NaN is equal to NaN, and Null is equal to Null.
* If the input contains multiple equivalent values, only the first will
* be considered.
+ *
* The corresponding transform_result will be the null value.
*
*
@@ -3207,10 +3286,12 @@ public com.google.firestore.v1.ArrayValueOrBuilder getAppendMissingElementsOrBui
* Remove all of the given elements from the array in the field.
* If the field is not an array, or if the field does not yet exist, it is
* set to the empty array.
+ *
* Equivalent numbers of the different types (e.g. 3L and 3.0) are
* considered equal when deciding whether an element should be removed.
* NaN is equal to NaN, and Null is equal to Null.
* This will remove all equivalent values if there are duplicates.
+ *
* The corresponding transform_result will be the null value.
*
*
@@ -3229,10 +3310,12 @@ public boolean hasRemoveAllFromArray() {
* Remove all of the given elements from the array in the field.
* If the field is not an array, or if the field does not yet exist, it is
* set to the empty array.
+ *
* Equivalent numbers of the different types (e.g. 3L and 3.0) are
* considered equal when deciding whether an element should be removed.
* NaN is equal to NaN, and Null is equal to Null.
* This will remove all equivalent values if there are duplicates.
+ *
* The corresponding transform_result will be the null value.
*
*
@@ -3261,10 +3344,12 @@ public com.google.firestore.v1.ArrayValue getRemoveAllFromArray() {
* Remove all of the given elements from the array in the field.
* If the field is not an array, or if the field does not yet exist, it is
* set to the empty array.
+ *
* Equivalent numbers of the different types (e.g. 3L and 3.0) are
* considered equal when deciding whether an element should be removed.
* NaN is equal to NaN, and Null is equal to Null.
* This will remove all equivalent values if there are duplicates.
+ *
* The corresponding transform_result will be the null value.
*
*
@@ -3290,10 +3375,12 @@ public Builder setRemoveAllFromArray(com.google.firestore.v1.ArrayValue value) {
* Remove all of the given elements from the array in the field.
* If the field is not an array, or if the field does not yet exist, it is
* set to the empty array.
+ *
* Equivalent numbers of the different types (e.g. 3L and 3.0) are
* considered equal when deciding whether an element should be removed.
* NaN is equal to NaN, and Null is equal to Null.
* This will remove all equivalent values if there are duplicates.
+ *
* The corresponding transform_result will be the null value.
*
*
@@ -3317,10 +3404,12 @@ public Builder setRemoveAllFromArray(
* Remove all of the given elements from the array in the field.
* If the field is not an array, or if the field does not yet exist, it is
* set to the empty array.
+ *
* Equivalent numbers of the different types (e.g. 3L and 3.0) are
* considered equal when deciding whether an element should be removed.
* NaN is equal to NaN, and Null is equal to Null.
* This will remove all equivalent values if there are duplicates.
+ *
* The corresponding transform_result will be the null value.
*
*
@@ -3356,10 +3445,12 @@ public Builder mergeRemoveAllFromArray(com.google.firestore.v1.ArrayValue value)
* Remove all of the given elements from the array in the field.
* If the field is not an array, or if the field does not yet exist, it is
* set to the empty array.
+ *
* Equivalent numbers of the different types (e.g. 3L and 3.0) are
* considered equal when deciding whether an element should be removed.
* NaN is equal to NaN, and Null is equal to Null.
* This will remove all equivalent values if there are duplicates.
+ *
* The corresponding transform_result will be the null value.
*
*
@@ -3388,10 +3479,12 @@ public Builder clearRemoveAllFromArray() {
* Remove all of the given elements from the array in the field.
* If the field is not an array, or if the field does not yet exist, it is
* set to the empty array.
+ *
* Equivalent numbers of the different types (e.g. 3L and 3.0) are
* considered equal when deciding whether an element should be removed.
* NaN is equal to NaN, and Null is equal to Null.
* This will remove all equivalent values if there are duplicates.
+ *
* The corresponding transform_result will be the null value.
*
*
@@ -3407,10 +3500,12 @@ public com.google.firestore.v1.ArrayValue.Builder getRemoveAllFromArrayBuilder()
* Remove all of the given elements from the array in the field.
* If the field is not an array, or if the field does not yet exist, it is
* set to the empty array.
+ *
* Equivalent numbers of the different types (e.g. 3L and 3.0) are
* considered equal when deciding whether an element should be removed.
* NaN is equal to NaN, and Null is equal to Null.
* This will remove all equivalent values if there are duplicates.
+ *
* The corresponding transform_result will be the null value.
*
*
@@ -3434,10 +3529,12 @@ public com.google.firestore.v1.ArrayValueOrBuilder getRemoveAllFromArrayOrBuilde
* Remove all of the given elements from the array in the field.
* If the field is not an array, or if the field does not yet exist, it is
* set to the empty array.
+ *
* Equivalent numbers of the different types (e.g. 3L and 3.0) are
* considered equal when deciding whether an element should be removed.
* NaN is equal to NaN, and Null is equal to Null.
* This will remove all equivalent values if there are duplicates.
+ *
* The corresponding transform_result will be the null value.
*
*
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransformOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransformOrBuilder.java
index 455bbc270f..6abbe2fafa 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransformOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransformOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java
index 6e907a27fd..dfffe7d214 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ExistenceFilter();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.v1.WriteProto
.internal_static_google_firestore_v1_ExistenceFilter_descriptor;
@@ -91,8 +86,14 @@ public int getTargetId() {
*
* The total count of documents that match
* [target_id][google.firestore.v1.ExistenceFilter.target_id].
+ *
* If different from the count of documents in the client that match, the
* client must manually determine which documents no longer match the target.
+ *
+ * The client can use the `unchanged_names` bloom filter to assist with
+ * this determination by testing ALL the document names against the filter;
+ * if the document name is NOT in the filter, it means the document no
+ * longer matches the target.
*
*
* int32 count = 2;
@@ -110,12 +111,11 @@ public int getCount() {
*
*
*
- * A bloom filter that contains the UTF-8 byte encodings of the resource names
- * of the documents that match
+ * A bloom filter that, despite its name, contains the UTF-8 byte encodings of
+ * the resource names of ALL the documents that match
* [target_id][google.firestore.v1.ExistenceFilter.target_id], in the form
- * `projects/{project_id}/databases/{database_id}/documents/{document_path}`
- * that have NOT changed since the query results indicated by the resume token
- * or timestamp given in `Target.resume_type`.
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
* This bloom filter may be omitted at the server's discretion, such as if it
* is deemed that the client will not make use of it or if it is too
* computationally expensive to calculate or transmit. Clients must gracefully
@@ -136,12 +136,11 @@ public boolean hasUnchangedNames() {
*
*
*
- * A bloom filter that contains the UTF-8 byte encodings of the resource names
- * of the documents that match
+ * A bloom filter that, despite its name, contains the UTF-8 byte encodings of
+ * the resource names of ALL the documents that match
* [target_id][google.firestore.v1.ExistenceFilter.target_id], in the form
- * `projects/{project_id}/databases/{database_id}/documents/{document_path}`
- * that have NOT changed since the query results indicated by the resume token
- * or timestamp given in `Target.resume_type`.
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
* This bloom filter may be omitted at the server's discretion, such as if it
* is deemed that the client will not make use of it or if it is too
* computationally expensive to calculate or transmit. Clients must gracefully
@@ -164,12 +163,11 @@ public com.google.firestore.v1.BloomFilter getUnchangedNames() {
*
*
*
- * A bloom filter that contains the UTF-8 byte encodings of the resource names
- * of the documents that match
+ * A bloom filter that, despite its name, contains the UTF-8 byte encodings of
+ * the resource names of ALL the documents that match
* [target_id][google.firestore.v1.ExistenceFilter.target_id], in the form
- * `projects/{project_id}/databases/{database_id}/documents/{document_path}`
- * that have NOT changed since the query results indicated by the resume token
- * or timestamp given in `Target.resume_type`.
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
* This bloom filter may be omitted at the server's discretion, such as if it
* is deemed that the client will not make use of it or if it is too
* computationally expensive to calculate or transmit. Clients must gracefully
@@ -639,8 +637,14 @@ public Builder clearTargetId() {
*
* The total count of documents that match
* [target_id][google.firestore.v1.ExistenceFilter.target_id].
+ *
* If different from the count of documents in the client that match, the
* client must manually determine which documents no longer match the target.
+ *
+ * The client can use the `unchanged_names` bloom filter to assist with
+ * this determination by testing ALL the document names against the filter;
+ * if the document name is NOT in the filter, it means the document no
+ * longer matches the target.
*
*
* int32 count = 2;
@@ -657,8 +661,14 @@ public int getCount() {
*
* The total count of documents that match
* [target_id][google.firestore.v1.ExistenceFilter.target_id].
+ *
* If different from the count of documents in the client that match, the
* client must manually determine which documents no longer match the target.
+ *
+ * The client can use the `unchanged_names` bloom filter to assist with
+ * this determination by testing ALL the document names against the filter;
+ * if the document name is NOT in the filter, it means the document no
+ * longer matches the target.
*
*
* int32 count = 2;
@@ -679,8 +689,14 @@ public Builder setCount(int value) {
*
* The total count of documents that match
* [target_id][google.firestore.v1.ExistenceFilter.target_id].
+ *
* If different from the count of documents in the client that match, the
* client must manually determine which documents no longer match the target.
+ *
+ * The client can use the `unchanged_names` bloom filter to assist with
+ * this determination by testing ALL the document names against the filter;
+ * if the document name is NOT in the filter, it means the document no
+ * longer matches the target.
*
*
* int32 count = 2;
@@ -704,12 +720,11 @@ public Builder clearCount() {
*
*
*
- * A bloom filter that contains the UTF-8 byte encodings of the resource names
- * of the documents that match
+ * A bloom filter that, despite its name, contains the UTF-8 byte encodings of
+ * the resource names of ALL the documents that match
* [target_id][google.firestore.v1.ExistenceFilter.target_id], in the form
- * `projects/{project_id}/databases/{database_id}/documents/{document_path}`
- * that have NOT changed since the query results indicated by the resume token
- * or timestamp given in `Target.resume_type`.
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
* This bloom filter may be omitted at the server's discretion, such as if it
* is deemed that the client will not make use of it or if it is too
* computationally expensive to calculate or transmit. Clients must gracefully
@@ -729,12 +744,11 @@ public boolean hasUnchangedNames() {
*
*
*
- * A bloom filter that contains the UTF-8 byte encodings of the resource names
- * of the documents that match
+ * A bloom filter that, despite its name, contains the UTF-8 byte encodings of
+ * the resource names of ALL the documents that match
* [target_id][google.firestore.v1.ExistenceFilter.target_id], in the form
- * `projects/{project_id}/databases/{database_id}/documents/{document_path}`
- * that have NOT changed since the query results indicated by the resume token
- * or timestamp given in `Target.resume_type`.
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
* This bloom filter may be omitted at the server's discretion, such as if it
* is deemed that the client will not make use of it or if it is too
* computationally expensive to calculate or transmit. Clients must gracefully
@@ -760,12 +774,11 @@ public com.google.firestore.v1.BloomFilter getUnchangedNames() {
*
*
*
- * A bloom filter that contains the UTF-8 byte encodings of the resource names
- * of the documents that match
+ * A bloom filter that, despite its name, contains the UTF-8 byte encodings of
+ * the resource names of ALL the documents that match
* [target_id][google.firestore.v1.ExistenceFilter.target_id], in the form
- * `projects/{project_id}/databases/{database_id}/documents/{document_path}`
- * that have NOT changed since the query results indicated by the resume token
- * or timestamp given in `Target.resume_type`.
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
* This bloom filter may be omitted at the server's discretion, such as if it
* is deemed that the client will not make use of it or if it is too
* computationally expensive to calculate or transmit. Clients must gracefully
@@ -793,12 +806,11 @@ public Builder setUnchangedNames(com.google.firestore.v1.BloomFilter value) {
*
*
*
- * A bloom filter that contains the UTF-8 byte encodings of the resource names
- * of the documents that match
+ * A bloom filter that, despite its name, contains the UTF-8 byte encodings of
+ * the resource names of ALL the documents that match
* [target_id][google.firestore.v1.ExistenceFilter.target_id], in the form
- * `projects/{project_id}/databases/{database_id}/documents/{document_path}`
- * that have NOT changed since the query results indicated by the resume token
- * or timestamp given in `Target.resume_type`.
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
* This bloom filter may be omitted at the server's discretion, such as if it
* is deemed that the client will not make use of it or if it is too
* computationally expensive to calculate or transmit. Clients must gracefully
@@ -823,12 +835,11 @@ public Builder setUnchangedNames(com.google.firestore.v1.BloomFilter.Builder bui
*
*
*
- * A bloom filter that contains the UTF-8 byte encodings of the resource names
- * of the documents that match
+ * A bloom filter that, despite its name, contains the UTF-8 byte encodings of
+ * the resource names of ALL the documents that match
* [target_id][google.firestore.v1.ExistenceFilter.target_id], in the form
- * `projects/{project_id}/databases/{database_id}/documents/{document_path}`
- * that have NOT changed since the query results indicated by the resume token
- * or timestamp given in `Target.resume_type`.
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
* This bloom filter may be omitted at the server's discretion, such as if it
* is deemed that the client will not make use of it or if it is too
* computationally expensive to calculate or transmit. Clients must gracefully
@@ -859,12 +870,11 @@ public Builder mergeUnchangedNames(com.google.firestore.v1.BloomFilter value) {
*
*
*
- * A bloom filter that contains the UTF-8 byte encodings of the resource names
- * of the documents that match
+ * A bloom filter that, despite its name, contains the UTF-8 byte encodings of
+ * the resource names of ALL the documents that match
* [target_id][google.firestore.v1.ExistenceFilter.target_id], in the form
- * `projects/{project_id}/databases/{database_id}/documents/{document_path}`
- * that have NOT changed since the query results indicated by the resume token
- * or timestamp given in `Target.resume_type`.
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
* This bloom filter may be omitted at the server's discretion, such as if it
* is deemed that the client will not make use of it or if it is too
* computationally expensive to calculate or transmit. Clients must gracefully
@@ -889,12 +899,11 @@ public Builder clearUnchangedNames() {
*
*
*
- * A bloom filter that contains the UTF-8 byte encodings of the resource names
- * of the documents that match
+ * A bloom filter that, despite its name, contains the UTF-8 byte encodings of
+ * the resource names of ALL the documents that match
* [target_id][google.firestore.v1.ExistenceFilter.target_id], in the form
- * `projects/{project_id}/databases/{database_id}/documents/{document_path}`
- * that have NOT changed since the query results indicated by the resume token
- * or timestamp given in `Target.resume_type`.
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
* This bloom filter may be omitted at the server's discretion, such as if it
* is deemed that the client will not make use of it or if it is too
* computationally expensive to calculate or transmit. Clients must gracefully
@@ -914,12 +923,11 @@ public com.google.firestore.v1.BloomFilter.Builder getUnchangedNamesBuilder() {
*
*
*
- * A bloom filter that contains the UTF-8 byte encodings of the resource names
- * of the documents that match
+ * A bloom filter that, despite its name, contains the UTF-8 byte encodings of
+ * the resource names of ALL the documents that match
* [target_id][google.firestore.v1.ExistenceFilter.target_id], in the form
- * `projects/{project_id}/databases/{database_id}/documents/{document_path}`
- * that have NOT changed since the query results indicated by the resume token
- * or timestamp given in `Target.resume_type`.
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
* This bloom filter may be omitted at the server's discretion, such as if it
* is deemed that the client will not make use of it or if it is too
* computationally expensive to calculate or transmit. Clients must gracefully
@@ -943,12 +951,11 @@ public com.google.firestore.v1.BloomFilterOrBuilder getUnchangedNamesOrBuilder()
*
*
*
- * A bloom filter that contains the UTF-8 byte encodings of the resource names
- * of the documents that match
+ * A bloom filter that, despite its name, contains the UTF-8 byte encodings of
+ * the resource names of ALL the documents that match
* [target_id][google.firestore.v1.ExistenceFilter.target_id], in the form
- * `projects/{project_id}/databases/{database_id}/documents/{document_path}`
- * that have NOT changed since the query results indicated by the resume token
- * or timestamp given in `Target.resume_type`.
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
* This bloom filter may be omitted at the server's discretion, such as if it
* is deemed that the client will not make use of it or if it is too
* computationally expensive to calculate or transmit. Clients must gracefully
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java
index 991950c9a0..89c0a600d2 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -42,8 +42,14 @@ public interface ExistenceFilterOrBuilder
*
* The total count of documents that match
* [target_id][google.firestore.v1.ExistenceFilter.target_id].
+ *
* If different from the count of documents in the client that match, the
* client must manually determine which documents no longer match the target.
+ *
+ * The client can use the `unchanged_names` bloom filter to assist with
+ * this determination by testing ALL the document names against the filter;
+ * if the document name is NOT in the filter, it means the document no
+ * longer matches the target.
*
*
* int32 count = 2;
@@ -56,12 +62,11 @@ public interface ExistenceFilterOrBuilder
*
*
*
- * A bloom filter that contains the UTF-8 byte encodings of the resource names
- * of the documents that match
+ * A bloom filter that, despite its name, contains the UTF-8 byte encodings of
+ * the resource names of ALL the documents that match
* [target_id][google.firestore.v1.ExistenceFilter.target_id], in the form
- * `projects/{project_id}/databases/{database_id}/documents/{document_path}`
- * that have NOT changed since the query results indicated by the resume token
- * or timestamp given in `Target.resume_type`.
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
* This bloom filter may be omitted at the server's discretion, such as if it
* is deemed that the client will not make use of it or if it is too
* computationally expensive to calculate or transmit. Clients must gracefully
@@ -79,12 +84,11 @@ public interface ExistenceFilterOrBuilder
*
*
*
- * A bloom filter that contains the UTF-8 byte encodings of the resource names
- * of the documents that match
+ * A bloom filter that, despite its name, contains the UTF-8 byte encodings of
+ * the resource names of ALL the documents that match
* [target_id][google.firestore.v1.ExistenceFilter.target_id], in the form
- * `projects/{project_id}/databases/{database_id}/documents/{document_path}`
- * that have NOT changed since the query results indicated by the resume token
- * or timestamp given in `Target.resume_type`.
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
* This bloom filter may be omitted at the server's discretion, such as if it
* is deemed that the client will not make use of it or if it is too
* computationally expensive to calculate or transmit. Clients must gracefully
@@ -102,12 +106,11 @@ public interface ExistenceFilterOrBuilder
*
*
*
- * A bloom filter that contains the UTF-8 byte encodings of the resource names
- * of the documents that match
+ * A bloom filter that, despite its name, contains the UTF-8 byte encodings of
+ * the resource names of ALL the documents that match
* [target_id][google.firestore.v1.ExistenceFilter.target_id], in the form
- * `projects/{project_id}/databases/{database_id}/documents/{document_path}`
- * that have NOT changed since the query results indicated by the resume token
- * or timestamp given in `Target.resume_type`.
+ * `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
* This bloom filter may be omitted at the server's discretion, such as if it
* is deemed that the client will not make use of it or if it is too
* computationally expensive to calculate or transmit. Clients must gracefully
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java
index 12812e5288..90283b7c9d 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/FirestoreProto.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -183,237 +183,238 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "te.proto\032\033google/protobuf/empty.proto\032\037g"
+ "oogle/protobuf/timestamp.proto\032\036google/p"
+ "rotobuf/wrappers.proto\032\027google/rpc/statu"
- + "s.proto\"\270\001\n\022GetDocumentRequest\022\021\n\004name\030\001"
- + " \001(\tB\003\340A\002\022/\n\004mask\030\002 \001(\0132!.google.firesto"
- + "re.v1.DocumentMask\022\025\n\013transaction\030\003 \001(\014H"
- + "\000\022/\n\tread_time\030\005 \001(\0132\032.google.protobuf.T"
- + "imestampH\000B\026\n\024consistency_selector\"\273\002\n\024L"
- + "istDocumentsRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002"
- + "\022\032\n\rcollection_id\030\002 \001(\tB\003\340A\001\022\026\n\tpage_siz"
- + "e\030\003 \001(\005B\003\340A\001\022\027\n\npage_token\030\004 \001(\tB\003\340A\001\022\025\n"
- + "\010order_by\030\006 \001(\tB\003\340A\001\0224\n\004mask\030\007 \001(\0132!.goo"
- + "gle.firestore.v1.DocumentMaskB\003\340A\001\022\025\n\013tr"
- + "ansaction\030\010 \001(\014H\000\022/\n\tread_time\030\n \001(\0132\032.g"
- + "oogle.protobuf.TimestampH\000\022\024\n\014show_missi"
- + "ng\030\014 \001(\010B\026\n\024consistency_selector\"b\n\025List"
- + "DocumentsResponse\0220\n\tdocuments\030\001 \003(\0132\035.g"
- + "oogle.firestore.v1.Document\022\027\n\017next_page"
- + "_token\030\002 \001(\t\"\304\001\n\025CreateDocumentRequest\022\023"
- + "\n\006parent\030\001 \001(\tB\003\340A\002\022\032\n\rcollection_id\030\002 \001"
- + "(\tB\003\340A\002\022\023\n\013document_id\030\003 \001(\t\0224\n\010document"
- + "\030\004 \001(\0132\035.google.firestore.v1.DocumentB\003\340"
- + "A\002\022/\n\004mask\030\005 \001(\0132!.google.firestore.v1.D"
- + "ocumentMask\"\363\001\n\025UpdateDocumentRequest\0224\n"
- + "\010document\030\001 \001(\0132\035.google.firestore.v1.Do"
- + "cumentB\003\340A\002\0226\n\013update_mask\030\002 \001(\0132!.googl"
- + "e.firestore.v1.DocumentMask\022/\n\004mask\030\003 \001("
- + "\0132!.google.firestore.v1.DocumentMask\022;\n\020"
- + "current_document\030\004 \001(\0132!.google.firestor"
- + "e.v1.Precondition\"g\n\025DeleteDocumentReque"
- + "st\022\021\n\004name\030\001 \001(\tB\003\340A\002\022;\n\020current_documen"
- + "t\030\002 \001(\0132!.google.firestore.v1.Preconditi"
- + "on\"\231\002\n\030BatchGetDocumentsRequest\022\025\n\010datab"
- + "ase\030\001 \001(\tB\003\340A\002\022\021\n\tdocuments\030\002 \003(\t\022/\n\004mas"
- + "k\030\003 \001(\0132!.google.firestore.v1.DocumentMa"
- + "sk\022\025\n\013transaction\030\004 \001(\014H\000\022B\n\017new_transac"
- + "tion\030\005 \001(\0132\'.google.firestore.v1.Transac"
- + "tionOptionsH\000\022/\n\tread_time\030\007 \001(\0132\032.googl"
- + "e.protobuf.TimestampH\000B\026\n\024consistency_se"
- + "lector\"\254\001\n\031BatchGetDocumentsResponse\022.\n\005"
- + "found\030\001 \001(\0132\035.google.firestore.v1.Docume"
- + "ntH\000\022\021\n\007missing\030\002 \001(\tH\000\022\023\n\013transaction\030\003"
- + " \001(\014\022-\n\tread_time\030\004 \001(\0132\032.google.protobu"
- + "f.TimestampB\010\n\006result\"j\n\027BeginTransactio"
- + "nRequest\022\025\n\010database\030\001 \001(\tB\003\340A\002\0228\n\007optio"
- + "ns\030\002 \001(\0132\'.google.firestore.v1.Transacti"
- + "onOptions\"/\n\030BeginTransactionResponse\022\023\n"
- + "\013transaction\030\001 \001(\014\"g\n\rCommitRequest\022\025\n\010d"
- + "atabase\030\001 \001(\tB\003\340A\002\022*\n\006writes\030\002 \003(\0132\032.goo"
- + "gle.firestore.v1.Write\022\023\n\013transaction\030\003 "
- + "\001(\014\"z\n\016CommitResponse\0227\n\rwrite_results\030\001"
- + " \003(\0132 .google.firestore.v1.WriteResult\022/"
- + "\n\013commit_time\030\002 \001(\0132\032.google.protobuf.Ti"
- + "mestamp\"B\n\017RollbackRequest\022\025\n\010database\030\001"
- + " \001(\tB\003\340A\002\022\030\n\013transaction\030\002 \001(\014B\003\340A\002\"\232\002\n\017"
- + "RunQueryRequest\022\023\n\006parent\030\001 \001(\tB\003\340A\002\022@\n\020"
- + "structured_query\030\002 \001(\0132$.google.firestor"
- + "e.v1.StructuredQueryH\000\022\025\n\013transaction\030\005 "
- + "\001(\014H\001\022B\n\017new_transaction\030\006 \001(\0132\'.google."
- + "firestore.v1.TransactionOptionsH\001\022/\n\trea"
- + "d_time\030\007 \001(\0132\032.google.protobuf.Timestamp"
- + "H\001B\014\n\nquery_typeB\026\n\024consistency_selector"
- + "\"\311\001\n\020RunQueryResponse\022\023\n\013transaction\030\002 \001"
- + "(\014\022/\n\010document\030\001 \001(\0132\035.google.firestore."
- + "v1.Document\022-\n\tread_time\030\003 \001(\0132\032.google."
- + "protobuf.Timestamp\022\027\n\017skipped_results\030\004 "
- + "\001(\005\022\016\n\004done\030\006 \001(\010H\000B\027\n\025continuation_sele"
- + "ctor\"\274\002\n\032RunAggregationQueryRequest\022\023\n\006p"
- + "arent\030\001 \001(\tB\003\340A\002\022W\n\034structured_aggregati"
- + "on_query\030\002 \001(\0132/.google.firestore.v1.Str"
- + "ucturedAggregationQueryH\000\022\025\n\013transaction"
- + "\030\004 \001(\014H\001\022B\n\017new_transaction\030\005 \001(\0132\'.goog"
- + "le.firestore.v1.TransactionOptionsH\001\022/\n\t"
+ + "s.proto\"\271\001\n\022GetDocumentRequest\022\022\n\004name\030\001"
+ + " \001(\tB\004\342A\001\002\022/\n\004mask\030\002 \001(\0132!.google.firest"
+ + "ore.v1.DocumentMask\022\025\n\013transaction\030\003 \001(\014"
+ + "H\000\022/\n\tread_time\030\005 \001(\0132\032.google.protobuf."
+ + "TimestampH\000B\026\n\024consistency_selector\"\301\002\n\024"
+ + "ListDocumentsRequest\022\024\n\006parent\030\001 \001(\tB\004\342A"
+ + "\001\002\022\033\n\rcollection_id\030\002 \001(\tB\004\342A\001\001\022\027\n\tpage_"
+ + "size\030\003 \001(\005B\004\342A\001\001\022\030\n\npage_token\030\004 \001(\tB\004\342A"
+ + "\001\001\022\026\n\010order_by\030\006 \001(\tB\004\342A\001\001\0225\n\004mask\030\007 \001(\013"
+ + "2!.google.firestore.v1.DocumentMaskB\004\342A\001"
+ + "\001\022\025\n\013transaction\030\010 \001(\014H\000\022/\n\tread_time\030\n "
+ + "\001(\0132\032.google.protobuf.TimestampH\000\022\024\n\014sho"
+ + "w_missing\030\014 \001(\010B\026\n\024consistency_selector\""
+ + "b\n\025ListDocumentsResponse\0220\n\tdocuments\030\001 "
+ + "\003(\0132\035.google.firestore.v1.Document\022\027\n\017ne"
+ + "xt_page_token\030\002 \001(\t\"\307\001\n\025CreateDocumentRe"
+ + "quest\022\024\n\006parent\030\001 \001(\tB\004\342A\001\002\022\033\n\rcollectio"
+ + "n_id\030\002 \001(\tB\004\342A\001\002\022\023\n\013document_id\030\003 \001(\t\0225\n"
+ + "\010document\030\004 \001(\0132\035.google.firestore.v1.Do"
+ + "cumentB\004\342A\001\002\022/\n\004mask\030\005 \001(\0132!.google.fire"
+ + "store.v1.DocumentMask\"\364\001\n\025UpdateDocument"
+ + "Request\0225\n\010document\030\001 \001(\0132\035.google.fires"
+ + "tore.v1.DocumentB\004\342A\001\002\0226\n\013update_mask\030\002 "
+ + "\001(\0132!.google.firestore.v1.DocumentMask\022/"
+ + "\n\004mask\030\003 \001(\0132!.google.firestore.v1.Docum"
+ + "entMask\022;\n\020current_document\030\004 \001(\0132!.goog"
+ + "le.firestore.v1.Precondition\"h\n\025DeleteDo"
+ + "cumentRequest\022\022\n\004name\030\001 \001(\tB\004\342A\001\002\022;\n\020cur"
+ + "rent_document\030\002 \001(\0132!.google.firestore.v"
+ + "1.Precondition\"\232\002\n\030BatchGetDocumentsRequ"
+ + "est\022\026\n\010database\030\001 \001(\tB\004\342A\001\002\022\021\n\tdocuments"
+ + "\030\002 \003(\t\022/\n\004mask\030\003 \001(\0132!.google.firestore."
+ + "v1.DocumentMask\022\025\n\013transaction\030\004 \001(\014H\000\022B"
+ + "\n\017new_transaction\030\005 \001(\0132\'.google.firesto"
+ + "re.v1.TransactionOptionsH\000\022/\n\tread_time\030"
+ + "\007 \001(\0132\032.google.protobuf.TimestampH\000B\026\n\024c"
+ + "onsistency_selector\"\254\001\n\031BatchGetDocument"
+ + "sResponse\022.\n\005found\030\001 \001(\0132\035.google.firest"
+ + "ore.v1.DocumentH\000\022\021\n\007missing\030\002 \001(\tH\000\022\023\n\013"
+ + "transaction\030\003 \001(\014\022-\n\tread_time\030\004 \001(\0132\032.g"
+ + "oogle.protobuf.TimestampB\010\n\006result\"k\n\027Be"
+ + "ginTransactionRequest\022\026\n\010database\030\001 \001(\tB"
+ + "\004\342A\001\002\0228\n\007options\030\002 \001(\0132\'.google.firestor"
+ + "e.v1.TransactionOptions\"/\n\030BeginTransact"
+ + "ionResponse\022\023\n\013transaction\030\001 \001(\014\"h\n\rComm"
+ + "itRequest\022\026\n\010database\030\001 \001(\tB\004\342A\001\002\022*\n\006wri"
+ + "tes\030\002 \003(\0132\032.google.firestore.v1.Write\022\023\n"
+ + "\013transaction\030\003 \001(\014\"z\n\016CommitResponse\0227\n\r"
+ + "write_results\030\001 \003(\0132 .google.firestore.v"
+ + "1.WriteResult\022/\n\013commit_time\030\002 \001(\0132\032.goo"
+ + "gle.protobuf.Timestamp\"D\n\017RollbackReques"
+ + "t\022\026\n\010database\030\001 \001(\tB\004\342A\001\002\022\031\n\013transaction"
+ + "\030\002 \001(\014B\004\342A\001\002\"\233\002\n\017RunQueryRequest\022\024\n\006pare"
+ + "nt\030\001 \001(\tB\004\342A\001\002\022@\n\020structured_query\030\002 \001(\013"
+ + "2$.google.firestore.v1.StructuredQueryH\000"
+ + "\022\025\n\013transaction\030\005 \001(\014H\001\022B\n\017new_transacti"
+ + "on\030\006 \001(\0132\'.google.firestore.v1.Transacti"
+ + "onOptionsH\001\022/\n\tread_time\030\007 \001(\0132\032.google."
+ + "protobuf.TimestampH\001B\014\n\nquery_typeB\026\n\024co"
+ + "nsistency_selector\"\311\001\n\020RunQueryResponse\022"
+ + "\023\n\013transaction\030\002 \001(\014\022/\n\010document\030\001 \001(\0132\035"
+ + ".google.firestore.v1.Document\022-\n\tread_ti"
+ + "me\030\003 \001(\0132\032.google.protobuf.Timestamp\022\027\n\017"
+ + "skipped_results\030\004 \001(\005\022\016\n\004done\030\006 \001(\010H\000B\027\n"
+ + "\025continuation_selector\"\275\002\n\032RunAggregatio"
+ + "nQueryRequest\022\024\n\006parent\030\001 \001(\tB\004\342A\001\002\022W\n\034s"
+ + "tructured_aggregation_query\030\002 \001(\0132/.goog"
+ + "le.firestore.v1.StructuredAggregationQue"
+ + "ryH\000\022\025\n\013transaction\030\004 \001(\014H\001\022B\n\017new_trans"
+ + "action\030\005 \001(\0132\'.google.firestore.v1.Trans"
+ + "actionOptionsH\001\022/\n\tread_time\030\006 \001(\0132\032.goo"
+ + "gle.protobuf.TimestampH\001B\014\n\nquery_typeB\026"
+ + "\n\024consistency_selector\"\231\001\n\033RunAggregatio"
+ + "nQueryResponse\0226\n\006result\030\001 \001(\0132&.google."
+ + "firestore.v1.AggregationResult\022\023\n\013transa"
+ + "ction\030\002 \001(\014\022-\n\tread_time\030\003 \001(\0132\032.google."
+ + "protobuf.Timestamp\"\206\002\n\025PartitionQueryReq"
+ + "uest\022\024\n\006parent\030\001 \001(\tB\004\342A\001\002\022@\n\020structured"
+ + "_query\030\002 \001(\0132$.google.firestore.v1.Struc"
+ + "turedQueryH\000\022\027\n\017partition_count\030\003 \001(\003\022\022\n"
+ + "\npage_token\030\004 \001(\t\022\021\n\tpage_size\030\005 \001(\005\022/\n\t"
+ "read_time\030\006 \001(\0132\032.google.protobuf.Timest"
+ "ampH\001B\014\n\nquery_typeB\026\n\024consistency_selec"
- + "tor\"\231\001\n\033RunAggregationQueryResponse\0226\n\006r"
- + "esult\030\001 \001(\0132&.google.firestore.v1.Aggreg"
- + "ationResult\022\023\n\013transaction\030\002 \001(\014\022-\n\tread"
- + "_time\030\003 \001(\0132\032.google.protobuf.Timestamp\""
- + "\205\002\n\025PartitionQueryRequest\022\023\n\006parent\030\001 \001("
- + "\tB\003\340A\002\022@\n\020structured_query\030\002 \001(\0132$.googl"
- + "e.firestore.v1.StructuredQueryH\000\022\027\n\017part"
- + "ition_count\030\003 \001(\003\022\022\n\npage_token\030\004 \001(\t\022\021\n"
- + "\tpage_size\030\005 \001(\005\022/\n\tread_time\030\006 \001(\0132\032.go"
- + "ogle.protobuf.TimestampH\001B\014\n\nquery_typeB"
- + "\026\n\024consistency_selector\"b\n\026PartitionQuer"
- + "yResponse\022/\n\npartitions\030\001 \003(\0132\033.google.f"
- + "irestore.v1.Cursor\022\027\n\017next_page_token\030\002 "
- + "\001(\t\"\350\001\n\014WriteRequest\022\025\n\010database\030\001 \001(\tB\003"
- + "\340A\002\022\021\n\tstream_id\030\002 \001(\t\022*\n\006writes\030\003 \003(\0132\032"
- + ".google.firestore.v1.Write\022\024\n\014stream_tok"
- + "en\030\004 \001(\014\022=\n\006labels\030\005 \003(\0132-.google.firest"
- + "ore.v1.WriteRequest.LabelsEntry\032-\n\013Label"
- + "sEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\242"
- + "\001\n\rWriteResponse\022\021\n\tstream_id\030\001 \001(\t\022\024\n\014s"
- + "tream_token\030\002 \001(\014\0227\n\rwrite_results\030\003 \003(\013"
- + "2 .google.firestore.v1.WriteResult\022/\n\013co"
- + "mmit_time\030\004 \001(\0132\032.google.protobuf.Timest"
- + "amp\"\362\001\n\rListenRequest\022\025\n\010database\030\001 \001(\tB"
- + "\003\340A\002\0221\n\nadd_target\030\002 \001(\0132\033.google.firest"
- + "ore.v1.TargetH\000\022\027\n\rremove_target\030\003 \001(\005H\000"
- + "\022>\n\006labels\030\004 \003(\0132..google.firestore.v1.L"
- + "istenRequest.LabelsEntry\032-\n\013LabelsEntry\022"
- + "\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001B\017\n\rtarge"
- + "t_change\"\325\002\n\016ListenResponse\022:\n\rtarget_ch"
- + "ange\030\002 \001(\0132!.google.firestore.v1.TargetC"
- + "hangeH\000\022>\n\017document_change\030\003 \001(\0132#.googl"
- + "e.firestore.v1.DocumentChangeH\000\022>\n\017docum"
- + "ent_delete\030\004 \001(\0132#.google.firestore.v1.D"
- + "ocumentDeleteH\000\022>\n\017document_remove\030\006 \001(\013"
- + "2#.google.firestore.v1.DocumentRemoveH\000\022"
- + "6\n\006filter\030\005 \001(\0132$.google.firestore.v1.Ex"
- + "istenceFilterH\000B\017\n\rresponse_type\"\326\003\n\006Tar"
- + "get\0228\n\005query\030\002 \001(\0132\'.google.firestore.v1"
- + ".Target.QueryTargetH\000\022@\n\tdocuments\030\003 \001(\013"
- + "2+.google.firestore.v1.Target.DocumentsT"
- + "argetH\000\022\026\n\014resume_token\030\004 \001(\014H\001\022/\n\tread_"
- + "time\030\013 \001(\0132\032.google.protobuf.TimestampH\001"
- + "\022\021\n\ttarget_id\030\005 \001(\005\022\014\n\004once\030\006 \001(\010\0223\n\016exp"
- + "ected_count\030\014 \001(\0132\033.google.protobuf.Int3"
- + "2Value\032$\n\017DocumentsTarget\022\021\n\tdocuments\030\002"
- + " \003(\t\032m\n\013QueryTarget\022\016\n\006parent\030\001 \001(\t\022@\n\020s"
- + "tructured_query\030\002 \001(\0132$.google.firestore"
- + ".v1.StructuredQueryH\000B\014\n\nquery_typeB\r\n\013t"
- + "arget_typeB\r\n\013resume_type\"\252\002\n\014TargetChan"
- + "ge\022N\n\022target_change_type\030\001 \001(\01622.google."
- + "firestore.v1.TargetChange.TargetChangeTy"
- + "pe\022\022\n\ntarget_ids\030\002 \003(\005\022!\n\005cause\030\003 \001(\0132\022."
- + "google.rpc.Status\022\024\n\014resume_token\030\004 \001(\014\022"
- + "-\n\tread_time\030\006 \001(\0132\032.google.protobuf.Tim"
- + "estamp\"N\n\020TargetChangeType\022\r\n\tNO_CHANGE\020"
- + "\000\022\007\n\003ADD\020\001\022\n\n\006REMOVE\020\002\022\013\n\007CURRENT\020\003\022\t\n\005R"
- + "ESET\020\004\"\237\001\n\030ListCollectionIdsRequest\022\023\n\006p"
- + "arent\030\001 \001(\tB\003\340A\002\022\021\n\tpage_size\030\002 \001(\005\022\022\n\np"
- + "age_token\030\003 \001(\t\022/\n\tread_time\030\004 \001(\0132\032.goo"
- + "gle.protobuf.TimestampH\000B\026\n\024consistency_"
- + "selector\"L\n\031ListCollectionIdsResponse\022\026\n"
- + "\016collection_ids\030\001 \003(\t\022\027\n\017next_page_token"
- + "\030\002 \001(\t\"\311\001\n\021BatchWriteRequest\022\025\n\010database"
- + "\030\001 \001(\tB\003\340A\002\022*\n\006writes\030\002 \003(\0132\032.google.fir"
- + "estore.v1.Write\022B\n\006labels\030\003 \003(\01322.google"
- + ".firestore.v1.BatchWriteRequest.LabelsEn"
- + "try\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value"
- + "\030\002 \001(\t:\0028\001\"q\n\022BatchWriteResponse\0227\n\rwrit"
- + "e_results\030\001 \003(\0132 .google.firestore.v1.Wr"
- + "iteResult\022\"\n\006status\030\002 \003(\0132\022.google.rpc.S"
- + "tatus2\332\031\n\tFirestore\022\217\001\n\013GetDocument\022\'.go"
- + "ogle.firestore.v1.GetDocumentRequest\032\035.g"
- + "oogle.firestore.v1.Document\"8\202\323\344\223\0022\0220/v1"
- + "/{name=projects/*/databases/*/documents/"
- + "*/**}\022\365\001\n\rListDocuments\022).google.firesto"
- + "re.v1.ListDocumentsRequest\032*.google.fire"
- + "store.v1.ListDocumentsResponse\"\214\001\202\323\344\223\002\205\001"
- + "\022B/v1/{parent=projects/*/databases/*/doc"
- + "uments/*/**}/{collection_id}Z?\022=/v1/{par"
- + "ent=projects/*/databases/*/documents}/{c"
- + "ollection_id}\022\277\001\n\016UpdateDocument\022*.googl"
- + "e.firestore.v1.UpdateDocumentRequest\032\035.g"
- + "oogle.firestore.v1.Document\"b\202\323\344\223\002E29/v1"
- + "/{document.name=projects/*/databases/*/d"
- + "ocuments/*/**}:\010document\332A\024document,upda"
- + "te_mask\022\225\001\n\016DeleteDocument\022*.google.fire"
- + "store.v1.DeleteDocumentRequest\032\026.google."
- + "protobuf.Empty\"?\202\323\344\223\0022*0/v1/{name=projec"
- + "ts/*/databases/*/documents/*/**}\332A\004name\022"
- + "\271\001\n\021BatchGetDocuments\022-.google.firestore"
- + ".v1.BatchGetDocumentsRequest\032..google.fi"
- + "restore.v1.BatchGetDocumentsResponse\"C\202\323"
- + "\344\223\002=\"8/v1/{database=projects/*/databases"
- + "/*}/documents:batchGet:\001*0\001\022\307\001\n\020BeginTra"
- + "nsaction\022,.google.firestore.v1.BeginTran"
- + "sactionRequest\032-.google.firestore.v1.Beg"
- + "inTransactionResponse\"V\202\323\344\223\002E\"@/v1/{data"
- + "base=projects/*/databases/*}/documents:b"
- + "eginTransaction:\001*\332A\010database\022\246\001\n\006Commit"
- + "\022\".google.firestore.v1.CommitRequest\032#.g"
- + "oogle.firestore.v1.CommitResponse\"S\202\323\344\223\002"
- + ";\"6/v1/{database=projects/*/databases/*}"
- + "/documents:commit:\001*\332A\017database,writes\022\244"
- + "\001\n\010Rollback\022$.google.firestore.v1.Rollba"
- + "ckRequest\032\026.google.protobuf.Empty\"Z\202\323\344\223\002"
- + "=\"8/v1/{database=projects/*/databases/*}"
- + "/documents:rollback:\001*\332A\024database,transa"
- + "ction\022\337\001\n\010RunQuery\022$.google.firestore.v1"
- + ".RunQueryRequest\032%.google.firestore.v1.R"
- + "unQueryResponse\"\203\001\202\323\344\223\002}\"6/v1/{parent=pr"
- + "ojects/*/databases/*/documents}:runQuery"
- + ":\001*Z@\";/v1/{parent=projects/*/databases/"
- + "*/documents/*/**}:runQuery:\001*0\001\022\227\002\n\023RunA"
- + "ggregationQuery\022/.google.firestore.v1.Ru"
- + "nAggregationQueryRequest\0320.google.firest"
- + "ore.v1.RunAggregationQueryResponse\"\232\001\202\323\344"
- + "\223\002\223\001\"A/v1/{parent=projects/*/databases/*"
- + "/documents}:runAggregationQuery:\001*ZK\"F/v"
- + "1/{parent=projects/*/databases/*/documen"
- + "ts/*/**}:runAggregationQuery:\001*0\001\022\374\001\n\016Pa"
- + "rtitionQuery\022*.google.firestore.v1.Parti"
- + "tionQueryRequest\032+.google.firestore.v1.P"
- + "artitionQueryResponse\"\220\001\202\323\344\223\002\211\001\"\n\006labels\030\004 \003(\0132."
+ + ".google.firestore.v1.ListenRequest.Label"
+ + "sEntry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005va"
+ + "lue\030\002 \001(\t:\0028\001B\017\n\rtarget_change\"\325\002\n\016Liste"
+ + "nResponse\022:\n\rtarget_change\030\002 \001(\0132!.googl"
+ + "e.firestore.v1.TargetChangeH\000\022>\n\017documen"
+ + "t_change\030\003 \001(\0132#.google.firestore.v1.Doc"
+ + "umentChangeH\000\022>\n\017document_delete\030\004 \001(\0132#"
+ + ".google.firestore.v1.DocumentDeleteH\000\022>\n"
+ + "\017document_remove\030\006 \001(\0132#.google.firestor"
+ + "e.v1.DocumentRemoveH\000\0226\n\006filter\030\005 \001(\0132$."
+ + "google.firestore.v1.ExistenceFilterH\000B\017\n"
+ + "\rresponse_type\"\326\003\n\006Target\0228\n\005query\030\002 \001(\013"
+ + "2\'.google.firestore.v1.Target.QueryTarge"
+ + "tH\000\022@\n\tdocuments\030\003 \001(\0132+.google.firestor"
+ + "e.v1.Target.DocumentsTargetH\000\022\026\n\014resume_"
+ + "token\030\004 \001(\014H\001\022/\n\tread_time\030\013 \001(\0132\032.googl"
+ + "e.protobuf.TimestampH\001\022\021\n\ttarget_id\030\005 \001("
+ + "\005\022\014\n\004once\030\006 \001(\010\0223\n\016expected_count\030\014 \001(\0132"
+ + "\033.google.protobuf.Int32Value\032$\n\017Document"
+ + "sTarget\022\021\n\tdocuments\030\002 \003(\t\032m\n\013QueryTarge"
+ + "t\022\016\n\006parent\030\001 \001(\t\022@\n\020structured_query\030\002 "
+ + "\001(\0132$.google.firestore.v1.StructuredQuer"
+ + "yH\000B\014\n\nquery_typeB\r\n\013target_typeB\r\n\013resu"
+ + "me_type\"\252\002\n\014TargetChange\022N\n\022target_chang"
+ + "e_type\030\001 \001(\01622.google.firestore.v1.Targe"
+ + "tChange.TargetChangeType\022\022\n\ntarget_ids\030\002"
+ + " \003(\005\022!\n\005cause\030\003 \001(\0132\022.google.rpc.Status\022"
+ + "\024\n\014resume_token\030\004 \001(\014\022-\n\tread_time\030\006 \001(\013"
+ + "2\032.google.protobuf.Timestamp\"N\n\020TargetCh"
+ + "angeType\022\r\n\tNO_CHANGE\020\000\022\007\n\003ADD\020\001\022\n\n\006REMO"
+ + "VE\020\002\022\013\n\007CURRENT\020\003\022\t\n\005RESET\020\004\"\240\001\n\030ListCol"
+ + "lectionIdsRequest\022\024\n\006parent\030\001 \001(\tB\004\342A\001\002\022"
+ + "\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022/"
+ + "\n\tread_time\030\004 \001(\0132\032.google.protobuf.Time"
+ + "stampH\000B\026\n\024consistency_selector\"L\n\031ListC"
+ + "ollectionIdsResponse\022\026\n\016collection_ids\030\001"
+ + " \003(\t\022\027\n\017next_page_token\030\002 \001(\t\"\312\001\n\021BatchW"
+ + "riteRequest\022\026\n\010database\030\001 \001(\tB\004\342A\001\002\022*\n\006w"
+ + "rites\030\002 \003(\0132\032.google.firestore.v1.Write\022"
+ + "B\n\006labels\030\003 \003(\01322.google.firestore.v1.Ba"
+ + "tchWriteRequest.LabelsEntry\032-\n\013LabelsEnt"
+ + "ry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"q\n\022Ba"
+ + "tchWriteResponse\0227\n\rwrite_results\030\001 \003(\0132"
+ + " .google.firestore.v1.WriteResult\022\"\n\006sta"
+ + "tus\030\002 \003(\0132\022.google.rpc.Status2\332\031\n\tFirest"
+ + "ore\022\217\001\n\013GetDocument\022\'.google.firestore.v"
+ + "1.GetDocumentRequest\032\035.google.firestore."
+ + "v1.Document\"8\202\323\344\223\0022\0220/v1/{name=projects/"
+ + "*/databases/*/documents/*/**}\022\365\001\n\rListDo"
+ + "cuments\022).google.firestore.v1.ListDocume"
+ + "ntsRequest\032*.google.firestore.v1.ListDoc"
+ + "umentsResponse\"\214\001\202\323\344\223\002\205\001\022B/v1/{parent=pr"
+ + "ojects/*/databases/*/documents/*/**}/{co"
+ + "llection_id}Z?\022=/v1/{parent=projects/*/d"
+ + "atabases/*/documents}/{collection_id}\022\277\001"
+ + "\n\016UpdateDocument\022*.google.firestore.v1.U"
+ + "pdateDocumentRequest\032\035.google.firestore."
+ + "v1.Document\"b\332A\024document,update_mask\202\323\344\223"
+ + "\002E29/v1/{document.name=projects/*/databa"
+ + "ses/*/documents/*/**}:\010document\022\225\001\n\016Dele"
+ + "teDocument\022*.google.firestore.v1.DeleteD"
+ + "ocumentRequest\032\026.google.protobuf.Empty\"?"
+ + "\332A\004name\202\323\344\223\0022*0/v1/{name=projects/*/data"
+ + "bases/*/documents/*/**}\022\271\001\n\021BatchGetDocu"
+ + "ments\022-.google.firestore.v1.BatchGetDocu"
+ + "mentsRequest\032..google.firestore.v1.Batch"
+ + "GetDocumentsResponse\"C\202\323\344\223\002=\"8/v1/{datab"
+ + "ase=projects/*/databases/*}/documents:ba"
+ + "tchGet:\001*0\001\022\307\001\n\020BeginTransaction\022,.googl"
+ + "e.firestore.v1.BeginTransactionRequest\032-"
+ + ".google.firestore.v1.BeginTransactionRes"
+ + "ponse\"V\332A\010database\202\323\344\223\002E\"@/v1/{database="
+ + "projects/*/databases/*}/documents:beginT"
+ + "ransaction:\001*\022\246\001\n\006Commit\022\".google.firest"
+ + "ore.v1.CommitRequest\032#.google.firestore."
+ + "v1.CommitResponse\"S\332A\017database,writes\202\323\344"
+ + "\223\002;\"6/v1/{database=projects/*/databases/"
+ + "*}/documents:commit:\001*\022\244\001\n\010Rollback\022$.go"
+ + "ogle.firestore.v1.RollbackRequest\032\026.goog"
+ + "le.protobuf.Empty\"Z\332A\024database,transacti"
+ + "on\202\323\344\223\002=\"8/v1/{database=projects/*/datab"
+ + "ases/*}/documents:rollback:\001*\022\337\001\n\010RunQue"
+ + "ry\022$.google.firestore.v1.RunQueryRequest"
+ + "\032%.google.firestore.v1.RunQueryResponse\""
+ + "\203\001\202\323\344\223\002}\"6/v1/{parent=projects/*/databas"
+ + "es/*/documents}:runQuery:\001*Z@\";/v1/{pare"
+ + "nt=projects/*/databases/*/documents/*/**"
+ + "}:runQuery:\001*0\001\022\227\002\n\023RunAggregationQuery\022"
+ + "/.google.firestore.v1.RunAggregationQuer"
+ + "yRequest\0320.google.firestore.v1.RunAggreg"
+ + "ationQueryResponse\"\232\001\202\323\344\223\002\223\001\"A/v1/{paren"
+ + "t=projects/*/databases/*/documents}:runA"
+ + "ggregationQuery:\001*ZK\"F/v1/{parent=projec"
+ + "ts/*/databases/*/documents/*/**}:runAggr"
+ + "egationQuery:\001*0\001\022\374\001\n\016PartitionQuery\022*.g"
+ + "oogle.firestore.v1.PartitionQueryRequest"
+ + "\032+.google.firestore.v1.PartitionQueryRes"
+ + "ponse\"\220\001\202\323\344\223\002\211\001\"
* The fields to return. If not set, returns all fields.
+ *
* If the document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -192,6 +190,7 @@ public boolean hasMask() {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If the document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -209,6 +208,7 @@ public com.google.firestore.v1.DocumentMask getMask() {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If the document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -261,7 +261,10 @@ public com.google.protobuf.ByteString getTransaction() {
*
*
* Reads the version of the document at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 5;
@@ -277,7 +280,10 @@ public boolean hasReadTime() {
*
*
* Reads the version of the document at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 5;
@@ -296,7 +302,10 @@ public com.google.protobuf.Timestamp getReadTime() {
*
*
* Reads the version of the document at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 5;
@@ -899,6 +908,7 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If the document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -915,6 +925,7 @@ public boolean hasMask() {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If the document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -935,6 +946,7 @@ public com.google.firestore.v1.DocumentMask getMask() {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If the document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -959,6 +971,7 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If the document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -980,6 +993,7 @@ public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForVa
*
*
* The fields to return. If not set, returns all fields.
+ *
* If the document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -1007,6 +1021,7 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If the document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -1028,6 +1043,7 @@ public Builder clearMask() {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If the document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -1044,6 +1060,7 @@ public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If the document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -1062,6 +1079,7 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
*
*
* The fields to return. If not set, returns all fields.
+ *
* If the document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -1167,7 +1185,10 @@ public Builder clearTransaction() {
*
*
* Reads the version of the document at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 5;
@@ -1183,7 +1204,10 @@ public boolean hasReadTime() {
*
*
* Reads the version of the document at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 5;
@@ -1209,7 +1233,10 @@ public com.google.protobuf.Timestamp getReadTime() {
*
*
* Reads the version of the document at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 5;
@@ -1232,7 +1259,10 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
*
*
* Reads the version of the document at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 5;
@@ -1252,7 +1282,10 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
*
*
* Reads the version of the document at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 5;
@@ -1285,7 +1318,10 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
*
*
* Reads the version of the document at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 5;
@@ -1311,7 +1347,10 @@ public Builder clearReadTime() {
*
*
* Reads the version of the document at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 5;
@@ -1324,7 +1363,10 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
*
*
* Reads the version of the document at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 5;
@@ -1345,7 +1387,10 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
*
*
* Reads the version of the document at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 5;
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java
index 83a820a3f3..d82a655ece 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -55,6 +55,7 @@ public interface GetDocumentRequestOrBuilder
*
*
* The fields to return. If not set, returns all fields.
+ *
* If the document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -69,6 +70,7 @@ public interface GetDocumentRequestOrBuilder
*
*
* The fields to return. If not set, returns all fields.
+ *
* If the document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -83,6 +85,7 @@ public interface GetDocumentRequestOrBuilder
*
*
* The fields to return. If not set, returns all fields.
+ *
* If the document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -121,7 +124,10 @@ public interface GetDocumentRequestOrBuilder
*
*
* Reads the version of the document at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 5;
@@ -134,7 +140,10 @@ public interface GetDocumentRequestOrBuilder
*
*
* Reads the version of the document at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 5;
@@ -147,13 +156,15 @@ public interface GetDocumentRequestOrBuilder
*
*
* Reads the version of the document at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 5;
*/
com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
- public com.google.firestore.v1.GetDocumentRequest.ConsistencySelectorCase
- getConsistencySelectorCase();
+ com.google.firestore.v1.GetDocumentRequest.ConsistencySelectorCase getConsistencySelectorCase();
}
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java
index e25ff4a986..84415c1b7f 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListCollectionIdsRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.v1.FirestoreProto
.internal_static_google_firestore_v1_ListCollectionIdsRequest_descriptor;
@@ -70,6 +65,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
private int consistencySelectorCase_ = 0;
+
+ @SuppressWarnings("serial")
private java.lang.Object consistencySelector_;
public enum ConsistencySelectorCase
@@ -247,7 +244,10 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* Reads documents as they were at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 4;
@@ -263,7 +263,10 @@ public boolean hasReadTime() {
*
*
* Reads documents as they were at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 4;
@@ -282,7 +285,10 @@ public com.google.protobuf.Timestamp getReadTime() {
*
*
* Reads documents as they were at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 4;
@@ -1048,7 +1054,10 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
*
*
* Reads documents as they were at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 4;
@@ -1064,7 +1073,10 @@ public boolean hasReadTime() {
*
*
* Reads documents as they were at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 4;
@@ -1090,7 +1102,10 @@ public com.google.protobuf.Timestamp getReadTime() {
*
*
* Reads documents as they were at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 4;
@@ -1113,7 +1128,10 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
*
*
* Reads documents as they were at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 4;
@@ -1133,7 +1151,10 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
*
*
* Reads documents as they were at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 4;
@@ -1166,7 +1187,10 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
*
*
* Reads documents as they were at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 4;
@@ -1192,7 +1216,10 @@ public Builder clearReadTime() {
*
*
* Reads documents as they were at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 4;
@@ -1205,7 +1232,10 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
*
*
* Reads documents as they were at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 4;
@@ -1226,7 +1256,10 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
*
*
* Reads documents as they were at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 4;
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java
index 7a09c09957..c1cba8dc1d 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -99,7 +99,10 @@ public interface ListCollectionIdsRequestOrBuilder
*
*
* Reads documents as they were at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 4;
@@ -112,7 +115,10 @@ public interface ListCollectionIdsRequestOrBuilder
*
*
* Reads documents as they were at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 4;
@@ -125,13 +131,16 @@ public interface ListCollectionIdsRequestOrBuilder
*
*
* Reads documents as they were at the given time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 4;
*/
com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder();
- public com.google.firestore.v1.ListCollectionIdsRequest.ConsistencySelectorCase
+ com.google.firestore.v1.ListCollectionIdsRequest.ConsistencySelectorCase
getConsistencySelectorCase();
}
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java
index 1a97a20de9..d69eeffc82 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -39,7 +39,7 @@ private ListCollectionIdsResponse(com.google.protobuf.GeneratedMessageV3.Builder
}
private ListCollectionIdsResponse() {
- collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
nextPageToken_ = "";
}
@@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListCollectionIdsResponse();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.v1.FirestoreProto
.internal_static_google_firestore_v1_ListCollectionIdsResponse_descriptor;
@@ -72,7 +67,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
public static final int COLLECTION_IDS_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
- private com.google.protobuf.LazyStringList collectionIds_;
+ private com.google.protobuf.LazyStringArrayList collectionIds_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
/**
*
*
@@ -398,8 +394,7 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
public Builder clear() {
super.clear();
bitField0_ = 0;
- collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000001);
+ collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
nextPageToken_ = "";
return this;
}
@@ -428,7 +423,6 @@ public com.google.firestore.v1.ListCollectionIdsResponse build() {
public com.google.firestore.v1.ListCollectionIdsResponse buildPartial() {
com.google.firestore.v1.ListCollectionIdsResponse result =
new com.google.firestore.v1.ListCollectionIdsResponse(this);
- buildPartialRepeatedFields(result);
if (bitField0_ != 0) {
buildPartial0(result);
}
@@ -436,17 +430,12 @@ public com.google.firestore.v1.ListCollectionIdsResponse buildPartial() {
return result;
}
- private void buildPartialRepeatedFields(
- com.google.firestore.v1.ListCollectionIdsResponse result) {
- if (((bitField0_ & 0x00000001) != 0)) {
- collectionIds_ = collectionIds_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000001);
- }
- result.collectionIds_ = collectionIds_;
- }
-
private void buildPartial0(com.google.firestore.v1.ListCollectionIdsResponse result) {
int from_bitField0_ = bitField0_;
+ if (((from_bitField0_ & 0x00000001) != 0)) {
+ collectionIds_.makeImmutable();
+ result.collectionIds_ = collectionIds_;
+ }
if (((from_bitField0_ & 0x00000002) != 0)) {
result.nextPageToken_ = nextPageToken_;
}
@@ -501,7 +490,7 @@ public Builder mergeFrom(com.google.firestore.v1.ListCollectionIdsResponse other
if (!other.collectionIds_.isEmpty()) {
if (collectionIds_.isEmpty()) {
collectionIds_ = other.collectionIds_;
- bitField0_ = (bitField0_ & ~0x00000001);
+ bitField0_ |= 0x00000001;
} else {
ensureCollectionIdsIsMutable();
collectionIds_.addAll(other.collectionIds_);
@@ -571,14 +560,14 @@ public Builder mergeFrom(
private int bitField0_;
- private com.google.protobuf.LazyStringList collectionIds_ =
- com.google.protobuf.LazyStringArrayList.EMPTY;
+ private com.google.protobuf.LazyStringArrayList collectionIds_ =
+ com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureCollectionIdsIsMutable() {
- if (!((bitField0_ & 0x00000001) != 0)) {
+ if (!collectionIds_.isModifiable()) {
collectionIds_ = new com.google.protobuf.LazyStringArrayList(collectionIds_);
- bitField0_ |= 0x00000001;
}
+ bitField0_ |= 0x00000001;
}
/**
*
@@ -592,7 +581,8 @@ private void ensureCollectionIdsIsMutable() {
* @return A list containing the collectionIds.
*/
public com.google.protobuf.ProtocolStringList getCollectionIdsList() {
- return collectionIds_.getUnmodifiableView();
+ collectionIds_.makeImmutable();
+ return collectionIds_;
}
/**
*
@@ -657,6 +647,7 @@ public Builder setCollectionIds(int index, java.lang.String value) {
}
ensureCollectionIdsIsMutable();
collectionIds_.set(index, value);
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -678,6 +669,7 @@ public Builder addCollectionIds(java.lang.String value) {
}
ensureCollectionIdsIsMutable();
collectionIds_.add(value);
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -696,6 +688,7 @@ public Builder addCollectionIds(java.lang.String value) {
public Builder addAllCollectionIds(java.lang.Iterable values) {
ensureCollectionIdsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(values, collectionIds_);
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
@@ -711,8 +704,9 @@ public Builder addAllCollectionIds(java.lang.Iterable values)
* @return This builder for chaining.
*/
public Builder clearCollectionIds() {
- collectionIds_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ collectionIds_ = com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
+ ;
onChanged();
return this;
}
@@ -735,6 +729,7 @@ public Builder addCollectionIdsBytes(com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
ensureCollectionIdsIsMutable();
collectionIds_.add(value);
+ bitField0_ |= 0x00000001;
onChanged();
return this;
}
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponseOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponseOrBuilder.java
index 42dc747825..b3eb91263e 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponseOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java
index 9768e75bf0..924dc3bd03 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -51,11 +51,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListDocumentsRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.v1.FirestoreProto
.internal_static_google_firestore_v1_ListDocumentsRequest_descriptor;
@@ -72,6 +67,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
private int consistencySelectorCase_ = 0;
+
+ @SuppressWarnings("serial")
private java.lang.Object consistencySelector_;
public enum ConsistencySelectorCase
@@ -129,6 +126,7 @@ public ConsistencySelectorCase getConsistencySelectorCase() {
* Required. The parent resource name. In the format:
* `projects/{project_id}/databases/{database_id}/documents` or
* `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
* For example:
* `projects/my-project/databases/my-database/documents` or
* `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
@@ -157,6 +155,7 @@ public java.lang.String getParent() {
* Required. The parent resource name. In the format:
* `projects/{project_id}/databases/{database_id}/documents` or
* `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
* For example:
* `projects/my-project/databases/my-database/documents` or
* `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
@@ -188,7 +187,9 @@ public com.google.protobuf.ByteString getParentBytes() {
*
*
* Optional. The collection ID, relative to `parent`, to list.
+ *
* For example: `chatrooms` or `messages`.
+ *
* This is optional, and when not provided, Firestore will list documents
* from all collections under the provided `parent`.
*
@@ -214,7 +215,9 @@ public java.lang.String getCollectionId() {
*
*
* Optional. The collection ID, relative to `parent`, to list.
+ *
* For example: `chatrooms` or `messages`.
+ *
* This is optional, and when not provided, Firestore will list documents
* from all collections under the provided `parent`.
*
@@ -243,6 +246,7 @@ public com.google.protobuf.ByteString getCollectionIdBytes() {
*
*
* Optional. The maximum number of documents to return in a single response.
+ *
* Firestore may return fewer than this value.
*
*
@@ -264,6 +268,7 @@ public int getPageSize() {
*
*
* Optional. A page token, received from a previous `ListDocuments` response.
+ *
* Provide this to retrieve the subsequent page. When paginating, all other
* parameters (with the exception of `page_size`) must match the values set
* in the request that generated the page token.
@@ -290,6 +295,7 @@ public java.lang.String getPageToken() {
*
*
* Optional. A page token, received from a previous `ListDocuments` response.
+ *
* Provide this to retrieve the subsequent page. When paginating, all other
* parameters (with the exception of `page_size`) must match the values set
* in the request that generated the page token.
@@ -321,7 +327,9 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* Optional. The optional ordering of the documents to return.
+ *
* For example: `priority desc, __name__ desc`.
+ *
* This mirrors the [`ORDER BY`][google.firestore.v1.StructuredQuery.order_by]
* used in Firestore queries but in a string representation. When absent,
* documents are ordered based on `__name__ ASC`.
@@ -348,7 +356,9 @@ public java.lang.String getOrderBy() {
*
*
* Optional. The optional ordering of the documents to return.
+ *
* For example: `priority desc, __name__ desc`.
+ *
* This mirrors the [`ORDER BY`][google.firestore.v1.StructuredQuery.order_by]
* used in Firestore queries but in a string representation. When absent,
* documents are ordered based on `__name__ ASC`.
@@ -378,6 +388,7 @@ public com.google.protobuf.ByteString getOrderByBytes() {
*
*
* Optional. The fields to return. If not set, returns all fields.
+ *
* If a document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -396,6 +407,7 @@ public boolean hasMask() {
*
*
* Optional. The fields to return. If not set, returns all fields.
+ *
* If a document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -414,6 +426,7 @@ public com.google.firestore.v1.DocumentMask getMask() {
*
*
* Optional. The fields to return. If not set, returns all fields.
+ *
* If a document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -467,7 +480,10 @@ public com.google.protobuf.ByteString getTransaction() {
*
*
* Perform the read at the provided time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 10;
@@ -483,7 +499,10 @@ public boolean hasReadTime() {
*
*
* Perform the read at the provided time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 10;
@@ -502,7 +521,10 @@ public com.google.protobuf.Timestamp getReadTime() {
*
*
* Perform the read at the provided time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 10;
@@ -522,11 +544,13 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
*
*
* If the list should show missing documents.
+ *
* A document is missing if it does not exist, but there are sub-documents
* nested underneath it. When true, such missing documents will be returned
* with a key but will not have fields,
* [`create_time`][google.firestore.v1.Document.create_time], or
* [`update_time`][google.firestore.v1.Document.update_time] set.
+ *
* Requests with `show_missing` may not specify `where` or `order_by`.
*
*
@@ -1131,6 +1155,7 @@ public Builder clearConsistencySelector() {
* Required. The parent resource name. In the format:
* `projects/{project_id}/databases/{database_id}/documents` or
* `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
* For example:
* `projects/my-project/databases/my-database/documents` or
* `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
@@ -1158,6 +1183,7 @@ public java.lang.String getParent() {
* Required. The parent resource name. In the format:
* `projects/{project_id}/databases/{database_id}/documents` or
* `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
* For example:
* `projects/my-project/databases/my-database/documents` or
* `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
@@ -1185,6 +1211,7 @@ public com.google.protobuf.ByteString getParentBytes() {
* Required. The parent resource name. In the format:
* `projects/{project_id}/databases/{database_id}/documents` or
* `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
* For example:
* `projects/my-project/databases/my-database/documents` or
* `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
@@ -1211,6 +1238,7 @@ public Builder setParent(java.lang.String value) {
* Required. The parent resource name. In the format:
* `projects/{project_id}/databases/{database_id}/documents` or
* `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
* For example:
* `projects/my-project/databases/my-database/documents` or
* `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
@@ -1233,6 +1261,7 @@ public Builder clearParent() {
* Required. The parent resource name. In the format:
* `projects/{project_id}/databases/{database_id}/documents` or
* `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
* For example:
* `projects/my-project/databases/my-database/documents` or
* `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
@@ -1260,7 +1289,9 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
*
*
* Optional. The collection ID, relative to `parent`, to list.
+ *
* For example: `chatrooms` or `messages`.
+ *
* This is optional, and when not provided, Firestore will list documents
* from all collections under the provided `parent`.
*
@@ -1285,7 +1316,9 @@ public java.lang.String getCollectionId() {
*
*
* Optional. The collection ID, relative to `parent`, to list.
+ *
* For example: `chatrooms` or `messages`.
+ *
* This is optional, and when not provided, Firestore will list documents
* from all collections under the provided `parent`.
*
@@ -1310,7 +1343,9 @@ public com.google.protobuf.ByteString getCollectionIdBytes() {
*
*
* Optional. The collection ID, relative to `parent`, to list.
+ *
* For example: `chatrooms` or `messages`.
+ *
* This is optional, and when not provided, Firestore will list documents
* from all collections under the provided `parent`.
*
@@ -1334,7 +1369,9 @@ public Builder setCollectionId(java.lang.String value) {
*
*
* Optional. The collection ID, relative to `parent`, to list.
+ *
* For example: `chatrooms` or `messages`.
+ *
* This is optional, and when not provided, Firestore will list documents
* from all collections under the provided `parent`.
*
@@ -1354,7 +1391,9 @@ public Builder clearCollectionId() {
*
*
* Optional. The collection ID, relative to `parent`, to list.
+ *
* For example: `chatrooms` or `messages`.
+ *
* This is optional, and when not provided, Firestore will list documents
* from all collections under the provided `parent`.
*
@@ -1381,6 +1420,7 @@ public Builder setCollectionIdBytes(com.google.protobuf.ByteString value) {
*
*
* Optional. The maximum number of documents to return in a single response.
+ *
* Firestore may return fewer than this value.
*
*
@@ -1397,6 +1437,7 @@ public int getPageSize() {
*
*
* Optional. The maximum number of documents to return in a single response.
+ *
* Firestore may return fewer than this value.
*
*
@@ -1417,6 +1458,7 @@ public Builder setPageSize(int value) {
*
*
* Optional. The maximum number of documents to return in a single response.
+ *
* Firestore may return fewer than this value.
*
*
@@ -1437,6 +1479,7 @@ public Builder clearPageSize() {
*
*
* Optional. A page token, received from a previous `ListDocuments` response.
+ *
* Provide this to retrieve the subsequent page. When paginating, all other
* parameters (with the exception of `page_size`) must match the values set
* in the request that generated the page token.
@@ -1462,6 +1505,7 @@ public java.lang.String getPageToken() {
*
*
* Optional. A page token, received from a previous `ListDocuments` response.
+ *
* Provide this to retrieve the subsequent page. When paginating, all other
* parameters (with the exception of `page_size`) must match the values set
* in the request that generated the page token.
@@ -1487,6 +1531,7 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
* Optional. A page token, received from a previous `ListDocuments` response.
+ *
* Provide this to retrieve the subsequent page. When paginating, all other
* parameters (with the exception of `page_size`) must match the values set
* in the request that generated the page token.
@@ -1511,6 +1556,7 @@ public Builder setPageToken(java.lang.String value) {
*
*
* Optional. A page token, received from a previous `ListDocuments` response.
+ *
* Provide this to retrieve the subsequent page. When paginating, all other
* parameters (with the exception of `page_size`) must match the values set
* in the request that generated the page token.
@@ -1531,6 +1577,7 @@ public Builder clearPageToken() {
*
*
* Optional. A page token, received from a previous `ListDocuments` response.
+ *
* Provide this to retrieve the subsequent page. When paginating, all other
* parameters (with the exception of `page_size`) must match the values set
* in the request that generated the page token.
@@ -1558,7 +1605,9 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
*
*
* Optional. The optional ordering of the documents to return.
+ *
* For example: `priority desc, __name__ desc`.
+ *
* This mirrors the [`ORDER BY`][google.firestore.v1.StructuredQuery.order_by]
* used in Firestore queries but in a string representation. When absent,
* documents are ordered based on `__name__ ASC`.
@@ -1584,7 +1633,9 @@ public java.lang.String getOrderBy() {
*
*
* Optional. The optional ordering of the documents to return.
+ *
* For example: `priority desc, __name__ desc`.
+ *
* This mirrors the [`ORDER BY`][google.firestore.v1.StructuredQuery.order_by]
* used in Firestore queries but in a string representation. When absent,
* documents are ordered based on `__name__ ASC`.
@@ -1610,7 +1661,9 @@ public com.google.protobuf.ByteString getOrderByBytes() {
*
*
* Optional. The optional ordering of the documents to return.
+ *
* For example: `priority desc, __name__ desc`.
+ *
* This mirrors the [`ORDER BY`][google.firestore.v1.StructuredQuery.order_by]
* used in Firestore queries but in a string representation. When absent,
* documents are ordered based on `__name__ ASC`.
@@ -1635,7 +1688,9 @@ public Builder setOrderBy(java.lang.String value) {
*
*
* Optional. The optional ordering of the documents to return.
+ *
* For example: `priority desc, __name__ desc`.
+ *
* This mirrors the [`ORDER BY`][google.firestore.v1.StructuredQuery.order_by]
* used in Firestore queries but in a string representation. When absent,
* documents are ordered based on `__name__ ASC`.
@@ -1656,7 +1711,9 @@ public Builder clearOrderBy() {
*
*
* Optional. The optional ordering of the documents to return.
+ *
* For example: `priority desc, __name__ desc`.
+ *
* This mirrors the [`ORDER BY`][google.firestore.v1.StructuredQuery.order_by]
* used in Firestore queries but in a string representation. When absent,
* documents are ordered based on `__name__ ASC`.
@@ -1689,6 +1746,7 @@ public Builder setOrderByBytes(com.google.protobuf.ByteString value) {
*
*
* Optional. The fields to return. If not set, returns all fields.
+ *
* If a document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -1706,6 +1764,7 @@ public boolean hasMask() {
*
*
* Optional. The fields to return. If not set, returns all fields.
+ *
* If a document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -1727,6 +1786,7 @@ public com.google.firestore.v1.DocumentMask getMask() {
*
*
* Optional. The fields to return. If not set, returns all fields.
+ *
* If a document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -1752,6 +1812,7 @@ public Builder setMask(com.google.firestore.v1.DocumentMask value) {
*
*
* Optional. The fields to return. If not set, returns all fields.
+ *
* If a document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -1774,6 +1835,7 @@ public Builder setMask(com.google.firestore.v1.DocumentMask.Builder builderForVa
*
*
* Optional. The fields to return. If not set, returns all fields.
+ *
* If a document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -1802,6 +1864,7 @@ public Builder mergeMask(com.google.firestore.v1.DocumentMask value) {
*
*
* Optional. The fields to return. If not set, returns all fields.
+ *
* If a document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -1824,6 +1887,7 @@ public Builder clearMask() {
*
*
* Optional. The fields to return. If not set, returns all fields.
+ *
* If a document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -1841,6 +1905,7 @@ public com.google.firestore.v1.DocumentMask.Builder getMaskBuilder() {
*
*
* Optional. The fields to return. If not set, returns all fields.
+ *
* If a document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -1860,6 +1925,7 @@ public com.google.firestore.v1.DocumentMaskOrBuilder getMaskOrBuilder() {
*
*
* Optional. The fields to return. If not set, returns all fields.
+ *
* If a document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -1966,7 +2032,10 @@ public Builder clearTransaction() {
*
*
* Perform the read at the provided time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 10;
@@ -1982,7 +2051,10 @@ public boolean hasReadTime() {
*
*
* Perform the read at the provided time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 10;
@@ -2008,7 +2080,10 @@ public com.google.protobuf.Timestamp getReadTime() {
*
*
* Perform the read at the provided time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 10;
@@ -2031,7 +2106,10 @@ public Builder setReadTime(com.google.protobuf.Timestamp value) {
*
*
* Perform the read at the provided time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 10;
@@ -2051,7 +2129,10 @@ public Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue
*
*
* Perform the read at the provided time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 10;
@@ -2084,7 +2165,10 @@ public Builder mergeReadTime(com.google.protobuf.Timestamp value) {
*
*
* Perform the read at the provided time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 10;
@@ -2110,7 +2194,10 @@ public Builder clearReadTime() {
*
*
* Perform the read at the provided time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 10;
@@ -2123,7 +2210,10 @@ public com.google.protobuf.Timestamp.Builder getReadTimeBuilder() {
*
*
* Perform the read at the provided time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 10;
@@ -2144,7 +2234,10 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
*
*
* Perform the read at the provided time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 10;
@@ -2179,11 +2272,13 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() {
*
*
* If the list should show missing documents.
+ *
* A document is missing if it does not exist, but there are sub-documents
* nested underneath it. When true, such missing documents will be returned
* with a key but will not have fields,
* [`create_time`][google.firestore.v1.Document.create_time], or
* [`update_time`][google.firestore.v1.Document.update_time] set.
+ *
* Requests with `show_missing` may not specify `where` or `order_by`.
*
*
@@ -2200,11 +2295,13 @@ public boolean getShowMissing() {
*
*
* If the list should show missing documents.
+ *
* A document is missing if it does not exist, but there are sub-documents
* nested underneath it. When true, such missing documents will be returned
* with a key but will not have fields,
* [`create_time`][google.firestore.v1.Document.create_time], or
* [`update_time`][google.firestore.v1.Document.update_time] set.
+ *
* Requests with `show_missing` may not specify `where` or `order_by`.
*
*
@@ -2225,11 +2322,13 @@ public Builder setShowMissing(boolean value) {
*
*
* If the list should show missing documents.
+ *
* A document is missing if it does not exist, but there are sub-documents
* nested underneath it. When true, such missing documents will be returned
* with a key but will not have fields,
* [`create_time`][google.firestore.v1.Document.create_time], or
* [`update_time`][google.firestore.v1.Document.update_time] set.
+ *
* Requests with `show_missing` may not specify `where` or `order_by`.
*
*
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java
index ff4a1bb7b8..ae4329e256 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -30,6 +30,7 @@ public interface ListDocumentsRequestOrBuilder
* Required. The parent resource name. In the format:
* `projects/{project_id}/databases/{database_id}/documents` or
* `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
* For example:
* `projects/my-project/databases/my-database/documents` or
* `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
@@ -47,6 +48,7 @@ public interface ListDocumentsRequestOrBuilder
* Required. The parent resource name. In the format:
* `projects/{project_id}/databases/{database_id}/documents` or
* `projects/{project_id}/databases/{database_id}/documents/{document_path}`.
+ *
* For example:
* `projects/my-project/databases/my-database/documents` or
* `projects/my-project/databases/my-database/documents/chatrooms/my-chatroom`
@@ -63,7 +65,9 @@ public interface ListDocumentsRequestOrBuilder
*
*
* Optional. The collection ID, relative to `parent`, to list.
+ *
* For example: `chatrooms` or `messages`.
+ *
* This is optional, and when not provided, Firestore will list documents
* from all collections under the provided `parent`.
*
@@ -78,7 +82,9 @@ public interface ListDocumentsRequestOrBuilder
*
*
* Optional. The collection ID, relative to `parent`, to list.
+ *
* For example: `chatrooms` or `messages`.
+ *
* This is optional, and when not provided, Firestore will list documents
* from all collections under the provided `parent`.
*
@@ -94,6 +100,7 @@ public interface ListDocumentsRequestOrBuilder
*
*
* Optional. The maximum number of documents to return in a single response.
+ *
* Firestore may return fewer than this value.
*
*
@@ -108,6 +115,7 @@ public interface ListDocumentsRequestOrBuilder
*
*
* Optional. A page token, received from a previous `ListDocuments` response.
+ *
* Provide this to retrieve the subsequent page. When paginating, all other
* parameters (with the exception of `page_size`) must match the values set
* in the request that generated the page token.
@@ -123,6 +131,7 @@ public interface ListDocumentsRequestOrBuilder
*
*
* Optional. A page token, received from a previous `ListDocuments` response.
+ *
* Provide this to retrieve the subsequent page. When paginating, all other
* parameters (with the exception of `page_size`) must match the values set
* in the request that generated the page token.
@@ -139,7 +148,9 @@ public interface ListDocumentsRequestOrBuilder
*
*
* Optional. The optional ordering of the documents to return.
+ *
* For example: `priority desc, __name__ desc`.
+ *
* This mirrors the [`ORDER BY`][google.firestore.v1.StructuredQuery.order_by]
* used in Firestore queries but in a string representation. When absent,
* documents are ordered based on `__name__ ASC`.
@@ -155,7 +166,9 @@ public interface ListDocumentsRequestOrBuilder
*
*
* Optional. The optional ordering of the documents to return.
+ *
* For example: `priority desc, __name__ desc`.
+ *
* This mirrors the [`ORDER BY`][google.firestore.v1.StructuredQuery.order_by]
* used in Firestore queries but in a string representation. When absent,
* documents are ordered based on `__name__ ASC`.
@@ -172,6 +185,7 @@ public interface ListDocumentsRequestOrBuilder
*
*
* Optional. The fields to return. If not set, returns all fields.
+ *
* If a document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -187,6 +201,7 @@ public interface ListDocumentsRequestOrBuilder
*
*
* Optional. The fields to return. If not set, returns all fields.
+ *
* If a document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -202,6 +217,7 @@ public interface ListDocumentsRequestOrBuilder
*
*
* Optional. The fields to return. If not set, returns all fields.
+ *
* If a document has a field that is not present in this mask, that field
* will not be returned in the response.
*
@@ -241,7 +257,10 @@ public interface ListDocumentsRequestOrBuilder
*
*
* Perform the read at the provided time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 10;
@@ -254,7 +273,10 @@ public interface ListDocumentsRequestOrBuilder
*
*
* Perform the read at the provided time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 10;
@@ -267,7 +289,10 @@ public interface ListDocumentsRequestOrBuilder
*
*
* Perform the read at the provided time.
- * This may not be older than 270 seconds.
+ *
+ * This must be a microsecond precision timestamp within the past one hour,
+ * or if Point-in-Time Recovery is enabled, can additionally be a whole
+ * minute timestamp within the past 7 days.
*
*
* .google.protobuf.Timestamp read_time = 10;
@@ -279,11 +304,13 @@ public interface ListDocumentsRequestOrBuilder
*
*
* If the list should show missing documents.
+ *
* A document is missing if it does not exist, but there are sub-documents
* nested underneath it. When true, such missing documents will be returned
* with a key but will not have fields,
* [`create_time`][google.firestore.v1.Document.create_time], or
* [`update_time`][google.firestore.v1.Document.update_time] set.
+ *
* Requests with `show_missing` may not specify `where` or `order_by`.
*
*
@@ -293,6 +320,5 @@ public interface ListDocumentsRequestOrBuilder
*/
boolean getShowMissing();
- public com.google.firestore.v1.ListDocumentsRequest.ConsistencySelectorCase
- getConsistencySelectorCase();
+ com.google.firestore.v1.ListDocumentsRequest.ConsistencySelectorCase getConsistencySelectorCase();
}
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java
index ea4999b1bd..762bd36138 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -49,11 +49,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListDocumentsResponse();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.v1.FirestoreProto
.internal_static_google_firestore_v1_ListDocumentsResponse_descriptor;
@@ -149,6 +144,7 @@ public com.google.firestore.v1.DocumentOrBuilder getDocumentsOrBuilder(int index
*
*
* A token to retrieve the next page of documents.
+ *
* If this field is omitted, there are no subsequent pages.
*
*
@@ -173,6 +169,7 @@ public java.lang.String getNextPageToken() {
*
*
* A token to retrieve the next page of documents.
+ *
* If this field is omitted, there are no subsequent pages.
*
*
@@ -959,6 +956,7 @@ public java.util.List getDocumentsBuil
*
*
* A token to retrieve the next page of documents.
+ *
* If this field is omitted, there are no subsequent pages.
*
*
@@ -982,6 +980,7 @@ public java.lang.String getNextPageToken() {
*
*
* A token to retrieve the next page of documents.
+ *
* If this field is omitted, there are no subsequent pages.
*
*
@@ -1005,6 +1004,7 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* A token to retrieve the next page of documents.
+ *
* If this field is omitted, there are no subsequent pages.
*
*
@@ -1027,6 +1027,7 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* A token to retrieve the next page of documents.
+ *
* If this field is omitted, there are no subsequent pages.
*
*
@@ -1045,6 +1046,7 @@ public Builder clearNextPageToken() {
*
*
* A token to retrieve the next page of documents.
+ *
* If this field is omitted, there are no subsequent pages.
*
*
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponseOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponseOrBuilder.java
index 2899895699..30162ec00d 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponseOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -79,6 +79,7 @@ public interface ListDocumentsResponseOrBuilder
*
*
* A token to retrieve the next page of documents.
+ *
* If this field is omitted, there are no subsequent pages.
*
*
@@ -92,6 +93,7 @@ public interface ListDocumentsResponseOrBuilder
*
*
* A token to retrieve the next page of documents.
+ *
* If this field is omitted, there are no subsequent pages.
*
*
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java
index e357da8239..2db93d0868 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequest.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -47,11 +47,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListenRequest();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.v1.FirestoreProto
.internal_static_google_firestore_v1_ListenRequest_descriptor;
@@ -79,6 +74,8 @@ protected com.google.protobuf.MapField internalGetMapField(int number) {
}
private int targetChangeCase_ = 0;
+
+ @SuppressWarnings("serial")
private java.lang.Object targetChange_;
public enum TargetChangeCase
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequestOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequestOrBuilder.java
index 555d3eb347..fb3e417e69 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequestOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenRequestOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -168,5 +168,5 @@ java.lang.String getLabelsOrDefault(
*/
java.lang.String getLabelsOrThrow(java.lang.String key);
- public com.google.firestore.v1.ListenRequest.TargetChangeCase getTargetChangeCase();
+ com.google.firestore.v1.ListenRequest.TargetChangeCase getTargetChangeCase();
}
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java
index aa66f38a17..fdeb05852a 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new ListenResponse();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.v1.FirestoreProto
.internal_static_google_firestore_v1_ListenResponse_descriptor;
@@ -66,6 +61,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
}
private int responseTypeCase_ = 0;
+
+ @SuppressWarnings("serial")
private java.lang.Object responseType_;
public enum ResponseTypeCase
@@ -335,6 +332,7 @@ public com.google.firestore.v1.DocumentRemoveOrBuilder getDocumentRemoveOrBuilde
*
* A filter to apply to the set of documents previously returned for the
* given target.
+ *
* Returned when documents may have been removed from the given target, but
* the exact documents are unknown.
*
@@ -353,6 +351,7 @@ public boolean hasFilter() {
*
* A filter to apply to the set of documents previously returned for the
* given target.
+ *
* Returned when documents may have been removed from the given target, but
* the exact documents are unknown.
*
@@ -374,6 +373,7 @@ public com.google.firestore.v1.ExistenceFilter getFilter() {
*
* A filter to apply to the set of documents previously returned for the
* given target.
+ *
* Returned when documents may have been removed from the given target, but
* the exact documents are unknown.
*
@@ -1756,6 +1756,7 @@ public com.google.firestore.v1.DocumentRemoveOrBuilder getDocumentRemoveOrBuilde
*
* A filter to apply to the set of documents previously returned for the
* given target.
+ *
* Returned when documents may have been removed from the given target, but
* the exact documents are unknown.
*
@@ -1774,6 +1775,7 @@ public boolean hasFilter() {
*
* A filter to apply to the set of documents previously returned for the
* given target.
+ *
* Returned when documents may have been removed from the given target, but
* the exact documents are unknown.
*
@@ -1802,6 +1804,7 @@ public com.google.firestore.v1.ExistenceFilter getFilter() {
*
* A filter to apply to the set of documents previously returned for the
* given target.
+ *
* Returned when documents may have been removed from the given target, but
* the exact documents are unknown.
*
@@ -1827,6 +1830,7 @@ public Builder setFilter(com.google.firestore.v1.ExistenceFilter value) {
*
* A filter to apply to the set of documents previously returned for the
* given target.
+ *
* Returned when documents may have been removed from the given target, but
* the exact documents are unknown.
*
@@ -1849,6 +1853,7 @@ public Builder setFilter(com.google.firestore.v1.ExistenceFilter.Builder builder
*
* A filter to apply to the set of documents previously returned for the
* given target.
+ *
* Returned when documents may have been removed from the given target, but
* the exact documents are unknown.
*
@@ -1884,6 +1889,7 @@ public Builder mergeFilter(com.google.firestore.v1.ExistenceFilter value) {
*
* A filter to apply to the set of documents previously returned for the
* given target.
+ *
* Returned when documents may have been removed from the given target, but
* the exact documents are unknown.
*
@@ -1912,6 +1918,7 @@ public Builder clearFilter() {
*
* A filter to apply to the set of documents previously returned for the
* given target.
+ *
* Returned when documents may have been removed from the given target, but
* the exact documents are unknown.
*
@@ -1927,6 +1934,7 @@ public com.google.firestore.v1.ExistenceFilter.Builder getFilterBuilder() {
*
* A filter to apply to the set of documents previously returned for the
* given target.
+ *
* Returned when documents may have been removed from the given target, but
* the exact documents are unknown.
*
@@ -1950,6 +1958,7 @@ public com.google.firestore.v1.ExistenceFilterOrBuilder getFilterOrBuilder() {
*
* A filter to apply to the set of documents previously returned for the
* given target.
+ *
* Returned when documents may have been removed from the given target, but
* the exact documents are unknown.
*
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java
index c2c47e0d29..41956bf426 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -172,6 +172,7 @@ public interface ListenResponseOrBuilder
*
* A filter to apply to the set of documents previously returned for the
* given target.
+ *
* Returned when documents may have been removed from the given target, but
* the exact documents are unknown.
*
@@ -187,6 +188,7 @@ public interface ListenResponseOrBuilder
*
* A filter to apply to the set of documents previously returned for the
* given target.
+ *
* Returned when documents may have been removed from the given target, but
* the exact documents are unknown.
*
@@ -202,6 +204,7 @@ public interface ListenResponseOrBuilder
*
* A filter to apply to the set of documents previously returned for the
* given target.
+ *
* Returned when documents may have been removed from the given target, but
* the exact documents are unknown.
*
@@ -210,5 +213,5 @@ public interface ListenResponseOrBuilder
*/
com.google.firestore.v1.ExistenceFilterOrBuilder getFilterOrBuilder();
- public com.google.firestore.v1.ListenResponse.ResponseTypeCase getResponseTypeCase();
+ com.google.firestore.v1.ListenResponse.ResponseTypeCase getResponseTypeCase();
}
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValue.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValue.java
index 54c5c461c6..5db5868da8 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValue.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValue.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -45,11 +45,6 @@ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
return new MapValue();
}
- @java.lang.Override
- public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
- return this.unknownFields;
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return com.google.firestore.v1.DocumentProto
.internal_static_google_firestore_v1_MapValue_descriptor;
@@ -109,6 +104,7 @@ public int getFieldsCount() {
*
*
* The map's fields.
+ *
* The map keys represent field names. Field names matching the regular
* expression `__.*__` are reserved. Reserved field names are forbidden except
* in certain documented contexts. The map keys, represented as UTF-8, must
@@ -135,6 +131,7 @@ public java.util.Map getFields(
*
*
* The map's fields.
+ *
* The map keys represent field names. Field names matching the regular
* expression `__.*__` are reserved. Reserved field names are forbidden except
* in certain documented contexts. The map keys, represented as UTF-8, must
@@ -152,6 +149,7 @@ public java.util.Map getFieldsM
*
*
* The map's fields.
+ *
* The map keys represent field names. Field names matching the regular
* expression `__.*__` are reserved. Reserved field names are forbidden except
* in certain documented contexts. The map keys, represented as UTF-8, must
@@ -177,6 +175,7 @@ public java.util.Map getFieldsM
*
*
* The map's fields.
+ *
* The map keys represent field names. Field names matching the regular
* expression `__.*__` are reserved. Reserved field names are forbidden except
* in certain documented contexts. The map keys, represented as UTF-8, must
@@ -600,6 +599,7 @@ public int getFieldsCount() {
*
*
* The map's fields.
+ *
* The map keys represent field names. Field names matching the regular
* expression `__.*__` are reserved. Reserved field names are forbidden except
* in certain documented contexts. The map keys, represented as UTF-8, must
@@ -626,6 +626,7 @@ public java.util.Map getFields(
*
*
* The map's fields.
+ *
* The map keys represent field names. Field names matching the regular
* expression `__.*__` are reserved. Reserved field names are forbidden except
* in certain documented contexts. The map keys, represented as UTF-8, must
@@ -643,6 +644,7 @@ public java.util.Map getFieldsM
*
*
* The map's fields.
+ *
* The map keys represent field names. Field names matching the regular
* expression `__.*__` are reserved. Reserved field names are forbidden except
* in certain documented contexts. The map keys, represented as UTF-8, must
@@ -668,6 +670,7 @@ public java.util.Map getFieldsM
*
*
* The map's fields.
+ *
* The map keys represent field names. Field names matching the regular
* expression `__.*__` are reserved. Reserved field names are forbidden except
* in certain documented contexts. The map keys, represented as UTF-8, must
@@ -699,6 +702,7 @@ public Builder clearFields() {
*
*
* The map's fields.
+ *
* The map keys represent field names. Field names matching the regular
* expression `__.*__` are reserved. Reserved field names are forbidden except
* in certain documented contexts. The map keys, represented as UTF-8, must
@@ -725,6 +729,7 @@ public java.util.Map getMutable
*
*
* The map's fields.
+ *
* The map keys represent field names. Field names matching the regular
* expression `__.*__` are reserved. Reserved field names are forbidden except
* in certain documented contexts. The map keys, represented as UTF-8, must
@@ -749,6 +754,7 @@ public Builder putFields(java.lang.String key, com.google.firestore.v1.Value val
*
*
* The map's fields.
+ *
* The map keys represent field names. Field names matching the regular
* expression `__.*__` are reserved. Reserved field names are forbidden except
* in certain documented contexts. The map keys, represented as UTF-8, must
diff --git a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java
index 27cc2155e7..834a742972 100644
--- a/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java
+++ b/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/MapValueOrBuilder.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2020 Google LLC
+ * Copyright 2023 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,6 +28,7 @@ public interface MapValueOrBuilder
*
*
* The map's fields.
+ *
* The map keys represent field names. Field names matching the regular
* expression `__.*__` are reserved. Reserved field names are forbidden except
* in certain documented contexts. The map keys, represented as UTF-8, must
@@ -42,6 +43,7 @@ public interface MapValueOrBuilder
*
*
* The map's fields.
+ *
* The map keys represent field names. Field names matching the regular
* expression `__.*__` are reserved. Reserved field names are forbidden except
* in certain documented contexts. The map keys, represented as UTF-8, must
@@ -59,6 +61,7 @@ public interface MapValueOrBuilder
*
*
* The map's fields.
+ *
* The map keys represent field names. Field names matching the regular
* expression `__.*__` are reserved. Reserved field names are forbidden except
* in certain documented contexts. The map keys, represented as UTF-8, must
@@ -73,6 +76,7 @@ public interface MapValueOrBuilder
*
*