diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java index 4c097a0cb5c3..80ede040eaa6 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsRequest.java @@ -7,8 +7,7 @@ * * *
- * The request for - * [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments]. + * The request for [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments]. ** * Protobuf type {@code google.firestore.v1.BatchGetDocumentsRequest} @@ -724,8 +723,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
- * The request for - * [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments]. + * The request for [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments]. ** * Protobuf type {@code google.firestore.v1.BatchGetDocumentsRequest} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java index 4e7791c9cea3..641fae961f7d 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponse.java @@ -7,8 +7,7 @@ * * *
- * The streamed response for - * [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments]. + * The streamed response for [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments]. ** * Protobuf type {@code google.firestore.v1.BatchGetDocumentsResponse} @@ -273,8 +272,7 @@ public com.google.protobuf.ByteString getMissingBytes() { *
* The transaction that was started as part of this request. * Will only be set in the first response, and only if - * [BatchGetDocumentsRequest.new_transaction][google.firestore.v1.BatchGetDocumentsRequest.new_transaction] - * was set in the request. + * [BatchGetDocumentsRequest.new_transaction][google.firestore.v1.BatchGetDocumentsRequest.new_transaction] was set in the request. ** *
bytes transaction = 3;
@@ -547,8 +545,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* - * The streamed response for - * [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments]. + * The streamed response for [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments]. ** * Protobuf type {@code google.firestore.v1.BatchGetDocumentsResponse} @@ -1076,8 +1073,7 @@ public Builder setMissingBytes(com.google.protobuf.ByteString value) { *
* The transaction that was started as part of this request. * Will only be set in the first response, and only if - * [BatchGetDocumentsRequest.new_transaction][google.firestore.v1.BatchGetDocumentsRequest.new_transaction] - * was set in the request. + * [BatchGetDocumentsRequest.new_transaction][google.firestore.v1.BatchGetDocumentsRequest.new_transaction] was set in the request. ** *
bytes transaction = 3;
@@ -1091,8 +1087,7 @@ public com.google.protobuf.ByteString getTransaction() {
* * The transaction that was started as part of this request. * Will only be set in the first response, and only if - * [BatchGetDocumentsRequest.new_transaction][google.firestore.v1.BatchGetDocumentsRequest.new_transaction] - * was set in the request. + * [BatchGetDocumentsRequest.new_transaction][google.firestore.v1.BatchGetDocumentsRequest.new_transaction] was set in the request. ** *
bytes transaction = 3;
@@ -1112,8 +1107,7 @@ public Builder setTransaction(com.google.protobuf.ByteString value) {
* * The transaction that was started as part of this request. * Will only be set in the first response, and only if - * [BatchGetDocumentsRequest.new_transaction][google.firestore.v1.BatchGetDocumentsRequest.new_transaction] - * was set in the request. + * [BatchGetDocumentsRequest.new_transaction][google.firestore.v1.BatchGetDocumentsRequest.new_transaction] was set in the request. ** *
bytes transaction = 3;
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java
index 383996dd2d60..7757fe305814 100644
--- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BatchGetDocumentsResponseOrBuilder.java
@@ -68,8 +68,7 @@ public interface BatchGetDocumentsResponseOrBuilder
* * The transaction that was started as part of this request. * Will only be set in the first response, and only if - * [BatchGetDocumentsRequest.new_transaction][google.firestore.v1.BatchGetDocumentsRequest.new_transaction] - * was set in the request. + * [BatchGetDocumentsRequest.new_transaction][google.firestore.v1.BatchGetDocumentsRequest.new_transaction] was set in the request. ** *
bytes transaction = 3;
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java
index 9e9e51bff10a..af42d2e00f96 100644
--- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java
+++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionRequest.java
@@ -7,8 +7,7 @@
*
*
* - * The request for - * [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction]. + * The request for [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction]. ** * Protobuf type {@code google.firestore.v1.BeginTransactionRequest} @@ -375,8 +374,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
- * The request for - * [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction]. + * The request for [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction]. ** * Protobuf type {@code google.firestore.v1.BeginTransactionRequest} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java index 624502f60bb1..e6e333802284 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/BeginTransactionResponse.java @@ -7,8 +7,7 @@ * * *
- * The response for - * [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction]. + * The response for [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction]. ** * Protobuf type {@code google.firestore.v1.BeginTransactionResponse} @@ -269,8 +268,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
- * The response for - * [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction]. + * The response for [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction]. ** * Protobuf type {@code google.firestore.v1.BeginTransactionResponse} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java index 84047cf6c4ec..6019b5869a00 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CommonProto.java @@ -42,8 +42,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n google/firestore/v1/common.proto\022\023goog" - + "le.firestore.v1\032\034google/api/annotations." - + "proto\032\037google/protobuf/timestamp.proto\"#" + + "le.firestore.v1\032\037google/protobuf/timesta" + + "mp.proto\032\034google/api/annotations.proto\"#" + "\n\014DocumentMask\022\023\n\013field_paths\030\001 \003(\t\"e\n\014P" + "recondition\022\020\n\006exists\030\001 \001(\010H\000\0221\n\013update_" + "time\030\002 \001(\0132\032.google.protobuf.TimestampH\000" @@ -72,8 +72,8 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), }, assigner); internal_static_google_firestore_v1_DocumentMask_descriptor = @@ -116,8 +116,8 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new java.lang.String[] { "ReadTime", "ConsistencySelector", }); - com.google.api.AnnotationsProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequest.java index 1f9584a76884..f08298be5c65 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/CreateDocumentRequest.java @@ -7,8 +7,7 @@ * * *
- * The request for - * [Firestore.CreateDocument][google.firestore.v1.Firestore.CreateDocument]. + * The request for [Firestore.CreateDocument][google.firestore.v1.Firestore.CreateDocument]. ** * Protobuf type {@code google.firestore.v1.CreateDocumentRequest} @@ -568,8 +567,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
- * The request for - * [Firestore.CreateDocument][google.firestore.v1.Firestore.CreateDocument]. + * The request for [Firestore.CreateDocument][google.firestore.v1.Firestore.CreateDocument]. ** * Protobuf type {@code google.firestore.v1.CreateDocumentRequest} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java index 8dd80e7b0a5a..a6d7daf36d7d 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DeleteDocumentRequest.java @@ -7,8 +7,7 @@ * * *
- * The request for - * [Firestore.DeleteDocument][google.firestore.v1.Firestore.DeleteDocument]. + * The request for [Firestore.DeleteDocument][google.firestore.v1.Firestore.DeleteDocument]. ** * Protobuf type {@code google.firestore.v1.DeleteDocumentRequest} @@ -375,8 +374,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
- * The request for - * [Firestore.DeleteDocument][google.firestore.v1.Firestore.DeleteDocument]. + * The request for [Firestore.DeleteDocument][google.firestore.v1.Firestore.DeleteDocument]. ** * Protobuf type {@code google.firestore.v1.DeleteDocumentRequest} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java index 879048eadfbe..088e1847cf33 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentChange.java @@ -8,11 +8,10 @@ * *
* 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. + * 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. ** * Protobuf type {@code google.firestore.v1.DocumentChange} @@ -503,11 +502,10 @@ 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. + * 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. ** * Protobuf type {@code google.firestore.v1.DocumentChange} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java index 4fd4aca746d1..c0a83d86a3ae 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDelete.java @@ -8,11 +8,10 @@ * *
* 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. + * 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. ** * Protobuf type {@code google.firestore.v1.DocumentDelete} @@ -146,8 +145,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
- * The resource name of the [Document][google.firestore.v1.Document] that was - * deleted. + * The resource name of the [Document][google.firestore.v1.Document] that was deleted. ** *
string document = 1;
@@ -167,8 +165,7 @@ public java.lang.String getDocument() {
*
*
* - * The resource name of the [Document][google.firestore.v1.Document] that was - * deleted. + * The resource name of the [Document][google.firestore.v1.Document] that was deleted. ** *
string document = 1;
@@ -472,11 +469,10 @@ 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. + * 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. ** * Protobuf type {@code google.firestore.v1.DocumentDelete} @@ -670,8 +666,7 @@ public Builder mergeFrom( * * *
- * The resource name of the [Document][google.firestore.v1.Document] that was - * deleted. + * The resource name of the [Document][google.firestore.v1.Document] that was deleted. ** *
string document = 1;
@@ -691,8 +686,7 @@ public java.lang.String getDocument() {
*
*
* - * The resource name of the [Document][google.firestore.v1.Document] that was - * deleted. + * The resource name of the [Document][google.firestore.v1.Document] that was deleted. ** *
string document = 1;
@@ -712,8 +706,7 @@ public com.google.protobuf.ByteString getDocumentBytes() {
*
*
* - * The resource name of the [Document][google.firestore.v1.Document] that was - * deleted. + * The resource name of the [Document][google.firestore.v1.Document] that was deleted. ** *
string document = 1;
@@ -731,8 +724,7 @@ public Builder setDocument(java.lang.String value) {
*
*
* - * The resource name of the [Document][google.firestore.v1.Document] that was - * deleted. + * The resource name of the [Document][google.firestore.v1.Document] that was deleted. ** *
string document = 1;
@@ -747,8 +739,7 @@ public Builder clearDocument() {
*
*
* - * The resource name of the [Document][google.firestore.v1.Document] that was - * deleted. + * The resource name of the [Document][google.firestore.v1.Document] that was deleted. ** *
string document = 1;
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java
index 071171493d89..a4644be12f4b 100644
--- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentDeleteOrBuilder.java
@@ -12,8 +12,7 @@ public interface DocumentDeleteOrBuilder
*
*
* - * The resource name of the [Document][google.firestore.v1.Document] that was - * deleted. + * The resource name of the [Document][google.firestore.v1.Document] that was deleted. ** *
string document = 1;
@@ -23,8 +22,7 @@ public interface DocumentDeleteOrBuilder
*
*
* - * The resource name of the [Document][google.firestore.v1.Document] that was - * deleted. + * The resource name of the [Document][google.firestore.v1.Document] that was deleted. ** *
string document = 1;
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java
index 6e7a8fa1c76a..eac18de912d5 100644
--- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java
+++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMask.java
@@ -11,8 +11,7 @@
* Used to restrict a get or update operation on a document to a subset of its
* fields.
* This is different from standard field masks, as this is always scoped to a
- * [Document][google.firestore.v1.Document], and takes in account the dynamic
- * nature of [Value][google.firestore.v1.Value].
+ * [Document][google.firestore.v1.Document], and takes in account the dynamic nature of [Value][google.firestore.v1.Value].
*
*
* Protobuf type {@code google.firestore.v1.DocumentMask}
@@ -108,9 +107,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* - * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1.Document.fields] for a field path - * syntax reference. + * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field + * path syntax reference. ** *
repeated string field_paths = 1;
@@ -122,9 +120,8 @@ public com.google.protobuf.ProtocolStringList getFieldPathsList() {
*
*
* - * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1.Document.fields] for a field path - * syntax reference. + * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field + * path syntax reference. ** *
repeated string field_paths = 1;
@@ -136,9 +133,8 @@ public int getFieldPathsCount() {
*
*
* - * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1.Document.fields] for a field path - * syntax reference. + * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field + * path syntax reference. ** *
repeated string field_paths = 1;
@@ -150,9 +146,8 @@ public java.lang.String getFieldPaths(int index) {
*
*
* - * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1.Document.fields] for a field path - * syntax reference. + * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field + * path syntax reference. ** *
repeated string field_paths = 1;
@@ -334,8 +329,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
* Used to restrict a get or update operation on a document to a subset of its
* fields.
* This is different from standard field masks, as this is always scoped to a
- * [Document][google.firestore.v1.Document], and takes in account the dynamic
- * nature of [Value][google.firestore.v1.Value].
+ * [Document][google.firestore.v1.Document], and takes in account the dynamic nature of [Value][google.firestore.v1.Value].
*
*
* Protobuf type {@code google.firestore.v1.DocumentMask}
@@ -513,9 +507,8 @@ private void ensureFieldPathsIsMutable() {
*
*
* - * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1.Document.fields] for a field path - * syntax reference. + * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field + * path syntax reference. ** *
repeated string field_paths = 1;
@@ -527,9 +520,8 @@ public com.google.protobuf.ProtocolStringList getFieldPathsList() {
*
*
* - * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1.Document.fields] for a field path - * syntax reference. + * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field + * path syntax reference. ** *
repeated string field_paths = 1;
@@ -541,9 +533,8 @@ public int getFieldPathsCount() {
*
*
* - * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1.Document.fields] for a field path - * syntax reference. + * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field + * path syntax reference. ** *
repeated string field_paths = 1;
@@ -555,9 +546,8 @@ public java.lang.String getFieldPaths(int index) {
*
*
* - * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1.Document.fields] for a field path - * syntax reference. + * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field + * path syntax reference. ** *
repeated string field_paths = 1;
@@ -569,9 +559,8 @@ public com.google.protobuf.ByteString getFieldPathsBytes(int index) {
*
*
* - * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1.Document.fields] for a field path - * syntax reference. + * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field + * path syntax reference. ** *
repeated string field_paths = 1;
@@ -589,9 +578,8 @@ public Builder setFieldPaths(int index, java.lang.String value) {
*
*
* - * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1.Document.fields] for a field path - * syntax reference. + * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field + * path syntax reference. ** *
repeated string field_paths = 1;
@@ -609,9 +597,8 @@ public Builder addFieldPaths(java.lang.String value) {
*
*
* - * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1.Document.fields] for a field path - * syntax reference. + * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field + * path syntax reference. ** *
repeated string field_paths = 1;
@@ -626,9 +613,8 @@ public Builder addAllFieldPaths(java.lang.Iterable- * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1.Document.fields] for a field path - * syntax reference. + * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field + * path syntax reference. ** *
repeated string field_paths = 1;
@@ -643,9 +629,8 @@ public Builder clearFieldPaths() {
*
*
* - * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1.Document.fields] for a field path - * syntax reference. + * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field + * path syntax reference. ** *
repeated string field_paths = 1;
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java
index 8680187d9256..11476e48406b 100644
--- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentMaskOrBuilder.java
@@ -12,9 +12,8 @@ public interface DocumentMaskOrBuilder
*
*
* - * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1.Document.fields] for a field path - * syntax reference. + * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field + * path syntax reference. ** *
repeated string field_paths = 1;
@@ -24,9 +23,8 @@ public interface DocumentMaskOrBuilder
*
*
* - * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1.Document.fields] for a field path - * syntax reference. + * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field + * path syntax reference. ** *
repeated string field_paths = 1;
@@ -36,9 +34,8 @@ public interface DocumentMaskOrBuilder
*
*
* - * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1.Document.fields] for a field path - * syntax reference. + * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field + * path syntax reference. ** *
repeated string field_paths = 1;
@@ -48,9 +45,8 @@ public interface DocumentMaskOrBuilder
*
*
* - * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1.Document.fields] for a field path - * syntax reference. + * The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field + * path syntax reference. ** *
repeated string field_paths = 1;
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java
index de16046a0533..62f728027348 100644
--- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java
+++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentProto.java
@@ -46,10 +46,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
static {
java.lang.String[] descriptorData = {
"\n\"google/firestore/v1/document.proto\022\023go"
- + "ogle.firestore.v1\032\034google/api/annotation"
- + "s.proto\032\034google/protobuf/struct.proto\032\037g"
- + "oogle/protobuf/timestamp.proto\032\030google/t"
- + "ype/latlng.proto\"\200\002\n\010Document\022\014\n\004name\030\001 "
+ + "ogle.firestore.v1\032\034google/protobuf/struc"
+ + "t.proto\032\037google/protobuf/timestamp.proto"
+ + "\032\030google/type/latlng.proto\032\034google/api/a"
+ + "nnotations.proto\"\200\002\n\010Document\022\014\n\004name\030\001 "
+ "\001(\t\0229\n\006fields\030\002 \003(\0132).google.firestore.v"
+ "1.Document.FieldsEntry\022/\n\013create_time\030\003 "
+ "\001(\0132\032.google.protobuf.Timestamp\022/\n\013updat"
@@ -89,10 +89,10 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
com.google.protobuf.StructProto.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
com.google.type.LatLngProto.getDescriptor(),
+ com.google.api.AnnotationsProto.getDescriptor(),
},
assigner);
internal_static_google_firestore_v1_Document_descriptor =
@@ -153,10 +153,10 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
new java.lang.String[] {
"Key", "Value",
});
- com.google.api.AnnotationsProto.getDescriptor();
com.google.protobuf.StructProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
com.google.type.LatLngProto.getDescriptor();
+ com.google.api.AnnotationsProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemove.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemove.java
index 402a231b650d..f8c8714e7a2a 100644
--- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemove.java
+++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemove.java
@@ -7,14 +7,12 @@
*
*
* - * A [Document][google.firestore.v1.Document] has been removed from the view of - * the targets. + * 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. + * Multiple [DocumentRemove][google.firestore.v1.DocumentRemove] messages may be returned for the same logical + * write or delete, if multiple targets are affected. ** * Protobuf type {@code google.firestore.v1.DocumentRemove} @@ -148,8 +146,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *
- * The resource name of the [Document][google.firestore.v1.Document] that has - * gone out of view. + * The resource name of the [Document][google.firestore.v1.Document] that has gone out of view. ** *
string document = 1;
@@ -169,8 +166,7 @@ public java.lang.String getDocument() {
*
*
* - * The resource name of the [Document][google.firestore.v1.Document] that has - * gone out of view. + * The resource name of the [Document][google.firestore.v1.Document] that has gone out of view. ** *
string document = 1;
@@ -473,14 +469,12 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* - * A [Document][google.firestore.v1.Document] has been removed from the view of - * the targets. + * 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. + * Multiple [DocumentRemove][google.firestore.v1.DocumentRemove] messages may be returned for the same logical + * write or delete, if multiple targets are affected. ** * Protobuf type {@code google.firestore.v1.DocumentRemove} @@ -674,8 +668,7 @@ public Builder mergeFrom( * * *
- * The resource name of the [Document][google.firestore.v1.Document] that has - * gone out of view. + * The resource name of the [Document][google.firestore.v1.Document] that has gone out of view. ** *
string document = 1;
@@ -695,8 +688,7 @@ public java.lang.String getDocument() {
*
*
* - * The resource name of the [Document][google.firestore.v1.Document] that has - * gone out of view. + * The resource name of the [Document][google.firestore.v1.Document] that has gone out of view. ** *
string document = 1;
@@ -716,8 +708,7 @@ public com.google.protobuf.ByteString getDocumentBytes() {
*
*
* - * The resource name of the [Document][google.firestore.v1.Document] that has - * gone out of view. + * The resource name of the [Document][google.firestore.v1.Document] that has gone out of view. ** *
string document = 1;
@@ -735,8 +726,7 @@ public Builder setDocument(java.lang.String value) {
*
*
* - * The resource name of the [Document][google.firestore.v1.Document] that has - * gone out of view. + * The resource name of the [Document][google.firestore.v1.Document] that has gone out of view. ** *
string document = 1;
@@ -751,8 +741,7 @@ public Builder clearDocument() {
*
*
* - * The resource name of the [Document][google.firestore.v1.Document] that has - * gone out of view. + * The resource name of the [Document][google.firestore.v1.Document] that has gone out of view. ** *
string document = 1;
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java
index 182aaad73d83..55e07d9aecff 100644
--- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentRemoveOrBuilder.java
@@ -12,8 +12,7 @@ public interface DocumentRemoveOrBuilder
*
*
* - * The resource name of the [Document][google.firestore.v1.Document] that has - * gone out of view. + * The resource name of the [Document][google.firestore.v1.Document] that has gone out of view. ** *
string document = 1;
@@ -23,8 +22,7 @@ public interface DocumentRemoveOrBuilder
*
*
* - * The resource name of the [Document][google.firestore.v1.Document] that has - * gone out of view. + * The resource name of the [Document][google.firestore.v1.Document] that has gone out of view. ** *
string document = 1;
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java
index 03109eb9bd06..16b9eb8cdeb7 100644
--- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java
+++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/DocumentTransform.java
@@ -118,9 +118,8 @@ public interface FieldTransformOrBuilder
*
*
* - * The path of the field. See - * [Document.fields][google.firestore.v1.Document.fields] for the field path - * syntax reference. + * The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax + * reference. ** *
string field_path = 1;
@@ -130,9 +129,8 @@ public interface FieldTransformOrBuilder
*
*
* - * The path of the field. See - * [Document.fields][google.firestore.v1.Document.fields] for the field path - * syntax reference. + * The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax + * reference. ** *
string field_path = 1;
@@ -811,9 +809,8 @@ public TransformTypeCase getTransformTypeCase() {
*
*
* - * The path of the field. See - * [Document.fields][google.firestore.v1.Document.fields] for the field path - * syntax reference. + * The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax + * reference. ** *
string field_path = 1;
@@ -833,9 +830,8 @@ public java.lang.String getFieldPath() {
*
*
* - * The path of the field. See - * [Document.fields][google.firestore.v1.Document.fields] for the field path - * syntax reference. + * The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax + * reference. ** *
string field_path = 1;
@@ -1768,9 +1764,8 @@ public Builder clearTransformType() {
*
*
* - * The path of the field. See - * [Document.fields][google.firestore.v1.Document.fields] for the field path - * syntax reference. + * The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax + * reference. ** *
string field_path = 1;
@@ -1790,9 +1785,8 @@ public java.lang.String getFieldPath() {
*
*
* - * The path of the field. See - * [Document.fields][google.firestore.v1.Document.fields] for the field path - * syntax reference. + * The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax + * reference. ** *
string field_path = 1;
@@ -1812,9 +1806,8 @@ public com.google.protobuf.ByteString getFieldPathBytes() {
*
*
* - * The path of the field. See - * [Document.fields][google.firestore.v1.Document.fields] for the field path - * syntax reference. + * The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax + * reference. ** *
string field_path = 1;
@@ -1832,9 +1825,8 @@ public Builder setFieldPath(java.lang.String value) {
*
*
* - * The path of the field. See - * [Document.fields][google.firestore.v1.Document.fields] for the field path - * syntax reference. + * The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax + * reference. ** *
string field_path = 1;
@@ -1849,9 +1841,8 @@ public Builder clearFieldPath() {
*
*
* - * The path of the field. See - * [Document.fields][google.firestore.v1.Document.fields] for the field path - * syntax reference. + * The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax + * reference. ** *
string field_path = 1;
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java
index 1b1cc113a336..b0e253af275d 100644
--- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java
+++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilter.java
@@ -116,8 +116,7 @@ public int getTargetId() {
*
*
* - * The total count of documents that match - * [target_id][google.firestore.v1.ExistenceFilter.target_id]. + * 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. *@@ -507,8 +506,7 @@ public Builder clearTargetId() { * * *
- * The total count of documents that match - * [target_id][google.firestore.v1.ExistenceFilter.target_id]. + * 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. *@@ -522,8 +520,7 @@ public int getCount() { * * *
- * The total count of documents that match - * [target_id][google.firestore.v1.ExistenceFilter.target_id]. + * 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. *@@ -540,8 +537,7 @@ public Builder setCount(int value) { * * *
- * The total count of documents that match - * [target_id][google.firestore.v1.ExistenceFilter.target_id]. + * 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. *diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java index 902319ba976e..044aec9816a7 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ExistenceFilterOrBuilder.java @@ -23,8 +23,7 @@ public interface ExistenceFilterOrBuilder * * *
- * The total count of documents that match - * [target_id][google.firestore.v1.ExistenceFilter.target_id]. + * 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. *diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequest.java index 86e353ce41dd..3794b9c5ecc8 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/GetDocumentRequest.java @@ -7,8 +7,7 @@ * * *
- * The request for - * [Firestore.GetDocument][google.firestore.v1.Firestore.GetDocument]. + * The request for [Firestore.GetDocument][google.firestore.v1.Firestore.GetDocument]. ** * Protobuf type {@code google.firestore.v1.GetDocumentRequest} @@ -541,8 +540,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
- * The request for - * [Firestore.GetDocument][google.firestore.v1.Firestore.GetDocument]. + * The request for [Firestore.GetDocument][google.firestore.v1.Firestore.GetDocument]. ** * Protobuf type {@code google.firestore.v1.GetDocumentRequest} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java index 838900ea8346..45304820307f 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsRequest.java @@ -7,8 +7,7 @@ * * *
- * The request for - * [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds]. + * The request for [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds]. ** * Protobuf type {@code google.firestore.v1.ListCollectionIdsRequest} @@ -397,8 +396,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
- * The request for - * [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds]. + * The request for [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds]. ** * Protobuf type {@code google.firestore.v1.ListCollectionIdsRequest} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java index 8077a4e78dc7..4d1d95ed771b 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListCollectionIdsResponse.java @@ -7,8 +7,7 @@ * * *
- * The response from - * [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds]. + * The response from [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds]. ** * Protobuf type {@code google.firestore.v1.ListCollectionIdsResponse} @@ -381,8 +380,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
- * The response from - * [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds]. + * The response from [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds]. ** * Protobuf type {@code google.firestore.v1.ListCollectionIdsResponse} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java index f205182f9a21..5df0e959d496 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequest.java @@ -7,8 +7,7 @@ * * *
- * The request for - * [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments]. + * The request for [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments]. ** * Protobuf type {@code google.firestore.v1.ListDocumentsRequest} @@ -521,9 +520,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { *
* If the list should show missing documents. A missing document is a * document that does not exist but has sub-documents. These documents will - * be returned with a key but will not have fields, - * [Document.create_time][google.firestore.v1.Document.create_time], or - * [Document.update_time][google.firestore.v1.Document.update_time] set. + * be returned with a key but will not have fields, [Document.create_time][google.firestore.v1.Document.create_time], + * or [Document.update_time][google.firestore.v1.Document.update_time] set. * Requests with `show_missing` may not specify `where` or * `order_by`. *@@ -797,8 +795,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
- * The request for - * [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments]. + * The request for [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments]. ** * Protobuf type {@code google.firestore.v1.ListDocumentsRequest} @@ -1954,9 +1951,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { *
* If the list should show missing documents. A missing document is a * document that does not exist but has sub-documents. These documents will - * be returned with a key but will not have fields, - * [Document.create_time][google.firestore.v1.Document.create_time], or - * [Document.update_time][google.firestore.v1.Document.update_time] set. + * be returned with a key but will not have fields, [Document.create_time][google.firestore.v1.Document.create_time], + * or [Document.update_time][google.firestore.v1.Document.update_time] set. * Requests with `show_missing` may not specify `where` or * `order_by`. *@@ -1972,9 +1968,8 @@ public boolean getShowMissing() { *
* If the list should show missing documents. A missing document is a * document that does not exist but has sub-documents. These documents will - * be returned with a key but will not have fields, - * [Document.create_time][google.firestore.v1.Document.create_time], or - * [Document.update_time][google.firestore.v1.Document.update_time] set. + * be returned with a key but will not have fields, [Document.create_time][google.firestore.v1.Document.create_time], + * or [Document.update_time][google.firestore.v1.Document.update_time] set. * Requests with `show_missing` may not specify `where` or * `order_by`. *@@ -1993,9 +1988,8 @@ public Builder setShowMissing(boolean value) { *
* If the list should show missing documents. A missing document is a * document that does not exist but has sub-documents. These documents will - * be returned with a key but will not have fields, - * [Document.create_time][google.firestore.v1.Document.create_time], or - * [Document.update_time][google.firestore.v1.Document.update_time] set. + * be returned with a key but will not have fields, [Document.create_time][google.firestore.v1.Document.create_time], + * or [Document.update_time][google.firestore.v1.Document.update_time] set. * Requests with `show_missing` may not specify `where` or * `order_by`. *diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java index fdf386f57350..7b2561ae5eb4 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsRequestOrBuilder.java @@ -203,9 +203,8 @@ public interface ListDocumentsRequestOrBuilder *
* If the list should show missing documents. A missing document is a * document that does not exist but has sub-documents. These documents will - * be returned with a key but will not have fields, - * [Document.create_time][google.firestore.v1.Document.create_time], or - * [Document.update_time][google.firestore.v1.Document.update_time] set. + * be returned with a key but will not have fields, [Document.create_time][google.firestore.v1.Document.create_time], + * or [Document.update_time][google.firestore.v1.Document.update_time] set. * Requests with `show_missing` may not specify `where` or * `order_by`. *diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java index 4d1c32185200..e4383afceac1 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListDocumentsResponse.java @@ -7,8 +7,7 @@ * * *
- * The response for - * [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments]. + * The response for [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments]. ** * Protobuf type {@code google.firestore.v1.ListDocumentsResponse} @@ -389,8 +388,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
- * The response for - * [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments]. + * The response for [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments]. ** * Protobuf type {@code google.firestore.v1.ListDocumentsResponse} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java index 39359f585128..a5270da5b2aa 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponse.java @@ -348,8 +348,8 @@ public com.google.firestore.v1.DocumentDeleteOrBuilder getDocumentDeleteOrBuilde * * *
- * A [Document][google.firestore.v1.Document] has been removed from a target - * (because it is no longer relevant to that target). + * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer + * relevant to that target). ** *
.google.firestore.v1.DocumentRemove document_remove = 6;
@@ -361,8 +361,8 @@ public boolean hasDocumentRemove() {
*
*
* - * A [Document][google.firestore.v1.Document] has been removed from a target - * (because it is no longer relevant to that target). + * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer + * relevant to that target). ** *
.google.firestore.v1.DocumentRemove document_remove = 6;
@@ -377,8 +377,8 @@ public com.google.firestore.v1.DocumentRemove getDocumentRemove() {
*
*
* - * A [Document][google.firestore.v1.Document] has been removed from a target - * (because it is no longer relevant to that target). + * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer + * relevant to that target). ** *
.google.firestore.v1.DocumentRemove document_remove = 6;
@@ -1525,8 +1525,8 @@ public com.google.firestore.v1.DocumentDeleteOrBuilder getDocumentDeleteOrBuilde
*
*
* - * A [Document][google.firestore.v1.Document] has been removed from a target - * (because it is no longer relevant to that target). + * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer + * relevant to that target). ** *
.google.firestore.v1.DocumentRemove document_remove = 6;
@@ -1538,8 +1538,8 @@ public boolean hasDocumentRemove() {
*
*
* - * A [Document][google.firestore.v1.Document] has been removed from a target - * (because it is no longer relevant to that target). + * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer + * relevant to that target). ** *
.google.firestore.v1.DocumentRemove document_remove = 6;
@@ -1561,8 +1561,8 @@ public com.google.firestore.v1.DocumentRemove getDocumentRemove() {
*
*
* - * A [Document][google.firestore.v1.Document] has been removed from a target - * (because it is no longer relevant to that target). + * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer + * relevant to that target). ** *
.google.firestore.v1.DocumentRemove document_remove = 6;
@@ -1584,8 +1584,8 @@ public Builder setDocumentRemove(com.google.firestore.v1.DocumentRemove value) {
*
*
* - * A [Document][google.firestore.v1.Document] has been removed from a target - * (because it is no longer relevant to that target). + * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer + * relevant to that target). ** *
.google.firestore.v1.DocumentRemove document_remove = 6;
@@ -1605,8 +1605,8 @@ public Builder setDocumentRemove(
*
*
* - * A [Document][google.firestore.v1.Document] has been removed from a target - * (because it is no longer relevant to that target). + * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer + * relevant to that target). ** *
.google.firestore.v1.DocumentRemove document_remove = 6;
@@ -1637,8 +1637,8 @@ public Builder mergeDocumentRemove(com.google.firestore.v1.DocumentRemove value)
*
*
* - * A [Document][google.firestore.v1.Document] has been removed from a target - * (because it is no longer relevant to that target). + * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer + * relevant to that target). ** *
.google.firestore.v1.DocumentRemove document_remove = 6;
@@ -1663,8 +1663,8 @@ public Builder clearDocumentRemove() {
*
*
* - * A [Document][google.firestore.v1.Document] has been removed from a target - * (because it is no longer relevant to that target). + * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer + * relevant to that target). ** *
.google.firestore.v1.DocumentRemove document_remove = 6;
@@ -1676,8 +1676,8 @@ public com.google.firestore.v1.DocumentRemove.Builder getDocumentRemoveBuilder()
*
*
* - * A [Document][google.firestore.v1.Document] has been removed from a target - * (because it is no longer relevant to that target). + * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer + * relevant to that target). ** *
.google.firestore.v1.DocumentRemove document_remove = 6;
@@ -1696,8 +1696,8 @@ public com.google.firestore.v1.DocumentRemoveOrBuilder getDocumentRemoveOrBuilde
*
*
* - * A [Document][google.firestore.v1.Document] has been removed from a target - * (because it is no longer relevant to that target). + * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer + * relevant to that target). ** *
.google.firestore.v1.DocumentRemove document_remove = 6;
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java
index 5d663df25095..3394cb55ed53 100644
--- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/ListenResponseOrBuilder.java
@@ -105,8 +105,8 @@ public interface ListenResponseOrBuilder
*
*
* - * A [Document][google.firestore.v1.Document] has been removed from a target - * (because it is no longer relevant to that target). + * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer + * relevant to that target). ** *
.google.firestore.v1.DocumentRemove document_remove = 6;
@@ -116,8 +116,8 @@ public interface ListenResponseOrBuilder
*
*
* - * A [Document][google.firestore.v1.Document] has been removed from a target - * (because it is no longer relevant to that target). + * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer + * relevant to that target). ** *
.google.firestore.v1.DocumentRemove document_remove = 6;
@@ -127,8 +127,8 @@ public interface ListenResponseOrBuilder
*
*
* - * A [Document][google.firestore.v1.Document] has been removed from a target - * (because it is no longer relevant to that target). + * A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer + * relevant to that target). ** *
.google.firestore.v1.DocumentRemove document_remove = 6;
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/QueryProto.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/QueryProto.java
index bc3c06b1ada8..1b892e9c78fd 100644
--- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/QueryProto.java
+++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/QueryProto.java
@@ -36,14 +36,14 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r
internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_firestore_v1_StructuredQuery_UnaryFilter_fieldAccessorTable;
- static final com.google.protobuf.Descriptors.Descriptor
- internal_static_google_firestore_v1_StructuredQuery_Order_descriptor;
- static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internal_static_google_firestore_v1_StructuredQuery_Order_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_firestore_v1_StructuredQuery_FieldReference_fieldAccessorTable;
+ static final com.google.protobuf.Descriptors.Descriptor
+ internal_static_google_firestore_v1_StructuredQuery_Order_descriptor;
+ static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
+ internal_static_google_firestore_v1_StructuredQuery_Order_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_firestore_v1_StructuredQuery_Projection_descriptor;
static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
@@ -62,9 +62,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
static {
java.lang.String[] descriptorData = {
"\n\037google/firestore/v1/query.proto\022\023googl"
- + "e.firestore.v1\032\034google/api/annotations.p"
- + "roto\032\"google/firestore/v1/document.proto"
- + "\032\036google/protobuf/wrappers.proto\"\332\016\n\017Str"
+ + "e.firestore.v1\032\"google/firestore/v1/docu"
+ + "ment.proto\032\036google/protobuf/wrappers.pro"
+ + "to\032\034google/api/annotations.proto\"\332\016\n\017Str"
+ "ucturedQuery\022?\n\006select\030\001 \001(\0132/.google.fi"
+ "restore.v1.StructuredQuery.Projection\022E\n"
+ "\004from\030\002 \003(\01327.google.firestore.v1.Struct"
@@ -103,12 +103,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\030\002 \001(\01323.google.firestore.v1.StructuredQ"
+ "uery.FieldReferenceH\000\"=\n\010Operator\022\030\n\024OPE"
+ "RATOR_UNSPECIFIED\020\000\022\n\n\006IS_NAN\020\002\022\013\n\007IS_NU"
- + "LL\020\003B\016\n\014operand_type\032\216\001\n\005Order\022B\n\005field\030"
- + "\001 \001(\01323.google.firestore.v1.StructuredQu"
- + "ery.FieldReference\022A\n\tdirection\030\002 \001(\0162.."
- + "google.firestore.v1.StructuredQuery.Dire"
- + "ction\032$\n\016FieldReference\022\022\n\nfield_path\030\002 "
- + "\001(\t\032Q\n\nProjection\022C\n\006fields\030\002 \003(\01323.goog"
+ + "LL\020\003B\016\n\014operand_type\032$\n\016FieldReference\022\022"
+ + "\n\nfield_path\030\002 \001(\t\032\216\001\n\005Order\022B\n\005field\030\001 "
+ + "\001(\01323.google.firestore.v1.StructuredQuer"
+ + "y.FieldReference\022A\n\tdirection\030\002 \001(\0162..go"
+ + "ogle.firestore.v1.StructuredQuery.Direct"
+ + "ion\032Q\n\nProjection\022C\n\006fields\030\002 \003(\01323.goog"
+ "le.firestore.v1.StructuredQuery.FieldRef"
+ "erence\"E\n\tDirection\022\031\n\025DIRECTION_UNSPECI"
+ "FIED\020\000\022\r\n\tASCENDING\020\001\022\016\n\nDESCENDING\020\002\"D\n"
@@ -131,9 +131,9 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
com.google.firestore.v1.DocumentProto.getDescriptor(),
com.google.protobuf.WrappersProto.getDescriptor(),
+ com.google.api.AnnotationsProto.getDescriptor(),
},
assigner);
internal_static_google_firestore_v1_StructuredQuery_descriptor =
@@ -184,21 +184,21 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
new java.lang.String[] {
"Op", "Field", "OperandType",
});
- internal_static_google_firestore_v1_StructuredQuery_Order_descriptor =
+ internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor =
internal_static_google_firestore_v1_StructuredQuery_descriptor.getNestedTypes().get(5);
- internal_static_google_firestore_v1_StructuredQuery_Order_fieldAccessorTable =
+ internal_static_google_firestore_v1_StructuredQuery_FieldReference_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_firestore_v1_StructuredQuery_Order_descriptor,
+ internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor,
new java.lang.String[] {
- "Field", "Direction",
+ "FieldPath",
});
- internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor =
+ internal_static_google_firestore_v1_StructuredQuery_Order_descriptor =
internal_static_google_firestore_v1_StructuredQuery_descriptor.getNestedTypes().get(6);
- internal_static_google_firestore_v1_StructuredQuery_FieldReference_fieldAccessorTable =
+ internal_static_google_firestore_v1_StructuredQuery_Order_fieldAccessorTable =
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
- internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor,
+ internal_static_google_firestore_v1_StructuredQuery_Order_descriptor,
new java.lang.String[] {
- "FieldPath",
+ "Field", "Direction",
});
internal_static_google_firestore_v1_StructuredQuery_Projection_descriptor =
internal_static_google_firestore_v1_StructuredQuery_descriptor.getNestedTypes().get(7);
@@ -216,9 +216,9 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
new java.lang.String[] {
"Values", "Before",
});
- com.google.api.AnnotationsProto.getDescriptor();
com.google.firestore.v1.DocumentProto.getDescriptor();
com.google.protobuf.WrappersProto.getDescriptor();
+ com.google.api.AnnotationsProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponse.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponse.java
index e21a15ad0d8a..bb1df98c4d6a 100644
--- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponse.java
+++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponse.java
@@ -7,8 +7,7 @@
*
*
* - * The response for - * [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery]. + * The response for [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery]. ** * Protobuf type {@code google.firestore.v1.RunQueryResponse} @@ -134,9 +133,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { *
* The transaction that was started as part of this request. * Can only be set in the first response, and only if - * [RunQueryRequest.new_transaction][google.firestore.v1.RunQueryRequest.new_transaction] - * was set in the request. If set, no other fields will be set in this - * response. + * [RunQueryRequest.new_transaction][google.firestore.v1.RunQueryRequest.new_transaction] was set in the request. + * If set, no other fields will be set in this response. ** *
bytes transaction = 2;
@@ -457,8 +455,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
* - * The response for - * [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery]. + * The response for [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery]. ** * Protobuf type {@code google.firestore.v1.RunQueryResponse} @@ -651,9 +648,8 @@ public Builder mergeFrom( *
* The transaction that was started as part of this request. * Can only be set in the first response, and only if - * [RunQueryRequest.new_transaction][google.firestore.v1.RunQueryRequest.new_transaction] - * was set in the request. If set, no other fields will be set in this - * response. + * [RunQueryRequest.new_transaction][google.firestore.v1.RunQueryRequest.new_transaction] was set in the request. + * If set, no other fields will be set in this response. ** *
bytes transaction = 2;
@@ -667,9 +663,8 @@ public com.google.protobuf.ByteString getTransaction() {
* * The transaction that was started as part of this request. * Can only be set in the first response, and only if - * [RunQueryRequest.new_transaction][google.firestore.v1.RunQueryRequest.new_transaction] - * was set in the request. If set, no other fields will be set in this - * response. + * [RunQueryRequest.new_transaction][google.firestore.v1.RunQueryRequest.new_transaction] was set in the request. + * If set, no other fields will be set in this response. ** *
bytes transaction = 2;
@@ -689,9 +684,8 @@ public Builder setTransaction(com.google.protobuf.ByteString value) {
* * The transaction that was started as part of this request. * Can only be set in the first response, and only if - * [RunQueryRequest.new_transaction][google.firestore.v1.RunQueryRequest.new_transaction] - * was set in the request. If set, no other fields will be set in this - * response. + * [RunQueryRequest.new_transaction][google.firestore.v1.RunQueryRequest.new_transaction] was set in the request. + * If set, no other fields will be set in this response. ** *
bytes transaction = 2;
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java
index 55979ddcf528..2b18df04a319 100644
--- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java
+++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/RunQueryResponseOrBuilder.java
@@ -14,9 +14,8 @@ public interface RunQueryResponseOrBuilder
* * The transaction that was started as part of this request. * Can only be set in the first response, and only if - * [RunQueryRequest.new_transaction][google.firestore.v1.RunQueryRequest.new_transaction] - * was set in the request. If set, no other fields will be set in this - * response. + * [RunQueryRequest.new_transaction][google.firestore.v1.RunQueryRequest.new_transaction] was set in the request. + * If set, no other fields will be set in this response. ** *
bytes transaction = 2;
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQuery.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQuery.java
index 606e72ffb75b..83ee3cfe276b 100644
--- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQuery.java
+++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/StructuredQuery.java
@@ -6470,84 +6470,37 @@ public com.google.firestore.v1.StructuredQuery.UnaryFilter getDefaultInstanceFor
}
}
- public interface OrderOrBuilder
+ public interface FieldReferenceOrBuilder
extends
- // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.Order)
+ // @@protoc_insertion_point(interface_extends:google.firestore.v1.StructuredQuery.FieldReference)
com.google.protobuf.MessageOrBuilder {
- /**
- *
- *
- * - * The field to order by. - *- * - *
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
- */
- boolean hasField();
- /**
- *
- *
- * - * The field to order by. - *- * - *
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
- */
- com.google.firestore.v1.StructuredQuery.FieldReference getField();
- /**
- *
- *
- * - * The field to order by. - *- * - *
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
- */
- com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder();
-
- /**
- *
- *
- * - * The direction to order by. Defaults to `ASCENDING`. - *- * - *
.google.firestore.v1.StructuredQuery.Direction direction = 2;
- */
- int getDirectionValue();
- /**
- *
- *
- * - * The direction to order by. Defaults to `ASCENDING`. - *- * - *
.google.firestore.v1.StructuredQuery.Direction direction = 2;
- */
- com.google.firestore.v1.StructuredQuery.Direction getDirection();
+ /** string field_path = 2;
*/
+ java.lang.String getFieldPath();
+ /** string field_path = 2;
*/
+ com.google.protobuf.ByteString getFieldPathBytes();
}
/**
*
*
* - * An order on a field. + * A reference to a field, such as `max(messages.time) as max_time`. ** - * Protobuf type {@code google.firestore.v1.StructuredQuery.Order} + * Protobuf type {@code google.firestore.v1.StructuredQuery.FieldReference} */ - public static final class Order extends com.google.protobuf.GeneratedMessageV3 + public static final class FieldReference extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.Order) - OrderOrBuilder { + // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.FieldReference) + FieldReferenceOrBuilder { private static final long serialVersionUID = 0L; - // Use Order.newBuilder() to construct. - private Order(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + // Use FieldReference.newBuilder() to construct. + private FieldReference(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } - private Order() { - direction_ = 0; + private FieldReference() { + fieldPath_ = ""; } @java.lang.Override @@ -6555,7 +6508,7 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private Order( + private FieldReference( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -6574,28 +6527,11 @@ private Order( case 0: done = true; break; - case 10: - { - com.google.firestore.v1.StructuredQuery.FieldReference.Builder subBuilder = null; - if (field_ != null) { - subBuilder = field_.toBuilder(); - } - field_ = - input.readMessage( - com.google.firestore.v1.StructuredQuery.FieldReference.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(field_); - field_ = subBuilder.buildPartial(); - } - - break; - } - case 16: + case 18: { - int rawValue = input.readEnum(); + java.lang.String s = input.readStringRequireUtf8(); - direction_ = rawValue; + fieldPath_ = s; break; } default: @@ -6619,90 +6555,44 @@ private Order( public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_Order_descriptor; + .internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_Order_fieldAccessorTable + .internal_static_google_firestore_v1_StructuredQuery_FieldReference_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.Order.class, - com.google.firestore.v1.StructuredQuery.Order.Builder.class); - } - - public static final int FIELD_FIELD_NUMBER = 1; - private com.google.firestore.v1.StructuredQuery.FieldReference field_; - /** - * - * - *
- * The field to order by. - *- * - *
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
- */
- public boolean hasField() {
- return field_ != null;
- }
- /**
- *
- *
- * - * The field to order by. - *- * - *
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
- */
- public com.google.firestore.v1.StructuredQuery.FieldReference getField() {
- return field_ == null
- ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance()
- : field_;
- }
- /**
- *
- *
- * - * The field to order by. - *- * - *
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
- */
- public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder() {
- return getField();
+ com.google.firestore.v1.StructuredQuery.FieldReference.class,
+ com.google.firestore.v1.StructuredQuery.FieldReference.Builder.class);
}
- public static final int DIRECTION_FIELD_NUMBER = 2;
- private int direction_;
- /**
- *
- *
- * - * The direction to order by. Defaults to `ASCENDING`. - *- * - *
.google.firestore.v1.StructuredQuery.Direction direction = 2;
- */
- public int getDirectionValue() {
- return direction_;
+ public static final int FIELD_PATH_FIELD_NUMBER = 2;
+ private volatile java.lang.Object fieldPath_;
+ /** string field_path = 2;
*/
+ public java.lang.String getFieldPath() {
+ java.lang.Object ref = fieldPath_;
+ 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();
+ fieldPath_ = s;
+ return s;
+ }
}
- /**
- *
- *
- * - * The direction to order by. Defaults to `ASCENDING`. - *- * - *
.google.firestore.v1.StructuredQuery.Direction direction = 2;
- */
- public com.google.firestore.v1.StructuredQuery.Direction getDirection() {
- @SuppressWarnings("deprecation")
- com.google.firestore.v1.StructuredQuery.Direction result =
- com.google.firestore.v1.StructuredQuery.Direction.valueOf(direction_);
- return result == null
- ? com.google.firestore.v1.StructuredQuery.Direction.UNRECOGNIZED
- : result;
+ /** string field_path = 2;
*/
+ public com.google.protobuf.ByteString getFieldPathBytes() {
+ java.lang.Object ref = fieldPath_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ fieldPath_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
}
private byte memoizedIsInitialized = -1;
@@ -6719,12 +6609,8 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (field_ != null) {
- output.writeMessage(1, getField());
- }
- if (direction_
- != com.google.firestore.v1.StructuredQuery.Direction.DIRECTION_UNSPECIFIED.getNumber()) {
- output.writeEnum(2, direction_);
+ if (!getFieldPathBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fieldPath_);
}
unknownFields.writeTo(output);
}
@@ -6735,12 +6621,8 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (field_ != null) {
- size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getField());
- }
- if (direction_
- != com.google.firestore.v1.StructuredQuery.Direction.DIRECTION_UNSPECIFIED.getNumber()) {
- size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, direction_);
+ if (!getFieldPathBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, fieldPath_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -6752,18 +6634,14 @@ public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
- if (!(obj instanceof com.google.firestore.v1.StructuredQuery.Order)) {
+ if (!(obj instanceof com.google.firestore.v1.StructuredQuery.FieldReference)) {
return super.equals(obj);
}
- com.google.firestore.v1.StructuredQuery.Order other =
- (com.google.firestore.v1.StructuredQuery.Order) obj;
+ com.google.firestore.v1.StructuredQuery.FieldReference other =
+ (com.google.firestore.v1.StructuredQuery.FieldReference) obj;
boolean result = true;
- result = result && (hasField() == other.hasField());
- if (hasField()) {
- result = result && getField().equals(other.getField());
- }
- result = result && direction_ == other.direction_;
+ result = result && getFieldPath().equals(other.getFieldPath());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@@ -6775,82 +6653,78 @@ public int hashCode() {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
- if (hasField()) {
- hash = (37 * hash) + FIELD_FIELD_NUMBER;
- hash = (53 * hash) + getField().hashCode();
- }
- hash = (37 * hash) + DIRECTION_FIELD_NUMBER;
- hash = (53 * hash) + direction_;
+ hash = (37 * hash) + FIELD_PATH_FIELD_NUMBER;
+ hash = (53 * hash) + getFieldPath().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
- public static com.google.firestore.v1.StructuredQuery.Order parseFrom(java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
+ public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom(
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.firestore.v1.StructuredQuery.Order parseFrom(
+ public static com.google.firestore.v1.StructuredQuery.FieldReference 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.v1.StructuredQuery.Order parseFrom(
+ public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.firestore.v1.StructuredQuery.Order parseFrom(
+ public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.firestore.v1.StructuredQuery.Order parseFrom(byte[] data)
+ public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.firestore.v1.StructuredQuery.Order parseFrom(
+ public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom(
byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.firestore.v1.StructuredQuery.Order parseFrom(java.io.InputStream input)
- throws java.io.IOException {
+ public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
- public static com.google.firestore.v1.StructuredQuery.Order parseFrom(
+ public static com.google.firestore.v1.StructuredQuery.FieldReference 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.v1.StructuredQuery.Order parseDelimitedFrom(
+ public static com.google.firestore.v1.StructuredQuery.FieldReference parseDelimitedFrom(
java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
- public static com.google.firestore.v1.StructuredQuery.Order parseDelimitedFrom(
+ public static com.google.firestore.v1.StructuredQuery.FieldReference parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}
- public static com.google.firestore.v1.StructuredQuery.Order parseFrom(
+ public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
- public static com.google.firestore.v1.StructuredQuery.Order parseFrom(
+ public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -6867,7 +6741,8 @@ public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
- public static Builder newBuilder(com.google.firestore.v1.StructuredQuery.Order prototype) {
+ public static Builder newBuilder(
+ com.google.firestore.v1.StructuredQuery.FieldReference prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@@ -6886,32 +6761,32 @@ protected Builder newBuilderForType(
*
*
* - * An order on a field. + * A reference to a field, such as `max(messages.time) as max_time`. ** - * Protobuf type {@code google.firestore.v1.StructuredQuery.Order} + * Protobuf type {@code google.firestore.v1.StructuredQuery.FieldReference} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
- * The field to order by. - *- * - *
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
- */
- public boolean hasField() {
- return fieldBuilder_ != null || field_ != null;
- }
- /**
- *
- *
- * - * The field to order by. - *- * - *
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
- */
- public com.google.firestore.v1.StructuredQuery.FieldReference getField() {
- if (fieldBuilder_ == null) {
- return field_ == null
- ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance()
- : field_;
+ private java.lang.Object fieldPath_ = "";
+ /** string field_path = 2;
*/
+ public java.lang.String getFieldPath() {
+ java.lang.Object ref = fieldPath_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ fieldPath_ = s;
+ return s;
} else {
- return fieldBuilder_.getMessage();
+ return (java.lang.String) ref;
}
}
- /**
- *
- *
- * - * The field to order by. - *- * - *
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
- */
- public Builder setField(com.google.firestore.v1.StructuredQuery.FieldReference value) {
- if (fieldBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- field_ = value;
- onChanged();
+ /** string field_path = 2;
*/
+ public com.google.protobuf.ByteString getFieldPathBytes() {
+ java.lang.Object ref = fieldPath_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ fieldPath_ = b;
+ return b;
} else {
- fieldBuilder_.setMessage(value);
+ return (com.google.protobuf.ByteString) ref;
}
-
- return this;
}
- /**
- *
- *
- * - * The field to order by. - *- * - *
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
- */
- public Builder setField(
- com.google.firestore.v1.StructuredQuery.FieldReference.Builder builderForValue) {
- if (fieldBuilder_ == null) {
- field_ = builderForValue.build();
- onChanged();
- } else {
- fieldBuilder_.setMessage(builderForValue.build());
+ /** string field_path = 2;
*/
+ public Builder setFieldPath(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
}
+ fieldPath_ = value;
+ onChanged();
return this;
}
- /**
- *
- *
- * - * The field to order by. - *- * - *
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
- */
- public Builder mergeField(com.google.firestore.v1.StructuredQuery.FieldReference value) {
- if (fieldBuilder_ == null) {
- if (field_ != null) {
- field_ =
- com.google.firestore.v1.StructuredQuery.FieldReference.newBuilder(field_)
- .mergeFrom(value)
- .buildPartial();
- } else {
- field_ = value;
- }
- onChanged();
- } else {
- fieldBuilder_.mergeFrom(value);
- }
+ /** string field_path = 2;
*/
+ public Builder clearFieldPath() {
+ fieldPath_ = getDefaultInstance().getFieldPath();
+ onChanged();
return this;
}
- /**
- *
- *
- * - * The field to order by. - *- * - *
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
- */
- public Builder clearField() {
- if (fieldBuilder_ == null) {
- field_ = null;
- onChanged();
- } else {
- field_ = null;
- fieldBuilder_ = null;
+ /** string field_path = 2;
*/
+ public Builder setFieldPathBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
}
+ checkByteStringIsUtf8(value);
+ fieldPath_ = value;
+ onChanged();
return this;
}
- /**
- *
- *
- * - * The field to order by. - *- * - *
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
- */
- public com.google.firestore.v1.StructuredQuery.FieldReference.Builder getFieldBuilder() {
- onChanged();
- return getFieldFieldBuilder().getBuilder();
- }
- /**
- *
- *
- * - * The field to order by. - *- * - *
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
- */
- public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder() {
- if (fieldBuilder_ != null) {
- return fieldBuilder_.getMessageOrBuilder();
- } else {
- return field_ == null
- ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance()
- : field_;
- }
- }
- /**
- *
- *
- * - * The field to order by. - *- * - *
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- com.google.firestore.v1.StructuredQuery.FieldReference,
- com.google.firestore.v1.StructuredQuery.FieldReference.Builder,
- com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>
- getFieldFieldBuilder() {
- if (fieldBuilder_ == null) {
- fieldBuilder_ =
- new com.google.protobuf.SingleFieldBuilderV3<
- com.google.firestore.v1.StructuredQuery.FieldReference,
- com.google.firestore.v1.StructuredQuery.FieldReference.Builder,
- com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>(
- getField(), getParentForChildren(), isClean());
- field_ = null;
- }
- return fieldBuilder_;
- }
-
- private int direction_ = 0;
- /**
- *
- *
- * - * The direction to order by. Defaults to `ASCENDING`. - *- * - *
.google.firestore.v1.StructuredQuery.Direction direction = 2;
- */
- public int getDirectionValue() {
- return direction_;
- }
- /**
- *
- *
- * - * The direction to order by. Defaults to `ASCENDING`. - *- * - *
.google.firestore.v1.StructuredQuery.Direction direction = 2;
- */
- public Builder setDirectionValue(int value) {
- direction_ = value;
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * The direction to order by. Defaults to `ASCENDING`. - *- * - *
.google.firestore.v1.StructuredQuery.Direction direction = 2;
- */
- public com.google.firestore.v1.StructuredQuery.Direction getDirection() {
- @SuppressWarnings("deprecation")
- com.google.firestore.v1.StructuredQuery.Direction result =
- com.google.firestore.v1.StructuredQuery.Direction.valueOf(direction_);
- return result == null
- ? com.google.firestore.v1.StructuredQuery.Direction.UNRECOGNIZED
- : result;
- }
- /**
- *
- *
- * - * The direction to order by. Defaults to `ASCENDING`. - *- * - *
.google.firestore.v1.StructuredQuery.Direction direction = 2;
- */
- public Builder setDirection(com.google.firestore.v1.StructuredQuery.Direction value) {
- if (value == null) {
- throw new NullPointerException();
- }
-
- direction_ = value.getNumber();
- onChanged();
- return this;
- }
- /**
- *
- *
- * - * The direction to order by. Defaults to `ASCENDING`. - *- * - *
.google.firestore.v1.StructuredQuery.Direction direction = 2;
- */
- public Builder clearDirection() {
-
- direction_ = 0;
- onChanged();
- return this;
- }
-
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFieldsProto3(unknownFields);
+ @java.lang.Override
+ public final Builder setUnknownFields(
+ final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFieldsProto3(unknownFields);
}
@java.lang.Override
@@ -7328,77 +6985,124 @@ public final Builder mergeUnknownFields(
return super.mergeUnknownFields(unknownFields);
}
- // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery.Order)
+ // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery.FieldReference)
}
- // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.Order)
- private static final com.google.firestore.v1.StructuredQuery.Order DEFAULT_INSTANCE;
+ // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.FieldReference)
+ private static final com.google.firestore.v1.StructuredQuery.FieldReference DEFAULT_INSTANCE;
static {
- DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery.Order();
+ DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery.FieldReference();
}
- public static com.google.firestore.v1.StructuredQuery.Order getDefaultInstance() {
+ public static com.google.firestore.v1.StructuredQuery.FieldReference getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parserstring field_path = 2;
*/
- java.lang.String getFieldPath();
- /** string field_path = 2;
*/
- com.google.protobuf.ByteString getFieldPathBytes();
+ /**
+ *
+ *
+ * + * The field to order by. + *+ * + *
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
+ */
+ boolean hasField();
+ /**
+ *
+ *
+ * + * The field to order by. + *+ * + *
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
+ */
+ com.google.firestore.v1.StructuredQuery.FieldReference getField();
+ /**
+ *
+ *
+ * + * The field to order by. + *+ * + *
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
+ */
+ com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder();
+
+ /**
+ *
+ *
+ * + * The direction to order by. Defaults to `ASCENDING`. + *+ * + *
.google.firestore.v1.StructuredQuery.Direction direction = 2;
+ */
+ int getDirectionValue();
+ /**
+ *
+ *
+ * + * The direction to order by. Defaults to `ASCENDING`. + *+ * + *
.google.firestore.v1.StructuredQuery.Direction direction = 2;
+ */
+ com.google.firestore.v1.StructuredQuery.Direction getDirection();
}
/**
*
*
* - * A reference to a field, such as `max(messages.time) as max_time`. + * An order on a field. ** - * Protobuf type {@code google.firestore.v1.StructuredQuery.FieldReference} + * Protobuf type {@code google.firestore.v1.StructuredQuery.Order} */ - public static final class FieldReference extends com.google.protobuf.GeneratedMessageV3 + public static final class Order extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.FieldReference) - FieldReferenceOrBuilder { + // @@protoc_insertion_point(message_implements:google.firestore.v1.StructuredQuery.Order) + OrderOrBuilder { private static final long serialVersionUID = 0L; - // Use FieldReference.newBuilder() to construct. - private FieldReference(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + // Use Order.newBuilder() to construct. + private Order(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } - private FieldReference() { - fieldPath_ = ""; + private Order() { + direction_ = 0; } @java.lang.Override @@ -7406,7 +7110,7 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private FieldReference( + private Order( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -7425,11 +7129,28 @@ private FieldReference( case 0: done = true; break; - case 18: + case 10: { - java.lang.String s = input.readStringRequireUtf8(); + com.google.firestore.v1.StructuredQuery.FieldReference.Builder subBuilder = null; + if (field_ != null) { + subBuilder = field_.toBuilder(); + } + field_ = + input.readMessage( + com.google.firestore.v1.StructuredQuery.FieldReference.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(field_); + field_ = subBuilder.buildPartial(); + } - fieldPath_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); + + direction_ = rawValue; break; } default: @@ -7453,44 +7174,90 @@ private FieldReference( public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_FieldReference_descriptor; + .internal_static_google_firestore_v1_StructuredQuery_Order_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.firestore.v1.QueryProto - .internal_static_google_firestore_v1_StructuredQuery_FieldReference_fieldAccessorTable + .internal_static_google_firestore_v1_StructuredQuery_Order_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1.StructuredQuery.FieldReference.class, - com.google.firestore.v1.StructuredQuery.FieldReference.Builder.class); + com.google.firestore.v1.StructuredQuery.Order.class, + com.google.firestore.v1.StructuredQuery.Order.Builder.class); } - public static final int FIELD_PATH_FIELD_NUMBER = 2; - private volatile java.lang.Object fieldPath_; - /**
string field_path = 2;
*/
- public java.lang.String getFieldPath() {
- java.lang.Object ref = fieldPath_;
- 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();
- fieldPath_ = s;
- return s;
- }
+ public static final int FIELD_FIELD_NUMBER = 1;
+ private com.google.firestore.v1.StructuredQuery.FieldReference field_;
+ /**
+ *
+ *
+ * + * The field to order by. + *+ * + *
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
+ */
+ public boolean hasField() {
+ return field_ != null;
}
- /** string field_path = 2;
*/
- public com.google.protobuf.ByteString getFieldPathBytes() {
- java.lang.Object ref = fieldPath_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- fieldPath_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
+ /**
+ *
+ *
+ * + * The field to order by. + *+ * + *
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
+ */
+ public com.google.firestore.v1.StructuredQuery.FieldReference getField() {
+ return field_ == null
+ ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance()
+ : field_;
+ }
+ /**
+ *
+ *
+ * + * The field to order by. + *+ * + *
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
+ */
+ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder() {
+ return getField();
+ }
+
+ public static final int DIRECTION_FIELD_NUMBER = 2;
+ private int direction_;
+ /**
+ *
+ *
+ * + * The direction to order by. Defaults to `ASCENDING`. + *+ * + *
.google.firestore.v1.StructuredQuery.Direction direction = 2;
+ */
+ public int getDirectionValue() {
+ return direction_;
+ }
+ /**
+ *
+ *
+ * + * The direction to order by. Defaults to `ASCENDING`. + *+ * + *
.google.firestore.v1.StructuredQuery.Direction direction = 2;
+ */
+ public com.google.firestore.v1.StructuredQuery.Direction getDirection() {
+ @SuppressWarnings("deprecation")
+ com.google.firestore.v1.StructuredQuery.Direction result =
+ com.google.firestore.v1.StructuredQuery.Direction.valueOf(direction_);
+ return result == null
+ ? com.google.firestore.v1.StructuredQuery.Direction.UNRECOGNIZED
+ : result;
}
private byte memoizedIsInitialized = -1;
@@ -7507,8 +7274,12 @@ public final boolean isInitialized() {
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- if (!getFieldPathBytes().isEmpty()) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fieldPath_);
+ if (field_ != null) {
+ output.writeMessage(1, getField());
+ }
+ if (direction_
+ != com.google.firestore.v1.StructuredQuery.Direction.DIRECTION_UNSPECIFIED.getNumber()) {
+ output.writeEnum(2, direction_);
}
unknownFields.writeTo(output);
}
@@ -7519,8 +7290,12 @@ public int getSerializedSize() {
if (size != -1) return size;
size = 0;
- if (!getFieldPathBytes().isEmpty()) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, fieldPath_);
+ if (field_ != null) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getField());
+ }
+ if (direction_
+ != com.google.firestore.v1.StructuredQuery.Direction.DIRECTION_UNSPECIFIED.getNumber()) {
+ size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, direction_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
@@ -7532,14 +7307,18 @@ public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
- if (!(obj instanceof com.google.firestore.v1.StructuredQuery.FieldReference)) {
+ if (!(obj instanceof com.google.firestore.v1.StructuredQuery.Order)) {
return super.equals(obj);
}
- com.google.firestore.v1.StructuredQuery.FieldReference other =
- (com.google.firestore.v1.StructuredQuery.FieldReference) obj;
+ com.google.firestore.v1.StructuredQuery.Order other =
+ (com.google.firestore.v1.StructuredQuery.Order) obj;
boolean result = true;
- result = result && getFieldPath().equals(other.getFieldPath());
+ result = result && (hasField() == other.hasField());
+ if (hasField()) {
+ result = result && getField().equals(other.getField());
+ }
+ result = result && direction_ == other.direction_;
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@@ -7551,78 +7330,82 @@ public int hashCode() {
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
- hash = (37 * hash) + FIELD_PATH_FIELD_NUMBER;
- hash = (53 * hash) + getFieldPath().hashCode();
+ if (hasField()) {
+ hash = (37 * hash) + FIELD_FIELD_NUMBER;
+ hash = (53 * hash) + getField().hashCode();
+ }
+ hash = (37 * hash) + DIRECTION_FIELD_NUMBER;
+ hash = (53 * hash) + direction_;
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
- public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom(
- java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ public static com.google.firestore.v1.StructuredQuery.Order parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom(
+ public static com.google.firestore.v1.StructuredQuery.Order 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.v1.StructuredQuery.FieldReference parseFrom(
+ public static com.google.firestore.v1.StructuredQuery.Order parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom(
+ public static com.google.firestore.v1.StructuredQuery.Order parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom(byte[] data)
+ public static com.google.firestore.v1.StructuredQuery.Order parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
- public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom(
+ public static com.google.firestore.v1.StructuredQuery.Order parseFrom(
byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom(
- java.io.InputStream input) throws java.io.IOException {
+ public static com.google.firestore.v1.StructuredQuery.Order parseFrom(java.io.InputStream input)
+ throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
- public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom(
+ public static com.google.firestore.v1.StructuredQuery.Order 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.v1.StructuredQuery.FieldReference parseDelimitedFrom(
+ public static com.google.firestore.v1.StructuredQuery.Order parseDelimitedFrom(
java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
- public static com.google.firestore.v1.StructuredQuery.FieldReference parseDelimitedFrom(
+ public static com.google.firestore.v1.StructuredQuery.Order parseDelimitedFrom(
java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
PARSER, input, extensionRegistry);
}
- public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom(
+ public static com.google.firestore.v1.StructuredQuery.Order parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
- public static com.google.firestore.v1.StructuredQuery.FieldReference parseFrom(
+ public static com.google.firestore.v1.StructuredQuery.Order parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
@@ -7639,8 +7422,7 @@ public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
- public static Builder newBuilder(
- com.google.firestore.v1.StructuredQuery.FieldReference prototype) {
+ public static Builder newBuilder(com.google.firestore.v1.StructuredQuery.Order prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@@ -7659,32 +7441,32 @@ protected Builder newBuilderForType(
*
*
* - * A reference to a field, such as `max(messages.time) as max_time`. + * An order on a field. ** - * Protobuf type {@code google.firestore.v1.StructuredQuery.FieldReference} + * Protobuf type {@code google.firestore.v1.StructuredQuery.Order} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
string field_path = 2;
*/
- public java.lang.String getFieldPath() {
- java.lang.Object ref = fieldPath_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- fieldPath_ = s;
- return s;
- } else {
- return (java.lang.String) ref;
- }
+ private com.google.firestore.v1.StructuredQuery.FieldReference field_ = null;
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.firestore.v1.StructuredQuery.FieldReference,
+ com.google.firestore.v1.StructuredQuery.FieldReference.Builder,
+ com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>
+ fieldBuilder_;
+ /**
+ *
+ *
+ * + * The field to order by. + *+ * + *
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
+ */
+ public boolean hasField() {
+ return fieldBuilder_ != null || field_ != null;
}
- /** string field_path = 2;
*/
- public com.google.protobuf.ByteString getFieldPathBytes() {
- java.lang.Object ref = fieldPath_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
- fieldPath_ = b;
- return b;
+ /**
+ *
+ *
+ * + * The field to order by. + *+ * + *
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
+ */
+ public com.google.firestore.v1.StructuredQuery.FieldReference getField() {
+ if (fieldBuilder_ == null) {
+ return field_ == null
+ ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance()
+ : field_;
} else {
- return (com.google.protobuf.ByteString) ref;
+ return fieldBuilder_.getMessage();
}
}
- /** string field_path = 2;
*/
- public Builder setFieldPath(java.lang.String value) {
- if (value == null) {
- throw new NullPointerException();
+ /**
+ *
+ *
+ * + * The field to order by. + *+ * + *
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
+ */
+ public Builder setField(com.google.firestore.v1.StructuredQuery.FieldReference value) {
+ if (fieldBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ field_ = value;
+ onChanged();
+ } else {
+ fieldBuilder_.setMessage(value);
}
- fieldPath_ = value;
- onChanged();
return this;
}
- /** string field_path = 2;
*/
- public Builder clearFieldPath() {
+ /**
+ *
+ *
+ * + * The field to order by. + *+ * + *
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
+ */
+ public Builder setField(
+ com.google.firestore.v1.StructuredQuery.FieldReference.Builder builderForValue) {
+ if (fieldBuilder_ == null) {
+ field_ = builderForValue.build();
+ onChanged();
+ } else {
+ fieldBuilder_.setMessage(builderForValue.build());
+ }
- fieldPath_ = getDefaultInstance().getFieldPath();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The field to order by. + *+ * + *
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
+ */
+ public Builder mergeField(com.google.firestore.v1.StructuredQuery.FieldReference value) {
+ if (fieldBuilder_ == null) {
+ if (field_ != null) {
+ field_ =
+ com.google.firestore.v1.StructuredQuery.FieldReference.newBuilder(field_)
+ .mergeFrom(value)
+ .buildPartial();
+ } else {
+ field_ = value;
+ }
+ onChanged();
+ } else {
+ fieldBuilder_.mergeFrom(value);
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The field to order by. + *+ * + *
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
+ */
+ public Builder clearField() {
+ if (fieldBuilder_ == null) {
+ field_ = null;
+ onChanged();
+ } else {
+ field_ = null;
+ fieldBuilder_ = null;
+ }
+
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The field to order by. + *+ * + *
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
+ */
+ public com.google.firestore.v1.StructuredQuery.FieldReference.Builder getFieldBuilder() {
+
+ onChanged();
+ return getFieldFieldBuilder().getBuilder();
+ }
+ /**
+ *
+ *
+ * + * The field to order by. + *+ * + *
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
+ */
+ public com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder() {
+ if (fieldBuilder_ != null) {
+ return fieldBuilder_.getMessageOrBuilder();
+ } else {
+ return field_ == null
+ ? com.google.firestore.v1.StructuredQuery.FieldReference.getDefaultInstance()
+ : field_;
+ }
+ }
+ /**
+ *
+ *
+ * + * The field to order by. + *+ * + *
.google.firestore.v1.StructuredQuery.FieldReference field = 1;
+ */
+ private com.google.protobuf.SingleFieldBuilderV3<
+ com.google.firestore.v1.StructuredQuery.FieldReference,
+ com.google.firestore.v1.StructuredQuery.FieldReference.Builder,
+ com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>
+ getFieldFieldBuilder() {
+ if (fieldBuilder_ == null) {
+ fieldBuilder_ =
+ new com.google.protobuf.SingleFieldBuilderV3<
+ com.google.firestore.v1.StructuredQuery.FieldReference,
+ com.google.firestore.v1.StructuredQuery.FieldReference.Builder,
+ com.google.firestore.v1.StructuredQuery.FieldReferenceOrBuilder>(
+ getField(), getParentForChildren(), isClean());
+ field_ = null;
+ }
+ return fieldBuilder_;
+ }
+
+ private int direction_ = 0;
+ /**
+ *
+ *
+ * + * The direction to order by. Defaults to `ASCENDING`. + *+ * + *
.google.firestore.v1.StructuredQuery.Direction direction = 2;
+ */
+ public int getDirectionValue() {
+ return direction_;
+ }
+ /**
+ *
+ *
+ * + * The direction to order by. Defaults to `ASCENDING`. + *+ * + *
.google.firestore.v1.StructuredQuery.Direction direction = 2;
+ */
+ public Builder setDirectionValue(int value) {
+ direction_ = value;
onChanged();
return this;
}
- /** string field_path = 2;
*/
- public Builder setFieldPathBytes(com.google.protobuf.ByteString value) {
+ /**
+ *
+ *
+ * + * The direction to order by. Defaults to `ASCENDING`. + *+ * + *
.google.firestore.v1.StructuredQuery.Direction direction = 2;
+ */
+ public com.google.firestore.v1.StructuredQuery.Direction getDirection() {
+ @SuppressWarnings("deprecation")
+ com.google.firestore.v1.StructuredQuery.Direction result =
+ com.google.firestore.v1.StructuredQuery.Direction.valueOf(direction_);
+ return result == null
+ ? com.google.firestore.v1.StructuredQuery.Direction.UNRECOGNIZED
+ : result;
+ }
+ /**
+ *
+ *
+ * + * The direction to order by. Defaults to `ASCENDING`. + *+ * + *
.google.firestore.v1.StructuredQuery.Direction direction = 2;
+ */
+ public Builder setDirection(com.google.firestore.v1.StructuredQuery.Direction value) {
if (value == null) {
throw new NullPointerException();
}
- checkByteStringIsUtf8(value);
- fieldPath_ = value;
+ direction_ = value.getNumber();
+ onChanged();
+ return this;
+ }
+ /**
+ *
+ *
+ * + * The direction to order by. Defaults to `ASCENDING`. + *+ * + *
.google.firestore.v1.StructuredQuery.Direction direction = 2;
+ */
+ public Builder clearDirection() {
+
+ direction_ = 0;
onChanged();
return this;
}
@@ -7883,42 +7883,42 @@ public final Builder mergeUnknownFields(
return super.mergeUnknownFields(unknownFields);
}
- // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery.FieldReference)
+ // @@protoc_insertion_point(builder_scope:google.firestore.v1.StructuredQuery.Order)
}
- // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.FieldReference)
- private static final com.google.firestore.v1.StructuredQuery.FieldReference DEFAULT_INSTANCE;
+ // @@protoc_insertion_point(class_scope:google.firestore.v1.StructuredQuery.Order)
+ private static final com.google.firestore.v1.StructuredQuery.Order DEFAULT_INSTANCE;
static {
- DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery.FieldReference();
+ DEFAULT_INSTANCE = new com.google.firestore.v1.StructuredQuery.Order();
}
- public static com.google.firestore.v1.StructuredQuery.FieldReference getDefaultInstance() {
+ public static com.google.firestore.v1.StructuredQuery.Order getDefaultInstance() {
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser- * A resume token from a prior - * [TargetChange][google.firestore.v1.TargetChange] for an identical target. + * A resume token from a prior [TargetChange][google.firestore.v1.TargetChange] for an identical target. * Using a resume token with a different target is unsupported and may fail. ** @@ -3161,8 +3160,7 @@ public com.google.firestore.v1.Target.DocumentsTargetOrBuilder getDocumentsOrBui * * *
- * A resume token from a prior - * [TargetChange][google.firestore.v1.TargetChange] for an identical target. + * A resume token from a prior [TargetChange][google.firestore.v1.TargetChange] for an identical target. * Using a resume token with a different target is unsupported and may fail. ** @@ -3178,8 +3176,7 @@ public com.google.protobuf.ByteString getResumeToken() { * * *
- * A resume token from a prior - * [TargetChange][google.firestore.v1.TargetChange] for an identical target. + * A resume token from a prior [TargetChange][google.firestore.v1.TargetChange] for an identical target. * Using a resume token with a different target is unsupported and may fail. ** @@ -3198,8 +3195,7 @@ public Builder setResumeToken(com.google.protobuf.ByteString value) { * * *
- * A resume token from a prior - * [TargetChange][google.firestore.v1.TargetChange] for an identical target. + * A resume token from a prior [TargetChange][google.firestore.v1.TargetChange] for an identical target. * Using a resume token with a different target is unsupported and may fail. ** diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetOrBuilder.java index 345406e0476c..806e74d3b237 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/TargetOrBuilder.java @@ -74,8 +74,7 @@ public interface TargetOrBuilder * * *
- * A resume token from a prior - * [TargetChange][google.firestore.v1.TargetChange] for an identical target. + * A resume token from a prior [TargetChange][google.firestore.v1.TargetChange] for an identical target. * Using a resume token with a different target is unsupported and may fail. ** diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequest.java index 5cdac9bf3051..862f6be5cda2 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/UpdateDocumentRequest.java @@ -7,8 +7,7 @@ * * *
- * The request for - * [Firestore.UpdateDocument][google.firestore.v1.Firestore.UpdateDocument]. + * The request for [Firestore.UpdateDocument][google.firestore.v1.Firestore.UpdateDocument]. ** * Protobuf type {@code google.firestore.v1.UpdateDocumentRequest} @@ -544,8 +543,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
- * The request for - * [Firestore.UpdateDocument][google.firestore.v1.Firestore.UpdateDocument]. + * The request for [Firestore.UpdateDocument][google.firestore.v1.Firestore.UpdateDocument]. ** * Protobuf type {@code google.firestore.v1.UpdateDocumentRequest} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteProto.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteProto.java index c4a49ca91042..31d826f0af69 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteProto.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteProto.java @@ -54,10 +54,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n\037google/firestore/v1/write.proto\022\023googl" - + "e.firestore.v1\032\034google/api/annotations.p" - + "roto\032 google/firestore/v1/common.proto\032\"" - + "google/firestore/v1/document.proto\032\037goog" - + "le/protobuf/timestamp.proto\"\211\002\n\005Write\022/\n" + + "e.firestore.v1\032 google/firestore/v1/comm" + + "on.proto\032\"google/firestore/v1/document.p" + + "roto\032\037google/protobuf/timestamp.proto\032\034g" + + "oogle/api/annotations.proto\"\211\002\n\005Write\022/\n" + "\006update\030\001 \001(\0132\035.google.firestore.v1.Docu" + "mentH\000\022\020\n\006delete\030\002 \001(\tH\000\022;\n\ttransform\030\006 " + "\001(\0132&.google.firestore.v1.DocumentTransf" @@ -109,10 +109,10 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.firestore.v1.CommonProto.getDescriptor(), com.google.firestore.v1.DocumentProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), }, assigner); internal_static_google_firestore_v1_Write_descriptor = getDescriptor().getMessageTypes().get(0); @@ -185,10 +185,10 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new java.lang.String[] { "TargetId", "Count", }); - com.google.api.AnnotationsProto.getDescriptor(); com.google.firestore.v1.CommonProto.getDescriptor(); com.google.firestore.v1.DocumentProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequest.java index 303b1acb6496..ae36b7b5edd3 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequest.java @@ -335,9 +335,9 @@ public com.google.firestore.v1.WriteOrBuilder getWritesOrBuilder(int index) { *
* A stream token that was previously sent by the server. * The client should set this field to the token from the most recent - * [WriteResponse][google.firestore.v1.WriteResponse] it has received. This - * acknowledges that the client has received responses up to this token. After - * sending this token, earlier tokens may not be used anymore. + * [WriteResponse][google.firestore.v1.WriteResponse] it has received. This acknowledges that the client has + * received responses up to this token. After sending this token, earlier + * tokens may not be used anymore. * The server may close the stream if there are too many unacknowledged * responses. * Leave this field unset when creating a new stream. To resume a stream at @@ -1531,9 +1531,9 @@ public java.util.ListgetWritesBuilderLis * * A stream token that was previously sent by the server. * The client should set this field to the token from the most recent - * [WriteResponse][google.firestore.v1.WriteResponse] it has received. This - * acknowledges that the client has received responses up to this token. After - * sending this token, earlier tokens may not be used anymore. + * [WriteResponse][google.firestore.v1.WriteResponse] it has received. This acknowledges that the client has + * received responses up to this token. After sending this token, earlier + * tokens may not be used anymore. * The server may close the stream if there are too many unacknowledged * responses. * Leave this field unset when creating a new stream. To resume a stream at @@ -1552,9 +1552,9 @@ public com.google.protobuf.ByteString getStreamToken() { ** A stream token that was previously sent by the server. * The client should set this field to the token from the most recent - * [WriteResponse][google.firestore.v1.WriteResponse] it has received. This - * acknowledges that the client has received responses up to this token. After - * sending this token, earlier tokens may not be used anymore. + * [WriteResponse][google.firestore.v1.WriteResponse] it has received. This acknowledges that the client has + * received responses up to this token. After sending this token, earlier + * tokens may not be used anymore. * The server may close the stream if there are too many unacknowledged * responses. * Leave this field unset when creating a new stream. To resume a stream at @@ -1579,9 +1579,9 @@ public Builder setStreamToken(com.google.protobuf.ByteString value) { ** A stream token that was previously sent by the server. * The client should set this field to the token from the most recent - * [WriteResponse][google.firestore.v1.WriteResponse] it has received. This - * acknowledges that the client has received responses up to this token. After - * sending this token, earlier tokens may not be used anymore. + * [WriteResponse][google.firestore.v1.WriteResponse] it has received. This acknowledges that the client has + * received responses up to this token. After sending this token, earlier + * tokens may not be used anymore. * The server may close the stream if there are too many unacknowledged * responses. * Leave this field unset when creating a new stream. To resume a stream at diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java index c084771a4c01..8532f2b02d94 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteRequestOrBuilder.java @@ -135,9 +135,9 @@ public interface WriteRequestOrBuilder ** * Protobuf type {@code google.firestore.v1beta1.DocumentMask} @@ -516,8 +510,7 @@ private void ensureFieldPathsIsMutable() { * * ** A stream token that was previously sent by the server. * The client should set this field to the token from the most recent - * [WriteResponse][google.firestore.v1.WriteResponse] it has received. This - * acknowledges that the client has received responses up to this token. After - * sending this token, earlier tokens may not be used anymore. + * [WriteResponse][google.firestore.v1.WriteResponse] it has received. This acknowledges that the client has + * received responses up to this token. After sending this token, earlier + * tokens may not be used anymore. * The server may close the stream if there are too many unacknowledged * responses. * Leave this field unset when creating a new stream. To resume a stream at diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java index f862bf7abec7..3ce81de7ecdd 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResult.java @@ -167,9 +167,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * * ** * Protobuf type {@code google.firestore.v1beta1.DocumentMask} @@ -108,8 +107,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1.Value transform_results = 2;
@@ -181,9 +180,8 @@ public java.util.ListgetTransformResultsList() { * * * - * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1.Value transform_results = 2;
@@ -196,9 +194,8 @@ public java.util.ListgetTransformResultsList() { * * * - * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1.Value transform_results = 2;
@@ -210,9 +207,8 @@ public int getTransformResultsCount() { * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1.Value transform_results = 2;
@@ -224,9 +220,8 @@ public com.google.firestore.v1.Value getTransformResults(int index) { * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1.Value transform_results = 2;
@@ -848,9 +843,8 @@ private void ensureTransformResultsIsMutable() { * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1.Value transform_results = 2;
@@ -866,9 +860,8 @@ public java.util.ListgetTransformResultsList() { * * * - * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1.Value transform_results = 2;
@@ -884,9 +877,8 @@ public int getTransformResultsCount() { * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1.Value transform_results = 2;
@@ -902,9 +894,8 @@ public com.google.firestore.v1.Value getTransformResults(int index) { * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1.Value transform_results = 2;
@@ -926,9 +917,8 @@ public Builder setTransformResults(int index, com.google.firestore.v1.Value valu * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1.Value transform_results = 2;
@@ -948,9 +938,8 @@ public Builder setTransformResults( * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1.Value transform_results = 2;
@@ -972,9 +961,8 @@ public Builder addTransformResults(com.google.firestore.v1.Value value) { * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1.Value transform_results = 2;
@@ -996,9 +984,8 @@ public Builder addTransformResults(int index, com.google.firestore.v1.Value valu * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1.Value transform_results = 2;
@@ -1017,9 +1004,8 @@ public Builder addTransformResults(com.google.firestore.v1.Value.Builder builder * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1.Value transform_results = 2;
@@ -1039,9 +1025,8 @@ public Builder addTransformResults( * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1.Value transform_results = 2;
@@ -1061,9 +1046,8 @@ public Builder addAllTransformResults( * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1.Value transform_results = 2;
@@ -1082,9 +1066,8 @@ public Builder clearTransformResults() { * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1.Value transform_results = 2;
@@ -1103,9 +1086,8 @@ public Builder removeTransformResults(int index) { * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1.Value transform_results = 2;
@@ -1117,9 +1099,8 @@ public com.google.firestore.v1.Value.Builder getTransformResultsBuilder(int inde * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1.Value transform_results = 2;
@@ -1135,9 +1116,8 @@ public com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(int i * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1.Value transform_results = 2;
@@ -1154,9 +1134,8 @@ public com.google.firestore.v1.ValueOrBuilder getTransformResultsOrBuilder(int i * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1.Value transform_results = 2;
@@ -1169,9 +1148,8 @@ public com.google.firestore.v1.Value.Builder addTransformResultsBuilder() { * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1.Value transform_results = 2;
@@ -1184,9 +1162,8 @@ public com.google.firestore.v1.Value.Builder addTransformResultsBuilder(int inde * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1.Value transform_results = 2;
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java index 6c22704c6323..c204f2527e71 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/WriteResultOrBuilder.java @@ -52,9 +52,8 @@ public interface WriteResultOrBuilder * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1.Value transform_results = 2;
@@ -64,9 +63,8 @@ public interface WriteResultOrBuilder * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1.Value transform_results = 2;
@@ -76,9 +74,8 @@ public interface WriteResultOrBuilder * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1.Value transform_results = 2;
@@ -88,9 +85,8 @@ public interface WriteResultOrBuilder * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1.Value transform_results = 2;
@@ -101,9 +97,8 @@ public interface WriteResultOrBuilder * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1.Value transform_results = 2;
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/common.proto b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/common.proto index 9a0ae7deae84..59c62997ad0d 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/common.proto +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/common.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC. +// Copyright 2019 Google LLC. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,8 +17,8 @@ syntax = "proto3"; package google.firestore.v1; -import "google/api/annotations.proto"; import "google/protobuf/timestamp.proto"; +import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.Firestore.V1"; option go_package = "google.golang.org/genproto/googleapis/firestore/v1;firestore"; @@ -28,16 +28,15 @@ option java_package = "com.google.firestore.v1"; option objc_class_prefix = "GCFS"; option php_namespace = "Google\\Cloud\\Firestore\\V1"; + // A set of field paths on a document. // Used to restrict a get or update operation on a document to a subset of its // fields. // This is different from standard field masks, as this is always scoped to a -// [Document][google.firestore.v1.Document], and takes in account the dynamic -// nature of [Value][google.firestore.v1.Value]. +// [Document][google.firestore.v1.Document], and takes in account the dynamic nature of [Value][google.firestore.v1.Value]. message DocumentMask { - // The list of field paths in the mask. See - // [Document.fields][google.firestore.v1.Document.fields] for a field path - // syntax reference. + // The list of field paths in the mask. See [Document.fields][google.firestore.v1.Document.fields] for a field + // path syntax reference. repeated string field_paths = 1; } diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/document.proto b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/document.proto index 20e30651c00f..d3d9c11c79cf 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/document.proto +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/document.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC. +// Copyright 2019 Google LLC. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,10 +17,10 @@ syntax = "proto3"; package google.firestore.v1; -import "google/api/annotations.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; import "google/type/latlng.proto"; +import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.Firestore.V1"; option go_package = "google.golang.org/genproto/googleapis/firestore/v1;firestore"; @@ -30,6 +30,7 @@ option java_package = "com.google.firestore.v1"; option objc_class_prefix = "GCFS"; option php_namespace = "Google\\Cloud\\Firestore\\V1"; + // A Firestore document. // // Must not exceed 1 MiB - 4 bytes. diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/firestore.proto b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/firestore.proto index 49d22a449049..5dc9667e2ca2 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/firestore.proto +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/firestore.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC. +// Copyright 2019 Google LLC. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -33,7 +33,6 @@ option java_outer_classname = "FirestoreProto"; option java_package = "com.google.firestore.v1"; option objc_class_prefix = "GCFS"; option php_namespace = "Google\\Cloud\\Firestore\\V1"; - // Specification of the Firestore API. // The Cloud Firestore service. @@ -94,8 +93,7 @@ service Firestore { // // Documents returned by this method are not guaranteed to be returned in the // same order that they were requested. - rpc BatchGetDocuments(BatchGetDocumentsRequest) - returns (stream BatchGetDocumentsResponse) { + rpc BatchGetDocuments(BatchGetDocumentsRequest) returns (stream BatchGetDocumentsResponse) { option (google.api.http) = { post: "/v1/{database=projects/*/databases/*}/documents:batchGet" body: "*" @@ -103,8 +101,7 @@ service Firestore { } // Starts a new transaction. - rpc BeginTransaction(BeginTransactionRequest) - returns (BeginTransactionResponse) { + rpc BeginTransaction(BeginTransactionRequest) returns (BeginTransactionResponse) { option (google.api.http) = { post: "/v1/{database=projects/*/databases/*}/documents:beginTransaction" body: "*" @@ -156,8 +153,7 @@ service Firestore { } // Lists all the collection IDs underneath a document. - rpc ListCollectionIds(ListCollectionIdsRequest) - returns (ListCollectionIdsResponse) { + rpc ListCollectionIds(ListCollectionIdsRequest) returns (ListCollectionIdsResponse) { option (google.api.http) = { post: "/v1/{parent=projects/*/databases/*/documents}:listCollectionIds" body: "*" @@ -169,8 +165,7 @@ service Firestore { } } -// The request for -// [Firestore.GetDocument][google.firestore.v1.Firestore.GetDocument]. +// The request for [Firestore.GetDocument][google.firestore.v1.Firestore.GetDocument]. message GetDocumentRequest { // The resource name of the Document to get. In the format: // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. @@ -194,8 +189,7 @@ message GetDocumentRequest { } } -// The request for -// [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments]. +// The request for [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments]. message ListDocumentsRequest { // The parent resource name. In the format: // `projects/{project_id}/databases/{database_id}/documents` or @@ -237,17 +231,15 @@ message ListDocumentsRequest { // If the list should show missing documents. A missing document is a // document that does not exist but has sub-documents. These documents will - // be returned with a key but will not have fields, - // [Document.create_time][google.firestore.v1.Document.create_time], or - // [Document.update_time][google.firestore.v1.Document.update_time] set. + // be returned with a key but will not have fields, [Document.create_time][google.firestore.v1.Document.create_time], + // or [Document.update_time][google.firestore.v1.Document.update_time] set. // // Requests with `show_missing` may not specify `where` or // `order_by`. bool show_missing = 12; } -// The response for -// [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments]. +// The response for [Firestore.ListDocuments][google.firestore.v1.Firestore.ListDocuments]. message ListDocumentsResponse { // The Documents found. repeated Document documents = 1; @@ -256,8 +248,7 @@ message ListDocumentsResponse { string next_page_token = 2; } -// The request for -// [Firestore.CreateDocument][google.firestore.v1.Firestore.CreateDocument]. +// The request for [Firestore.CreateDocument][google.firestore.v1.Firestore.CreateDocument]. message CreateDocumentRequest { // The parent resource. For example: // `projects/{project_id}/databases/{database_id}/documents` or @@ -282,8 +273,7 @@ message CreateDocumentRequest { DocumentMask mask = 5; } -// The request for -// [Firestore.UpdateDocument][google.firestore.v1.Firestore.UpdateDocument]. +// The request for [Firestore.UpdateDocument][google.firestore.v1.Firestore.UpdateDocument]. message UpdateDocumentRequest { // The updated document. // Creates the document if it does not already exist. @@ -309,8 +299,7 @@ message UpdateDocumentRequest { Precondition current_document = 4; } -// The request for -// [Firestore.DeleteDocument][google.firestore.v1.Firestore.DeleteDocument]. +// The request for [Firestore.DeleteDocument][google.firestore.v1.Firestore.DeleteDocument]. message DeleteDocumentRequest { // The resource name of the Document to delete. In the format: // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. @@ -321,8 +310,7 @@ message DeleteDocumentRequest { Precondition current_document = 2; } -// The request for -// [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments]. +// The request for [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments]. message BatchGetDocumentsRequest { // The database name. In the format: // `projects/{project_id}/databases/{database_id}`. @@ -358,8 +346,7 @@ message BatchGetDocumentsRequest { } } -// The streamed response for -// [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments]. +// The streamed response for [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments]. message BatchGetDocumentsResponse { // A single result. // This can be empty if the server is just returning a transaction. @@ -374,8 +361,7 @@ message BatchGetDocumentsResponse { // The transaction that was started as part of this request. // Will only be set in the first response, and only if - // [BatchGetDocumentsRequest.new_transaction][google.firestore.v1.BatchGetDocumentsRequest.new_transaction] - // was set in the request. + // [BatchGetDocumentsRequest.new_transaction][google.firestore.v1.BatchGetDocumentsRequest.new_transaction] was set in the request. bytes transaction = 3; // The time at which the document was read. @@ -385,8 +371,7 @@ message BatchGetDocumentsResponse { google.protobuf.Timestamp read_time = 4; } -// The request for -// [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction]. +// The request for [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction]. message BeginTransactionRequest { // The database name. In the format: // `projects/{project_id}/databases/{database_id}`. @@ -397,8 +382,7 @@ message BeginTransactionRequest { TransactionOptions options = 2; } -// The response for -// [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction]. +// The response for [Firestore.BeginTransaction][google.firestore.v1.Firestore.BeginTransaction]. message BeginTransactionResponse { // The transaction that was started. bytes transaction = 1; @@ -475,14 +459,12 @@ message RunQueryRequest { } } -// The response for -// [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery]. +// The response for [Firestore.RunQuery][google.firestore.v1.Firestore.RunQuery]. message RunQueryResponse { // The transaction that was started as part of this request. // Can only be set in the first response, and only if - // [RunQueryRequest.new_transaction][google.firestore.v1.RunQueryRequest.new_transaction] - // was set in the request. If set, no other fields will be set in this - // response. + // [RunQueryRequest.new_transaction][google.firestore.v1.RunQueryRequest.new_transaction] was set in the request. + // If set, no other fields will be set in this response. bytes transaction = 2; // A query result. @@ -535,9 +517,9 @@ message WriteRequest { // A stream token that was previously sent by the server. // // The client should set this field to the token from the most recent - // [WriteResponse][google.firestore.v1.WriteResponse] it has received. This - // acknowledges that the client has received responses up to this token. After - // sending this token, earlier tokens may not be used anymore. + // [WriteResponse][google.firestore.v1.WriteResponse] it has received. This acknowledges that the client has + // received responses up to this token. After sending this token, earlier + // tokens may not be used anymore. // // The server may close the stream if there are too many unacknowledged // responses. @@ -606,8 +588,8 @@ message ListenResponse { // A [Document][google.firestore.v1.Document] has been deleted. DocumentDelete document_delete = 4; - // A [Document][google.firestore.v1.Document] has been removed from a target - // (because it is no longer relevant to that target). + // A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer + // relevant to that target). DocumentRemove document_remove = 6; // A filter to apply to the set of documents previously returned for the @@ -661,8 +643,7 @@ message Target { // If not specified, all matching Documents are returned before any // subsequent changes. oneof resume_type { - // A resume token from a prior - // [TargetChange][google.firestore.v1.TargetChange] for an identical target. + // A resume token from a prior [TargetChange][google.firestore.v1.TargetChange] for an identical target. // // Using a resume token with a different target is unsupported and may fail. bytes resume_token = 4; @@ -754,8 +735,7 @@ message TargetChange { google.protobuf.Timestamp read_time = 6; } -// The request for -// [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds]. +// The request for [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds]. message ListCollectionIdsRequest { // The parent document. In the format: // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. @@ -771,8 +751,7 @@ message ListCollectionIdsRequest { string page_token = 3; } -// The response from -// [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds]. +// The response from [Firestore.ListCollectionIds][google.firestore.v1.Firestore.ListCollectionIds]. message ListCollectionIdsResponse { // The collection ids. repeated string collection_ids = 1; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/query.proto b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/query.proto index a2b4c10fcb82..48684c06079d 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/query.proto +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/query.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC. +// Copyright 2019 Google LLC. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,9 +17,9 @@ syntax = "proto3"; package google.firestore.v1; -import "google/api/annotations.proto"; import "google/firestore/v1/document.proto"; import "google/protobuf/wrappers.proto"; +import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.Firestore.V1"; option go_package = "google.golang.org/genproto/googleapis/firestore/v1;firestore"; @@ -29,6 +29,7 @@ option java_package = "com.google.firestore.v1"; option objc_class_prefix = "GCFS"; option php_namespace = "Google\\Cloud\\Firestore\\V1"; + // A Firestore query. message StructuredQuery { // A selection of a collection, such as `messages as m1`. @@ -138,6 +139,11 @@ message StructuredQuery { } } + // A reference to a field, such as `max(messages.time) as max_time`. + message FieldReference { + string field_path = 2; + } + // An order on a field. message Order { // The field to order by. @@ -147,11 +153,6 @@ message StructuredQuery { Direction direction = 2; } - // A reference to a field, such as `max(messages.time) as max_time`. - message FieldReference { - string field_path = 2; - } - // The projection of document's fields to return. message Projection { // The fields to return. diff --git a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/write.proto b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/write.proto index 3cd879a18ea8..4ab5d833e3b9 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/write.proto +++ b/google-api-grpc/proto-google-cloud-firestore-v1/src/main/proto/google/firestore/v1/write.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC. +// Copyright 2019 Google LLC. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,10 +17,10 @@ syntax = "proto3"; package google.firestore.v1; -import "google/api/annotations.proto"; import "google/firestore/v1/common.proto"; import "google/firestore/v1/document.proto"; import "google/protobuf/timestamp.proto"; +import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.Firestore.V1"; option go_package = "google.golang.org/genproto/googleapis/firestore/v1;firestore"; @@ -30,6 +30,7 @@ option java_package = "com.google.firestore.v1"; option objc_class_prefix = "GCFS"; option php_namespace = "Google\\Cloud\\Firestore\\V1"; + // A write on a document. message Write { // The operation to execute. @@ -80,9 +81,8 @@ message DocumentTransform { REQUEST_TIME = 1; } - // The path of the field. See - // [Document.fields][google.firestore.v1.Document.fields] for the field path - // syntax reference. + // The path of the field. See [Document.fields][google.firestore.v1.Document.fields] for the field path syntax + // reference. string field_path = 1; // The transformation to apply on the field. @@ -176,20 +176,18 @@ message WriteResult { // previous update_time. google.protobuf.Timestamp update_time = 1; - // The results of applying each - // [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], - // in the same order. + // The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1.DocumentTransform.FieldTransform], in the + // same order. repeated Value transform_results = 2; } // 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]. +// 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. +// Multiple [DocumentChange][google.firestore.v1.DocumentChange] messages may be returned for the same logical +// change, if multiple targets are affected. message DocumentChange { // The new state of the [Document][google.firestore.v1.Document]. // @@ -205,15 +203,13 @@ message DocumentChange { // 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]. +// 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. +// Multiple [DocumentDelete][google.firestore.v1.DocumentDelete] messages may be returned for the same logical +// delete, if multiple targets are affected. message DocumentDelete { - // The resource name of the [Document][google.firestore.v1.Document] that was - // deleted. + // The resource name of the [Document][google.firestore.v1.Document] that was deleted. string document = 1; // A set of target IDs for targets that previously matched this entity. @@ -225,19 +221,16 @@ message DocumentDelete { google.protobuf.Timestamp read_time = 4; } -// A [Document][google.firestore.v1.Document] has been removed from the view of -// the targets. +// 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. +// Multiple [DocumentRemove][google.firestore.v1.DocumentRemove] messages may be returned for the same logical +// write or delete, if multiple targets are affected. message DocumentRemove { - // The resource name of the [Document][google.firestore.v1.Document] that has - // gone out of view. + // The resource name of the [Document][google.firestore.v1.Document] that has gone out of view. string document = 1; // A set of target IDs for targets that previously matched this document. @@ -254,8 +247,7 @@ message ExistenceFilter { // The target ID to which this filter applies. int32 target_id = 1; - // The total count of documents that match - // [target_id][google.firestore.v1.ExistenceFilter.target_id]. + // 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. diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BatchGetDocumentsRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BatchGetDocumentsRequest.java index b6ddb82072d7..26c9ea6d78d4 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BatchGetDocumentsRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BatchGetDocumentsRequest.java @@ -7,8 +7,7 @@ * * *- * The request for - * [Firestore.BatchGetDocuments][google.firestore.v1beta1.Firestore.BatchGetDocuments]. + * The request for [Firestore.BatchGetDocuments][google.firestore.v1beta1.Firestore.BatchGetDocuments]. ** * Protobuf type {@code google.firestore.v1beta1.BatchGetDocumentsRequest} @@ -727,8 +726,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *- * The request for - * [Firestore.BatchGetDocuments][google.firestore.v1beta1.Firestore.BatchGetDocuments]. + * The request for [Firestore.BatchGetDocuments][google.firestore.v1beta1.Firestore.BatchGetDocuments]. ** * Protobuf type {@code google.firestore.v1beta1.BatchGetDocumentsRequest} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BatchGetDocumentsResponse.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BatchGetDocumentsResponse.java index d5a964c8fd4f..f8e358aef158 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BatchGetDocumentsResponse.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BatchGetDocumentsResponse.java @@ -7,8 +7,7 @@ * * *- * The streamed response for - * [Firestore.BatchGetDocuments][google.firestore.v1beta1.Firestore.BatchGetDocuments]. + * The streamed response for [Firestore.BatchGetDocuments][google.firestore.v1beta1.Firestore.BatchGetDocuments]. ** * Protobuf type {@code google.firestore.v1beta1.BatchGetDocumentsResponse} @@ -274,8 +273,7 @@ public com.google.protobuf.ByteString getMissingBytes() { ** The transaction that was started as part of this request. * Will only be set in the first response, and only if - * [BatchGetDocumentsRequest.new_transaction][google.firestore.v1beta1.BatchGetDocumentsRequest.new_transaction] - * was set in the request. + * [BatchGetDocumentsRequest.new_transaction][google.firestore.v1beta1.BatchGetDocumentsRequest.new_transaction] was set in the request. ** *bytes transaction = 3;
@@ -549,8 +547,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *- * The streamed response for - * [Firestore.BatchGetDocuments][google.firestore.v1beta1.Firestore.BatchGetDocuments]. + * The streamed response for [Firestore.BatchGetDocuments][google.firestore.v1beta1.Firestore.BatchGetDocuments]. ** * Protobuf type {@code google.firestore.v1beta1.BatchGetDocumentsResponse} @@ -1079,8 +1076,7 @@ public Builder setMissingBytes(com.google.protobuf.ByteString value) { ** The transaction that was started as part of this request. * Will only be set in the first response, and only if - * [BatchGetDocumentsRequest.new_transaction][google.firestore.v1beta1.BatchGetDocumentsRequest.new_transaction] - * was set in the request. + * [BatchGetDocumentsRequest.new_transaction][google.firestore.v1beta1.BatchGetDocumentsRequest.new_transaction] was set in the request. ** *bytes transaction = 3;
@@ -1094,8 +1090,7 @@ public com.google.protobuf.ByteString getTransaction() { ** The transaction that was started as part of this request. * Will only be set in the first response, and only if - * [BatchGetDocumentsRequest.new_transaction][google.firestore.v1beta1.BatchGetDocumentsRequest.new_transaction] - * was set in the request. + * [BatchGetDocumentsRequest.new_transaction][google.firestore.v1beta1.BatchGetDocumentsRequest.new_transaction] was set in the request. ** *bytes transaction = 3;
@@ -1115,8 +1110,7 @@ public Builder setTransaction(com.google.protobuf.ByteString value) { ** The transaction that was started as part of this request. * Will only be set in the first response, and only if - * [BatchGetDocumentsRequest.new_transaction][google.firestore.v1beta1.BatchGetDocumentsRequest.new_transaction] - * was set in the request. + * [BatchGetDocumentsRequest.new_transaction][google.firestore.v1beta1.BatchGetDocumentsRequest.new_transaction] was set in the request. ** *bytes transaction = 3;
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BatchGetDocumentsResponseOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BatchGetDocumentsResponseOrBuilder.java index ad8cc09e83fe..28038e7c8e33 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BatchGetDocumentsResponseOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BatchGetDocumentsResponseOrBuilder.java @@ -68,8 +68,7 @@ public interface BatchGetDocumentsResponseOrBuilder ** The transaction that was started as part of this request. * Will only be set in the first response, and only if - * [BatchGetDocumentsRequest.new_transaction][google.firestore.v1beta1.BatchGetDocumentsRequest.new_transaction] - * was set in the request. + * [BatchGetDocumentsRequest.new_transaction][google.firestore.v1beta1.BatchGetDocumentsRequest.new_transaction] was set in the request. ** *bytes transaction = 3;
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BeginTransactionRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BeginTransactionRequest.java index c1359e569345..447eaa63932b 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BeginTransactionRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BeginTransactionRequest.java @@ -7,8 +7,7 @@ * * *- * The request for - * [Firestore.BeginTransaction][google.firestore.v1beta1.Firestore.BeginTransaction]. + * The request for [Firestore.BeginTransaction][google.firestore.v1beta1.Firestore.BeginTransaction]. ** * Protobuf type {@code google.firestore.v1beta1.BeginTransactionRequest} @@ -375,8 +374,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *- * The request for - * [Firestore.BeginTransaction][google.firestore.v1beta1.Firestore.BeginTransaction]. + * The request for [Firestore.BeginTransaction][google.firestore.v1beta1.Firestore.BeginTransaction]. ** * Protobuf type {@code google.firestore.v1beta1.BeginTransactionRequest} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BeginTransactionResponse.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BeginTransactionResponse.java index 2a80a8411751..d72489e45ea9 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BeginTransactionResponse.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/BeginTransactionResponse.java @@ -7,8 +7,7 @@ * * *- * The response for - * [Firestore.BeginTransaction][google.firestore.v1beta1.Firestore.BeginTransaction]. + * The response for [Firestore.BeginTransaction][google.firestore.v1beta1.Firestore.BeginTransaction]. ** * Protobuf type {@code google.firestore.v1beta1.BeginTransactionResponse} @@ -270,8 +269,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *- * The response for - * [Firestore.BeginTransaction][google.firestore.v1beta1.Firestore.BeginTransaction]. + * The response for [Firestore.BeginTransaction][google.firestore.v1beta1.Firestore.BeginTransaction]. ** * Protobuf type {@code google.firestore.v1beta1.BeginTransactionResponse} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CommitRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CommitRequest.java index 5c70de79859c..223657b179a0 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CommitRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CommitRequest.java @@ -7,8 +7,7 @@ * * *- * The request for - * [Firestore.Commit][google.firestore.v1beta1.Firestore.Commit]. + * The request for [Firestore.Commit][google.firestore.v1beta1.Firestore.Commit]. ** * Protobuf type {@code google.firestore.v1beta1.CommitRequest} @@ -427,8 +426,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *- * The request for - * [Firestore.Commit][google.firestore.v1beta1.Firestore.Commit]. + * The request for [Firestore.Commit][google.firestore.v1beta1.Firestore.Commit]. ** * Protobuf type {@code google.firestore.v1beta1.CommitRequest} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CommitResponse.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CommitResponse.java index dde77e6eae11..6f4e4f675047 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CommitResponse.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CommitResponse.java @@ -7,8 +7,7 @@ * * *- * The response for - * [Firestore.Commit][google.firestore.v1beta1.Firestore.Commit]. + * The response for [Firestore.Commit][google.firestore.v1beta1.Firestore.Commit]. ** * Protobuf type {@code google.firestore.v1beta1.CommitResponse} @@ -408,8 +407,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *- * The response for - * [Firestore.Commit][google.firestore.v1beta1.Firestore.Commit]. + * The response for [Firestore.Commit][google.firestore.v1beta1.Firestore.Commit]. ** * Protobuf type {@code google.firestore.v1beta1.CommitResponse} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CommonProto.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CommonProto.java index d1f0dd0871ed..f547352d658f 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CommonProto.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CommonProto.java @@ -42,9 +42,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n%google/firestore/v1beta1/common.proto\022" - + "\030google.firestore.v1beta1\032\034google/api/an" - + "notations.proto\032\037google/protobuf/timesta" - + "mp.proto\"#\n\014DocumentMask\022\023\n\013field_paths\030" + + "\030google.firestore.v1beta1\032\037google/protob" + + "uf/timestamp.proto\032\034google/api/annotatio" + + "ns.proto\"#\n\014DocumentMask\022\023\n\013field_paths\030" + "\001 \003(\t\"e\n\014Precondition\022\020\n\006exists\030\001 \001(\010H\000\022" + "1\n\013update_time\030\002 \001(\0132\032.google.protobuf.T" + "imestampH\000B\020\n\016condition_type\"\263\002\n\022Transac" @@ -73,8 +73,8 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), }, assigner); internal_static_google_firestore_v1beta1_DocumentMask_descriptor = @@ -121,8 +121,8 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new java.lang.String[] { "ReadTime", "ConsistencySelector", }); - com.google.api.AnnotationsProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CreateDocumentRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CreateDocumentRequest.java index 49770cb58bd9..63a7314008e3 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CreateDocumentRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/CreateDocumentRequest.java @@ -7,8 +7,7 @@ * * *- * The request for - * [Firestore.CreateDocument][google.firestore.v1beta1.Firestore.CreateDocument]. + * The request for [Firestore.CreateDocument][google.firestore.v1beta1.Firestore.CreateDocument]. ** * Protobuf type {@code google.firestore.v1beta1.CreateDocumentRequest} @@ -571,8 +570,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *- * The request for - * [Firestore.CreateDocument][google.firestore.v1beta1.Firestore.CreateDocument]. + * The request for [Firestore.CreateDocument][google.firestore.v1beta1.Firestore.CreateDocument]. ** * Protobuf type {@code google.firestore.v1beta1.CreateDocumentRequest} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DeleteDocumentRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DeleteDocumentRequest.java index 8c3088aebd94..22d4f63166c9 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DeleteDocumentRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DeleteDocumentRequest.java @@ -7,8 +7,7 @@ * * *- * The request for - * [Firestore.DeleteDocument][google.firestore.v1beta1.Firestore.DeleteDocument]. + * The request for [Firestore.DeleteDocument][google.firestore.v1beta1.Firestore.DeleteDocument]. ** * Protobuf type {@code google.firestore.v1beta1.DeleteDocumentRequest} @@ -375,8 +374,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *- * The request for - * [Firestore.DeleteDocument][google.firestore.v1beta1.Firestore.DeleteDocument]. + * The request for [Firestore.DeleteDocument][google.firestore.v1beta1.Firestore.DeleteDocument]. ** * Protobuf type {@code google.firestore.v1beta1.DeleteDocumentRequest} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentChange.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentChange.java index 1af0bc22c598..9a3ed07ab98b 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentChange.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentChange.java @@ -8,12 +8,10 @@ * ** A [Document][google.firestore.v1beta1.Document] has changed. - * May be the result of multiple [writes][google.firestore.v1beta1.Write], - * including deletes, that ultimately resulted in a new value for the - * [Document][google.firestore.v1beta1.Document]. - * Multiple [DocumentChange][google.firestore.v1beta1.DocumentChange] messages - * may be returned for the same logical change, if multiple targets are - * affected. + * May be the result of multiple [writes][google.firestore.v1beta1.Write], including deletes, that + * ultimately resulted in a new value for the [Document][google.firestore.v1beta1.Document]. + * Multiple [DocumentChange][google.firestore.v1beta1.DocumentChange] messages may be returned for the same logical + * change, if multiple targets are affected. ** * Protobuf type {@code google.firestore.v1beta1.DocumentChange} @@ -508,12 +506,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * ** A [Document][google.firestore.v1beta1.Document] has changed. - * May be the result of multiple [writes][google.firestore.v1beta1.Write], - * including deletes, that ultimately resulted in a new value for the - * [Document][google.firestore.v1beta1.Document]. - * Multiple [DocumentChange][google.firestore.v1beta1.DocumentChange] messages - * may be returned for the same logical change, if multiple targets are - * affected. + * May be the result of multiple [writes][google.firestore.v1beta1.Write], including deletes, that + * ultimately resulted in a new value for the [Document][google.firestore.v1beta1.Document]. + * Multiple [DocumentChange][google.firestore.v1beta1.DocumentChange] messages may be returned for the same logical + * change, if multiple targets are affected. ** * Protobuf type {@code google.firestore.v1beta1.DocumentChange} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentDelete.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentDelete.java index f86e05d63eb8..1fa5c97df7c7 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentDelete.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentDelete.java @@ -8,12 +8,10 @@ * ** A [Document][google.firestore.v1beta1.Document] has been deleted. - * May be the result of multiple [writes][google.firestore.v1beta1.Write], - * including updates, the last of which deleted the - * [Document][google.firestore.v1beta1.Document]. - * Multiple [DocumentDelete][google.firestore.v1beta1.DocumentDelete] messages - * may be returned for the same logical delete, if multiple targets are - * affected. + * May be the result of multiple [writes][google.firestore.v1beta1.Write], including updates, the + * last of which deleted the [Document][google.firestore.v1beta1.Document]. + * Multiple [DocumentDelete][google.firestore.v1beta1.DocumentDelete] messages may be returned for the same logical + * delete, if multiple targets are affected. ** * Protobuf type {@code google.firestore.v1beta1.DocumentDelete} @@ -147,8 +145,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *- * The resource name of the [Document][google.firestore.v1beta1.Document] that - * was deleted. + * The resource name of the [Document][google.firestore.v1beta1.Document] that was deleted. ** *string document = 1;
@@ -168,8 +165,7 @@ public java.lang.String getDocument() { * * *- * The resource name of the [Document][google.firestore.v1beta1.Document] that - * was deleted. + * The resource name of the [Document][google.firestore.v1beta1.Document] that was deleted. ** *string document = 1;
@@ -474,12 +470,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * ** A [Document][google.firestore.v1beta1.Document] has been deleted. - * May be the result of multiple [writes][google.firestore.v1beta1.Write], - * including updates, the last of which deleted the - * [Document][google.firestore.v1beta1.Document]. - * Multiple [DocumentDelete][google.firestore.v1beta1.DocumentDelete] messages - * may be returned for the same logical delete, if multiple targets are - * affected. + * May be the result of multiple [writes][google.firestore.v1beta1.Write], including updates, the + * last of which deleted the [Document][google.firestore.v1beta1.Document]. + * Multiple [DocumentDelete][google.firestore.v1beta1.DocumentDelete] messages may be returned for the same logical + * delete, if multiple targets are affected. ** * Protobuf type {@code google.firestore.v1beta1.DocumentDelete} @@ -673,8 +667,7 @@ public Builder mergeFrom( * * *- * The resource name of the [Document][google.firestore.v1beta1.Document] that - * was deleted. + * The resource name of the [Document][google.firestore.v1beta1.Document] that was deleted. ** *string document = 1;
@@ -694,8 +687,7 @@ public java.lang.String getDocument() { * * *- * The resource name of the [Document][google.firestore.v1beta1.Document] that - * was deleted. + * The resource name of the [Document][google.firestore.v1beta1.Document] that was deleted. ** *string document = 1;
@@ -715,8 +707,7 @@ public com.google.protobuf.ByteString getDocumentBytes() { * * *- * The resource name of the [Document][google.firestore.v1beta1.Document] that - * was deleted. + * The resource name of the [Document][google.firestore.v1beta1.Document] that was deleted. ** *string document = 1;
@@ -734,8 +725,7 @@ public Builder setDocument(java.lang.String value) { * * *- * The resource name of the [Document][google.firestore.v1beta1.Document] that - * was deleted. + * The resource name of the [Document][google.firestore.v1beta1.Document] that was deleted. ** *string document = 1;
@@ -750,8 +740,7 @@ public Builder clearDocument() { * * *- * The resource name of the [Document][google.firestore.v1beta1.Document] that - * was deleted. + * The resource name of the [Document][google.firestore.v1beta1.Document] that was deleted. ** *string document = 1;
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentDeleteOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentDeleteOrBuilder.java index fa637b271ed4..158818ddf7fd 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentDeleteOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentDeleteOrBuilder.java @@ -12,8 +12,7 @@ public interface DocumentDeleteOrBuilder * * *- * The resource name of the [Document][google.firestore.v1beta1.Document] that - * was deleted. + * The resource name of the [Document][google.firestore.v1beta1.Document] that was deleted. ** *string document = 1;
@@ -23,8 +22,7 @@ public interface DocumentDeleteOrBuilder * * *- * The resource name of the [Document][google.firestore.v1beta1.Document] that - * was deleted. + * The resource name of the [Document][google.firestore.v1beta1.Document] that was deleted. ** *string document = 1;
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentMask.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentMask.java index 268dea63273b..5a508a77a26c 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentMask.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentMask.java @@ -11,8 +11,7 @@ * Used to restrict a get or update operation on a document to a subset of its * fields. * This is different from standard field masks, as this is always scoped to a - * [Document][google.firestore.v1beta1.Document], and takes in account the - * dynamic nature of [Value][google.firestore.v1beta1.Value]. + * [Document][google.firestore.v1beta1.Document], and takes in account the dynamic nature of [Value][google.firestore.v1beta1.Value]. *- * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1beta1.Document.fields] for a field + * The list of field paths in the mask. See [Document.fields][google.firestore.v1beta1.Document.fields] for a field * path syntax reference. ** @@ -122,8 +120,7 @@ public com.google.protobuf.ProtocolStringList getFieldPathsList() { * * *- * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1beta1.Document.fields] for a field + * The list of field paths in the mask. See [Document.fields][google.firestore.v1beta1.Document.fields] for a field * path syntax reference. ** @@ -136,8 +133,7 @@ public int getFieldPathsCount() { * * *- * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1beta1.Document.fields] for a field + * The list of field paths in the mask. See [Document.fields][google.firestore.v1beta1.Document.fields] for a field * path syntax reference. ** @@ -150,8 +146,7 @@ public java.lang.String getFieldPaths(int index) { * * *- * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1beta1.Document.fields] for a field + * The list of field paths in the mask. See [Document.fields][google.firestore.v1beta1.Document.fields] for a field * path syntax reference. ** @@ -336,8 +331,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * Used to restrict a get or update operation on a document to a subset of its * fields. * This is different from standard field masks, as this is always scoped to a - * [Document][google.firestore.v1beta1.Document], and takes in account the - * dynamic nature of [Value][google.firestore.v1beta1.Value]. + * [Document][google.firestore.v1beta1.Document], and takes in account the dynamic nature of [Value][google.firestore.v1beta1.Value]. *- * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1beta1.Document.fields] for a field + * The list of field paths in the mask. See [Document.fields][google.firestore.v1beta1.Document.fields] for a field * path syntax reference. ** @@ -530,8 +523,7 @@ public com.google.protobuf.ProtocolStringList getFieldPathsList() { * * *- * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1beta1.Document.fields] for a field + * The list of field paths in the mask. See [Document.fields][google.firestore.v1beta1.Document.fields] for a field * path syntax reference. ** @@ -544,8 +536,7 @@ public int getFieldPathsCount() { * * *- * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1beta1.Document.fields] for a field + * The list of field paths in the mask. See [Document.fields][google.firestore.v1beta1.Document.fields] for a field * path syntax reference. ** @@ -558,8 +549,7 @@ public java.lang.String getFieldPaths(int index) { * * *- * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1beta1.Document.fields] for a field + * The list of field paths in the mask. See [Document.fields][google.firestore.v1beta1.Document.fields] for a field * path syntax reference. ** @@ -572,8 +562,7 @@ public com.google.protobuf.ByteString getFieldPathsBytes(int index) { * * *- * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1beta1.Document.fields] for a field + * The list of field paths in the mask. See [Document.fields][google.firestore.v1beta1.Document.fields] for a field * path syntax reference. ** @@ -592,8 +581,7 @@ public Builder setFieldPaths(int index, java.lang.String value) { * * *- * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1beta1.Document.fields] for a field + * The list of field paths in the mask. See [Document.fields][google.firestore.v1beta1.Document.fields] for a field * path syntax reference. ** @@ -612,8 +600,7 @@ public Builder addFieldPaths(java.lang.String value) { * * *- * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1beta1.Document.fields] for a field + * The list of field paths in the mask. See [Document.fields][google.firestore.v1beta1.Document.fields] for a field * path syntax reference. ** @@ -629,8 +616,7 @@ public Builder addAllFieldPaths(java.lang.Iterablevalues) { * * * - * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1beta1.Document.fields] for a field + * The list of field paths in the mask. See [Document.fields][google.firestore.v1beta1.Document.fields] for a field * path syntax reference. ** @@ -646,8 +632,7 @@ public Builder clearFieldPaths() { * * *- * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1beta1.Document.fields] for a field + * The list of field paths in the mask. See [Document.fields][google.firestore.v1beta1.Document.fields] for a field * path syntax reference. ** diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentMaskOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentMaskOrBuilder.java index 7916bb25a8d4..3e594f6af815 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentMaskOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentMaskOrBuilder.java @@ -12,8 +12,7 @@ public interface DocumentMaskOrBuilder * * *- * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1beta1.Document.fields] for a field + * The list of field paths in the mask. See [Document.fields][google.firestore.v1beta1.Document.fields] for a field * path syntax reference. ** @@ -24,8 +23,7 @@ public interface DocumentMaskOrBuilder * * *- * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1beta1.Document.fields] for a field + * The list of field paths in the mask. See [Document.fields][google.firestore.v1beta1.Document.fields] for a field * path syntax reference. ** @@ -36,8 +34,7 @@ public interface DocumentMaskOrBuilder * * *- * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1beta1.Document.fields] for a field + * The list of field paths in the mask. See [Document.fields][google.firestore.v1beta1.Document.fields] for a field * path syntax reference. ** @@ -48,8 +45,7 @@ public interface DocumentMaskOrBuilder * * *- * The list of field paths in the mask. See - * [Document.fields][google.firestore.v1beta1.Document.fields] for a field + * The list of field paths in the mask. See [Document.fields][google.firestore.v1beta1.Document.fields] for a field * path syntax reference. ** diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentProto.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentProto.java index 56285de6f75a..eeb6dac6279b 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentProto.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentProto.java @@ -46,10 +46,10 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n\'google/firestore/v1beta1/document.prot" - + "o\022\030google.firestore.v1beta1\032\034google/api/" - + "annotations.proto\032\034google/protobuf/struc" - + "t.proto\032\037google/protobuf/timestamp.proto" - + "\032\030google/type/latlng.proto\"\212\002\n\010Document\022" + + "o\022\030google.firestore.v1beta1\032\034google/prot" + + "obuf/struct.proto\032\037google/protobuf/times" + + "tamp.proto\032\030google/type/latlng.proto\032\034go" + + "ogle/api/annotations.proto\"\212\002\n\010Document\022" + "\014\n\004name\030\001 \001(\t\022>\n\006fields\030\002 \003(\0132..google.f" + "irestore.v1beta1.Document.FieldsEntry\022/\n" + "\013create_time\030\003 \001(\0132\032.google.protobuf.Tim" @@ -90,10 +90,10 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.protobuf.StructProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), com.google.type.LatLngProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), }, assigner); internal_static_google_firestore_v1beta1_Document_descriptor = @@ -155,10 +155,10 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new java.lang.String[] { "Key", "Value", }); - com.google.api.AnnotationsProto.getDescriptor(); com.google.protobuf.StructProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); com.google.type.LatLngProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentRemove.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentRemove.java index 0fbfa17e9fb7..ab7d5e16d236 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentRemove.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentRemove.java @@ -7,14 +7,12 @@ * * *- * A [Document][google.firestore.v1beta1.Document] has been removed from the - * view of the targets. + * A [Document][google.firestore.v1beta1.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.v1beta1.DocumentRemove] messages - * may be returned for the same logical write or delete, if multiple targets are - * affected. + * Multiple [DocumentRemove][google.firestore.v1beta1.DocumentRemove] messages may be returned for the same logical + * write or delete, if multiple targets are affected. ** * Protobuf type {@code google.firestore.v1beta1.DocumentRemove} @@ -148,8 +146,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * * *- * The resource name of the [Document][google.firestore.v1beta1.Document] that - * has gone out of view. + * The resource name of the [Document][google.firestore.v1beta1.Document] that has gone out of view. ** *string document = 1;
@@ -169,8 +166,7 @@ public java.lang.String getDocument() { * * *- * The resource name of the [Document][google.firestore.v1beta1.Document] that - * has gone out of view. + * The resource name of the [Document][google.firestore.v1beta1.Document] that has gone out of view. ** *string document = 1;
@@ -474,14 +470,12 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *- * A [Document][google.firestore.v1beta1.Document] has been removed from the - * view of the targets. + * A [Document][google.firestore.v1beta1.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.v1beta1.DocumentRemove] messages - * may be returned for the same logical write or delete, if multiple targets are - * affected. + * Multiple [DocumentRemove][google.firestore.v1beta1.DocumentRemove] messages may be returned for the same logical + * write or delete, if multiple targets are affected. ** * Protobuf type {@code google.firestore.v1beta1.DocumentRemove} @@ -675,8 +669,7 @@ public Builder mergeFrom( * * *- * The resource name of the [Document][google.firestore.v1beta1.Document] that - * has gone out of view. + * The resource name of the [Document][google.firestore.v1beta1.Document] that has gone out of view. ** *string document = 1;
@@ -696,8 +689,7 @@ public java.lang.String getDocument() { * * *- * The resource name of the [Document][google.firestore.v1beta1.Document] that - * has gone out of view. + * The resource name of the [Document][google.firestore.v1beta1.Document] that has gone out of view. ** *string document = 1;
@@ -717,8 +709,7 @@ public com.google.protobuf.ByteString getDocumentBytes() { * * *- * The resource name of the [Document][google.firestore.v1beta1.Document] that - * has gone out of view. + * The resource name of the [Document][google.firestore.v1beta1.Document] that has gone out of view. ** *string document = 1;
@@ -736,8 +727,7 @@ public Builder setDocument(java.lang.String value) { * * *- * The resource name of the [Document][google.firestore.v1beta1.Document] that - * has gone out of view. + * The resource name of the [Document][google.firestore.v1beta1.Document] that has gone out of view. ** *string document = 1;
@@ -752,8 +742,7 @@ public Builder clearDocument() { * * *- * The resource name of the [Document][google.firestore.v1beta1.Document] that - * has gone out of view. + * The resource name of the [Document][google.firestore.v1beta1.Document] that has gone out of view. ** *string document = 1;
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentRemoveOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentRemoveOrBuilder.java index 36483f17c749..fd077a70c5a2 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentRemoveOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentRemoveOrBuilder.java @@ -12,8 +12,7 @@ public interface DocumentRemoveOrBuilder * * *- * The resource name of the [Document][google.firestore.v1beta1.Document] that - * has gone out of view. + * The resource name of the [Document][google.firestore.v1beta1.Document] that has gone out of view. ** *string document = 1;
@@ -23,8 +22,7 @@ public interface DocumentRemoveOrBuilder * * *- * The resource name of the [Document][google.firestore.v1beta1.Document] that - * has gone out of view. + * The resource name of the [Document][google.firestore.v1beta1.Document] that has gone out of view. ** *string document = 1;
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentTransform.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentTransform.java index a70eb8b241c9..06581b27b1a1 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentTransform.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/DocumentTransform.java @@ -118,9 +118,8 @@ public interface FieldTransformOrBuilder * * *- * The path of the field. See - * [Document.fields][google.firestore.v1beta1.Document.fields] for the field - * path syntax reference. + * The path of the field. See [Document.fields][google.firestore.v1beta1.Document.fields] for the field path syntax + * reference. ** *string field_path = 1;
@@ -130,9 +129,8 @@ public interface FieldTransformOrBuilder * * *- * The path of the field. See - * [Document.fields][google.firestore.v1beta1.Document.fields] for the field - * path syntax reference. + * The path of the field. See [Document.fields][google.firestore.v1beta1.Document.fields] for the field path syntax + * reference. ** *string field_path = 1;
@@ -816,9 +814,8 @@ public TransformTypeCase getTransformTypeCase() { * * *- * The path of the field. See - * [Document.fields][google.firestore.v1beta1.Document.fields] for the field - * path syntax reference. + * The path of the field. See [Document.fields][google.firestore.v1beta1.Document.fields] for the field path syntax + * reference. ** *string field_path = 1;
@@ -838,9 +835,8 @@ public java.lang.String getFieldPath() { * * *- * The path of the field. See - * [Document.fields][google.firestore.v1beta1.Document.fields] for the field - * path syntax reference. + * The path of the field. See [Document.fields][google.firestore.v1beta1.Document.fields] for the field path syntax + * reference. ** *string field_path = 1;
@@ -1777,9 +1773,8 @@ public Builder clearTransformType() { * * *- * The path of the field. See - * [Document.fields][google.firestore.v1beta1.Document.fields] for the field - * path syntax reference. + * The path of the field. See [Document.fields][google.firestore.v1beta1.Document.fields] for the field path syntax + * reference. ** *string field_path = 1;
@@ -1799,9 +1794,8 @@ public java.lang.String getFieldPath() { * * *- * The path of the field. See - * [Document.fields][google.firestore.v1beta1.Document.fields] for the field - * path syntax reference. + * The path of the field. See [Document.fields][google.firestore.v1beta1.Document.fields] for the field path syntax + * reference. ** *string field_path = 1;
@@ -1821,9 +1815,8 @@ public com.google.protobuf.ByteString getFieldPathBytes() { * * *- * The path of the field. See - * [Document.fields][google.firestore.v1beta1.Document.fields] for the field - * path syntax reference. + * The path of the field. See [Document.fields][google.firestore.v1beta1.Document.fields] for the field path syntax + * reference. ** *string field_path = 1;
@@ -1841,9 +1834,8 @@ public Builder setFieldPath(java.lang.String value) { * * *- * The path of the field. See - * [Document.fields][google.firestore.v1beta1.Document.fields] for the field - * path syntax reference. + * The path of the field. See [Document.fields][google.firestore.v1beta1.Document.fields] for the field path syntax + * reference. ** *string field_path = 1;
@@ -1858,9 +1850,8 @@ public Builder clearFieldPath() { * * *- * The path of the field. See - * [Document.fields][google.firestore.v1beta1.Document.fields] for the field - * path syntax reference. + * The path of the field. See [Document.fields][google.firestore.v1beta1.Document.fields] for the field path syntax + * reference. ** *string field_path = 1;
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ExistenceFilter.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ExistenceFilter.java index 1e370991860c..9583f51e2b01 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ExistenceFilter.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ExistenceFilter.java @@ -116,8 +116,7 @@ public int getTargetId() { * * *- * The total count of documents that match - * [target_id][google.firestore.v1beta1.ExistenceFilter.target_id]. + * The total count of documents that match [target_id][google.firestore.v1beta1.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. *@@ -508,8 +507,7 @@ public Builder clearTargetId() { * * *- * The total count of documents that match - * [target_id][google.firestore.v1beta1.ExistenceFilter.target_id]. + * The total count of documents that match [target_id][google.firestore.v1beta1.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. *@@ -523,8 +521,7 @@ public int getCount() { * * *- * The total count of documents that match - * [target_id][google.firestore.v1beta1.ExistenceFilter.target_id]. + * The total count of documents that match [target_id][google.firestore.v1beta1.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. *@@ -541,8 +538,7 @@ public Builder setCount(int value) { * * *- * The total count of documents that match - * [target_id][google.firestore.v1beta1.ExistenceFilter.target_id]. + * The total count of documents that match [target_id][google.firestore.v1beta1.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. *diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ExistenceFilterOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ExistenceFilterOrBuilder.java index f0d84a6c599c..9154d0314489 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ExistenceFilterOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ExistenceFilterOrBuilder.java @@ -23,8 +23,7 @@ public interface ExistenceFilterOrBuilder * * *- * The total count of documents that match - * [target_id][google.firestore.v1beta1.ExistenceFilter.target_id]. + * The total count of documents that match [target_id][google.firestore.v1beta1.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. *diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/GetDocumentRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/GetDocumentRequest.java index 60c8880cd49f..0627b32b93e4 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/GetDocumentRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/GetDocumentRequest.java @@ -7,8 +7,7 @@ * * *- * The request for - * [Firestore.GetDocument][google.firestore.v1beta1.Firestore.GetDocument]. + * The request for [Firestore.GetDocument][google.firestore.v1beta1.Firestore.GetDocument]. ** * Protobuf type {@code google.firestore.v1beta1.GetDocumentRequest} @@ -541,8 +540,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *- * The request for - * [Firestore.GetDocument][google.firestore.v1beta1.Firestore.GetDocument]. + * The request for [Firestore.GetDocument][google.firestore.v1beta1.Firestore.GetDocument]. ** * Protobuf type {@code google.firestore.v1beta1.GetDocumentRequest} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListCollectionIdsRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListCollectionIdsRequest.java index e8006bf89242..9b878725d386 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListCollectionIdsRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListCollectionIdsRequest.java @@ -7,8 +7,7 @@ * * *- * The request for - * [Firestore.ListCollectionIds][google.firestore.v1beta1.Firestore.ListCollectionIds]. + * The request for [Firestore.ListCollectionIds][google.firestore.v1beta1.Firestore.ListCollectionIds]. ** * Protobuf type {@code google.firestore.v1beta1.ListCollectionIdsRequest} @@ -398,8 +397,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *- * The request for - * [Firestore.ListCollectionIds][google.firestore.v1beta1.Firestore.ListCollectionIds]. + * The request for [Firestore.ListCollectionIds][google.firestore.v1beta1.Firestore.ListCollectionIds]. ** * Protobuf type {@code google.firestore.v1beta1.ListCollectionIdsRequest} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListCollectionIdsResponse.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListCollectionIdsResponse.java index 5f78c7eb40cc..3f5c4a7f84fd 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListCollectionIdsResponse.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListCollectionIdsResponse.java @@ -7,8 +7,7 @@ * * *- * The response from - * [Firestore.ListCollectionIds][google.firestore.v1beta1.Firestore.ListCollectionIds]. + * The response from [Firestore.ListCollectionIds][google.firestore.v1beta1.Firestore.ListCollectionIds]. ** * Protobuf type {@code google.firestore.v1beta1.ListCollectionIdsResponse} @@ -382,8 +381,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *- * The response from - * [Firestore.ListCollectionIds][google.firestore.v1beta1.Firestore.ListCollectionIds]. + * The response from [Firestore.ListCollectionIds][google.firestore.v1beta1.Firestore.ListCollectionIds]. ** * Protobuf type {@code google.firestore.v1beta1.ListCollectionIdsResponse} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListDocumentsRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListDocumentsRequest.java index 1759aee60bf3..9cb472880599 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListDocumentsRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListDocumentsRequest.java @@ -7,8 +7,7 @@ * * *- * The request for - * [Firestore.ListDocuments][google.firestore.v1beta1.Firestore.ListDocuments]. + * The request for [Firestore.ListDocuments][google.firestore.v1beta1.Firestore.ListDocuments]. ** * Protobuf type {@code google.firestore.v1beta1.ListDocumentsRequest} @@ -521,9 +520,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { ** If the list should show missing documents. A missing document is a * document that does not exist but has sub-documents. These documents will - * be returned with a key but will not have fields, - * [Document.create_time][google.firestore.v1beta1.Document.create_time], or - * [Document.update_time][google.firestore.v1beta1.Document.update_time] set. + * be returned with a key but will not have fields, [Document.create_time][google.firestore.v1beta1.Document.create_time], + * or [Document.update_time][google.firestore.v1beta1.Document.update_time] set. * Requests with `show_missing` may not specify `where` or * `order_by`. *@@ -797,8 +795,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *- * The request for - * [Firestore.ListDocuments][google.firestore.v1beta1.Firestore.ListDocuments]. + * The request for [Firestore.ListDocuments][google.firestore.v1beta1.Firestore.ListDocuments]. ** * Protobuf type {@code google.firestore.v1beta1.ListDocumentsRequest} @@ -1960,9 +1957,8 @@ public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder() { ** If the list should show missing documents. A missing document is a * document that does not exist but has sub-documents. These documents will - * be returned with a key but will not have fields, - * [Document.create_time][google.firestore.v1beta1.Document.create_time], or - * [Document.update_time][google.firestore.v1beta1.Document.update_time] set. + * be returned with a key but will not have fields, [Document.create_time][google.firestore.v1beta1.Document.create_time], + * or [Document.update_time][google.firestore.v1beta1.Document.update_time] set. * Requests with `show_missing` may not specify `where` or * `order_by`. *@@ -1978,9 +1974,8 @@ public boolean getShowMissing() { ** If the list should show missing documents. A missing document is a * document that does not exist but has sub-documents. These documents will - * be returned with a key but will not have fields, - * [Document.create_time][google.firestore.v1beta1.Document.create_time], or - * [Document.update_time][google.firestore.v1beta1.Document.update_time] set. + * be returned with a key but will not have fields, [Document.create_time][google.firestore.v1beta1.Document.create_time], + * or [Document.update_time][google.firestore.v1beta1.Document.update_time] set. * Requests with `show_missing` may not specify `where` or * `order_by`. *@@ -1999,9 +1994,8 @@ public Builder setShowMissing(boolean value) { ** If the list should show missing documents. A missing document is a * document that does not exist but has sub-documents. These documents will - * be returned with a key but will not have fields, - * [Document.create_time][google.firestore.v1beta1.Document.create_time], or - * [Document.update_time][google.firestore.v1beta1.Document.update_time] set. + * be returned with a key but will not have fields, [Document.create_time][google.firestore.v1beta1.Document.create_time], + * or [Document.update_time][google.firestore.v1beta1.Document.update_time] set. * Requests with `show_missing` may not specify `where` or * `order_by`. *diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListDocumentsRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListDocumentsRequestOrBuilder.java index c8449591d75f..02bd483dd651 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListDocumentsRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListDocumentsRequestOrBuilder.java @@ -203,9 +203,8 @@ public interface ListDocumentsRequestOrBuilder ** If the list should show missing documents. A missing document is a * document that does not exist but has sub-documents. These documents will - * be returned with a key but will not have fields, - * [Document.create_time][google.firestore.v1beta1.Document.create_time], or - * [Document.update_time][google.firestore.v1beta1.Document.update_time] set. + * be returned with a key but will not have fields, [Document.create_time][google.firestore.v1beta1.Document.create_time], + * or [Document.update_time][google.firestore.v1beta1.Document.update_time] set. * Requests with `show_missing` may not specify `where` or * `order_by`. *diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListDocumentsResponse.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListDocumentsResponse.java index 55e43a07436e..b1fd71813834 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListDocumentsResponse.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListDocumentsResponse.java @@ -7,8 +7,7 @@ * * *- * The response for - * [Firestore.ListDocuments][google.firestore.v1beta1.Firestore.ListDocuments]. + * The response for [Firestore.ListDocuments][google.firestore.v1beta1.Firestore.ListDocuments]. ** * Protobuf type {@code google.firestore.v1beta1.ListDocumentsResponse} @@ -390,8 +389,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *- * The response for - * [Firestore.ListDocuments][google.firestore.v1beta1.Firestore.ListDocuments]. + * The response for [Firestore.ListDocuments][google.firestore.v1beta1.Firestore.ListDocuments]. ** * Protobuf type {@code google.firestore.v1beta1.ListDocumentsResponse} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListenResponse.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListenResponse.java index a404c6f3e1bc..c9ed0f5feb5d 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListenResponse.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListenResponse.java @@ -7,8 +7,7 @@ * * *- * The response for - * [Firestore.Listen][google.firestore.v1beta1.Firestore.Listen]. + * The response for [Firestore.Listen][google.firestore.v1beta1.Firestore.Listen]. ** * Protobuf type {@code google.firestore.v1beta1.ListenResponse} @@ -354,8 +353,8 @@ public com.google.firestore.v1beta1.DocumentDeleteOrBuilder getDocumentDeleteOrB * * *- * A [Document][google.firestore.v1beta1.Document] has been removed from a - * target (because it is no longer relevant to that target). + * A [Document][google.firestore.v1beta1.Document] has been removed from a target (because it is no longer + * relevant to that target). ** *.google.firestore.v1beta1.DocumentRemove document_remove = 6;
@@ -367,8 +366,8 @@ public boolean hasDocumentRemove() { * * *- * A [Document][google.firestore.v1beta1.Document] has been removed from a - * target (because it is no longer relevant to that target). + * A [Document][google.firestore.v1beta1.Document] has been removed from a target (because it is no longer + * relevant to that target). ** *.google.firestore.v1beta1.DocumentRemove document_remove = 6;
@@ -383,8 +382,8 @@ public com.google.firestore.v1beta1.DocumentRemove getDocumentRemove() { * * *- * A [Document][google.firestore.v1beta1.Document] has been removed from a - * target (because it is no longer relevant to that target). + * A [Document][google.firestore.v1beta1.Document] has been removed from a target (because it is no longer + * relevant to that target). ** *.google.firestore.v1beta1.DocumentRemove document_remove = 6;
@@ -689,8 +688,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *- * The response for - * [Firestore.Listen][google.firestore.v1beta1.Firestore.Listen]. + * The response for [Firestore.Listen][google.firestore.v1beta1.Firestore.Listen]. ** * Protobuf type {@code google.firestore.v1beta1.ListenResponse} @@ -1534,8 +1532,8 @@ public com.google.firestore.v1beta1.DocumentDeleteOrBuilder getDocumentDeleteOrB * * *- * A [Document][google.firestore.v1beta1.Document] has been removed from a - * target (because it is no longer relevant to that target). + * A [Document][google.firestore.v1beta1.Document] has been removed from a target (because it is no longer + * relevant to that target). ** *.google.firestore.v1beta1.DocumentRemove document_remove = 6;
@@ -1547,8 +1545,8 @@ public boolean hasDocumentRemove() { * * *- * A [Document][google.firestore.v1beta1.Document] has been removed from a - * target (because it is no longer relevant to that target). + * A [Document][google.firestore.v1beta1.Document] has been removed from a target (because it is no longer + * relevant to that target). ** *.google.firestore.v1beta1.DocumentRemove document_remove = 6;
@@ -1570,8 +1568,8 @@ public com.google.firestore.v1beta1.DocumentRemove getDocumentRemove() { * * *- * A [Document][google.firestore.v1beta1.Document] has been removed from a - * target (because it is no longer relevant to that target). + * A [Document][google.firestore.v1beta1.Document] has been removed from a target (because it is no longer + * relevant to that target). ** *.google.firestore.v1beta1.DocumentRemove document_remove = 6;
@@ -1593,8 +1591,8 @@ public Builder setDocumentRemove(com.google.firestore.v1beta1.DocumentRemove val * * *- * A [Document][google.firestore.v1beta1.Document] has been removed from a - * target (because it is no longer relevant to that target). + * A [Document][google.firestore.v1beta1.Document] has been removed from a target (because it is no longer + * relevant to that target). ** *.google.firestore.v1beta1.DocumentRemove document_remove = 6;
@@ -1614,8 +1612,8 @@ public Builder setDocumentRemove( * * *- * A [Document][google.firestore.v1beta1.Document] has been removed from a - * target (because it is no longer relevant to that target). + * A [Document][google.firestore.v1beta1.Document] has been removed from a target (because it is no longer + * relevant to that target). ** *.google.firestore.v1beta1.DocumentRemove document_remove = 6;
@@ -1646,8 +1644,8 @@ public Builder mergeDocumentRemove(com.google.firestore.v1beta1.DocumentRemove v * * *- * A [Document][google.firestore.v1beta1.Document] has been removed from a - * target (because it is no longer relevant to that target). + * A [Document][google.firestore.v1beta1.Document] has been removed from a target (because it is no longer + * relevant to that target). ** *.google.firestore.v1beta1.DocumentRemove document_remove = 6;
@@ -1672,8 +1670,8 @@ public Builder clearDocumentRemove() { * * *- * A [Document][google.firestore.v1beta1.Document] has been removed from a - * target (because it is no longer relevant to that target). + * A [Document][google.firestore.v1beta1.Document] has been removed from a target (because it is no longer + * relevant to that target). ** *.google.firestore.v1beta1.DocumentRemove document_remove = 6;
@@ -1685,8 +1683,8 @@ public com.google.firestore.v1beta1.DocumentRemove.Builder getDocumentRemoveBuil * * *- * A [Document][google.firestore.v1beta1.Document] has been removed from a - * target (because it is no longer relevant to that target). + * A [Document][google.firestore.v1beta1.Document] has been removed from a target (because it is no longer + * relevant to that target). ** *.google.firestore.v1beta1.DocumentRemove document_remove = 6;
@@ -1705,8 +1703,8 @@ public com.google.firestore.v1beta1.DocumentRemoveOrBuilder getDocumentRemoveOrB * * *- * A [Document][google.firestore.v1beta1.Document] has been removed from a - * target (because it is no longer relevant to that target). + * A [Document][google.firestore.v1beta1.Document] has been removed from a target (because it is no longer + * relevant to that target). ** *.google.firestore.v1beta1.DocumentRemove document_remove = 6;
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListenResponseOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListenResponseOrBuilder.java index 142278ac81c3..b926e9397c0b 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListenResponseOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/ListenResponseOrBuilder.java @@ -105,8 +105,8 @@ public interface ListenResponseOrBuilder * * *- * A [Document][google.firestore.v1beta1.Document] has been removed from a - * target (because it is no longer relevant to that target). + * A [Document][google.firestore.v1beta1.Document] has been removed from a target (because it is no longer + * relevant to that target). ** *.google.firestore.v1beta1.DocumentRemove document_remove = 6;
@@ -116,8 +116,8 @@ public interface ListenResponseOrBuilder * * *- * A [Document][google.firestore.v1beta1.Document] has been removed from a - * target (because it is no longer relevant to that target). + * A [Document][google.firestore.v1beta1.Document] has been removed from a target (because it is no longer + * relevant to that target). ** *.google.firestore.v1beta1.DocumentRemove document_remove = 6;
@@ -127,8 +127,8 @@ public interface ListenResponseOrBuilder * * *- * A [Document][google.firestore.v1beta1.Document] has been removed from a - * target (because it is no longer relevant to that target). + * A [Document][google.firestore.v1beta1.Document] has been removed from a target (because it is no longer + * relevant to that target). ** *.google.firestore.v1beta1.DocumentRemove document_remove = 6;
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/QueryProto.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/QueryProto.java index 7c78b9f1d226..5f2b9c1d1392 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/QueryProto.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/QueryProto.java @@ -32,6 +32,10 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_firestore_v1beta1_StructuredQuery_FieldFilter_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_firestore_v1beta1_StructuredQuery_FieldFilter_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_firestore_v1beta1_StructuredQuery_Projection_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_firestore_v1beta1_StructuredQuery_Projection_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_firestore_v1beta1_StructuredQuery_UnaryFilter_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -44,10 +48,6 @@ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry r internal_static_google_firestore_v1beta1_StructuredQuery_FieldReference_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_google_firestore_v1beta1_StructuredQuery_FieldReference_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_firestore_v1beta1_StructuredQuery_Projection_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_firestore_v1beta1_StructuredQuery_Projection_fieldAccessorTable; static final com.google.protobuf.Descriptors.Descriptor internal_static_google_firestore_v1beta1_Cursor_descriptor; static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable @@ -62,9 +62,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n$google/firestore/v1beta1/query.proto\022\030" - + "google.firestore.v1beta1\032\034google/api/ann" - + "otations.proto\032\'google/firestore/v1beta1" - + "/document.proto\032\036google/protobuf/wrapper" + + "google.firestore.v1beta1\032\'google/firesto" + + "re/v1beta1/document.proto\032\036google/protob" + + "uf/wrappers.proto\032\034google/api/annotation" + "s.proto\"\271\017\n\017StructuredQuery\022D\n\006select\030\001 " + "\001(\01324.google.firestore.v1beta1.Structure" + "dQuery.Projection\022J\n\004from\030\002 \003(\0132<.google" @@ -99,20 +99,20 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "Operator\022\030\n\024OPERATOR_UNSPECIFIED\020\000\022\r\n\tLE" + "SS_THAN\020\001\022\026\n\022LESS_THAN_OR_EQUAL\020\002\022\020\n\014GRE" + "ATER_THAN\020\003\022\031\n\025GREATER_THAN_OR_EQUAL\020\004\022\t" - + "\n\005EQUAL\020\005\022\022\n\016ARRAY_CONTAINS\020\007\032\363\001\n\013UnaryF" - + "ilter\022J\n\002op\030\001 \001(\0162>.google.firestore.v1b" - + "eta1.StructuredQuery.UnaryFilter.Operato" - + "r\022I\n\005field\030\002 \001(\01328.google.firestore.v1be" - + "ta1.StructuredQuery.FieldReferenceH\000\"=\n\010" - + "Operator\022\030\n\024OPERATOR_UNSPECIFIED\020\000\022\n\n\006IS" - + "_NAN\020\002\022\013\n\007IS_NULL\020\003B\016\n\014operand_type\032\230\001\n\005" - + "Order\022G\n\005field\030\001 \001(\01328.google.firestore." - + "v1beta1.StructuredQuery.FieldReference\022F" - + "\n\tdirection\030\002 \001(\01623.google.firestore.v1b" - + "eta1.StructuredQuery.Direction\032$\n\016FieldR" - + "eference\022\022\n\nfield_path\030\002 \001(\t\032V\n\nProjecti" - + "on\022H\n\006fields\030\002 \003(\01328.google.firestore.v1" - + "beta1.StructuredQuery.FieldReference\"E\n\t" + + "\n\005EQUAL\020\005\022\022\n\016ARRAY_CONTAINS\020\007\032V\n\nProject" + + "ion\022H\n\006fields\030\002 \003(\01328.google.firestore.v" + + "1beta1.StructuredQuery.FieldReference\032\363\001" + + "\n\013UnaryFilter\022J\n\002op\030\001 \001(\0162>.google.fires" + + "tore.v1beta1.StructuredQuery.UnaryFilter" + + ".Operator\022I\n\005field\030\002 \001(\01328.google.firest" + + "ore.v1beta1.StructuredQuery.FieldReferen" + + "ceH\000\"=\n\010Operator\022\030\n\024OPERATOR_UNSPECIFIED" + + "\020\000\022\n\n\006IS_NAN\020\002\022\013\n\007IS_NULL\020\003B\016\n\014operand_t" + + "ype\032\230\001\n\005Order\022G\n\005field\030\001 \001(\01328.google.fi" + + "restore.v1beta1.StructuredQuery.FieldRef" + + "erence\022F\n\tdirection\030\002 \001(\01623.google.fires" + + "tore.v1beta1.StructuredQuery.Direction\032$" + + "\n\016FieldReference\022\022\n\nfield_path\030\002 \001(\t\"E\n\t" + "Direction\022\031\n\025DIRECTION_UNSPECIFIED\020\000\022\r\n\t" + "ASCENDING\020\001\022\016\n\nDESCENDING\020\002\"I\n\006Cursor\022/\n" + "\006values\030\001 \003(\0132\037.google.firestore.v1beta1" @@ -134,9 +134,9 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.firestore.v1beta1.DocumentProto.getDescriptor(), com.google.protobuf.WrappersProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), }, assigner); internal_static_google_firestore_v1beta1_StructuredQuery_descriptor = @@ -179,8 +179,16 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new java.lang.String[] { "Field", "Op", "Value", }); - internal_static_google_firestore_v1beta1_StructuredQuery_UnaryFilter_descriptor = + internal_static_google_firestore_v1beta1_StructuredQuery_Projection_descriptor = internal_static_google_firestore_v1beta1_StructuredQuery_descriptor.getNestedTypes().get(4); + internal_static_google_firestore_v1beta1_StructuredQuery_Projection_fieldAccessorTable = + new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( + internal_static_google_firestore_v1beta1_StructuredQuery_Projection_descriptor, + new java.lang.String[] { + "Fields", + }); + internal_static_google_firestore_v1beta1_StructuredQuery_UnaryFilter_descriptor = + internal_static_google_firestore_v1beta1_StructuredQuery_descriptor.getNestedTypes().get(5); internal_static_google_firestore_v1beta1_StructuredQuery_UnaryFilter_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_firestore_v1beta1_StructuredQuery_UnaryFilter_descriptor, @@ -188,7 +196,7 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "Op", "Field", "OperandType", }); internal_static_google_firestore_v1beta1_StructuredQuery_Order_descriptor = - internal_static_google_firestore_v1beta1_StructuredQuery_descriptor.getNestedTypes().get(5); + internal_static_google_firestore_v1beta1_StructuredQuery_descriptor.getNestedTypes().get(6); internal_static_google_firestore_v1beta1_StructuredQuery_Order_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_firestore_v1beta1_StructuredQuery_Order_descriptor, @@ -196,21 +204,13 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( "Field", "Direction", }); internal_static_google_firestore_v1beta1_StructuredQuery_FieldReference_descriptor = - internal_static_google_firestore_v1beta1_StructuredQuery_descriptor.getNestedTypes().get(6); + internal_static_google_firestore_v1beta1_StructuredQuery_descriptor.getNestedTypes().get(7); internal_static_google_firestore_v1beta1_StructuredQuery_FieldReference_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_firestore_v1beta1_StructuredQuery_FieldReference_descriptor, new java.lang.String[] { "FieldPath", }); - internal_static_google_firestore_v1beta1_StructuredQuery_Projection_descriptor = - internal_static_google_firestore_v1beta1_StructuredQuery_descriptor.getNestedTypes().get(7); - internal_static_google_firestore_v1beta1_StructuredQuery_Projection_fieldAccessorTable = - new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( - internal_static_google_firestore_v1beta1_StructuredQuery_Projection_descriptor, - new java.lang.String[] { - "Fields", - }); internal_static_google_firestore_v1beta1_Cursor_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_google_firestore_v1beta1_Cursor_fieldAccessorTable = @@ -219,9 +219,9 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new java.lang.String[] { "Values", "Before", }); - com.google.api.AnnotationsProto.getDescriptor(); com.google.firestore.v1beta1.DocumentProto.getDescriptor(); com.google.protobuf.WrappersProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/RollbackRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/RollbackRequest.java index c3943a5818ab..e6a1c1a66f58 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/RollbackRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/RollbackRequest.java @@ -7,8 +7,7 @@ * * *- * The request for - * [Firestore.Rollback][google.firestore.v1beta1.Firestore.Rollback]. + * The request for [Firestore.Rollback][google.firestore.v1beta1.Firestore.Rollback]. ** * Protobuf type {@code google.firestore.v1beta1.RollbackRequest} @@ -331,8 +330,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *- * The request for - * [Firestore.Rollback][google.firestore.v1beta1.Firestore.Rollback]. + * The request for [Firestore.Rollback][google.firestore.v1beta1.Firestore.Rollback]. ** * Protobuf type {@code google.firestore.v1beta1.RollbackRequest} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/RunQueryRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/RunQueryRequest.java index ba5e8659f125..14d3a31702cd 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/RunQueryRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/RunQueryRequest.java @@ -7,8 +7,7 @@ * * *- * The request for - * [Firestore.RunQuery][google.firestore.v1beta1.Firestore.RunQuery]. + * The request for [Firestore.RunQuery][google.firestore.v1beta1.Firestore.RunQuery]. ** * Protobuf type {@code google.firestore.v1beta1.RunQueryRequest} @@ -688,8 +687,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *- * The request for - * [Firestore.RunQuery][google.firestore.v1beta1.Firestore.RunQuery]. + * The request for [Firestore.RunQuery][google.firestore.v1beta1.Firestore.RunQuery]. ** * Protobuf type {@code google.firestore.v1beta1.RunQueryRequest} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/RunQueryResponse.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/RunQueryResponse.java index 0340bf1911c8..40c97c5d1b5f 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/RunQueryResponse.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/RunQueryResponse.java @@ -7,8 +7,7 @@ * * *- * The response for - * [Firestore.RunQuery][google.firestore.v1beta1.Firestore.RunQuery]. + * The response for [Firestore.RunQuery][google.firestore.v1beta1.Firestore.RunQuery]. ** * Protobuf type {@code google.firestore.v1beta1.RunQueryResponse} @@ -135,9 +134,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { ** The transaction that was started as part of this request. * Can only be set in the first response, and only if - * [RunQueryRequest.new_transaction][google.firestore.v1beta1.RunQueryRequest.new_transaction] - * was set in the request. If set, no other fields will be set in this - * response. + * [RunQueryRequest.new_transaction][google.firestore.v1beta1.RunQueryRequest.new_transaction] was set in the request. + * If set, no other fields will be set in this response. ** *bytes transaction = 2;
@@ -461,8 +459,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *- * The response for - * [Firestore.RunQuery][google.firestore.v1beta1.Firestore.RunQuery]. + * The response for [Firestore.RunQuery][google.firestore.v1beta1.Firestore.RunQuery]. ** * Protobuf type {@code google.firestore.v1beta1.RunQueryResponse} @@ -655,9 +652,8 @@ public Builder mergeFrom( ** The transaction that was started as part of this request. * Can only be set in the first response, and only if - * [RunQueryRequest.new_transaction][google.firestore.v1beta1.RunQueryRequest.new_transaction] - * was set in the request. If set, no other fields will be set in this - * response. + * [RunQueryRequest.new_transaction][google.firestore.v1beta1.RunQueryRequest.new_transaction] was set in the request. + * If set, no other fields will be set in this response. ** *bytes transaction = 2;
@@ -671,9 +667,8 @@ public com.google.protobuf.ByteString getTransaction() { ** The transaction that was started as part of this request. * Can only be set in the first response, and only if - * [RunQueryRequest.new_transaction][google.firestore.v1beta1.RunQueryRequest.new_transaction] - * was set in the request. If set, no other fields will be set in this - * response. + * [RunQueryRequest.new_transaction][google.firestore.v1beta1.RunQueryRequest.new_transaction] was set in the request. + * If set, no other fields will be set in this response. ** *bytes transaction = 2;
@@ -693,9 +688,8 @@ public Builder setTransaction(com.google.protobuf.ByteString value) { ** The transaction that was started as part of this request. * Can only be set in the first response, and only if - * [RunQueryRequest.new_transaction][google.firestore.v1beta1.RunQueryRequest.new_transaction] - * was set in the request. If set, no other fields will be set in this - * response. + * [RunQueryRequest.new_transaction][google.firestore.v1beta1.RunQueryRequest.new_transaction] was set in the request. + * If set, no other fields will be set in this response. ** *bytes transaction = 2;
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/RunQueryResponseOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/RunQueryResponseOrBuilder.java index 9c6512afc6b5..d495c560d19c 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/RunQueryResponseOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/RunQueryResponseOrBuilder.java @@ -14,9 +14,8 @@ public interface RunQueryResponseOrBuilder ** The transaction that was started as part of this request. * Can only be set in the first response, and only if - * [RunQueryRequest.new_transaction][google.firestore.v1beta1.RunQueryRequest.new_transaction] - * was set in the request. If set, no other fields will be set in this - * response. + * [RunQueryRequest.new_transaction][google.firestore.v1beta1.RunQueryRequest.new_transaction] was set in the request. + * If set, no other fields will be set in this response. ** *bytes transaction = 2;
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/StructuredQuery.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/StructuredQuery.java index 5ef6c14e16df..41b541416a8c 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/StructuredQuery.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/StructuredQuery.java @@ -5385,87 +5385,95 @@ public com.google.firestore.v1beta1.StructuredQuery.FieldFilter getDefaultInstan } } - public interface UnaryFilterOrBuilder + public interface ProjectionOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.firestore.v1beta1.StructuredQuery.UnaryFilter) + // @@protoc_insertion_point(interface_extends:google.firestore.v1beta1.StructuredQuery.Projection) com.google.protobuf.MessageOrBuilder { /** * * *- * The unary operator to apply. + * The fields to return. + * If empty, all fields are returned. To only return the name + * of the document, use `['__name__']`. ** - *.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator op = 1;
+ *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
*/ - int getOpValue(); + java.util.ListgetFieldsList(); /** * * * - * The unary operator to apply. + * The fields to return. + * If empty, all fields are returned. To only return the name + * of the document, use `['__name__']`. ** - *.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator op = 1;
+ *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
*/ - com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator getOp(); - + com.google.firestore.v1beta1.StructuredQuery.FieldReference getFields(int index); /** * * *- * The field to which to apply the operator. + * The fields to return. + * If empty, all fields are returned. To only return the name + * of the document, use `['__name__']`. ** - *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 2;
+ *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
*/ - boolean hasField(); + int getFieldsCount(); /** * * *- * The field to which to apply the operator. + * The fields to return. + * If empty, all fields are returned. To only return the name + * of the document, use `['__name__']`. ** - *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 2;
+ *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
*/ - com.google.firestore.v1beta1.StructuredQuery.FieldReference getField(); + java.util.List extends com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder> + getFieldsOrBuilderList(); /** * * *- * The field to which to apply the operator. + * The fields to return. + * If empty, all fields are returned. To only return the name + * of the document, use `['__name__']`. ** - *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 2;
+ *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
*/ - com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder(); - - public com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.OperandTypeCase - getOperandTypeCase(); + com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder getFieldsOrBuilder( + int index); } /** * * *- * A filter with a single operand. + * The projection of document's fields to return. ** - * Protobuf type {@code google.firestore.v1beta1.StructuredQuery.UnaryFilter} + * Protobuf type {@code google.firestore.v1beta1.StructuredQuery.Projection} */ - public static final class UnaryFilter extends com.google.protobuf.GeneratedMessageV3 + public static final class Projection extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:google.firestore.v1beta1.StructuredQuery.UnaryFilter) - UnaryFilterOrBuilder { + // @@protoc_insertion_point(message_implements:google.firestore.v1beta1.StructuredQuery.Projection) + ProjectionOrBuilder { private static final long serialVersionUID = 0L; - // Use UnaryFilter.newBuilder() to construct. - private UnaryFilter(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + // Use Projection.newBuilder() to construct. + private Projection(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } - private UnaryFilter() { - op_ = 0; + private Projection() { + fields_ = java.util.Collections.emptyList(); } @java.lang.Override @@ -5473,7 +5481,7 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private UnaryFilter( + private Projection( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -5492,32 +5500,18 @@ private UnaryFilter( case 0: done = true; break; - case 8: - { - int rawValue = input.readEnum(); - - op_ = rawValue; - break; - } case 18: { - com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder subBuilder = - null; - if (operandTypeCase_ == 2) { - subBuilder = - ((com.google.firestore.v1beta1.StructuredQuery.FieldReference) operandType_) - .toBuilder(); + if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + fields_ = + new java.util.ArrayList< + com.google.firestore.v1beta1.StructuredQuery.FieldReference>(); + mutable_bitField0_ |= 0x00000001; } - operandType_ = + fields_.add( input.readMessage( com.google.firestore.v1beta1.StructuredQuery.FieldReference.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom( - (com.google.firestore.v1beta1.StructuredQuery.FieldReference) operandType_); - operandType_ = subBuilder.buildPartial(); - } - operandTypeCase_ = 2; + extensionRegistry)); break; } default: @@ -5534,6 +5528,9 @@ private UnaryFilter( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { + if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { + fields_ = java.util.Collections.unmodifiableList(fields_); + } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } @@ -5541,287 +5538,103 @@ private UnaryFilter( public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.firestore.v1beta1.QueryProto - .internal_static_google_firestore_v1beta1_StructuredQuery_UnaryFilter_descriptor; + .internal_static_google_firestore_v1beta1_StructuredQuery_Projection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.firestore.v1beta1.QueryProto - .internal_static_google_firestore_v1beta1_StructuredQuery_UnaryFilter_fieldAccessorTable + .internal_static_google_firestore_v1beta1_StructuredQuery_Projection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.class, - com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Builder.class); + com.google.firestore.v1beta1.StructuredQuery.Projection.class, + com.google.firestore.v1beta1.StructuredQuery.Projection.Builder.class); } + public static final int FIELDS_FIELD_NUMBER = 2; + private java.util.Listfields_; /** * * * - * A unary operator. + * The fields to return. + * If empty, all fields are returned. To only return the name + * of the document, use `['__name__']`. ** - * Protobuf enum {@code google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator} + *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
*/ - public enum Operator implements com.google.protobuf.ProtocolMessageEnum { - /** - * - * - *- * Unspecified. This value must not be used. - *- * - *OPERATOR_UNSPECIFIED = 0;
- */ - OPERATOR_UNSPECIFIED(0), - /** - * - * - *- * Test if a field is equal to NaN. - *- * - *IS_NAN = 2;
- */ - IS_NAN(2), - /** - * - * - *- * Test if an exprestion evaluates to Null. - *- * - *IS_NULL = 3;
- */ - IS_NULL(3), - UNRECOGNIZED(-1), - ; + public java.util.List+ getFieldsList() { + return fields_; + } + /** + * + * + * + * The fields to return. + * If empty, all fields are returned. To only return the name + * of the document, use `['__name__']`. + *+ * + *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
+ */ + public java.util.List< + ? extends com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder> + getFieldsOrBuilderList() { + return fields_; + } + /** + * + * + *+ * The fields to return. + * If empty, all fields are returned. To only return the name + * of the document, use `['__name__']`. + *+ * + *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
+ */ + public int getFieldsCount() { + return fields_.size(); + } + /** + * + * + *+ * The fields to return. + * If empty, all fields are returned. To only return the name + * of the document, use `['__name__']`. + *+ * + *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
+ */ + public com.google.firestore.v1beta1.StructuredQuery.FieldReference getFields(int index) { + return fields_.get(index); + } + /** + * + * + *+ * The fields to return. + * If empty, all fields are returned. To only return the name + * of the document, use `['__name__']`. + *+ * + *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
+ */ + public com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder getFieldsOrBuilder( + int index) { + return fields_.get(index); + } - /** - * - * - *- * Unspecified. This value must not be used. - *- * - *OPERATOR_UNSPECIFIED = 0;
- */ - public static final int OPERATOR_UNSPECIFIED_VALUE = 0; - /** - * - * - *- * Test if a field is equal to NaN. - *- * - *IS_NAN = 2;
- */ - public static final int IS_NAN_VALUE = 2; - /** - * - * - *- * Test if an exprestion evaluates to Null. - *- * - *IS_NULL = 3;
- */ - public static final int IS_NULL_VALUE = 3; + private byte memoizedIsInitialized = -1; - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** @deprecated Use {@link #forNumber(int)} instead. */ - @java.lang.Deprecated - public static Operator valueOf(int value) { - return forNumber(value); - } - - public static Operator forNumber(int value) { - switch (value) { - case 0: - return OPERATOR_UNSPECIFIED; - case 2: - return IS_NAN; - case 3: - return IS_NULL; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMapinternalGetValueMap() { - return internalValueMap; - } - - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap () { - public Operator findValueByNumber(int number) { - return Operator.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { - return getDescriptor().getValues().get(ordinal()); - } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { - return getDescriptor(); - } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.getDescriptor() - .getEnumTypes() - .get(0); - } - - private static final Operator[] VALUES = values(); - - public static Operator valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); - } - if (desc.getIndex() == -1) { - return UNRECOGNIZED; - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private Operator(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator) - } - - private int operandTypeCase_ = 0; - private java.lang.Object operandType_; - - public enum OperandTypeCase implements com.google.protobuf.Internal.EnumLite { - FIELD(2), - OPERANDTYPE_NOT_SET(0); - private final int value; - - private OperandTypeCase(int value) { - this.value = value; - } - /** @deprecated Use {@link #forNumber(int)} instead. */ - @java.lang.Deprecated - public static OperandTypeCase valueOf(int value) { - return forNumber(value); - } - - public static OperandTypeCase forNumber(int value) { - switch (value) { - case 2: - return FIELD; - case 0: - return OPERANDTYPE_NOT_SET; - default: - return null; - } - } - - public int getNumber() { - return this.value; - } - }; - - public OperandTypeCase getOperandTypeCase() { - return OperandTypeCase.forNumber(operandTypeCase_); - } - - public static final int OP_FIELD_NUMBER = 1; - private int op_; - /** - * - * - * - * The unary operator to apply. - *- * - *.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator op = 1;
- */ - public int getOpValue() { - return op_; - } - /** - * - * - *- * The unary operator to apply. - *- * - *.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator op = 1;
- */ - public com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator getOp() { - @SuppressWarnings("deprecation") - com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator result = - com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator.valueOf(op_); - return result == null - ? com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator.UNRECOGNIZED - : result; - } - - public static final int FIELD_FIELD_NUMBER = 2; - /** - * - * - *- * The field to which to apply the operator. - *- * - *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 2;
- */ - public boolean hasField() { - return operandTypeCase_ == 2; - } - /** - * - * - *- * The field to which to apply the operator. - *- * - *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 2;
- */ - public com.google.firestore.v1beta1.StructuredQuery.FieldReference getField() { - if (operandTypeCase_ == 2) { - return (com.google.firestore.v1beta1.StructuredQuery.FieldReference) operandType_; - } - return com.google.firestore.v1beta1.StructuredQuery.FieldReference.getDefaultInstance(); - } - /** - * - * - *- * The field to which to apply the operator. - *- * - *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 2;
- */ - public com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder - getFieldOrBuilder() { - if (operandTypeCase_ == 2) { - return (com.google.firestore.v1beta1.StructuredQuery.FieldReference) operandType_; - } - return com.google.firestore.v1beta1.StructuredQuery.FieldReference.getDefaultInstance(); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; @@ -5829,14 +5642,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (op_ - != com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator.OPERATOR_UNSPECIFIED - .getNumber()) { - output.writeEnum(1, op_); - } - if (operandTypeCase_ == 2) { - output.writeMessage( - 2, (com.google.firestore.v1beta1.StructuredQuery.FieldReference) operandType_); + for (int i = 0; i < fields_.size(); i++) { + output.writeMessage(2, fields_.get(i)); } unknownFields.writeTo(output); } @@ -5847,15 +5654,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (op_ - != com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator.OPERATOR_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, op_); - } - if (operandTypeCase_ == 2) { - size += - com.google.protobuf.CodedOutputStream.computeMessageSize( - 2, (com.google.firestore.v1beta1.StructuredQuery.FieldReference) operandType_); + for (int i = 0; i < fields_.size(); i++) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, fields_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5867,23 +5667,14 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.google.firestore.v1beta1.StructuredQuery.UnaryFilter)) { + if (!(obj instanceof com.google.firestore.v1beta1.StructuredQuery.Projection)) { return super.equals(obj); } - com.google.firestore.v1beta1.StructuredQuery.UnaryFilter other = - (com.google.firestore.v1beta1.StructuredQuery.UnaryFilter) obj; + com.google.firestore.v1beta1.StructuredQuery.Projection other = + (com.google.firestore.v1beta1.StructuredQuery.Projection) obj; boolean result = true; - result = result && op_ == other.op_; - result = result && getOperandTypeCase().equals(other.getOperandTypeCase()); - if (!result) return false; - switch (operandTypeCase_) { - case 2: - result = result && getField().equals(other.getField()); - break; - case 0: - default: - } + result = result && getFieldsList().equals(other.getFieldsList()); result = result && unknownFields.equals(other.unknownFields); return result; } @@ -5895,86 +5686,80 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + OP_FIELD_NUMBER; - hash = (53 * hash) + op_; - switch (operandTypeCase_) { - case 2: - hash = (37 * hash) + FIELD_FIELD_NUMBER; - hash = (53 * hash) + getField().hashCode(); - break; - case 0: - default: + if (getFieldsCount() > 0) { + hash = (37 * hash) + FIELDS_FIELD_NUMBER; + hash = (53 * hash) + getFieldsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.firestore.v1beta1.StructuredQuery.UnaryFilter parseFrom( + public static com.google.firestore.v1beta1.StructuredQuery.Projection parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1beta1.StructuredQuery.UnaryFilter parseFrom( + public static com.google.firestore.v1beta1.StructuredQuery.Projection 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.v1beta1.StructuredQuery.UnaryFilter parseFrom( + public static com.google.firestore.v1beta1.StructuredQuery.Projection parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1beta1.StructuredQuery.UnaryFilter parseFrom( + public static com.google.firestore.v1beta1.StructuredQuery.Projection parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1beta1.StructuredQuery.UnaryFilter parseFrom(byte[] data) + public static com.google.firestore.v1beta1.StructuredQuery.Projection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1beta1.StructuredQuery.UnaryFilter parseFrom( + public static com.google.firestore.v1beta1.StructuredQuery.Projection parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1beta1.StructuredQuery.UnaryFilter parseFrom( + public static com.google.firestore.v1beta1.StructuredQuery.Projection parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.firestore.v1beta1.StructuredQuery.UnaryFilter parseFrom( + public static com.google.firestore.v1beta1.StructuredQuery.Projection 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.v1beta1.StructuredQuery.UnaryFilter parseDelimitedFrom( + public static com.google.firestore.v1beta1.StructuredQuery.Projection parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1beta1.StructuredQuery.UnaryFilter parseDelimitedFrom( + public static com.google.firestore.v1beta1.StructuredQuery.Projection 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.v1beta1.StructuredQuery.UnaryFilter parseFrom( + public static com.google.firestore.v1beta1.StructuredQuery.Projection parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.firestore.v1beta1.StructuredQuery.UnaryFilter parseFrom( + public static com.google.firestore.v1beta1.StructuredQuery.Projection parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -5992,7 +5777,7 @@ public static Builder newBuilder() { } public static Builder newBuilder( - com.google.firestore.v1beta1.StructuredQuery.UnaryFilter prototype) { + com.google.firestore.v1beta1.StructuredQuery.Projection prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -6011,32 +5796,32 @@ protected Builder newBuilderForType( * * *- * A filter with a single operand. + * The projection of document's fields to return. ** - * Protobuf type {@code google.firestore.v1beta1.StructuredQuery.UnaryFilter} + * Protobuf type {@code google.firestore.v1beta1.StructuredQuery.Projection} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builderimplements - // @@protoc_insertion_point(builder_implements:google.firestore.v1beta1.StructuredQuery.UnaryFilter) - com.google.firestore.v1beta1.StructuredQuery.UnaryFilterOrBuilder { + // @@protoc_insertion_point(builder_implements:google.firestore.v1beta1.StructuredQuery.Projection) + com.google.firestore.v1beta1.StructuredQuery.ProjectionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.firestore.v1beta1.QueryProto - .internal_static_google_firestore_v1beta1_StructuredQuery_UnaryFilter_descriptor; + .internal_static_google_firestore_v1beta1_StructuredQuery_Projection_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.firestore.v1beta1.QueryProto - .internal_static_google_firestore_v1beta1_StructuredQuery_UnaryFilter_fieldAccessorTable + .internal_static_google_firestore_v1beta1_StructuredQuery_Projection_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.class, - com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Builder.class); + com.google.firestore.v1beta1.StructuredQuery.Projection.class, + com.google.firestore.v1beta1.StructuredQuery.Projection.Builder.class); } - // Construct using com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.newBuilder() + // Construct using com.google.firestore.v1beta1.StructuredQuery.Projection.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -6047,33 +5832,37 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + getFieldsFieldBuilder(); + } } @java.lang.Override public Builder clear() { super.clear(); - op_ = 0; - - operandTypeCase_ = 0; - operandType_ = null; + if (fieldsBuilder_ == null) { + fields_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + } else { + fieldsBuilder_.clear(); + } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.firestore.v1beta1.QueryProto - .internal_static_google_firestore_v1beta1_StructuredQuery_UnaryFilter_descriptor; + .internal_static_google_firestore_v1beta1_StructuredQuery_Projection_descriptor; } @java.lang.Override - public com.google.firestore.v1beta1.StructuredQuery.UnaryFilter getDefaultInstanceForType() { - return com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.getDefaultInstance(); + public com.google.firestore.v1beta1.StructuredQuery.Projection getDefaultInstanceForType() { + return com.google.firestore.v1beta1.StructuredQuery.Projection.getDefaultInstance(); } @java.lang.Override - public com.google.firestore.v1beta1.StructuredQuery.UnaryFilter build() { - com.google.firestore.v1beta1.StructuredQuery.UnaryFilter result = buildPartial(); + public com.google.firestore.v1beta1.StructuredQuery.Projection build() { + com.google.firestore.v1beta1.StructuredQuery.Projection result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -6081,18 +5870,19 @@ public com.google.firestore.v1beta1.StructuredQuery.UnaryFilter build() { } @java.lang.Override - public com.google.firestore.v1beta1.StructuredQuery.UnaryFilter buildPartial() { - com.google.firestore.v1beta1.StructuredQuery.UnaryFilter result = - new com.google.firestore.v1beta1.StructuredQuery.UnaryFilter(this); - result.op_ = op_; - if (operandTypeCase_ == 2) { - if (fieldBuilder_ == null) { - result.operandType_ = operandType_; - } else { - result.operandType_ = fieldBuilder_.build(); + public com.google.firestore.v1beta1.StructuredQuery.Projection buildPartial() { + com.google.firestore.v1beta1.StructuredQuery.Projection result = + new com.google.firestore.v1beta1.StructuredQuery.Projection(this); + int from_bitField0_ = bitField0_; + if (fieldsBuilder_ == null) { + if (((bitField0_ & 0x00000001) == 0x00000001)) { + fields_ = java.util.Collections.unmodifiableList(fields_); + bitField0_ = (bitField0_ & ~0x00000001); } + result.fields_ = fields_; + } else { + result.fields_ = fieldsBuilder_.build(); } - result.operandTypeCase_ = operandTypeCase_; onBuilt(); return result; } @@ -6134,30 +5924,43 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.firestore.v1beta1.StructuredQuery.UnaryFilter) { - return mergeFrom((com.google.firestore.v1beta1.StructuredQuery.UnaryFilter) other); + if (other instanceof com.google.firestore.v1beta1.StructuredQuery.Projection) { + return mergeFrom((com.google.firestore.v1beta1.StructuredQuery.Projection) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.firestore.v1beta1.StructuredQuery.UnaryFilter other) { - if (other == com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.getDefaultInstance()) + public Builder mergeFrom(com.google.firestore.v1beta1.StructuredQuery.Projection other) { + if (other == com.google.firestore.v1beta1.StructuredQuery.Projection.getDefaultInstance()) return this; - if (other.op_ != 0) { - setOpValue(other.getOpValue()); - } - switch (other.getOperandTypeCase()) { - case FIELD: - { - mergeField(other.getField()); - break; + if (fieldsBuilder_ == null) { + if (!other.fields_.isEmpty()) { + if (fields_.isEmpty()) { + fields_ = other.fields_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureFieldsIsMutable(); + fields_.addAll(other.fields_); } - case OPERANDTYPE_NOT_SET: - { - break; + onChanged(); + } + } else { + if (!other.fields_.isEmpty()) { + if (fieldsBuilder_.isEmpty()) { + fieldsBuilder_.dispose(); + fieldsBuilder_ = null; + fields_ = other.fields_; + bitField0_ = (bitField0_ & ~0x00000001); + fieldsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getFieldsFieldBuilder() + : null; + } else { + fieldsBuilder_.addAllMessages(other.fields_); } + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -6174,12 +5977,12 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1beta1.StructuredQuery.UnaryFilter parsedMessage = null; + com.google.firestore.v1beta1.StructuredQuery.Projection parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = - (com.google.firestore.v1beta1.StructuredQuery.UnaryFilter) e.getUnfinishedMessage(); + (com.google.firestore.v1beta1.StructuredQuery.Projection) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -6189,235 +5992,264 @@ public Builder mergeFrom( return this; } - private int operandTypeCase_ = 0; - private java.lang.Object operandType_; + private int bitField0_; - public OperandTypeCase getOperandTypeCase() { - return OperandTypeCase.forNumber(operandTypeCase_); - } + private java.util.List fields_ = + java.util.Collections.emptyList(); - public Builder clearOperandType() { - operandTypeCase_ = 0; - operandType_ = null; - onChanged(); - return this; + private void ensureFieldsIsMutable() { + if (!((bitField0_ & 0x00000001) == 0x00000001)) { + fields_ = + new java.util.ArrayList ( + fields_); + bitField0_ |= 0x00000001; + } } - private int op_ = 0; + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1beta1.StructuredQuery.FieldReference, + com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder, + com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder> + fieldsBuilder_; + /** * * * - * The unary operator to apply. + * The fields to return. + * If empty, all fields are returned. To only return the name + * of the document, use `['__name__']`. ** - *.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator op = 1;
+ *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
*/ - public int getOpValue() { - return op_; + public java.util.List+ getFieldsList() { + if (fieldsBuilder_ == null) { + return java.util.Collections.unmodifiableList(fields_); + } else { + return fieldsBuilder_.getMessageList(); + } } /** * * * - * The unary operator to apply. + * The fields to return. + * If empty, all fields are returned. To only return the name + * of the document, use `['__name__']`. ** - *.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator op = 1;
+ *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
*/ - public Builder setOpValue(int value) { - op_ = value; - onChanged(); - return this; + public int getFieldsCount() { + if (fieldsBuilder_ == null) { + return fields_.size(); + } else { + return fieldsBuilder_.getCount(); + } } /** * * *- * The unary operator to apply. + * The fields to return. + * If empty, all fields are returned. To only return the name + * of the document, use `['__name__']`. ** - *.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator op = 1;
+ *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
*/ - public com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator getOp() { - @SuppressWarnings("deprecation") - com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator result = - com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator.valueOf(op_); - return result == null - ? com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator.UNRECOGNIZED - : result; + public com.google.firestore.v1beta1.StructuredQuery.FieldReference getFields(int index) { + if (fieldsBuilder_ == null) { + return fields_.get(index); + } else { + return fieldsBuilder_.getMessage(index); + } } /** * * *- * The unary operator to apply. + * The fields to return. + * If empty, all fields are returned. To only return the name + * of the document, use `['__name__']`. ** - *.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator op = 1;
+ *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
*/ - public Builder setOp( - com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator value) { - if (value == null) { - throw new NullPointerException(); + public Builder setFields( + int index, com.google.firestore.v1beta1.StructuredQuery.FieldReference value) { + if (fieldsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFieldsIsMutable(); + fields_.set(index, value); + onChanged(); + } else { + fieldsBuilder_.setMessage(index, value); } - - op_ = value.getNumber(); - onChanged(); return this; } /** * * *- * The unary operator to apply. + * The fields to return. + * If empty, all fields are returned. To only return the name + * of the document, use `['__name__']`. ** - *.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator op = 1;
+ *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
*/ - public Builder clearOp() { - - op_ = 0; - onChanged(); + public Builder setFields( + int index, + com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder builderForValue) { + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.set(index, builderForValue.build()); + onChanged(); + } else { + fieldsBuilder_.setMessage(index, builderForValue.build()); + } return this; } - - private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.StructuredQuery.FieldReference, - com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder, - com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder> - fieldBuilder_; /** * * *- * The field to which to apply the operator. + * The fields to return. + * If empty, all fields are returned. To only return the name + * of the document, use `['__name__']`. ** - *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 2;
+ *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
*/ - public boolean hasField() { - return operandTypeCase_ == 2; - } - /** - * - * + public Builder addFields(com.google.firestore.v1beta1.StructuredQuery.FieldReference value) { + if (fieldsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureFieldsIsMutable(); + fields_.add(value); + onChanged(); + } else { + fieldsBuilder_.addMessage(value); + } + return this; + } + /** + * + * *- * The field to which to apply the operator. + * The fields to return. + * If empty, all fields are returned. To only return the name + * of the document, use `['__name__']`. ** - *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 2;
+ *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
*/ - public com.google.firestore.v1beta1.StructuredQuery.FieldReference getField() { - if (fieldBuilder_ == null) { - if (operandTypeCase_ == 2) { - return (com.google.firestore.v1beta1.StructuredQuery.FieldReference) operandType_; + public Builder addFields( + int index, com.google.firestore.v1beta1.StructuredQuery.FieldReference value) { + if (fieldsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); } - return com.google.firestore.v1beta1.StructuredQuery.FieldReference.getDefaultInstance(); + ensureFieldsIsMutable(); + fields_.add(index, value); + onChanged(); } else { - if (operandTypeCase_ == 2) { - return fieldBuilder_.getMessage(); - } - return com.google.firestore.v1beta1.StructuredQuery.FieldReference.getDefaultInstance(); + fieldsBuilder_.addMessage(index, value); } + return this; } /** * * *- * The field to which to apply the operator. + * The fields to return. + * If empty, all fields are returned. To only return the name + * of the document, use `['__name__']`. ** - *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 2;
+ *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
*/ - public Builder setField(com.google.firestore.v1beta1.StructuredQuery.FieldReference value) { - if (fieldBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - operandType_ = value; + public Builder addFields( + com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder builderForValue) { + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.add(builderForValue.build()); onChanged(); } else { - fieldBuilder_.setMessage(value); + fieldsBuilder_.addMessage(builderForValue.build()); } - operandTypeCase_ = 2; return this; } /** * * *- * The field to which to apply the operator. + * The fields to return. + * If empty, all fields are returned. To only return the name + * of the document, use `['__name__']`. ** - *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 2;
+ *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
*/ - public Builder setField( + public Builder addFields( + int index, com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder builderForValue) { - if (fieldBuilder_ == null) { - operandType_ = builderForValue.build(); + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.add(index, builderForValue.build()); onChanged(); } else { - fieldBuilder_.setMessage(builderForValue.build()); + fieldsBuilder_.addMessage(index, builderForValue.build()); } - operandTypeCase_ = 2; return this; } /** * * *- * The field to which to apply the operator. + * The fields to return. + * If empty, all fields are returned. To only return the name + * of the document, use `['__name__']`. ** - *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 2;
+ *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
*/ - public Builder mergeField(com.google.firestore.v1beta1.StructuredQuery.FieldReference value) { - if (fieldBuilder_ == null) { - if (operandTypeCase_ == 2 - && operandType_ - != com.google.firestore.v1beta1.StructuredQuery.FieldReference - .getDefaultInstance()) { - operandType_ = - com.google.firestore.v1beta1.StructuredQuery.FieldReference.newBuilder( - (com.google.firestore.v1beta1.StructuredQuery.FieldReference) operandType_) - .mergeFrom(value) - .buildPartial(); - } else { - operandType_ = value; - } + public Builder addAllFields( + java.lang.Iterable extends com.google.firestore.v1beta1.StructuredQuery.FieldReference> + values) { + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fields_); onChanged(); } else { - if (operandTypeCase_ == 2) { - fieldBuilder_.mergeFrom(value); - } - fieldBuilder_.setMessage(value); + fieldsBuilder_.addAllMessages(values); } - operandTypeCase_ = 2; return this; } /** * * *- * The field to which to apply the operator. + * The fields to return. + * If empty, all fields are returned. To only return the name + * of the document, use `['__name__']`. ** - *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 2;
+ *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
*/ - public Builder clearField() { - if (fieldBuilder_ == null) { - if (operandTypeCase_ == 2) { - operandTypeCase_ = 0; - operandType_ = null; - onChanged(); - } + public Builder clearFields() { + if (fieldsBuilder_ == null) { + fields_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); } else { - if (operandTypeCase_ == 2) { - operandTypeCase_ = 0; - operandType_ = null; - } - fieldBuilder_.clear(); + fieldsBuilder_.clear(); } return this; } @@ -6425,199 +6257,281 @@ public Builder clearField() { * * *- * The field to which to apply the operator. + * The fields to return. + * If empty, all fields are returned. To only return the name + * of the document, use `['__name__']`. ** - *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 2;
+ *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
*/ - public com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder getFieldBuilder() { - return getFieldFieldBuilder().getBuilder(); + public Builder removeFields(int index) { + if (fieldsBuilder_ == null) { + ensureFieldsIsMutable(); + fields_.remove(index); + onChanged(); + } else { + fieldsBuilder_.remove(index); + } + return this; } /** * * *- * The field to which to apply the operator. + * The fields to return. + * If empty, all fields are returned. To only return the name + * of the document, use `['__name__']`. ** - *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 2;
+ *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
+ */ + public com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder getFieldsBuilder( + int index) { + return getFieldsFieldBuilder().getBuilder(index); + } + /** + * + * + *+ * The fields to return. + * If empty, all fields are returned. To only return the name + * of the document, use `['__name__']`. + *+ * + *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
*/ public com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder - getFieldOrBuilder() { - if ((operandTypeCase_ == 2) && (fieldBuilder_ != null)) { - return fieldBuilder_.getMessageOrBuilder(); + getFieldsOrBuilder(int index) { + if (fieldsBuilder_ == null) { + return fields_.get(index); } else { - if (operandTypeCase_ == 2) { - return (com.google.firestore.v1beta1.StructuredQuery.FieldReference) operandType_; - } - return com.google.firestore.v1beta1.StructuredQuery.FieldReference.getDefaultInstance(); + return fieldsBuilder_.getMessageOrBuilder(index); } } /** * * *- * The field to which to apply the operator. + * The fields to return. + * If empty, all fields are returned. To only return the name + * of the document, use `['__name__']`. ** - *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 2;
+ *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
*/ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.StructuredQuery.FieldReference, - com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder, - com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder> - getFieldFieldBuilder() { - if (fieldBuilder_ == null) { - if (!(operandTypeCase_ == 2)) { - operandType_ = - com.google.firestore.v1beta1.StructuredQuery.FieldReference.getDefaultInstance(); - } - fieldBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.firestore.v1beta1.StructuredQuery.FieldReference, - com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder, - com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder>( - (com.google.firestore.v1beta1.StructuredQuery.FieldReference) operandType_, - getParentForChildren(), - isClean()); - operandType_ = null; + public java.util.List< + ? extends com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder> + getFieldsOrBuilderList() { + if (fieldsBuilder_ != null) { + return fieldsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(fields_); } - operandTypeCase_ = 2; - onChanged(); - ; - return fieldBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFieldsProto3(unknownFields); } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); + /** + * + * + *+ * The fields to return. + * If empty, all fields are returned. To only return the name + * of the document, use `['__name__']`. + *+ * + *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
+ */ + public com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder + addFieldsBuilder() { + return getFieldsFieldBuilder() + .addBuilder( + com.google.firestore.v1beta1.StructuredQuery.FieldReference.getDefaultInstance()); + } + /** + * + * + *+ * The fields to return. + * If empty, all fields are returned. To only return the name + * of the document, use `['__name__']`. + *+ * + *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
+ */ + public com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder addFieldsBuilder( + int index) { + return getFieldsFieldBuilder() + .addBuilder( + index, + com.google.firestore.v1beta1.StructuredQuery.FieldReference.getDefaultInstance()); + } + /** + * + * + *+ * The fields to return. + * If empty, all fields are returned. To only return the name + * of the document, use `['__name__']`. + *+ * + *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
+ */ + public java.util.List+ getFieldsBuilderList() { + return getFieldsFieldBuilder().getBuilderList(); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1beta1.StructuredQuery.UnaryFilter) - } - - // @@protoc_insertion_point(class_scope:google.firestore.v1beta1.StructuredQuery.UnaryFilter) - private static final com.google.firestore.v1beta1.StructuredQuery.UnaryFilter DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.firestore.v1beta1.StructuredQuery.UnaryFilter(); - } - - public static com.google.firestore.v1beta1.StructuredQuery.UnaryFilter getDefaultInstance() { + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1beta1.StructuredQuery.FieldReference, + com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder, + com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder> + getFieldsFieldBuilder() { + if (fieldsBuilder_ == null) { + fieldsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.firestore.v1beta1.StructuredQuery.FieldReference, + com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder, + com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder>( + fields_, + ((bitField0_ & 0x00000001) == 0x00000001), + getParentForChildren(), + isClean()); + fields_ = null; + } + return fieldsBuilder_; + } + + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFieldsProto3(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.v1beta1.StructuredQuery.Projection) + } + + // @@protoc_insertion_point(class_scope:google.firestore.v1beta1.StructuredQuery.Projection) + private static final com.google.firestore.v1beta1.StructuredQuery.Projection DEFAULT_INSTANCE; + + static { + DEFAULT_INSTANCE = new com.google.firestore.v1beta1.StructuredQuery.Projection(); + } + + public static com.google.firestore.v1beta1.StructuredQuery.Projection getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser () { + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser () { @java.lang.Override - public UnaryFilter parsePartialFrom( + public Projection parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new UnaryFilter(input, extensionRegistry); + return new Projection(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.google.firestore.v1beta1.StructuredQuery.UnaryFilter getDefaultInstanceForType() { + public com.google.firestore.v1beta1.StructuredQuery.Projection getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface OrderOrBuilder + public interface UnaryFilterOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.firestore.v1beta1.StructuredQuery.Order) + // @@protoc_insertion_point(interface_extends:google.firestore.v1beta1.StructuredQuery.UnaryFilter) com.google.protobuf.MessageOrBuilder { /** * * * - * The field to order by. + * The unary operator to apply. ** - *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 1;
+ *.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator op = 1;
*/ - boolean hasField(); + int getOpValue(); /** * * *- * The field to order by. + * The unary operator to apply. ** - *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 1;
+ *.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator op = 1;
*/ - com.google.firestore.v1beta1.StructuredQuery.FieldReference getField(); + com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator getOp(); + /** * * *- * The field to order by. + * The field to which to apply the operator. ** - *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 1;
+ *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 2;
*/ - com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder(); - + boolean hasField(); /** * * *- * The direction to order by. Defaults to `ASCENDING`. + * The field to which to apply the operator. ** - *.google.firestore.v1beta1.StructuredQuery.Direction direction = 2;
+ *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 2;
*/ - int getDirectionValue(); + com.google.firestore.v1beta1.StructuredQuery.FieldReference getField(); /** * * *- * The direction to order by. Defaults to `ASCENDING`. + * The field to which to apply the operator. ** - *.google.firestore.v1beta1.StructuredQuery.Direction direction = 2;
+ *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 2;
*/ - com.google.firestore.v1beta1.StructuredQuery.Direction getDirection(); + com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder(); + + public com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.OperandTypeCase + getOperandTypeCase(); } /** * * *- * An order on a field. + * A filter with a single operand. ** - * Protobuf type {@code google.firestore.v1beta1.StructuredQuery.Order} + * Protobuf type {@code google.firestore.v1beta1.StructuredQuery.UnaryFilter} */ - public static final class Order extends com.google.protobuf.GeneratedMessageV3 + public static final class UnaryFilter extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:google.firestore.v1beta1.StructuredQuery.Order) - OrderOrBuilder { + // @@protoc_insertion_point(message_implements:google.firestore.v1beta1.StructuredQuery.UnaryFilter) + UnaryFilterOrBuilder { private static final long serialVersionUID = 0L; - // Use Order.newBuilder() to construct. - private Order(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + // Use UnaryFilter.newBuilder() to construct. + private UnaryFilter(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } - private Order() { - direction_ = 0; + private UnaryFilter() { + op_ = 0; } @java.lang.Override @@ -6625,7 +6539,7 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private Order( + private UnaryFilter( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -6644,29 +6558,32 @@ private Order( case 0: done = true; break; - case 10: + case 8: + { + int rawValue = input.readEnum(); + + op_ = rawValue; + break; + } + case 18: { com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder subBuilder = null; - if (field_ != null) { - subBuilder = field_.toBuilder(); + if (operandTypeCase_ == 2) { + subBuilder = + ((com.google.firestore.v1beta1.StructuredQuery.FieldReference) operandType_) + .toBuilder(); } - field_ = + operandType_ = input.readMessage( com.google.firestore.v1beta1.StructuredQuery.FieldReference.parser(), extensionRegistry); if (subBuilder != null) { - subBuilder.mergeFrom(field_); - field_ = subBuilder.buildPartial(); + subBuilder.mergeFrom( + (com.google.firestore.v1beta1.StructuredQuery.FieldReference) operandType_); + operandType_ = subBuilder.buildPartial(); } - - break; - } - case 16: - { - int rawValue = input.readEnum(); - - direction_ = rawValue; + operandTypeCase_ = 2; break; } default: @@ -6690,241 +6607,440 @@ private Order( public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.firestore.v1beta1.QueryProto - .internal_static_google_firestore_v1beta1_StructuredQuery_Order_descriptor; + .internal_static_google_firestore_v1beta1_StructuredQuery_UnaryFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.firestore.v1beta1.QueryProto - .internal_static_google_firestore_v1beta1_StructuredQuery_Order_fieldAccessorTable + .internal_static_google_firestore_v1beta1_StructuredQuery_UnaryFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1beta1.StructuredQuery.Order.class, - com.google.firestore.v1beta1.StructuredQuery.Order.Builder.class); - } - - public static final int FIELD_FIELD_NUMBER = 1; - private com.google.firestore.v1beta1.StructuredQuery.FieldReference field_; - /** - * - * - *- * The field to order by. - *- * - *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 1;
- */ - public boolean hasField() { - return field_ != null; - } - /** - * - * - *- * The field to order by. - *- * - *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 1;
- */ - public com.google.firestore.v1beta1.StructuredQuery.FieldReference getField() { - return field_ == null - ? com.google.firestore.v1beta1.StructuredQuery.FieldReference.getDefaultInstance() - : field_; - } - /** - * - * - *- * The field to order by. - *- * - *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 1;
- */ - public com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder - getFieldOrBuilder() { - return getField(); + com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.class, + com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Builder.class); } - public static final int DIRECTION_FIELD_NUMBER = 2; - private int direction_; - /** - * - * - *- * The direction to order by. Defaults to `ASCENDING`. - *- * - *.google.firestore.v1beta1.StructuredQuery.Direction direction = 2;
- */ - public int getDirectionValue() { - return direction_; - } /** * * *- * The direction to order by. Defaults to `ASCENDING`. + * A unary operator. ** - *.google.firestore.v1beta1.StructuredQuery.Direction direction = 2;
+ * Protobuf enum {@code google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator} */ - public com.google.firestore.v1beta1.StructuredQuery.Direction getDirection() { - @SuppressWarnings("deprecation") - com.google.firestore.v1beta1.StructuredQuery.Direction result = - com.google.firestore.v1beta1.StructuredQuery.Direction.valueOf(direction_); - return result == null - ? com.google.firestore.v1beta1.StructuredQuery.Direction.UNRECOGNIZED - : result; - } + public enum Operator implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *+ * Unspecified. This value must not be used. + *+ * + *OPERATOR_UNSPECIFIED = 0;
+ */ + OPERATOR_UNSPECIFIED(0), + /** + * + * + *+ * Test if a field is equal to NaN. + *+ * + *IS_NAN = 2;
+ */ + IS_NAN(2), + /** + * + * + *+ * Test if an exprestion evaluates to Null. + *+ * + *IS_NULL = 3;
+ */ + IS_NULL(3), + UNRECOGNIZED(-1), + ; - private byte memoizedIsInitialized = -1; + /** + * + * + *+ * Unspecified. This value must not be used. + *+ * + *OPERATOR_UNSPECIFIED = 0;
+ */ + public static final int OPERATOR_UNSPECIFIED_VALUE = 0; + /** + * + * + *+ * Test if a field is equal to NaN. + *+ * + *IS_NAN = 2;
+ */ + public static final int IS_NAN_VALUE = 2; + /** + * + * + *+ * Test if an exprestion evaluates to Null. + *+ * + *IS_NULL = 3;
+ */ + public static final int IS_NULL_VALUE = 3; - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } - memoizedIsInitialized = 1; - return true; - } + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static Operator valueOf(int value) { + return forNumber(value); + } - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (field_ != null) { - output.writeMessage(1, getField()); + public static Operator forNumber(int value) { + switch (value) { + case 0: + return OPERATOR_UNSPECIFIED; + case 2: + return IS_NAN; + case 3: + return IS_NULL; + default: + return null; + } } - if (direction_ - != com.google.firestore.v1beta1.StructuredQuery.Direction.DIRECTION_UNSPECIFIED - .getNumber()) { - output.writeEnum(2, direction_); + + public static com.google.protobuf.Internal.EnumLiteMapinternalGetValueMap() { + return internalValueMap; } - unknownFields.writeTo(output); - } - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap () { + public Operator findValueByNumber(int number) { + return Operator.forNumber(number); + } + }; - size = 0; - if (field_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getField()); - } - if (direction_ - != com.google.firestore.v1beta1.StructuredQuery.Direction.DIRECTION_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, direction_); + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + return getDescriptor().getValues().get(ordinal()); } - size += unknownFields.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.v1beta1.StructuredQuery.Order)) { - return super.equals(obj); + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); } - com.google.firestore.v1beta1.StructuredQuery.Order other = - (com.google.firestore.v1beta1.StructuredQuery.Order) obj; - boolean result = true; - result = result && (hasField() == other.hasField()); - if (hasField()) { - result = result && getField().equals(other.getField()); + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.getDescriptor() + .getEnumTypes() + .get(0); } - result = result && direction_ == other.direction_; - result = result && unknownFields.equals(other.unknownFields); - return result; - } - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (hasField()) { - hash = (37 * hash) + FIELD_FIELD_NUMBER; - hash = (53 * hash) + getField().hashCode(); + private static final Operator[] VALUES = values(); + + public static Operator valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; } - hash = (37 * hash) + DIRECTION_FIELD_NUMBER; - hash = (53 * hash) + direction_; - hash = (29 * hash) + unknownFields.hashCode(); - memoizedHashCode = hash; - return hash; - } - public static com.google.firestore.v1beta1.StructuredQuery.Order parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + private final int value; - public static com.google.firestore.v1beta1.StructuredQuery.Order parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + private Operator(int value) { + this.value = value; + } - public static com.google.firestore.v1beta1.StructuredQuery.Order parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); + // @@protoc_insertion_point(enum_scope:google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator) } - public static com.google.firestore.v1beta1.StructuredQuery.Order parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + private int operandTypeCase_ = 0; + private java.lang.Object operandType_; - public static com.google.firestore.v1beta1.StructuredQuery.Order parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } + public enum OperandTypeCase implements com.google.protobuf.Internal.EnumLite { + FIELD(2), + OPERANDTYPE_NOT_SET(0); + private final int value; - public static com.google.firestore.v1beta1.StructuredQuery.Order parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } + private OperandTypeCase(int value) { + this.value = value; + } + /** @deprecated Use {@link #forNumber(int)} instead. */ + @java.lang.Deprecated + public static OperandTypeCase valueOf(int value) { + return forNumber(value); + } - public static com.google.firestore.v1beta1.StructuredQuery.Order parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } + public static OperandTypeCase forNumber(int value) { + switch (value) { + case 2: + return FIELD; + case 0: + return OPERANDTYPE_NOT_SET; + default: + return null; + } + } - public static com.google.firestore.v1beta1.StructuredQuery.Order parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + public int getNumber() { + return this.value; + } + }; + + public OperandTypeCase getOperandTypeCase() { + return OperandTypeCase.forNumber(operandTypeCase_); } - public static com.google.firestore.v1beta1.StructuredQuery.Order parseDelimitedFrom( + public static final int OP_FIELD_NUMBER = 1; + private int op_; + /** + * + * + * + * The unary operator to apply. + *+ * + *.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator op = 1;
+ */ + public int getOpValue() { + return op_; + } + /** + * + * + *+ * The unary operator to apply. + *+ * + *.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator op = 1;
+ */ + public com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator getOp() { + @SuppressWarnings("deprecation") + com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator result = + com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator.valueOf(op_); + return result == null + ? com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator.UNRECOGNIZED + : result; + } + + public static final int FIELD_FIELD_NUMBER = 2; + /** + * + * + *+ * The field to which to apply the operator. + *+ * + *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 2;
+ */ + public boolean hasField() { + return operandTypeCase_ == 2; + } + /** + * + * + *+ * The field to which to apply the operator. + *+ * + *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 2;
+ */ + public com.google.firestore.v1beta1.StructuredQuery.FieldReference getField() { + if (operandTypeCase_ == 2) { + return (com.google.firestore.v1beta1.StructuredQuery.FieldReference) operandType_; + } + return com.google.firestore.v1beta1.StructuredQuery.FieldReference.getDefaultInstance(); + } + /** + * + * + *+ * The field to which to apply the operator. + *+ * + *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 2;
+ */ + public com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder + getFieldOrBuilder() { + if (operandTypeCase_ == 2) { + return (com.google.firestore.v1beta1.StructuredQuery.FieldReference) operandType_; + } + return com.google.firestore.v1beta1.StructuredQuery.FieldReference.getDefaultInstance(); + } + + 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 (op_ + != com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator.OPERATOR_UNSPECIFIED + .getNumber()) { + output.writeEnum(1, op_); + } + if (operandTypeCase_ == 2) { + output.writeMessage( + 2, (com.google.firestore.v1beta1.StructuredQuery.FieldReference) operandType_); + } + unknownFields.writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (op_ + != com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator.OPERATOR_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, op_); + } + if (operandTypeCase_ == 2) { + size += + com.google.protobuf.CodedOutputStream.computeMessageSize( + 2, (com.google.firestore.v1beta1.StructuredQuery.FieldReference) operandType_); + } + size += unknownFields.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.v1beta1.StructuredQuery.UnaryFilter)) { + return super.equals(obj); + } + com.google.firestore.v1beta1.StructuredQuery.UnaryFilter other = + (com.google.firestore.v1beta1.StructuredQuery.UnaryFilter) obj; + + boolean result = true; + result = result && op_ == other.op_; + result = result && getOperandTypeCase().equals(other.getOperandTypeCase()); + if (!result) return false; + switch (operandTypeCase_) { + case 2: + result = result && getField().equals(other.getField()); + break; + case 0: + default: + } + result = result && unknownFields.equals(other.unknownFields); + return result; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + OP_FIELD_NUMBER; + hash = (53 * hash) + op_; + switch (operandTypeCase_) { + case 2: + hash = (37 * hash) + FIELD_FIELD_NUMBER; + hash = (53 * hash) + getField().hashCode(); + break; + case 0: + default: + } + hash = (29 * hash) + unknownFields.hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.firestore.v1beta1.StructuredQuery.UnaryFilter parseFrom( + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1beta1.StructuredQuery.UnaryFilter 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.v1beta1.StructuredQuery.UnaryFilter parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1beta1.StructuredQuery.UnaryFilter parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1beta1.StructuredQuery.UnaryFilter parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + + public static com.google.firestore.v1beta1.StructuredQuery.UnaryFilter parseFrom( + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + + public static com.google.firestore.v1beta1.StructuredQuery.UnaryFilter parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + } + + public static com.google.firestore.v1beta1.StructuredQuery.UnaryFilter 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.v1beta1.StructuredQuery.UnaryFilter parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1beta1.StructuredQuery.Order parseDelimitedFrom( + public static com.google.firestore.v1beta1.StructuredQuery.UnaryFilter 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.v1beta1.StructuredQuery.Order parseFrom( + public static com.google.firestore.v1beta1.StructuredQuery.UnaryFilter parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.firestore.v1beta1.StructuredQuery.Order parseFrom( + public static com.google.firestore.v1beta1.StructuredQuery.UnaryFilter parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -6941,7 +7057,8 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.firestore.v1beta1.StructuredQuery.Order prototype) { + public static Builder newBuilder( + com.google.firestore.v1beta1.StructuredQuery.UnaryFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -6960,32 +7077,32 @@ protected Builder newBuilderForType( * * *- * An order on a field. + * A filter with a single operand. ** - * Protobuf type {@code google.firestore.v1beta1.StructuredQuery.Order} + * Protobuf type {@code google.firestore.v1beta1.StructuredQuery.UnaryFilter} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builderimplements - // @@protoc_insertion_point(builder_implements:google.firestore.v1beta1.StructuredQuery.Order) - com.google.firestore.v1beta1.StructuredQuery.OrderOrBuilder { + // @@protoc_insertion_point(builder_implements:google.firestore.v1beta1.StructuredQuery.UnaryFilter) + com.google.firestore.v1beta1.StructuredQuery.UnaryFilterOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.firestore.v1beta1.QueryProto - .internal_static_google_firestore_v1beta1_StructuredQuery_Order_descriptor; + .internal_static_google_firestore_v1beta1_StructuredQuery_UnaryFilter_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.firestore.v1beta1.QueryProto - .internal_static_google_firestore_v1beta1_StructuredQuery_Order_fieldAccessorTable + .internal_static_google_firestore_v1beta1_StructuredQuery_UnaryFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1beta1.StructuredQuery.Order.class, - com.google.firestore.v1beta1.StructuredQuery.Order.Builder.class); + com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.class, + com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Builder.class); } - // Construct using com.google.firestore.v1beta1.StructuredQuery.Order.newBuilder() + // Construct using com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -7002,31 +7119,27 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); - if (fieldBuilder_ == null) { - field_ = null; - } else { - field_ = null; - fieldBuilder_ = null; - } - direction_ = 0; + op_ = 0; - return this; + operandTypeCase_ = 0; + operandType_ = null; + return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.firestore.v1beta1.QueryProto - .internal_static_google_firestore_v1beta1_StructuredQuery_Order_descriptor; + .internal_static_google_firestore_v1beta1_StructuredQuery_UnaryFilter_descriptor; } @java.lang.Override - public com.google.firestore.v1beta1.StructuredQuery.Order getDefaultInstanceForType() { - return com.google.firestore.v1beta1.StructuredQuery.Order.getDefaultInstance(); + public com.google.firestore.v1beta1.StructuredQuery.UnaryFilter getDefaultInstanceForType() { + return com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.getDefaultInstance(); } @java.lang.Override - public com.google.firestore.v1beta1.StructuredQuery.Order build() { - com.google.firestore.v1beta1.StructuredQuery.Order result = buildPartial(); + public com.google.firestore.v1beta1.StructuredQuery.UnaryFilter build() { + com.google.firestore.v1beta1.StructuredQuery.UnaryFilter result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -7034,15 +7147,18 @@ public com.google.firestore.v1beta1.StructuredQuery.Order build() { } @java.lang.Override - public com.google.firestore.v1beta1.StructuredQuery.Order buildPartial() { - com.google.firestore.v1beta1.StructuredQuery.Order result = - new com.google.firestore.v1beta1.StructuredQuery.Order(this); - if (fieldBuilder_ == null) { - result.field_ = field_; - } else { - result.field_ = fieldBuilder_.build(); + public com.google.firestore.v1beta1.StructuredQuery.UnaryFilter buildPartial() { + com.google.firestore.v1beta1.StructuredQuery.UnaryFilter result = + new com.google.firestore.v1beta1.StructuredQuery.UnaryFilter(this); + result.op_ = op_; + if (operandTypeCase_ == 2) { + if (fieldBuilder_ == null) { + result.operandType_ = operandType_; + } else { + result.operandType_ = fieldBuilder_.build(); + } } - result.direction_ = direction_; + result.operandTypeCase_ = operandTypeCase_; onBuilt(); return result; } @@ -7084,22 +7200,30 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.firestore.v1beta1.StructuredQuery.Order) { - return mergeFrom((com.google.firestore.v1beta1.StructuredQuery.Order) other); + if (other instanceof com.google.firestore.v1beta1.StructuredQuery.UnaryFilter) { + return mergeFrom((com.google.firestore.v1beta1.StructuredQuery.UnaryFilter) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.firestore.v1beta1.StructuredQuery.Order other) { - if (other == com.google.firestore.v1beta1.StructuredQuery.Order.getDefaultInstance()) + public Builder mergeFrom(com.google.firestore.v1beta1.StructuredQuery.UnaryFilter other) { + if (other == com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.getDefaultInstance()) return this; - if (other.hasField()) { - mergeField(other.getField()); + if (other.op_ != 0) { + setOpValue(other.getOpValue()); } - if (other.direction_ != 0) { - setDirectionValue(other.getDirectionValue()); + switch (other.getOperandTypeCase()) { + case FIELD: + { + mergeField(other.getField()); + break; + } + case OPERANDTYPE_NOT_SET: + { + break; + } } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -7116,12 +7240,12 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1beta1.StructuredQuery.Order parsedMessage = null; + com.google.firestore.v1beta1.StructuredQuery.UnaryFilter parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = - (com.google.firestore.v1beta1.StructuredQuery.Order) e.getUnfinishedMessage(); + (com.google.firestore.v1beta1.StructuredQuery.UnaryFilter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -7131,7 +7255,99 @@ public Builder mergeFrom( return this; } - private com.google.firestore.v1beta1.StructuredQuery.FieldReference field_ = null; + private int operandTypeCase_ = 0; + private java.lang.Object operandType_; + + public OperandTypeCase getOperandTypeCase() { + return OperandTypeCase.forNumber(operandTypeCase_); + } + + public Builder clearOperandType() { + operandTypeCase_ = 0; + operandType_ = null; + onChanged(); + return this; + } + + private int op_ = 0; + /** + * + * + * + * The unary operator to apply. + *+ * + *.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator op = 1;
+ */ + public int getOpValue() { + return op_; + } + /** + * + * + *+ * The unary operator to apply. + *+ * + *.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator op = 1;
+ */ + public Builder setOpValue(int value) { + op_ = value; + onChanged(); + return this; + } + /** + * + * + *+ * The unary operator to apply. + *+ * + *.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator op = 1;
+ */ + public com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator getOp() { + @SuppressWarnings("deprecation") + com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator result = + com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator.valueOf(op_); + return result == null + ? com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator.UNRECOGNIZED + : result; + } + /** + * + * + *+ * The unary operator to apply. + *+ * + *.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator op = 1;
+ */ + public Builder setOp( + com.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator value) { + if (value == null) { + throw new NullPointerException(); + } + + op_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *+ * The unary operator to apply. + *+ * + *.google.firestore.v1beta1.StructuredQuery.UnaryFilter.Operator op = 1;
+ */ + public Builder clearOp() { + + op_ = 0; + onChanged(); + return this; + } + private com.google.protobuf.SingleFieldBuilderV3< com.google.firestore.v1beta1.StructuredQuery.FieldReference, com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder, @@ -7141,161 +7357,176 @@ public Builder mergeFrom( * * *- * The field to order by. + * The field to which to apply the operator. ** - *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 1;
+ *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 2;
*/ public boolean hasField() { - return fieldBuilder_ != null || field_ != null; + return operandTypeCase_ == 2; } /** * * *- * The field to order by. + * The field to which to apply the operator. ** - *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 1;
+ *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 2;
*/ public com.google.firestore.v1beta1.StructuredQuery.FieldReference getField() { if (fieldBuilder_ == null) { - return field_ == null - ? com.google.firestore.v1beta1.StructuredQuery.FieldReference.getDefaultInstance() - : field_; + if (operandTypeCase_ == 2) { + return (com.google.firestore.v1beta1.StructuredQuery.FieldReference) operandType_; + } + return com.google.firestore.v1beta1.StructuredQuery.FieldReference.getDefaultInstance(); } else { - return fieldBuilder_.getMessage(); + if (operandTypeCase_ == 2) { + return fieldBuilder_.getMessage(); + } + return com.google.firestore.v1beta1.StructuredQuery.FieldReference.getDefaultInstance(); } } /** * * *- * The field to order by. + * The field to which to apply the operator. ** - *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 1;
+ *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 2;
*/ public Builder setField(com.google.firestore.v1beta1.StructuredQuery.FieldReference value) { if (fieldBuilder_ == null) { if (value == null) { throw new NullPointerException(); } - field_ = value; + operandType_ = value; onChanged(); } else { fieldBuilder_.setMessage(value); } - + operandTypeCase_ = 2; return this; } /** * * *- * The field to order by. + * The field to which to apply the operator. ** - *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 1;
+ *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 2;
*/ public Builder setField( com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder builderForValue) { if (fieldBuilder_ == null) { - field_ = builderForValue.build(); + operandType_ = builderForValue.build(); onChanged(); } else { fieldBuilder_.setMessage(builderForValue.build()); } - + operandTypeCase_ = 2; return this; } /** * * *- * The field to order by. + * The field to which to apply the operator. ** - *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 1;
+ *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 2;
*/ public Builder mergeField(com.google.firestore.v1beta1.StructuredQuery.FieldReference value) { if (fieldBuilder_ == null) { - if (field_ != null) { - field_ = - com.google.firestore.v1beta1.StructuredQuery.FieldReference.newBuilder(field_) + if (operandTypeCase_ == 2 + && operandType_ + != com.google.firestore.v1beta1.StructuredQuery.FieldReference + .getDefaultInstance()) { + operandType_ = + com.google.firestore.v1beta1.StructuredQuery.FieldReference.newBuilder( + (com.google.firestore.v1beta1.StructuredQuery.FieldReference) operandType_) .mergeFrom(value) .buildPartial(); } else { - field_ = value; + operandType_ = value; } onChanged(); } else { - fieldBuilder_.mergeFrom(value); + if (operandTypeCase_ == 2) { + fieldBuilder_.mergeFrom(value); + } + fieldBuilder_.setMessage(value); } - + operandTypeCase_ = 2; return this; } /** * * *- * The field to order by. + * The field to which to apply the operator. ** - *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 1;
+ *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 2;
*/ public Builder clearField() { if (fieldBuilder_ == null) { - field_ = null; - onChanged(); + if (operandTypeCase_ == 2) { + operandTypeCase_ = 0; + operandType_ = null; + onChanged(); + } } else { - field_ = null; - fieldBuilder_ = null; + if (operandTypeCase_ == 2) { + operandTypeCase_ = 0; + operandType_ = null; + } + fieldBuilder_.clear(); } - return this; } /** * * *- * The field to order by. + * The field to which to apply the operator. ** - *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 1;
+ *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 2;
*/ public com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder getFieldBuilder() { - - onChanged(); return getFieldFieldBuilder().getBuilder(); } /** * * *- * The field to order by. + * The field to which to apply the operator. ** - *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 1;
+ *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 2;
*/ public com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder() { - if (fieldBuilder_ != null) { + if ((operandTypeCase_ == 2) && (fieldBuilder_ != null)) { return fieldBuilder_.getMessageOrBuilder(); } else { - return field_ == null - ? com.google.firestore.v1beta1.StructuredQuery.FieldReference.getDefaultInstance() - : field_; + if (operandTypeCase_ == 2) { + return (com.google.firestore.v1beta1.StructuredQuery.FieldReference) operandType_; + } + return com.google.firestore.v1beta1.StructuredQuery.FieldReference.getDefaultInstance(); } } /** * * *- * The field to order by. + * The field to which to apply the operator. ** - *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 1;
+ *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 2;
*/ private com.google.protobuf.SingleFieldBuilderV3< com.google.firestore.v1beta1.StructuredQuery.FieldReference, @@ -7303,93 +7534,24 @@ public com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder getFi com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder> getFieldFieldBuilder() { if (fieldBuilder_ == null) { + if (!(operandTypeCase_ == 2)) { + operandType_ = + com.google.firestore.v1beta1.StructuredQuery.FieldReference.getDefaultInstance(); + } fieldBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< com.google.firestore.v1beta1.StructuredQuery.FieldReference, com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder, com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder>( - getField(), getParentForChildren(), isClean()); - field_ = null; - } - return fieldBuilder_; - } - - private int direction_ = 0; - /** - * - * - *- * The direction to order by. Defaults to `ASCENDING`. - *- * - *.google.firestore.v1beta1.StructuredQuery.Direction direction = 2;
- */ - public int getDirectionValue() { - return direction_; - } - /** - * - * - *- * The direction to order by. Defaults to `ASCENDING`. - *- * - *.google.firestore.v1beta1.StructuredQuery.Direction direction = 2;
- */ - public Builder setDirectionValue(int value) { - direction_ = value; - onChanged(); - return this; - } - /** - * - * - *- * The direction to order by. Defaults to `ASCENDING`. - *- * - *.google.firestore.v1beta1.StructuredQuery.Direction direction = 2;
- */ - public com.google.firestore.v1beta1.StructuredQuery.Direction getDirection() { - @SuppressWarnings("deprecation") - com.google.firestore.v1beta1.StructuredQuery.Direction result = - com.google.firestore.v1beta1.StructuredQuery.Direction.valueOf(direction_); - return result == null - ? com.google.firestore.v1beta1.StructuredQuery.Direction.UNRECOGNIZED - : result; - } - /** - * - * - *- * The direction to order by. Defaults to `ASCENDING`. - *- * - *.google.firestore.v1beta1.StructuredQuery.Direction direction = 2;
- */ - public Builder setDirection(com.google.firestore.v1beta1.StructuredQuery.Direction value) { - if (value == null) { - throw new NullPointerException(); + (com.google.firestore.v1beta1.StructuredQuery.FieldReference) operandType_, + getParentForChildren(), + isClean()); + operandType_ = null; } - - direction_ = value.getNumber(); - onChanged(); - return this; - } - /** - * - * - *- * The direction to order by. Defaults to `ASCENDING`. - *- * - *.google.firestore.v1beta1.StructuredQuery.Direction direction = 2;
- */ - public Builder clearDirection() { - - direction_ = 0; + operandTypeCase_ = 2; onChanged(); - return this; + ; + return fieldBuilder_; } @java.lang.Override @@ -7404,77 +7566,124 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1beta1.StructuredQuery.Order) + // @@protoc_insertion_point(builder_scope:google.firestore.v1beta1.StructuredQuery.UnaryFilter) } - // @@protoc_insertion_point(class_scope:google.firestore.v1beta1.StructuredQuery.Order) - private static final com.google.firestore.v1beta1.StructuredQuery.Order DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:google.firestore.v1beta1.StructuredQuery.UnaryFilter) + private static final com.google.firestore.v1beta1.StructuredQuery.UnaryFilter DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.google.firestore.v1beta1.StructuredQuery.Order(); + DEFAULT_INSTANCE = new com.google.firestore.v1beta1.StructuredQuery.UnaryFilter(); } - public static com.google.firestore.v1beta1.StructuredQuery.Order getDefaultInstance() { + public static com.google.firestore.v1beta1.StructuredQuery.UnaryFilter getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.ParserPARSER = - new com.google.protobuf.AbstractParser () { + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser () { @java.lang.Override - public Order parsePartialFrom( + public UnaryFilter parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Order(input, extensionRegistry); + return new UnaryFilter(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.google.firestore.v1beta1.StructuredQuery.Order getDefaultInstanceForType() { + public com.google.firestore.v1beta1.StructuredQuery.UnaryFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface FieldReferenceOrBuilder + public interface OrderOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.firestore.v1beta1.StructuredQuery.FieldReference) + // @@protoc_insertion_point(interface_extends:google.firestore.v1beta1.StructuredQuery.Order) com.google.protobuf.MessageOrBuilder { - /** string field_path = 2;
*/ - java.lang.String getFieldPath(); - /**string field_path = 2;
*/ - com.google.protobuf.ByteString getFieldPathBytes(); + /** + * + * + *+ * The field to order by. + *+ * + *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 1;
+ */ + boolean hasField(); + /** + * + * + *+ * The field to order by. + *+ * + *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 1;
+ */ + com.google.firestore.v1beta1.StructuredQuery.FieldReference getField(); + /** + * + * + *+ * The field to order by. + *+ * + *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 1;
+ */ + com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder getFieldOrBuilder(); + + /** + * + * + *+ * The direction to order by. Defaults to `ASCENDING`. + *+ * + *.google.firestore.v1beta1.StructuredQuery.Direction direction = 2;
+ */ + int getDirectionValue(); + /** + * + * + *+ * The direction to order by. Defaults to `ASCENDING`. + *+ * + *.google.firestore.v1beta1.StructuredQuery.Direction direction = 2;
+ */ + com.google.firestore.v1beta1.StructuredQuery.Direction getDirection(); } /** * * *- * A reference to a field, such as `max(messages.time) as max_time`. + * An order on a field. ** - * Protobuf type {@code google.firestore.v1beta1.StructuredQuery.FieldReference} + * Protobuf type {@code google.firestore.v1beta1.StructuredQuery.Order} */ - public static final class FieldReference extends com.google.protobuf.GeneratedMessageV3 + public static final class Order extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:google.firestore.v1beta1.StructuredQuery.FieldReference) - FieldReferenceOrBuilder { + // @@protoc_insertion_point(message_implements:google.firestore.v1beta1.StructuredQuery.Order) + OrderOrBuilder { private static final long serialVersionUID = 0L; - // Use FieldReference.newBuilder() to construct. - private FieldReference(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + // Use Order.newBuilder() to construct. + private Order(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } - private FieldReference() { - fieldPath_ = ""; + private Order() { + direction_ = 0; } @java.lang.Override @@ -7482,7 +7691,7 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private FieldReference( + private Order( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -7501,11 +7710,29 @@ private FieldReference( case 0: done = true; break; - case 18: + case 10: { - java.lang.String s = input.readStringRequireUtf8(); + com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder subBuilder = + null; + if (field_ != null) { + subBuilder = field_.toBuilder(); + } + field_ = + input.readMessage( + com.google.firestore.v1beta1.StructuredQuery.FieldReference.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(field_); + field_ = subBuilder.buildPartial(); + } - fieldPath_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); + + direction_ = rawValue; break; } default: @@ -7529,44 +7756,91 @@ private FieldReference( public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.firestore.v1beta1.QueryProto - .internal_static_google_firestore_v1beta1_StructuredQuery_FieldReference_descriptor; + .internal_static_google_firestore_v1beta1_StructuredQuery_Order_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.firestore.v1beta1.QueryProto - .internal_static_google_firestore_v1beta1_StructuredQuery_FieldReference_fieldAccessorTable + .internal_static_google_firestore_v1beta1_StructuredQuery_Order_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1beta1.StructuredQuery.FieldReference.class, - com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder.class); + com.google.firestore.v1beta1.StructuredQuery.Order.class, + com.google.firestore.v1beta1.StructuredQuery.Order.Builder.class); } - public static final int FIELD_PATH_FIELD_NUMBER = 2; - private volatile java.lang.Object fieldPath_; - /**string field_path = 2;
*/ - public java.lang.String getFieldPath() { - java.lang.Object ref = fieldPath_; - 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(); - fieldPath_ = s; - return s; - } + public static final int FIELD_FIELD_NUMBER = 1; + private com.google.firestore.v1beta1.StructuredQuery.FieldReference field_; + /** + * + * + *+ * The field to order by. + *+ * + *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 1;
+ */ + public boolean hasField() { + return field_ != null; } - /**string field_path = 2;
*/ - public com.google.protobuf.ByteString getFieldPathBytes() { - java.lang.Object ref = fieldPath_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - fieldPath_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } + /** + * + * + *+ * The field to order by. + *+ * + *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 1;
+ */ + public com.google.firestore.v1beta1.StructuredQuery.FieldReference getField() { + return field_ == null + ? com.google.firestore.v1beta1.StructuredQuery.FieldReference.getDefaultInstance() + : field_; + } + /** + * + * + *+ * The field to order by. + *+ * + *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 1;
+ */ + public com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder + getFieldOrBuilder() { + return getField(); + } + + public static final int DIRECTION_FIELD_NUMBER = 2; + private int direction_; + /** + * + * + *+ * The direction to order by. Defaults to `ASCENDING`. + *+ * + *.google.firestore.v1beta1.StructuredQuery.Direction direction = 2;
+ */ + public int getDirectionValue() { + return direction_; + } + /** + * + * + *+ * The direction to order by. Defaults to `ASCENDING`. + *+ * + *.google.firestore.v1beta1.StructuredQuery.Direction direction = 2;
+ */ + public com.google.firestore.v1beta1.StructuredQuery.Direction getDirection() { + @SuppressWarnings("deprecation") + com.google.firestore.v1beta1.StructuredQuery.Direction result = + com.google.firestore.v1beta1.StructuredQuery.Direction.valueOf(direction_); + return result == null + ? com.google.firestore.v1beta1.StructuredQuery.Direction.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; @@ -7583,8 +7857,13 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getFieldPathBytes().isEmpty()) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fieldPath_); + if (field_ != null) { + output.writeMessage(1, getField()); + } + if (direction_ + != com.google.firestore.v1beta1.StructuredQuery.Direction.DIRECTION_UNSPECIFIED + .getNumber()) { + output.writeEnum(2, direction_); } unknownFields.writeTo(output); } @@ -7595,8 +7874,13 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getFieldPathBytes().isEmpty()) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, fieldPath_); + if (field_ != null) { + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getField()); + } + if (direction_ + != com.google.firestore.v1beta1.StructuredQuery.Direction.DIRECTION_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, direction_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -7608,14 +7892,18 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.google.firestore.v1beta1.StructuredQuery.FieldReference)) { + if (!(obj instanceof com.google.firestore.v1beta1.StructuredQuery.Order)) { return super.equals(obj); } - com.google.firestore.v1beta1.StructuredQuery.FieldReference other = - (com.google.firestore.v1beta1.StructuredQuery.FieldReference) obj; + com.google.firestore.v1beta1.StructuredQuery.Order other = + (com.google.firestore.v1beta1.StructuredQuery.Order) obj; boolean result = true; - result = result && getFieldPath().equals(other.getFieldPath()); + result = result && (hasField() == other.hasField()); + if (hasField()) { + result = result && getField().equals(other.getField()); + } + result = result && direction_ == other.direction_; result = result && unknownFields.equals(other.unknownFields); return result; } @@ -7627,78 +7915,82 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + FIELD_PATH_FIELD_NUMBER; - hash = (53 * hash) + getFieldPath().hashCode(); + if (hasField()) { + hash = (37 * hash) + FIELD_FIELD_NUMBER; + hash = (53 * hash) + getField().hashCode(); + } + hash = (37 * hash) + DIRECTION_FIELD_NUMBER; + hash = (53 * hash) + direction_; hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.firestore.v1beta1.StructuredQuery.FieldReference parseFrom( + public static com.google.firestore.v1beta1.StructuredQuery.Order parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1beta1.StructuredQuery.FieldReference parseFrom( + public static com.google.firestore.v1beta1.StructuredQuery.Order 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.v1beta1.StructuredQuery.FieldReference parseFrom( + public static com.google.firestore.v1beta1.StructuredQuery.Order parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1beta1.StructuredQuery.FieldReference parseFrom( + public static com.google.firestore.v1beta1.StructuredQuery.Order parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1beta1.StructuredQuery.FieldReference parseFrom(byte[] data) + public static com.google.firestore.v1beta1.StructuredQuery.Order parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1beta1.StructuredQuery.FieldReference parseFrom( + public static com.google.firestore.v1beta1.StructuredQuery.Order parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1beta1.StructuredQuery.FieldReference parseFrom( + public static com.google.firestore.v1beta1.StructuredQuery.Order parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.firestore.v1beta1.StructuredQuery.FieldReference parseFrom( + public static com.google.firestore.v1beta1.StructuredQuery.Order 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.v1beta1.StructuredQuery.FieldReference parseDelimitedFrom( + public static com.google.firestore.v1beta1.StructuredQuery.Order parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1beta1.StructuredQuery.FieldReference parseDelimitedFrom( + public static com.google.firestore.v1beta1.StructuredQuery.Order 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.v1beta1.StructuredQuery.FieldReference parseFrom( + public static com.google.firestore.v1beta1.StructuredQuery.Order parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.firestore.v1beta1.StructuredQuery.FieldReference parseFrom( + public static com.google.firestore.v1beta1.StructuredQuery.Order parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -7715,8 +8007,7 @@ public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder( - com.google.firestore.v1beta1.StructuredQuery.FieldReference prototype) { + public static Builder newBuilder(com.google.firestore.v1beta1.StructuredQuery.Order prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -7735,32 +8026,32 @@ protected Builder newBuilderForType( * * *- * A reference to a field, such as `max(messages.time) as max_time`. + * An order on a field. ** - * Protobuf type {@code google.firestore.v1beta1.StructuredQuery.FieldReference} + * Protobuf type {@code google.firestore.v1beta1.StructuredQuery.Order} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builderimplements - // @@protoc_insertion_point(builder_implements:google.firestore.v1beta1.StructuredQuery.FieldReference) - com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder { + // @@protoc_insertion_point(builder_implements:google.firestore.v1beta1.StructuredQuery.Order) + com.google.firestore.v1beta1.StructuredQuery.OrderOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.firestore.v1beta1.QueryProto - .internal_static_google_firestore_v1beta1_StructuredQuery_FieldReference_descriptor; + .internal_static_google_firestore_v1beta1_StructuredQuery_Order_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.firestore.v1beta1.QueryProto - .internal_static_google_firestore_v1beta1_StructuredQuery_FieldReference_fieldAccessorTable + .internal_static_google_firestore_v1beta1_StructuredQuery_Order_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1beta1.StructuredQuery.FieldReference.class, - com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder.class); + com.google.firestore.v1beta1.StructuredQuery.Order.class, + com.google.firestore.v1beta1.StructuredQuery.Order.Builder.class); } - // Construct using com.google.firestore.v1beta1.StructuredQuery.FieldReference.newBuilder() + // Construct using com.google.firestore.v1beta1.StructuredQuery.Order.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -7777,7 +8068,13 @@ private void maybeForceBuilderInitialization() { @java.lang.Override public Builder clear() { super.clear(); - fieldPath_ = ""; + if (fieldBuilder_ == null) { + field_ = null; + } else { + field_ = null; + fieldBuilder_ = null; + } + direction_ = 0; return this; } @@ -7785,18 +8082,17 @@ public Builder clear() { @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.firestore.v1beta1.QueryProto - .internal_static_google_firestore_v1beta1_StructuredQuery_FieldReference_descriptor; + .internal_static_google_firestore_v1beta1_StructuredQuery_Order_descriptor; } @java.lang.Override - public com.google.firestore.v1beta1.StructuredQuery.FieldReference - getDefaultInstanceForType() { - return com.google.firestore.v1beta1.StructuredQuery.FieldReference.getDefaultInstance(); + public com.google.firestore.v1beta1.StructuredQuery.Order getDefaultInstanceForType() { + return com.google.firestore.v1beta1.StructuredQuery.Order.getDefaultInstance(); } @java.lang.Override - public com.google.firestore.v1beta1.StructuredQuery.FieldReference build() { - com.google.firestore.v1beta1.StructuredQuery.FieldReference result = buildPartial(); + public com.google.firestore.v1beta1.StructuredQuery.Order build() { + com.google.firestore.v1beta1.StructuredQuery.Order result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -7804,10 +8100,15 @@ public com.google.firestore.v1beta1.StructuredQuery.FieldReference build() { } @java.lang.Override - public com.google.firestore.v1beta1.StructuredQuery.FieldReference buildPartial() { - com.google.firestore.v1beta1.StructuredQuery.FieldReference result = - new com.google.firestore.v1beta1.StructuredQuery.FieldReference(this); - result.fieldPath_ = fieldPath_; + public com.google.firestore.v1beta1.StructuredQuery.Order buildPartial() { + com.google.firestore.v1beta1.StructuredQuery.Order result = + new com.google.firestore.v1beta1.StructuredQuery.Order(this); + if (fieldBuilder_ == null) { + result.field_ = field_; + } else { + result.field_ = fieldBuilder_.build(); + } + result.direction_ = direction_; onBuilt(); return result; } @@ -7849,21 +8150,22 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.firestore.v1beta1.StructuredQuery.FieldReference) { - return mergeFrom((com.google.firestore.v1beta1.StructuredQuery.FieldReference) other); + if (other instanceof com.google.firestore.v1beta1.StructuredQuery.Order) { + return mergeFrom((com.google.firestore.v1beta1.StructuredQuery.Order) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.firestore.v1beta1.StructuredQuery.FieldReference other) { - if (other - == com.google.firestore.v1beta1.StructuredQuery.FieldReference.getDefaultInstance()) + public Builder mergeFrom(com.google.firestore.v1beta1.StructuredQuery.Order other) { + if (other == com.google.firestore.v1beta1.StructuredQuery.Order.getDefaultInstance()) return this; - if (!other.getFieldPath().isEmpty()) { - fieldPath_ = other.fieldPath_; - onChanged(); + if (other.hasField()) { + mergeField(other.getField()); + } + if (other.direction_ != 0) { + setDirectionValue(other.getDirectionValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); @@ -7880,13 +8182,12 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.firestore.v1beta1.StructuredQuery.FieldReference parsedMessage = null; + com.google.firestore.v1beta1.StructuredQuery.Order parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = - (com.google.firestore.v1beta1.StructuredQuery.FieldReference) - e.getUnfinishedMessage(); + (com.google.firestore.v1beta1.StructuredQuery.Order) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -7896,56 +8197,263 @@ public Builder mergeFrom( return this; } - private java.lang.Object fieldPath_ = ""; - /** string field_path = 2;
*/ - public java.lang.String getFieldPath() { - java.lang.Object ref = fieldPath_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - fieldPath_ = s; - return s; - } else { - return (java.lang.String) ref; - } + private com.google.firestore.v1beta1.StructuredQuery.FieldReference field_ = null; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1beta1.StructuredQuery.FieldReference, + com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder, + com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder> + fieldBuilder_; + /** + * + * + *+ * The field to order by. + *+ * + *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 1;
+ */ + public boolean hasField() { + return fieldBuilder_ != null || field_ != null; } - /**string field_path = 2;
*/ - public com.google.protobuf.ByteString getFieldPathBytes() { - java.lang.Object ref = fieldPath_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - fieldPath_ = b; - return b; + /** + * + * + *+ * The field to order by. + *+ * + *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 1;
+ */ + public com.google.firestore.v1beta1.StructuredQuery.FieldReference getField() { + if (fieldBuilder_ == null) { + return field_ == null + ? com.google.firestore.v1beta1.StructuredQuery.FieldReference.getDefaultInstance() + : field_; } else { - return (com.google.protobuf.ByteString) ref; + return fieldBuilder_.getMessage(); } } - /**string field_path = 2;
*/ - public Builder setFieldPath(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); + /** + * + * + *+ * The field to order by. + *+ * + *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 1;
+ */ + public Builder setField(com.google.firestore.v1beta1.StructuredQuery.FieldReference value) { + if (fieldBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + field_ = value; + onChanged(); + } else { + fieldBuilder_.setMessage(value); } - fieldPath_ = value; - onChanged(); return this; } - /**string field_path = 2;
*/ - public Builder clearFieldPath() { + /** + * + * + *+ * The field to order by. + *+ * + *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 1;
+ */ + public Builder setField( + com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder builderForValue) { + if (fieldBuilder_ == null) { + field_ = builderForValue.build(); + onChanged(); + } else { + fieldBuilder_.setMessage(builderForValue.build()); + } - fieldPath_ = getDefaultInstance().getFieldPath(); + return this; + } + /** + * + * + *+ * The field to order by. + *+ * + *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 1;
+ */ + public Builder mergeField(com.google.firestore.v1beta1.StructuredQuery.FieldReference value) { + if (fieldBuilder_ == null) { + if (field_ != null) { + field_ = + com.google.firestore.v1beta1.StructuredQuery.FieldReference.newBuilder(field_) + .mergeFrom(value) + .buildPartial(); + } else { + field_ = value; + } + onChanged(); + } else { + fieldBuilder_.mergeFrom(value); + } + + return this; + } + /** + * + * + *+ * The field to order by. + *+ * + *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 1;
+ */ + public Builder clearField() { + if (fieldBuilder_ == null) { + field_ = null; + onChanged(); + } else { + field_ = null; + fieldBuilder_ = null; + } + + return this; + } + /** + * + * + *+ * The field to order by. + *+ * + *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 1;
+ */ + public com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder getFieldBuilder() { + + onChanged(); + return getFieldFieldBuilder().getBuilder(); + } + /** + * + * + *+ * The field to order by. + *+ * + *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 1;
+ */ + public com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder + getFieldOrBuilder() { + if (fieldBuilder_ != null) { + return fieldBuilder_.getMessageOrBuilder(); + } else { + return field_ == null + ? com.google.firestore.v1beta1.StructuredQuery.FieldReference.getDefaultInstance() + : field_; + } + } + /** + * + * + *+ * The field to order by. + *+ * + *.google.firestore.v1beta1.StructuredQuery.FieldReference field = 1;
+ */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1beta1.StructuredQuery.FieldReference, + com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder, + com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder> + getFieldFieldBuilder() { + if (fieldBuilder_ == null) { + fieldBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.firestore.v1beta1.StructuredQuery.FieldReference, + com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder, + com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder>( + getField(), getParentForChildren(), isClean()); + field_ = null; + } + return fieldBuilder_; + } + + private int direction_ = 0; + /** + * + * + *+ * The direction to order by. Defaults to `ASCENDING`. + *+ * + *.google.firestore.v1beta1.StructuredQuery.Direction direction = 2;
+ */ + public int getDirectionValue() { + return direction_; + } + /** + * + * + *+ * The direction to order by. Defaults to `ASCENDING`. + *+ * + *.google.firestore.v1beta1.StructuredQuery.Direction direction = 2;
+ */ + public Builder setDirectionValue(int value) { + direction_ = value; onChanged(); return this; } - /**string field_path = 2;
*/ - public Builder setFieldPathBytes(com.google.protobuf.ByteString value) { + /** + * + * + *+ * The direction to order by. Defaults to `ASCENDING`. + *+ * + *.google.firestore.v1beta1.StructuredQuery.Direction direction = 2;
+ */ + public com.google.firestore.v1beta1.StructuredQuery.Direction getDirection() { + @SuppressWarnings("deprecation") + com.google.firestore.v1beta1.StructuredQuery.Direction result = + com.google.firestore.v1beta1.StructuredQuery.Direction.valueOf(direction_); + return result == null + ? com.google.firestore.v1beta1.StructuredQuery.Direction.UNRECOGNIZED + : result; + } + /** + * + * + *+ * The direction to order by. Defaults to `ASCENDING`. + *+ * + *.google.firestore.v1beta1.StructuredQuery.Direction direction = 2;
+ */ + public Builder setDirection(com.google.firestore.v1beta1.StructuredQuery.Direction value) { if (value == null) { throw new NullPointerException(); } - checkByteStringIsUtf8(value); - fieldPath_ = value; + direction_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *+ * The direction to order by. Defaults to `ASCENDING`. + *+ * + *.google.firestore.v1beta1.StructuredQuery.Direction direction = 2;
+ */ + public Builder clearDirection() { + + direction_ = 0; onChanged(); return this; } @@ -7962,136 +8470,77 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1beta1.StructuredQuery.FieldReference) + // @@protoc_insertion_point(builder_scope:google.firestore.v1beta1.StructuredQuery.Order) } - // @@protoc_insertion_point(class_scope:google.firestore.v1beta1.StructuredQuery.FieldReference) - private static final com.google.firestore.v1beta1.StructuredQuery.FieldReference - DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:google.firestore.v1beta1.StructuredQuery.Order) + private static final com.google.firestore.v1beta1.StructuredQuery.Order DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.google.firestore.v1beta1.StructuredQuery.FieldReference(); + DEFAULT_INSTANCE = new com.google.firestore.v1beta1.StructuredQuery.Order(); } - public static com.google.firestore.v1beta1.StructuredQuery.FieldReference getDefaultInstance() { + public static com.google.firestore.v1beta1.StructuredQuery.Order getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.ParserPARSER = - new com.google.protobuf.AbstractParser () { + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser () { @java.lang.Override - public FieldReference parsePartialFrom( + public Order parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new FieldReference(input, extensionRegistry); + return new Order(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.google.firestore.v1beta1.StructuredQuery.FieldReference getDefaultInstanceForType() { + public com.google.firestore.v1beta1.StructuredQuery.Order getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } - public interface ProjectionOrBuilder + public interface FieldReferenceOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.firestore.v1beta1.StructuredQuery.Projection) + // @@protoc_insertion_point(interface_extends:google.firestore.v1beta1.StructuredQuery.FieldReference) com.google.protobuf.MessageOrBuilder { - /** - * - * - * - * The fields to return. - * If empty, all fields are returned. To only return the name - * of the document, use `['__name__']`. - *- * - *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
- */ - java.util.ListgetFieldsList(); - /** - * - * - * - * The fields to return. - * If empty, all fields are returned. To only return the name - * of the document, use `['__name__']`. - *- * - *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
- */ - com.google.firestore.v1beta1.StructuredQuery.FieldReference getFields(int index); - /** - * - * - *- * The fields to return. - * If empty, all fields are returned. To only return the name - * of the document, use `['__name__']`. - *- * - *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
- */ - int getFieldsCount(); - /** - * - * - *- * The fields to return. - * If empty, all fields are returned. To only return the name - * of the document, use `['__name__']`. - *- * - *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
- */ - java.util.List extends com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder> - getFieldsOrBuilderList(); - /** - * - * - *- * The fields to return. - * If empty, all fields are returned. To only return the name - * of the document, use `['__name__']`. - *- * - *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
- */ - com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder getFieldsOrBuilder( - int index); + /**string field_path = 2;
*/ + java.lang.String getFieldPath(); + /**string field_path = 2;
*/ + com.google.protobuf.ByteString getFieldPathBytes(); } /** * * *- * The projection of document's fields to return. + * A reference to a field, such as `max(messages.time) as max_time`. ** - * Protobuf type {@code google.firestore.v1beta1.StructuredQuery.Projection} + * Protobuf type {@code google.firestore.v1beta1.StructuredQuery.FieldReference} */ - public static final class Projection extends com.google.protobuf.GeneratedMessageV3 + public static final class FieldReference extends com.google.protobuf.GeneratedMessageV3 implements - // @@protoc_insertion_point(message_implements:google.firestore.v1beta1.StructuredQuery.Projection) - ProjectionOrBuilder { + // @@protoc_insertion_point(message_implements:google.firestore.v1beta1.StructuredQuery.FieldReference) + FieldReferenceOrBuilder { private static final long serialVersionUID = 0L; - // Use Projection.newBuilder() to construct. - private Projection(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + // Use FieldReference.newBuilder() to construct. + private FieldReference(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } - private Projection() { - fields_ = java.util.Collections.emptyList(); + private FieldReference() { + fieldPath_ = ""; } @java.lang.Override @@ -8099,7 +8548,7 @@ public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private Projection( + private FieldReference( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { @@ -8120,16 +8569,9 @@ private Projection( break; case 18: { - if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { - fields_ = - new java.util.ArrayList< - com.google.firestore.v1beta1.StructuredQuery.FieldReference>(); - mutable_bitField0_ |= 0x00000001; - } - fields_.add( - input.readMessage( - com.google.firestore.v1beta1.StructuredQuery.FieldReference.parser(), - extensionRegistry)); + java.lang.String s = input.readStringRequireUtf8(); + + fieldPath_ = s; break; } default: @@ -8146,9 +8588,6 @@ private Projection( } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { - if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { - fields_ = java.util.Collections.unmodifiableList(fields_); - } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } @@ -8156,94 +8595,44 @@ private Projection( public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.firestore.v1beta1.QueryProto - .internal_static_google_firestore_v1beta1_StructuredQuery_Projection_descriptor; + .internal_static_google_firestore_v1beta1_StructuredQuery_FieldReference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.firestore.v1beta1.QueryProto - .internal_static_google_firestore_v1beta1_StructuredQuery_Projection_fieldAccessorTable + .internal_static_google_firestore_v1beta1_StructuredQuery_FieldReference_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1beta1.StructuredQuery.Projection.class, - com.google.firestore.v1beta1.StructuredQuery.Projection.Builder.class); + com.google.firestore.v1beta1.StructuredQuery.FieldReference.class, + com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder.class); } - public static final int FIELDS_FIELD_NUMBER = 2; - private java.util.Listfields_; - /** - * - * - * - * The fields to return. - * If empty, all fields are returned. To only return the name - * of the document, use `['__name__']`. - *- * - *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
- */ - public java.util.List- getFieldsList() { - return fields_; - } - /** - * - * - * - * The fields to return. - * If empty, all fields are returned. To only return the name - * of the document, use `['__name__']`. - *- * - *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
- */ - public java.util.List< - ? extends com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder> - getFieldsOrBuilderList() { - return fields_; - } - /** - * - * - *- * The fields to return. - * If empty, all fields are returned. To only return the name - * of the document, use `['__name__']`. - *- * - *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
- */ - public int getFieldsCount() { - return fields_.size(); - } - /** - * - * - *- * The fields to return. - * If empty, all fields are returned. To only return the name - * of the document, use `['__name__']`. - *- * - *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
- */ - public com.google.firestore.v1beta1.StructuredQuery.FieldReference getFields(int index) { - return fields_.get(index); + public static final int FIELD_PATH_FIELD_NUMBER = 2; + private volatile java.lang.Object fieldPath_; + /**string field_path = 2;
*/ + public java.lang.String getFieldPath() { + java.lang.Object ref = fieldPath_; + 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(); + fieldPath_ = s; + return s; + } } - /** - * - * - *- * The fields to return. - * If empty, all fields are returned. To only return the name - * of the document, use `['__name__']`. - *- * - *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
- */ - public com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder getFieldsOrBuilder( - int index) { - return fields_.get(index); + /**string field_path = 2;
*/ + public com.google.protobuf.ByteString getFieldPathBytes() { + java.lang.Object ref = fieldPath_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + fieldPath_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } } private byte memoizedIsInitialized = -1; @@ -8260,8 +8649,8 @@ public final boolean isInitialized() { @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < fields_.size(); i++) { - output.writeMessage(2, fields_.get(i)); + if (!getFieldPathBytes().isEmpty()) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, fieldPath_); } unknownFields.writeTo(output); } @@ -8272,8 +8661,8 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - for (int i = 0; i < fields_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, fields_.get(i)); + if (!getFieldPathBytes().isEmpty()) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, fieldPath_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -8285,14 +8674,14 @@ public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } - if (!(obj instanceof com.google.firestore.v1beta1.StructuredQuery.Projection)) { + if (!(obj instanceof com.google.firestore.v1beta1.StructuredQuery.FieldReference)) { return super.equals(obj); } - com.google.firestore.v1beta1.StructuredQuery.Projection other = - (com.google.firestore.v1beta1.StructuredQuery.Projection) obj; + com.google.firestore.v1beta1.StructuredQuery.FieldReference other = + (com.google.firestore.v1beta1.StructuredQuery.FieldReference) obj; boolean result = true; - result = result && getFieldsList().equals(other.getFieldsList()); + result = result && getFieldPath().equals(other.getFieldPath()); result = result && unknownFields.equals(other.unknownFields); return result; } @@ -8304,80 +8693,78 @@ public int hashCode() { } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); - if (getFieldsCount() > 0) { - hash = (37 * hash) + FIELDS_FIELD_NUMBER; - hash = (53 * hash) + getFieldsList().hashCode(); - } + hash = (37 * hash) + FIELD_PATH_FIELD_NUMBER; + hash = (53 * hash) + getFieldPath().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.firestore.v1beta1.StructuredQuery.Projection parseFrom( + public static com.google.firestore.v1beta1.StructuredQuery.FieldReference parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1beta1.StructuredQuery.Projection parseFrom( + public static com.google.firestore.v1beta1.StructuredQuery.FieldReference 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.v1beta1.StructuredQuery.Projection parseFrom( + public static com.google.firestore.v1beta1.StructuredQuery.FieldReference parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1beta1.StructuredQuery.Projection parseFrom( + public static com.google.firestore.v1beta1.StructuredQuery.FieldReference parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1beta1.StructuredQuery.Projection parseFrom(byte[] data) + public static com.google.firestore.v1beta1.StructuredQuery.FieldReference parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.firestore.v1beta1.StructuredQuery.Projection parseFrom( + public static com.google.firestore.v1beta1.StructuredQuery.FieldReference parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.firestore.v1beta1.StructuredQuery.Projection parseFrom( + public static com.google.firestore.v1beta1.StructuredQuery.FieldReference parseFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.firestore.v1beta1.StructuredQuery.Projection parseFrom( + public static com.google.firestore.v1beta1.StructuredQuery.FieldReference 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.v1beta1.StructuredQuery.Projection parseDelimitedFrom( + public static com.google.firestore.v1beta1.StructuredQuery.FieldReference parseDelimitedFrom( java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.firestore.v1beta1.StructuredQuery.Projection parseDelimitedFrom( + public static com.google.firestore.v1beta1.StructuredQuery.FieldReference 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.v1beta1.StructuredQuery.Projection parseFrom( + public static com.google.firestore.v1beta1.StructuredQuery.FieldReference parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.firestore.v1beta1.StructuredQuery.Projection parseFrom( + public static com.google.firestore.v1beta1.StructuredQuery.FieldReference parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { @@ -8395,7 +8782,7 @@ public static Builder newBuilder() { } public static Builder newBuilder( - com.google.firestore.v1beta1.StructuredQuery.Projection prototype) { + com.google.firestore.v1beta1.StructuredQuery.FieldReference prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @@ -8414,32 +8801,32 @@ protected Builder newBuilderForType( * * *- * The projection of document's fields to return. + * A reference to a field, such as `max(messages.time) as max_time`. ** - * Protobuf type {@code google.firestore.v1beta1.StructuredQuery.Projection} + * Protobuf type {@code google.firestore.v1beta1.StructuredQuery.FieldReference} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builderimplements - // @@protoc_insertion_point(builder_implements:google.firestore.v1beta1.StructuredQuery.Projection) - com.google.firestore.v1beta1.StructuredQuery.ProjectionOrBuilder { + // @@protoc_insertion_point(builder_implements:google.firestore.v1beta1.StructuredQuery.FieldReference) + com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.firestore.v1beta1.QueryProto - .internal_static_google_firestore_v1beta1_StructuredQuery_Projection_descriptor; + .internal_static_google_firestore_v1beta1_StructuredQuery_FieldReference_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.firestore.v1beta1.QueryProto - .internal_static_google_firestore_v1beta1_StructuredQuery_Projection_fieldAccessorTable + .internal_static_google_firestore_v1beta1_StructuredQuery_FieldReference_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.firestore.v1beta1.StructuredQuery.Projection.class, - com.google.firestore.v1beta1.StructuredQuery.Projection.Builder.class); + com.google.firestore.v1beta1.StructuredQuery.FieldReference.class, + com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder.class); } - // Construct using com.google.firestore.v1beta1.StructuredQuery.Projection.newBuilder() + // Construct using com.google.firestore.v1beta1.StructuredQuery.FieldReference.newBuilder() private Builder() { maybeForceBuilderInitialization(); } @@ -8450,37 +8837,32 @@ private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { } private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { - getFieldsFieldBuilder(); - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } @java.lang.Override public Builder clear() { super.clear(); - if (fieldsBuilder_ == null) { - fields_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - } else { - fieldsBuilder_.clear(); - } + fieldPath_ = ""; + return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.firestore.v1beta1.QueryProto - .internal_static_google_firestore_v1beta1_StructuredQuery_Projection_descriptor; + .internal_static_google_firestore_v1beta1_StructuredQuery_FieldReference_descriptor; } @java.lang.Override - public com.google.firestore.v1beta1.StructuredQuery.Projection getDefaultInstanceForType() { - return com.google.firestore.v1beta1.StructuredQuery.Projection.getDefaultInstance(); + public com.google.firestore.v1beta1.StructuredQuery.FieldReference + getDefaultInstanceForType() { + return com.google.firestore.v1beta1.StructuredQuery.FieldReference.getDefaultInstance(); } @java.lang.Override - public com.google.firestore.v1beta1.StructuredQuery.Projection build() { - com.google.firestore.v1beta1.StructuredQuery.Projection result = buildPartial(); + public com.google.firestore.v1beta1.StructuredQuery.FieldReference build() { + com.google.firestore.v1beta1.StructuredQuery.FieldReference result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -8488,19 +8870,10 @@ public com.google.firestore.v1beta1.StructuredQuery.Projection build() { } @java.lang.Override - public com.google.firestore.v1beta1.StructuredQuery.Projection buildPartial() { - com.google.firestore.v1beta1.StructuredQuery.Projection result = - new com.google.firestore.v1beta1.StructuredQuery.Projection(this); - int from_bitField0_ = bitField0_; - if (fieldsBuilder_ == null) { - if (((bitField0_ & 0x00000001) == 0x00000001)) { - fields_ = java.util.Collections.unmodifiableList(fields_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.fields_ = fields_; - } else { - result.fields_ = fieldsBuilder_.build(); - } + public com.google.firestore.v1beta1.StructuredQuery.FieldReference buildPartial() { + com.google.firestore.v1beta1.StructuredQuery.FieldReference result = + new com.google.firestore.v1beta1.StructuredQuery.FieldReference(this); + result.fieldPath_ = fieldPath_; onBuilt(); return result; } @@ -8542,479 +8915,105 @@ public Builder addRepeatedField( @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.firestore.v1beta1.StructuredQuery.Projection) { - return mergeFrom((com.google.firestore.v1beta1.StructuredQuery.Projection) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.firestore.v1beta1.StructuredQuery.Projection other) { - if (other == com.google.firestore.v1beta1.StructuredQuery.Projection.getDefaultInstance()) - return this; - if (fieldsBuilder_ == null) { - if (!other.fields_.isEmpty()) { - if (fields_.isEmpty()) { - fields_ = other.fields_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureFieldsIsMutable(); - fields_.addAll(other.fields_); - } - onChanged(); - } - } else { - if (!other.fields_.isEmpty()) { - if (fieldsBuilder_.isEmpty()) { - fieldsBuilder_.dispose(); - fieldsBuilder_ = null; - fields_ = other.fields_; - bitField0_ = (bitField0_ & ~0x00000001); - fieldsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getFieldsFieldBuilder() - : null; - } else { - fieldsBuilder_.addAllMessages(other.fields_); - } - } - } - this.mergeUnknownFields(other.unknownFields); - 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 { - com.google.firestore.v1beta1.StructuredQuery.Projection parsedMessage = null; - try { - parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.firestore.v1beta1.StructuredQuery.Projection) e.getUnfinishedMessage(); - throw e.unwrapIOException(); - } finally { - if (parsedMessage != null) { - mergeFrom(parsedMessage); - } - } - return this; - } - - private int bitField0_; - - private java.util.List fields_ = - java.util.Collections.emptyList(); - - private void ensureFieldsIsMutable() { - if (!((bitField0_ & 0x00000001) == 0x00000001)) { - fields_ = - new java.util.ArrayList ( - fields_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1beta1.StructuredQuery.FieldReference, - com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder, - com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder> - fieldsBuilder_; - - /** - * - * - * - * The fields to return. - * If empty, all fields are returned. To only return the name - * of the document, use `['__name__']`. - *- * - *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
- */ - public java.util.List- getFieldsList() { - if (fieldsBuilder_ == null) { - return java.util.Collections.unmodifiableList(fields_); - } else { - return fieldsBuilder_.getMessageList(); - } - } - /** - * - * - * - * The fields to return. - * If empty, all fields are returned. To only return the name - * of the document, use `['__name__']`. - *- * - *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
- */ - public int getFieldsCount() { - if (fieldsBuilder_ == null) { - return fields_.size(); - } else { - return fieldsBuilder_.getCount(); - } - } - /** - * - * - *- * The fields to return. - * If empty, all fields are returned. To only return the name - * of the document, use `['__name__']`. - *- * - *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
- */ - public com.google.firestore.v1beta1.StructuredQuery.FieldReference getFields(int index) { - if (fieldsBuilder_ == null) { - return fields_.get(index); - } else { - return fieldsBuilder_.getMessage(index); - } - } - /** - * - * - *- * The fields to return. - * If empty, all fields are returned. To only return the name - * of the document, use `['__name__']`. - *- * - *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
- */ - public Builder setFields( - int index, com.google.firestore.v1beta1.StructuredQuery.FieldReference value) { - if (fieldsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureFieldsIsMutable(); - fields_.set(index, value); - onChanged(); - } else { - fieldsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *- * The fields to return. - * If empty, all fields are returned. To only return the name - * of the document, use `['__name__']`. - *- * - *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
- */ - public Builder setFields( - int index, - com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder builderForValue) { - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - fields_.set(index, builderForValue.build()); - onChanged(); - } else { - fieldsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *- * The fields to return. - * If empty, all fields are returned. To only return the name - * of the document, use `['__name__']`. - *- * - *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
- */ - public Builder addFields(com.google.firestore.v1beta1.StructuredQuery.FieldReference value) { - if (fieldsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureFieldsIsMutable(); - fields_.add(value); - onChanged(); - } else { - fieldsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *- * The fields to return. - * If empty, all fields are returned. To only return the name - * of the document, use `['__name__']`. - *- * - *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
- */ - public Builder addFields( - int index, com.google.firestore.v1beta1.StructuredQuery.FieldReference value) { - if (fieldsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureFieldsIsMutable(); - fields_.add(index, value); - onChanged(); - } else { - fieldsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *- * The fields to return. - * If empty, all fields are returned. To only return the name - * of the document, use `['__name__']`. - *- * - *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
- */ - public Builder addFields( - com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder builderForValue) { - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - fields_.add(builderForValue.build()); - onChanged(); - } else { - fieldsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *- * The fields to return. - * If empty, all fields are returned. To only return the name - * of the document, use `['__name__']`. - *- * - *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
- */ - public Builder addFields( - int index, - com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder builderForValue) { - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - fields_.add(index, builderForValue.build()); - onChanged(); - } else { - fieldsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *- * The fields to return. - * If empty, all fields are returned. To only return the name - * of the document, use `['__name__']`. - *- * - *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
- */ - public Builder addAllFields( - java.lang.Iterable extends com.google.firestore.v1beta1.StructuredQuery.FieldReference> - values) { - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, fields_); - onChanged(); + if (other instanceof com.google.firestore.v1beta1.StructuredQuery.FieldReference) { + return mergeFrom((com.google.firestore.v1beta1.StructuredQuery.FieldReference) other); } else { - fieldsBuilder_.addAllMessages(values); + super.mergeFrom(other); + return this; } - return this; } - /** - * - * - *- * The fields to return. - * If empty, all fields are returned. To only return the name - * of the document, use `['__name__']`. - *- * - *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
- */ - public Builder clearFields() { - if (fieldsBuilder_ == null) { - fields_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); + + public Builder mergeFrom(com.google.firestore.v1beta1.StructuredQuery.FieldReference other) { + if (other + == com.google.firestore.v1beta1.StructuredQuery.FieldReference.getDefaultInstance()) + return this; + if (!other.getFieldPath().isEmpty()) { + fieldPath_ = other.fieldPath_; onChanged(); - } else { - fieldsBuilder_.clear(); } + this.mergeUnknownFields(other.unknownFields); + onChanged(); return this; } - /** - * - * - *- * The fields to return. - * If empty, all fields are returned. To only return the name - * of the document, use `['__name__']`. - *- * - *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
- */ - public Builder removeFields(int index) { - if (fieldsBuilder_ == null) { - ensureFieldsIsMutable(); - fields_.remove(index); - onChanged(); - } else { - fieldsBuilder_.remove(index); + + @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 { + com.google.firestore.v1beta1.StructuredQuery.FieldReference parsedMessage = null; + try { + parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + parsedMessage = + (com.google.firestore.v1beta1.StructuredQuery.FieldReference) + e.getUnfinishedMessage(); + throw e.unwrapIOException(); + } finally { + if (parsedMessage != null) { + mergeFrom(parsedMessage); + } } return this; } - /** - * - * - *- * The fields to return. - * If empty, all fields are returned. To only return the name - * of the document, use `['__name__']`. - *- * - *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
- */ - public com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder getFieldsBuilder( - int index) { - return getFieldsFieldBuilder().getBuilder(index); - } - /** - * - * - *- * The fields to return. - * If empty, all fields are returned. To only return the name - * of the document, use `['__name__']`. - *- * - *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
- */ - public com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder - getFieldsOrBuilder(int index) { - if (fieldsBuilder_ == null) { - return fields_.get(index); + + private java.lang.Object fieldPath_ = ""; + /**string field_path = 2;
*/ + public java.lang.String getFieldPath() { + java.lang.Object ref = fieldPath_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + fieldPath_ = s; + return s; } else { - return fieldsBuilder_.getMessageOrBuilder(index); + return (java.lang.String) ref; } } - /** - * - * - *- * The fields to return. - * If empty, all fields are returned. To only return the name - * of the document, use `['__name__']`. - *- * - *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
- */ - public java.util.List< - ? extends com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder> - getFieldsOrBuilderList() { - if (fieldsBuilder_ != null) { - return fieldsBuilder_.getMessageOrBuilderList(); + /**string field_path = 2;
*/ + public com.google.protobuf.ByteString getFieldPathBytes() { + java.lang.Object ref = fieldPath_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + fieldPath_ = b; + return b; } else { - return java.util.Collections.unmodifiableList(fields_); + return (com.google.protobuf.ByteString) ref; } } - /** - * - * - *- * The fields to return. - * If empty, all fields are returned. To only return the name - * of the document, use `['__name__']`. - *- * - *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
- */ - public com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder - addFieldsBuilder() { - return getFieldsFieldBuilder() - .addBuilder( - com.google.firestore.v1beta1.StructuredQuery.FieldReference.getDefaultInstance()); - } - /** - * - * - *- * The fields to return. - * If empty, all fields are returned. To only return the name - * of the document, use `['__name__']`. - *- * - *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
- */ - public com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder addFieldsBuilder( - int index) { - return getFieldsFieldBuilder() - .addBuilder( - index, - com.google.firestore.v1beta1.StructuredQuery.FieldReference.getDefaultInstance()); - } - /** - * - * - *- * The fields to return. - * If empty, all fields are returned. To only return the name - * of the document, use `['__name__']`. - *- * - *repeated .google.firestore.v1beta1.StructuredQuery.FieldReference fields = 2;
- */ - public java.util.List- getFieldsBuilderList() { - return getFieldsFieldBuilder().getBuilderList(); + /** string field_path = 2;
*/ + public Builder setFieldPath(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + + fieldPath_ = value; + onChanged(); + return this; } + /**string field_path = 2;
*/ + public Builder clearFieldPath() { - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1beta1.StructuredQuery.FieldReference, - com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder, - com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder> - getFieldsFieldBuilder() { - if (fieldsBuilder_ == null) { - fieldsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.firestore.v1beta1.StructuredQuery.FieldReference, - com.google.firestore.v1beta1.StructuredQuery.FieldReference.Builder, - com.google.firestore.v1beta1.StructuredQuery.FieldReferenceOrBuilder>( - fields_, - ((bitField0_ & 0x00000001) == 0x00000001), - getParentForChildren(), - isClean()); - fields_ = null; + fieldPath_ = getDefaultInstance().getFieldPath(); + onChanged(); + return this; + } + /**string field_path = 2;
*/ + public Builder setFieldPathBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); } - return fieldsBuilder_; + checkByteStringIsUtf8(value); + + fieldPath_ = value; + onChanged(); + return this; } @java.lang.Override @@ -9029,42 +9028,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.firestore.v1beta1.StructuredQuery.Projection) + // @@protoc_insertion_point(builder_scope:google.firestore.v1beta1.StructuredQuery.FieldReference) } - // @@protoc_insertion_point(class_scope:google.firestore.v1beta1.StructuredQuery.Projection) - private static final com.google.firestore.v1beta1.StructuredQuery.Projection DEFAULT_INSTANCE; + // @@protoc_insertion_point(class_scope:google.firestore.v1beta1.StructuredQuery.FieldReference) + private static final com.google.firestore.v1beta1.StructuredQuery.FieldReference + DEFAULT_INSTANCE; static { - DEFAULT_INSTANCE = new com.google.firestore.v1beta1.StructuredQuery.Projection(); + DEFAULT_INSTANCE = new com.google.firestore.v1beta1.StructuredQuery.FieldReference(); } - public static com.google.firestore.v1beta1.StructuredQuery.Projection getDefaultInstance() { + public static com.google.firestore.v1beta1.StructuredQuery.FieldReference getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.ParserPARSER = - new com.google.protobuf.AbstractParser () { + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser () { @java.lang.Override - public Projection parsePartialFrom( + public FieldReference parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { - return new Projection(input, extensionRegistry); + return new FieldReference(input, extensionRegistry); } }; - public static com.google.protobuf.Parser parser() { + public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override - public com.google.protobuf.Parser getParserForType() { + public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override - public com.google.firestore.v1beta1.StructuredQuery.Projection getDefaultInstanceForType() { + public com.google.firestore.v1beta1.StructuredQuery.FieldReference getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/Target.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/Target.java index b55832125cbe..8acdc9b5d372 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/Target.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/Target.java @@ -2170,9 +2170,7 @@ public com.google.firestore.v1beta1.Target.DocumentsTargetOrBuilder getDocuments * * * - * A resume token from a prior - * [TargetChange][google.firestore.v1beta1.TargetChange] for an identical - * target. + * A resume token from a prior [TargetChange][google.firestore.v1beta1.TargetChange] for an identical target. * Using a resume token with a different target is unsupported and may fail. ** @@ -3175,9 +3173,7 @@ public com.google.firestore.v1beta1.Target.DocumentsTargetOrBuilder getDocuments * * *- * A resume token from a prior - * [TargetChange][google.firestore.v1beta1.TargetChange] for an identical - * target. + * A resume token from a prior [TargetChange][google.firestore.v1beta1.TargetChange] for an identical target. * Using a resume token with a different target is unsupported and may fail. ** @@ -3193,9 +3189,7 @@ public com.google.protobuf.ByteString getResumeToken() { * * *- * A resume token from a prior - * [TargetChange][google.firestore.v1beta1.TargetChange] for an identical - * target. + * A resume token from a prior [TargetChange][google.firestore.v1beta1.TargetChange] for an identical target. * Using a resume token with a different target is unsupported and may fail. ** @@ -3214,9 +3208,7 @@ public Builder setResumeToken(com.google.protobuf.ByteString value) { * * *- * A resume token from a prior - * [TargetChange][google.firestore.v1beta1.TargetChange] for an identical - * target. + * A resume token from a prior [TargetChange][google.firestore.v1beta1.TargetChange] for an identical target. * Using a resume token with a different target is unsupported and may fail. ** diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/TargetOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/TargetOrBuilder.java index 2832f4e6112b..a7b5a1dd63bf 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/TargetOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/TargetOrBuilder.java @@ -74,9 +74,7 @@ public interface TargetOrBuilder * * *- * A resume token from a prior - * [TargetChange][google.firestore.v1beta1.TargetChange] for an identical - * target. + * A resume token from a prior [TargetChange][google.firestore.v1beta1.TargetChange] for an identical target. * Using a resume token with a different target is unsupported and may fail. ** diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/UpdateDocumentRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/UpdateDocumentRequest.java index 26f1cd1cebdb..1080e8c2e680 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/UpdateDocumentRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/UpdateDocumentRequest.java @@ -7,8 +7,7 @@ * * *- * The request for - * [Firestore.UpdateDocument][google.firestore.v1beta1.Firestore.UpdateDocument]. + * The request for [Firestore.UpdateDocument][google.firestore.v1beta1.Firestore.UpdateDocument]. ** * Protobuf type {@code google.firestore.v1beta1.UpdateDocumentRequest} @@ -547,8 +546,7 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *- * The request for - * [Firestore.UpdateDocument][google.firestore.v1beta1.Firestore.UpdateDocument]. + * The request for [Firestore.UpdateDocument][google.firestore.v1beta1.Firestore.UpdateDocument]. ** * Protobuf type {@code google.firestore.v1beta1.UpdateDocumentRequest} diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteProto.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteProto.java index 3cbc5d2b0cea..ee0ee363b822 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteProto.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteProto.java @@ -54,11 +54,11 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { "\n$google/firestore/v1beta1/write.proto\022\030" - + "google.firestore.v1beta1\032\034google/api/ann" - + "otations.proto\032%google/firestore/v1beta1" - + "/common.proto\032\'google/firestore/v1beta1/" - + "document.proto\032\037google/protobuf/timestam" - + "p.proto\"\235\002\n\005Write\0224\n\006update\030\001 \001(\0132\".goog" + + "google.firestore.v1beta1\032%google/firesto" + + "re/v1beta1/common.proto\032\'google/firestor" + + "e/v1beta1/document.proto\032\037google/protobu" + + "f/timestamp.proto\032\034google/api/annotation" + + "s.proto\"\235\002\n\005Write\0224\n\006update\030\001 \001(\0132\".goog" + "le.firestore.v1beta1.DocumentH\000\022\020\n\006delet" + "e\030\002 \001(\tH\000\022@\n\ttransform\030\006 \001(\0132+.google.fi" + "restore.v1beta1.DocumentTransformH\000\022;\n\013u" @@ -112,10 +112,10 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { - com.google.api.AnnotationsProto.getDescriptor(), com.google.firestore.v1beta1.CommonProto.getDescriptor(), com.google.firestore.v1beta1.DocumentProto.getDescriptor(), com.google.protobuf.TimestampProto.getDescriptor(), + com.google.api.AnnotationsProto.getDescriptor(), }, assigner); internal_static_google_firestore_v1beta1_Write_descriptor = @@ -191,10 +191,10 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors( new java.lang.String[] { "TargetId", "Count", }); - com.google.api.AnnotationsProto.getDescriptor(); com.google.firestore.v1beta1.CommonProto.getDescriptor(); com.google.firestore.v1beta1.DocumentProto.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); + com.google.api.AnnotationsProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteRequest.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteRequest.java index d7b3c78613b1..556fafaed98d 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteRequest.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteRequest.java @@ -337,9 +337,9 @@ public com.google.firestore.v1beta1.WriteOrBuilder getWritesOrBuilder(int index) ** A stream token that was previously sent by the server. * The client should set this field to the token from the most recent - * [WriteResponse][google.firestore.v1beta1.WriteResponse] it has received. - * This acknowledges that the client has received responses up to this token. - * After sending this token, earlier tokens may not be used anymore. + * [WriteResponse][google.firestore.v1beta1.WriteResponse] it has received. This acknowledges that the client has + * received responses up to this token. After sending this token, earlier + * tokens may not be used anymore. * The server may close the stream if there are too many unacknowledged * responses. * Leave this field unset when creating a new stream. To resume a stream at @@ -1539,9 +1539,9 @@ public java.util.ListgetWritesBuild * * A stream token that was previously sent by the server. * The client should set this field to the token from the most recent - * [WriteResponse][google.firestore.v1beta1.WriteResponse] it has received. - * This acknowledges that the client has received responses up to this token. - * After sending this token, earlier tokens may not be used anymore. + * [WriteResponse][google.firestore.v1beta1.WriteResponse] it has received. This acknowledges that the client has + * received responses up to this token. After sending this token, earlier + * tokens may not be used anymore. * The server may close the stream if there are too many unacknowledged * responses. * Leave this field unset when creating a new stream. To resume a stream at @@ -1560,9 +1560,9 @@ public com.google.protobuf.ByteString getStreamToken() { ** A stream token that was previously sent by the server. * The client should set this field to the token from the most recent - * [WriteResponse][google.firestore.v1beta1.WriteResponse] it has received. - * This acknowledges that the client has received responses up to this token. - * After sending this token, earlier tokens may not be used anymore. + * [WriteResponse][google.firestore.v1beta1.WriteResponse] it has received. This acknowledges that the client has + * received responses up to this token. After sending this token, earlier + * tokens may not be used anymore. * The server may close the stream if there are too many unacknowledged * responses. * Leave this field unset when creating a new stream. To resume a stream at @@ -1587,9 +1587,9 @@ public Builder setStreamToken(com.google.protobuf.ByteString value) { ** A stream token that was previously sent by the server. * The client should set this field to the token from the most recent - * [WriteResponse][google.firestore.v1beta1.WriteResponse] it has received. - * This acknowledges that the client has received responses up to this token. - * After sending this token, earlier tokens may not be used anymore. + * [WriteResponse][google.firestore.v1beta1.WriteResponse] it has received. This acknowledges that the client has + * received responses up to this token. After sending this token, earlier + * tokens may not be used anymore. * The server may close the stream if there are too many unacknowledged * responses. * Leave this field unset when creating a new stream. To resume a stream at diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteRequestOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteRequestOrBuilder.java index 0d3b0e8efef0..4bc48666300b 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteRequestOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteRequestOrBuilder.java @@ -135,9 +135,9 @@ public interface WriteRequestOrBuilder ** A stream token that was previously sent by the server. * The client should set this field to the token from the most recent - * [WriteResponse][google.firestore.v1beta1.WriteResponse] it has received. - * This acknowledges that the client has received responses up to this token. - * After sending this token, earlier tokens may not be used anymore. + * [WriteResponse][google.firestore.v1beta1.WriteResponse] it has received. This acknowledges that the client has + * received responses up to this token. After sending this token, earlier + * tokens may not be used anymore. * The server may close the stream if there are too many unacknowledged * responses. * Leave this field unset when creating a new stream. To resume a stream at diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteResult.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteResult.java index e4fff28a13e6..5d728f0b4555 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteResult.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteResult.java @@ -168,9 +168,8 @@ public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder() { * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1beta1.Value transform_results = 2;
@@ -182,9 +181,8 @@ public java.util.ListgetTransformResultsLis * * * - * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1beta1.Value transform_results = 2;
@@ -197,9 +195,8 @@ public java.util.ListgetTransformResultsLis * * * - * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1beta1.Value transform_results = 2;
@@ -211,9 +208,8 @@ public int getTransformResultsCount() { * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1beta1.Value transform_results = 2;
@@ -225,9 +221,8 @@ public com.google.firestore.v1beta1.Value getTransformResults(int index) { * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1beta1.Value transform_results = 2;
@@ -851,9 +846,8 @@ private void ensureTransformResultsIsMutable() { * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1beta1.Value transform_results = 2;
@@ -869,9 +863,8 @@ public java.util.ListgetTransformResultsLis * * * - * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1beta1.Value transform_results = 2;
@@ -887,9 +880,8 @@ public int getTransformResultsCount() { * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1beta1.Value transform_results = 2;
@@ -905,9 +897,8 @@ public com.google.firestore.v1beta1.Value getTransformResults(int index) { * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1beta1.Value transform_results = 2;
@@ -929,9 +920,8 @@ public Builder setTransformResults(int index, com.google.firestore.v1beta1.Value * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1beta1.Value transform_results = 2;
@@ -951,9 +941,8 @@ public Builder setTransformResults( * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1beta1.Value transform_results = 2;
@@ -975,9 +964,8 @@ public Builder addTransformResults(com.google.firestore.v1beta1.Value value) { * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1beta1.Value transform_results = 2;
@@ -999,9 +987,8 @@ public Builder addTransformResults(int index, com.google.firestore.v1beta1.Value * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1beta1.Value transform_results = 2;
@@ -1020,9 +1007,8 @@ public Builder addTransformResults(com.google.firestore.v1beta1.Value.Builder bu * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1beta1.Value transform_results = 2;
@@ -1042,9 +1028,8 @@ public Builder addTransformResults( * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1beta1.Value transform_results = 2;
@@ -1064,9 +1049,8 @@ public Builder addAllTransformResults( * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1beta1.Value transform_results = 2;
@@ -1085,9 +1069,8 @@ public Builder clearTransformResults() { * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1beta1.Value transform_results = 2;
@@ -1106,9 +1089,8 @@ public Builder removeTransformResults(int index) { * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1beta1.Value transform_results = 2;
@@ -1120,9 +1102,8 @@ public com.google.firestore.v1beta1.Value.Builder getTransformResultsBuilder(int * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1beta1.Value transform_results = 2;
@@ -1138,9 +1119,8 @@ public com.google.firestore.v1beta1.ValueOrBuilder getTransformResultsOrBuilder( * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1beta1.Value transform_results = 2;
@@ -1157,9 +1137,8 @@ public com.google.firestore.v1beta1.ValueOrBuilder getTransformResultsOrBuilder( * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1beta1.Value transform_results = 2;
@@ -1172,9 +1151,8 @@ public com.google.firestore.v1beta1.Value.Builder addTransformResultsBuilder() { * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1beta1.Value transform_results = 2;
@@ -1187,9 +1165,8 @@ public com.google.firestore.v1beta1.Value.Builder addTransformResultsBuilder(int * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1beta1.Value transform_results = 2;
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteResultOrBuilder.java b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteResultOrBuilder.java index 9438f1e93e57..ee3cb9ae34f9 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteResultOrBuilder.java +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/java/com/google/firestore/v1beta1/WriteResultOrBuilder.java @@ -52,9 +52,8 @@ public interface WriteResultOrBuilder * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1beta1.Value transform_results = 2;
@@ -64,9 +63,8 @@ public interface WriteResultOrBuilder * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1beta1.Value transform_results = 2;
@@ -76,9 +74,8 @@ public interface WriteResultOrBuilder * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1beta1.Value transform_results = 2;
@@ -88,9 +85,8 @@ public interface WriteResultOrBuilder * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1beta1.Value transform_results = 2;
@@ -101,9 +97,8 @@ public interface WriteResultOrBuilder * * *- * The results of applying each - * [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], - * in the same order. + * The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the + * same order. ** *repeated .google.firestore.v1beta1.Value transform_results = 2;
diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/common.proto b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/common.proto index 027b1a09be9d..87c88a3be630 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/common.proto +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/common.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC. +// Copyright 2019 Google LLC. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,8 +17,8 @@ syntax = "proto3"; package google.firestore.v1beta1; -import "google/api/annotations.proto"; import "google/protobuf/timestamp.proto"; +import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.Firestore.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/firestore/v1beta1;firestore"; @@ -28,15 +28,14 @@ option java_package = "com.google.firestore.v1beta1"; option objc_class_prefix = "GCFS"; option php_namespace = "Google\\Cloud\\Firestore\\V1beta1"; + // A set of field paths on a document. // Used to restrict a get or update operation on a document to a subset of its // fields. // This is different from standard field masks, as this is always scoped to a -// [Document][google.firestore.v1beta1.Document], and takes in account the -// dynamic nature of [Value][google.firestore.v1beta1.Value]. +// [Document][google.firestore.v1beta1.Document], and takes in account the dynamic nature of [Value][google.firestore.v1beta1.Value]. message DocumentMask { - // The list of field paths in the mask. See - // [Document.fields][google.firestore.v1beta1.Document.fields] for a field + // The list of field paths in the mask. See [Document.fields][google.firestore.v1beta1.Document.fields] for a field // path syntax reference. repeated string field_paths = 1; } diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/document.proto b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/document.proto index 0e11eff0b542..8a043df59980 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/document.proto +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/document.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC. +// Copyright 2019 Google LLC. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,10 +17,10 @@ syntax = "proto3"; package google.firestore.v1beta1; -import "google/api/annotations.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; import "google/type/latlng.proto"; +import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.Firestore.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/firestore/v1beta1;firestore"; @@ -30,6 +30,7 @@ option java_package = "com.google.firestore.v1beta1"; option objc_class_prefix = "GCFS"; option php_namespace = "Google\\Cloud\\Firestore\\V1beta1"; + // A Firestore document. // // Must not exceed 1 MiB - 4 bytes. diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/firestore.proto b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/firestore.proto index dc310d70bbdd..b7ba79075a40 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/firestore.proto +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/firestore.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC. +// Copyright 2019 Google LLC. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -33,7 +33,6 @@ option java_outer_classname = "FirestoreProto"; option java_package = "com.google.firestore.v1beta1"; option objc_class_prefix = "GCFS"; option php_namespace = "Google\\Cloud\\Firestore\\V1beta1"; - // Specification of the Firestore API. // The Cloud Firestore service. @@ -94,8 +93,7 @@ service Firestore { // // Documents returned by this method are not guaranteed to be returned in the // same order that they were requested. - rpc BatchGetDocuments(BatchGetDocumentsRequest) - returns (stream BatchGetDocumentsResponse) { + rpc BatchGetDocuments(BatchGetDocumentsRequest) returns (stream BatchGetDocumentsResponse) { option (google.api.http) = { post: "/v1beta1/{database=projects/*/databases/*}/documents:batchGet" body: "*" @@ -103,8 +101,7 @@ service Firestore { } // Starts a new transaction. - rpc BeginTransaction(BeginTransactionRequest) - returns (BeginTransactionResponse) { + rpc BeginTransaction(BeginTransactionRequest) returns (BeginTransactionResponse) { option (google.api.http) = { post: "/v1beta1/{database=projects/*/databases/*}/documents:beginTransaction" body: "*" @@ -156,8 +153,7 @@ service Firestore { } // Lists all the collection IDs underneath a document. - rpc ListCollectionIds(ListCollectionIdsRequest) - returns (ListCollectionIdsResponse) { + rpc ListCollectionIds(ListCollectionIdsRequest) returns (ListCollectionIdsResponse) { option (google.api.http) = { post: "/v1beta1/{parent=projects/*/databases/*/documents}:listCollectionIds" body: "*" @@ -169,8 +165,7 @@ service Firestore { } } -// The request for -// [Firestore.GetDocument][google.firestore.v1beta1.Firestore.GetDocument]. +// The request for [Firestore.GetDocument][google.firestore.v1beta1.Firestore.GetDocument]. message GetDocumentRequest { // The resource name of the Document to get. In the format: // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. @@ -194,8 +189,7 @@ message GetDocumentRequest { } } -// The request for -// [Firestore.ListDocuments][google.firestore.v1beta1.Firestore.ListDocuments]. +// The request for [Firestore.ListDocuments][google.firestore.v1beta1.Firestore.ListDocuments]. message ListDocumentsRequest { // The parent resource name. In the format: // `projects/{project_id}/databases/{database_id}/documents` or @@ -237,17 +231,15 @@ message ListDocumentsRequest { // If the list should show missing documents. A missing document is a // document that does not exist but has sub-documents. These documents will - // be returned with a key but will not have fields, - // [Document.create_time][google.firestore.v1beta1.Document.create_time], or - // [Document.update_time][google.firestore.v1beta1.Document.update_time] set. + // be returned with a key but will not have fields, [Document.create_time][google.firestore.v1beta1.Document.create_time], + // or [Document.update_time][google.firestore.v1beta1.Document.update_time] set. // // Requests with `show_missing` may not specify `where` or // `order_by`. bool show_missing = 12; } -// The response for -// [Firestore.ListDocuments][google.firestore.v1beta1.Firestore.ListDocuments]. +// The response for [Firestore.ListDocuments][google.firestore.v1beta1.Firestore.ListDocuments]. message ListDocumentsResponse { // The Documents found. repeated Document documents = 1; @@ -256,8 +248,7 @@ message ListDocumentsResponse { string next_page_token = 2; } -// The request for -// [Firestore.CreateDocument][google.firestore.v1beta1.Firestore.CreateDocument]. +// The request for [Firestore.CreateDocument][google.firestore.v1beta1.Firestore.CreateDocument]. message CreateDocumentRequest { // The parent resource. For example: // `projects/{project_id}/databases/{database_id}/documents` or @@ -282,8 +273,7 @@ message CreateDocumentRequest { DocumentMask mask = 5; } -// The request for -// [Firestore.UpdateDocument][google.firestore.v1beta1.Firestore.UpdateDocument]. +// The request for [Firestore.UpdateDocument][google.firestore.v1beta1.Firestore.UpdateDocument]. message UpdateDocumentRequest { // The updated document. // Creates the document if it does not already exist. @@ -309,8 +299,7 @@ message UpdateDocumentRequest { Precondition current_document = 4; } -// The request for -// [Firestore.DeleteDocument][google.firestore.v1beta1.Firestore.DeleteDocument]. +// The request for [Firestore.DeleteDocument][google.firestore.v1beta1.Firestore.DeleteDocument]. message DeleteDocumentRequest { // The resource name of the Document to delete. In the format: // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. @@ -321,8 +310,7 @@ message DeleteDocumentRequest { Precondition current_document = 2; } -// The request for -// [Firestore.BatchGetDocuments][google.firestore.v1beta1.Firestore.BatchGetDocuments]. +// The request for [Firestore.BatchGetDocuments][google.firestore.v1beta1.Firestore.BatchGetDocuments]. message BatchGetDocumentsRequest { // The database name. In the format: // `projects/{project_id}/databases/{database_id}`. @@ -358,8 +346,7 @@ message BatchGetDocumentsRequest { } } -// The streamed response for -// [Firestore.BatchGetDocuments][google.firestore.v1beta1.Firestore.BatchGetDocuments]. +// The streamed response for [Firestore.BatchGetDocuments][google.firestore.v1beta1.Firestore.BatchGetDocuments]. message BatchGetDocumentsResponse { // A single result. // This can be empty if the server is just returning a transaction. @@ -374,8 +361,7 @@ message BatchGetDocumentsResponse { // The transaction that was started as part of this request. // Will only be set in the first response, and only if - // [BatchGetDocumentsRequest.new_transaction][google.firestore.v1beta1.BatchGetDocumentsRequest.new_transaction] - // was set in the request. + // [BatchGetDocumentsRequest.new_transaction][google.firestore.v1beta1.BatchGetDocumentsRequest.new_transaction] was set in the request. bytes transaction = 3; // The time at which the document was read. @@ -385,8 +371,7 @@ message BatchGetDocumentsResponse { google.protobuf.Timestamp read_time = 4; } -// The request for -// [Firestore.BeginTransaction][google.firestore.v1beta1.Firestore.BeginTransaction]. +// The request for [Firestore.BeginTransaction][google.firestore.v1beta1.Firestore.BeginTransaction]. message BeginTransactionRequest { // The database name. In the format: // `projects/{project_id}/databases/{database_id}`. @@ -397,15 +382,13 @@ message BeginTransactionRequest { TransactionOptions options = 2; } -// The response for -// [Firestore.BeginTransaction][google.firestore.v1beta1.Firestore.BeginTransaction]. +// The response for [Firestore.BeginTransaction][google.firestore.v1beta1.Firestore.BeginTransaction]. message BeginTransactionResponse { // The transaction that was started. bytes transaction = 1; } -// The request for -// [Firestore.Commit][google.firestore.v1beta1.Firestore.Commit]. +// The request for [Firestore.Commit][google.firestore.v1beta1.Firestore.Commit]. message CommitRequest { // The database name. In the format: // `projects/{project_id}/databases/{database_id}`. @@ -420,8 +403,7 @@ message CommitRequest { bytes transaction = 3; } -// The response for -// [Firestore.Commit][google.firestore.v1beta1.Firestore.Commit]. +// The response for [Firestore.Commit][google.firestore.v1beta1.Firestore.Commit]. message CommitResponse { // The result of applying the writes. // @@ -433,8 +415,7 @@ message CommitResponse { google.protobuf.Timestamp commit_time = 2; } -// The request for -// [Firestore.Rollback][google.firestore.v1beta1.Firestore.Rollback]. +// The request for [Firestore.Rollback][google.firestore.v1beta1.Firestore.Rollback]. message RollbackRequest { // The database name. In the format: // `projects/{project_id}/databases/{database_id}`. @@ -444,8 +425,7 @@ message RollbackRequest { bytes transaction = 2; } -// The request for -// [Firestore.RunQuery][google.firestore.v1beta1.Firestore.RunQuery]. +// The request for [Firestore.RunQuery][google.firestore.v1beta1.Firestore.RunQuery]. message RunQueryRequest { // The parent resource name. In the format: // `projects/{project_id}/databases/{database_id}/documents` or @@ -479,14 +459,12 @@ message RunQueryRequest { } } -// The response for -// [Firestore.RunQuery][google.firestore.v1beta1.Firestore.RunQuery]. +// The response for [Firestore.RunQuery][google.firestore.v1beta1.Firestore.RunQuery]. message RunQueryResponse { // The transaction that was started as part of this request. // Can only be set in the first response, and only if - // [RunQueryRequest.new_transaction][google.firestore.v1beta1.RunQueryRequest.new_transaction] - // was set in the request. If set, no other fields will be set in this - // response. + // [RunQueryRequest.new_transaction][google.firestore.v1beta1.RunQueryRequest.new_transaction] was set in the request. + // If set, no other fields will be set in this response. bytes transaction = 2; // A query result. @@ -539,9 +517,9 @@ message WriteRequest { // A stream token that was previously sent by the server. // // The client should set this field to the token from the most recent - // [WriteResponse][google.firestore.v1beta1.WriteResponse] it has received. - // This acknowledges that the client has received responses up to this token. - // After sending this token, earlier tokens may not be used anymore. + // [WriteResponse][google.firestore.v1beta1.WriteResponse] it has received. This acknowledges that the client has + // received responses up to this token. After sending this token, earlier + // tokens may not be used anymore. // // The server may close the stream if there are too many unacknowledged // responses. @@ -597,8 +575,7 @@ message ListenRequest { maplabels = 4; } -// The response for -// [Firestore.Listen][google.firestore.v1beta1.Firestore.Listen]. +// The response for [Firestore.Listen][google.firestore.v1beta1.Firestore.Listen]. message ListenResponse { // The supported responses. oneof response_type { @@ -611,8 +588,8 @@ message ListenResponse { // A [Document][google.firestore.v1beta1.Document] has been deleted. DocumentDelete document_delete = 4; - // A [Document][google.firestore.v1beta1.Document] has been removed from a - // target (because it is no longer relevant to that target). + // A [Document][google.firestore.v1beta1.Document] has been removed from a target (because it is no longer + // relevant to that target). DocumentRemove document_remove = 6; // A filter to apply to the set of documents previously returned for the @@ -666,9 +643,7 @@ message Target { // If not specified, all matching Documents are returned before any // subsequent changes. oneof resume_type { - // A resume token from a prior - // [TargetChange][google.firestore.v1beta1.TargetChange] for an identical - // target. + // A resume token from a prior [TargetChange][google.firestore.v1beta1.TargetChange] for an identical target. // // Using a resume token with a different target is unsupported and may fail. bytes resume_token = 4; @@ -760,8 +735,7 @@ message TargetChange { google.protobuf.Timestamp read_time = 6; } -// The request for -// [Firestore.ListCollectionIds][google.firestore.v1beta1.Firestore.ListCollectionIds]. +// The request for [Firestore.ListCollectionIds][google.firestore.v1beta1.Firestore.ListCollectionIds]. message ListCollectionIdsRequest { // The parent document. In the format: // `projects/{project_id}/databases/{database_id}/documents/{document_path}`. @@ -777,8 +751,7 @@ message ListCollectionIdsRequest { string page_token = 3; } -// The response from -// [Firestore.ListCollectionIds][google.firestore.v1beta1.Firestore.ListCollectionIds]. +// The response from [Firestore.ListCollectionIds][google.firestore.v1beta1.Firestore.ListCollectionIds]. message ListCollectionIdsResponse { // The collection ids. repeated string collection_ids = 1; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/query.proto b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/query.proto index 9bd0ad509444..94eec9cbbf3f 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/query.proto +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/query.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC. +// Copyright 2019 Google LLC. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,9 +17,9 @@ syntax = "proto3"; package google.firestore.v1beta1; -import "google/api/annotations.proto"; import "google/firestore/v1beta1/document.proto"; import "google/protobuf/wrappers.proto"; +import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.Firestore.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/firestore/v1beta1;firestore"; @@ -29,6 +29,7 @@ option java_package = "com.google.firestore.v1beta1"; option objc_class_prefix = "GCFS"; option php_namespace = "Google\\Cloud\\Firestore\\V1beta1"; + // A Firestore query. message StructuredQuery { // A selection of a collection, such as `messages as m1`. @@ -114,6 +115,15 @@ message StructuredQuery { Value value = 3; } + // The projection of document's fields to return. + message Projection { + // The fields to return. + // + // If empty, all fields are returned. To only return the name + // of the document, use `['__name__']`. + repeated FieldReference fields = 2; + } + // A filter with a single operand. message UnaryFilter { // A unary operator. @@ -147,20 +157,6 @@ message StructuredQuery { Direction direction = 2; } - // A reference to a field, such as `max(messages.time) as max_time`. - message FieldReference { - string field_path = 2; - } - - // The projection of document's fields to return. - message Projection { - // The fields to return. - // - // If empty, all fields are returned. To only return the name - // of the document, use `['__name__']`. - repeated FieldReference fields = 2; - } - // A sort direction. enum Direction { // Unspecified. @@ -173,6 +169,11 @@ message StructuredQuery { DESCENDING = 2; } + // A reference to a field, such as `max(messages.time) as max_time`. + message FieldReference { + string field_path = 2; + } + // The projection to return. Projection select = 1; diff --git a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/write.proto b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/write.proto index d1ee7d32f376..4e58cc1216e1 100644 --- a/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/write.proto +++ b/google-api-grpc/proto-google-cloud-firestore-v1beta1/src/main/proto/google/firestore/v1beta1/write.proto @@ -1,4 +1,4 @@ -// Copyright 2018 Google LLC. +// Copyright 2019 Google LLC. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -17,10 +17,10 @@ syntax = "proto3"; package google.firestore.v1beta1; -import "google/api/annotations.proto"; import "google/firestore/v1beta1/common.proto"; import "google/firestore/v1beta1/document.proto"; import "google/protobuf/timestamp.proto"; +import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.Firestore.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/firestore/v1beta1;firestore"; @@ -30,6 +30,7 @@ option java_package = "com.google.firestore.v1beta1"; option objc_class_prefix = "GCFS"; option php_namespace = "Google\\Cloud\\Firestore\\V1beta1"; + // A write on a document. message Write { // The operation to execute. @@ -80,9 +81,8 @@ message DocumentTransform { REQUEST_TIME = 1; } - // The path of the field. See - // [Document.fields][google.firestore.v1beta1.Document.fields] for the field - // path syntax reference. + // The path of the field. See [Document.fields][google.firestore.v1beta1.Document.fields] for the field path syntax + // reference. string field_path = 1; // The transformation to apply on the field. @@ -176,21 +176,18 @@ message WriteResult { // previous update_time. google.protobuf.Timestamp update_time = 1; - // The results of applying each - // [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], - // in the same order. + // The results of applying each [DocumentTransform.FieldTransform][google.firestore.v1beta1.DocumentTransform.FieldTransform], in the + // same order. repeated Value transform_results = 2; } // A [Document][google.firestore.v1beta1.Document] has changed. // -// May be the result of multiple [writes][google.firestore.v1beta1.Write], -// including deletes, that ultimately resulted in a new value for the -// [Document][google.firestore.v1beta1.Document]. +// May be the result of multiple [writes][google.firestore.v1beta1.Write], including deletes, that +// ultimately resulted in a new value for the [Document][google.firestore.v1beta1.Document]. // -// Multiple [DocumentChange][google.firestore.v1beta1.DocumentChange] messages -// may be returned for the same logical change, if multiple targets are -// affected. +// Multiple [DocumentChange][google.firestore.v1beta1.DocumentChange] messages may be returned for the same logical +// change, if multiple targets are affected. message DocumentChange { // The new state of the [Document][google.firestore.v1beta1.Document]. // @@ -206,16 +203,13 @@ message DocumentChange { // A [Document][google.firestore.v1beta1.Document] has been deleted. // -// May be the result of multiple [writes][google.firestore.v1beta1.Write], -// including updates, the last of which deleted the -// [Document][google.firestore.v1beta1.Document]. +// May be the result of multiple [writes][google.firestore.v1beta1.Write], including updates, the +// last of which deleted the [Document][google.firestore.v1beta1.Document]. // -// Multiple [DocumentDelete][google.firestore.v1beta1.DocumentDelete] messages -// may be returned for the same logical delete, if multiple targets are -// affected. +// Multiple [DocumentDelete][google.firestore.v1beta1.DocumentDelete] messages may be returned for the same logical +// delete, if multiple targets are affected. message DocumentDelete { - // The resource name of the [Document][google.firestore.v1beta1.Document] that - // was deleted. + // The resource name of the [Document][google.firestore.v1beta1.Document] that was deleted. string document = 1; // A set of target IDs for targets that previously matched this entity. @@ -227,19 +221,16 @@ message DocumentDelete { google.protobuf.Timestamp read_time = 4; } -// A [Document][google.firestore.v1beta1.Document] has been removed from the -// view of the targets. +// A [Document][google.firestore.v1beta1.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.v1beta1.DocumentRemove] messages -// may be returned for the same logical write or delete, if multiple targets are -// affected. +// Multiple [DocumentRemove][google.firestore.v1beta1.DocumentRemove] messages may be returned for the same logical +// write or delete, if multiple targets are affected. message DocumentRemove { - // The resource name of the [Document][google.firestore.v1beta1.Document] that - // has gone out of view. + // The resource name of the [Document][google.firestore.v1beta1.Document] that has gone out of view. string document = 1; // A set of target IDs for targets that previously matched this document. @@ -256,8 +247,7 @@ message ExistenceFilter { // The target ID to which this filter applies. int32 target_id = 1; - // The total count of documents that match - // [target_id][google.firestore.v1beta1.ExistenceFilter.target_id]. + // The total count of documents that match [target_id][google.firestore.v1beta1.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. diff --git a/google-cloud-clients/google-cloud-firestore/synth.metadata b/google-cloud-clients/google-cloud-firestore/synth.metadata index b5b51015b214..0ffd460f60b8 100644 --- a/google-cloud-clients/google-cloud-firestore/synth.metadata +++ b/google-cloud-clients/google-cloud-firestore/synth.metadata @@ -1,19 +1,19 @@ { - "updateTime": "2019-03-16T07:43:23.809130Z", + "updateTime": "2019-03-22T07:43:53.166974Z", "sources": [ { "generator": { "name": "artman", - "version": "0.16.17", - "dockerImage": "googleapis/artman@sha256:7231f27272231a884e09edb5953148c85ecd8467780d33c4a35c3e507885715b" + "version": "0.16.18", + "dockerImage": "googleapis/artman@sha256:e8ac9200640e76d54643f370db71a1556bf254f565ce46b45a467bbcbacbdb37" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "dab002e28c81adcc5601278c36d4302c2624c8e2", - "internalRef": "238726437" + "sha": "e2a116ac081210002ec2e634f1f840a453ebd182", + "internalRef": "239695990" } } ],