Skip to content

Commit 3fb1b63

Browse files
feat: generate protos to add NOT_EQUAL, NOT_IN, IS_NOT_NAN, IS_NOT_NULL query operators (#343)
* firestore: add `!=` support PiperOrigin-RevId: 327504150 Source-Author: Google APIs <noreply@google.com> Source-Date: Wed Aug 19 14:12:56 2020 -0700 Source-Repo: googleapis/googleapis Source-Sha: 17de2b31f9450385e739bedeeaac6e1ec4f239a8 Source-Link: googleapis/googleapis@17de2b3
1 parent dda31c2 commit 3fb1b63

File tree

9 files changed

+1503
-1276
lines changed

9 files changed

+1503
-1276
lines changed

proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequest.java

Lines changed: 40 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,9 @@ public com.google.protobuf.ByteString getParentBytes() {
250250
*
251251
* <pre>
252252
* A structured query.
253-
* Filters, order bys, limits, offsets, and start/end cursors are not
254-
* supported.
253+
* Query must specify collection with all descendants and be ordered by name
254+
* ascending. Other filters, order bys, limits, offsets, and start/end
255+
* cursors are not supported.
255256
* </pre>
256257
*
257258
* <code>.google.firestore.v1.StructuredQuery structured_query = 2;</code>
@@ -267,8 +268,9 @@ public boolean hasStructuredQuery() {
267268
*
268269
* <pre>
269270
* A structured query.
270-
* Filters, order bys, limits, offsets, and start/end cursors are not
271-
* supported.
271+
* Query must specify collection with all descendants and be ordered by name
272+
* ascending. Other filters, order bys, limits, offsets, and start/end
273+
* cursors are not supported.
272274
* </pre>
273275
*
274276
* <code>.google.firestore.v1.StructuredQuery structured_query = 2;</code>
@@ -287,8 +289,9 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() {
287289
*
288290
* <pre>
289291
* A structured query.
290-
* Filters, order bys, limits, offsets, and start/end cursors are not
291-
* supported.
292+
* Query must specify collection with all descendants and be ordered by name
293+
* ascending. Other filters, order bys, limits, offsets, and start/end
294+
* cursors are not supported.
292295
* </pre>
293296
*
294297
* <code>.google.firestore.v1.StructuredQuery structured_query = 2;</code>
@@ -309,7 +312,7 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
309312
* <pre>
310313
* The desired maximum number of partition points.
311314
* The partitions may be returned across multiple pages of results.
312-
* The number must be strictly positive. The actual number of partitions
315+
* The number must be positive. The actual number of partitions
313316
* returned may be fewer.
314317
* For example, this may be set to one fewer than the number of parallel
315318
* queries to be run, or in running a data pipeline job, one fewer than the
@@ -967,8 +970,9 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
967970
*
968971
* <pre>
969972
* A structured query.
970-
* Filters, order bys, limits, offsets, and start/end cursors are not
971-
* supported.
973+
* Query must specify collection with all descendants and be ordered by name
974+
* ascending. Other filters, order bys, limits, offsets, and start/end
975+
* cursors are not supported.
972976
* </pre>
973977
*
974978
* <code>.google.firestore.v1.StructuredQuery structured_query = 2;</code>
@@ -984,8 +988,9 @@ public boolean hasStructuredQuery() {
984988
*
985989
* <pre>
986990
* A structured query.
987-
* Filters, order bys, limits, offsets, and start/end cursors are not
988-
* supported.
991+
* Query must specify collection with all descendants and be ordered by name
992+
* ascending. Other filters, order bys, limits, offsets, and start/end
993+
* cursors are not supported.
989994
* </pre>
990995
*
991996
* <code>.google.firestore.v1.StructuredQuery structured_query = 2;</code>
@@ -1011,8 +1016,9 @@ public com.google.firestore.v1.StructuredQuery getStructuredQuery() {
10111016
*
10121017
* <pre>
10131018
* A structured query.
1014-
* Filters, order bys, limits, offsets, and start/end cursors are not
1015-
* supported.
1019+
* Query must specify collection with all descendants and be ordered by name
1020+
* ascending. Other filters, order bys, limits, offsets, and start/end
1021+
* cursors are not supported.
10161022
* </pre>
10171023
*
10181024
* <code>.google.firestore.v1.StructuredQuery structured_query = 2;</code>
@@ -1035,8 +1041,9 @@ public Builder setStructuredQuery(com.google.firestore.v1.StructuredQuery value)
10351041
*
10361042
* <pre>
10371043
* A structured query.
1038-
* Filters, order bys, limits, offsets, and start/end cursors are not
1039-
* supported.
1044+
* Query must specify collection with all descendants and be ordered by name
1045+
* ascending. Other filters, order bys, limits, offsets, and start/end
1046+
* cursors are not supported.
10401047
* </pre>
10411048
*
10421049
* <code>.google.firestore.v1.StructuredQuery structured_query = 2;</code>
@@ -1057,8 +1064,9 @@ public Builder setStructuredQuery(
10571064
*
10581065
* <pre>
10591066
* A structured query.
1060-
* Filters, order bys, limits, offsets, and start/end cursors are not
1061-
* supported.
1067+
* Query must specify collection with all descendants and be ordered by name
1068+
* ascending. Other filters, order bys, limits, offsets, and start/end
1069+
* cursors are not supported.
10621070
* </pre>
10631071
*
10641072
* <code>.google.firestore.v1.StructuredQuery structured_query = 2;</code>
@@ -1090,8 +1098,9 @@ public Builder mergeStructuredQuery(com.google.firestore.v1.StructuredQuery valu
10901098
*
10911099
* <pre>
10921100
* A structured query.
1093-
* Filters, order bys, limits, offsets, and start/end cursors are not
1094-
* supported.
1101+
* Query must specify collection with all descendants and be ordered by name
1102+
* ascending. Other filters, order bys, limits, offsets, and start/end
1103+
* cursors are not supported.
10951104
* </pre>
10961105
*
10971106
* <code>.google.firestore.v1.StructuredQuery structured_query = 2;</code>
@@ -1117,8 +1126,9 @@ public Builder clearStructuredQuery() {
11171126
*
11181127
* <pre>
11191128
* A structured query.
1120-
* Filters, order bys, limits, offsets, and start/end cursors are not
1121-
* supported.
1129+
* Query must specify collection with all descendants and be ordered by name
1130+
* ascending. Other filters, order bys, limits, offsets, and start/end
1131+
* cursors are not supported.
11221132
* </pre>
11231133
*
11241134
* <code>.google.firestore.v1.StructuredQuery structured_query = 2;</code>
@@ -1131,8 +1141,9 @@ public com.google.firestore.v1.StructuredQuery.Builder getStructuredQueryBuilder
11311141
*
11321142
* <pre>
11331143
* A structured query.
1134-
* Filters, order bys, limits, offsets, and start/end cursors are not
1135-
* supported.
1144+
* Query must specify collection with all descendants and be ordered by name
1145+
* ascending. Other filters, order bys, limits, offsets, and start/end
1146+
* cursors are not supported.
11361147
* </pre>
11371148
*
11381149
* <code>.google.firestore.v1.StructuredQuery structured_query = 2;</code>
@@ -1153,8 +1164,9 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
11531164
*
11541165
* <pre>
11551166
* A structured query.
1156-
* Filters, order bys, limits, offsets, and start/end cursors are not
1157-
* supported.
1167+
* Query must specify collection with all descendants and be ordered by name
1168+
* ascending. Other filters, order bys, limits, offsets, and start/end
1169+
* cursors are not supported.
11581170
* </pre>
11591171
*
11601172
* <code>.google.firestore.v1.StructuredQuery structured_query = 2;</code>
@@ -1191,7 +1203,7 @@ public com.google.firestore.v1.StructuredQueryOrBuilder getStructuredQueryOrBuil
11911203
* <pre>
11921204
* The desired maximum number of partition points.
11931205
* The partitions may be returned across multiple pages of results.
1194-
* The number must be strictly positive. The actual number of partitions
1206+
* The number must be positive. The actual number of partitions
11951207
* returned may be fewer.
11961208
* For example, this may be set to one fewer than the number of parallel
11971209
* queries to be run, or in running a data pipeline job, one fewer than the
@@ -1212,7 +1224,7 @@ public long getPartitionCount() {
12121224
* <pre>
12131225
* The desired maximum number of partition points.
12141226
* The partitions may be returned across multiple pages of results.
1215-
* The number must be strictly positive. The actual number of partitions
1227+
* The number must be positive. The actual number of partitions
12161228
* returned may be fewer.
12171229
* For example, this may be set to one fewer than the number of parallel
12181230
* queries to be run, or in running a data pipeline job, one fewer than the
@@ -1236,7 +1248,7 @@ public Builder setPartitionCount(long value) {
12361248
* <pre>
12371249
* The desired maximum number of partition points.
12381250
* The partitions may be returned across multiple pages of results.
1239-
* The number must be strictly positive. The actual number of partitions
1251+
* The number must be positive. The actual number of partitions
12401252
* returned may be fewer.
12411253
* For example, this may be set to one fewer than the number of parallel
12421254
* queries to be run, or in running a data pipeline job, one fewer than the

proto-google-cloud-firestore-v1/src/main/java/com/google/firestore/v1/PartitionQueryRequestOrBuilder.java

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,9 @@ public interface PartitionQueryRequestOrBuilder
5959
*
6060
* <pre>
6161
* A structured query.
62-
* Filters, order bys, limits, offsets, and start/end cursors are not
63-
* supported.
62+
* Query must specify collection with all descendants and be ordered by name
63+
* ascending. Other filters, order bys, limits, offsets, and start/end
64+
* cursors are not supported.
6465
* </pre>
6566
*
6667
* <code>.google.firestore.v1.StructuredQuery structured_query = 2;</code>
@@ -73,8 +74,9 @@ public interface PartitionQueryRequestOrBuilder
7374
*
7475
* <pre>
7576
* A structured query.
76-
* Filters, order bys, limits, offsets, and start/end cursors are not
77-
* supported.
77+
* Query must specify collection with all descendants and be ordered by name
78+
* ascending. Other filters, order bys, limits, offsets, and start/end
79+
* cursors are not supported.
7880
* </pre>
7981
*
8082
* <code>.google.firestore.v1.StructuredQuery structured_query = 2;</code>
@@ -87,8 +89,9 @@ public interface PartitionQueryRequestOrBuilder
8789
*
8890
* <pre>
8991
* A structured query.
90-
* Filters, order bys, limits, offsets, and start/end cursors are not
91-
* supported.
92+
* Query must specify collection with all descendants and be ordered by name
93+
* ascending. Other filters, order bys, limits, offsets, and start/end
94+
* cursors are not supported.
9295
* </pre>
9396
*
9497
* <code>.google.firestore.v1.StructuredQuery structured_query = 2;</code>
@@ -101,7 +104,7 @@ public interface PartitionQueryRequestOrBuilder
101104
* <pre>
102105
* The desired maximum number of partition points.
103106
* The partitions may be returned across multiple pages of results.
104-
* The number must be strictly positive. The actual number of partitions
107+
* The number must be positive. The actual number of partitions
105108
* returned may be fewer.
106109
* For example, this may be set to one fewer than the number of parallel
107110
* queries to be run, or in running a data pipeline job, one fewer than the

0 commit comments

Comments
 (0)