Skip to content

Commit 93468f4

Browse files
chore: comment updates (#815)
* chore: update count up_to field type in aggregation queries PiperOrigin-RevId: 469555077 Source-Link: googleapis/googleapis@7c3a38d Source-Link: https://github.com/googleapis/googleapis-gen/commit/cb40e6e892a9c33da0b2e6a6335d5f1e45a870da Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2I0MGU2ZTg5MmE5YzMzZGEwYjJlNmE2MzM1ZDVmMWU0NWE4NzBkYSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 3440605 commit 93468f4

File tree

5 files changed

+76
-86
lines changed

5 files changed

+76
-86
lines changed

proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/QueryProto.java

Lines changed: 75 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -89,84 +89,85 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
8989
static {
9090
java.lang.String[] descriptorData = {
9191
"\n\037google/datastore/v1/query.proto\022\023googl"
92-
+ "e.datastore.v1\032 google/datastore/v1/enti"
93-
+ "ty.proto\032\037google/protobuf/timestamp.prot"
94-
+ "o\032\036google/protobuf/wrappers.proto\"\340\001\n\014En"
95-
+ "tityResult\022+\n\006entity\030\001 \001(\0132\033.google.data"
96-
+ "store.v1.Entity\022\017\n\007version\030\004 \001(\003\022/\n\013upda"
97-
+ "te_time\030\005 \001(\0132\032.google.protobuf.Timestam"
98-
+ "p\022\016\n\006cursor\030\003 \001(\014\"Q\n\nResultType\022\033\n\027RESUL"
99-
+ "T_TYPE_UNSPECIFIED\020\000\022\010\n\004FULL\020\001\022\016\n\nPROJEC"
100-
+ "TION\020\002\022\014\n\010KEY_ONLY\020\003\"\362\002\n\005Query\0223\n\nprojec"
101-
+ "tion\030\002 \003(\0132\037.google.datastore.v1.Project"
102-
+ "ion\0221\n\004kind\030\003 \003(\0132#.google.datastore.v1."
103-
+ "KindExpression\022+\n\006filter\030\004 \001(\0132\033.google."
104-
+ "datastore.v1.Filter\0221\n\005order\030\005 \003(\0132\".goo"
105-
+ "gle.datastore.v1.PropertyOrder\022;\n\013distin"
106-
+ "ct_on\030\006 \003(\0132&.google.datastore.v1.Proper"
107-
+ "tyReference\022\024\n\014start_cursor\030\007 \001(\014\022\022\n\nend"
108-
+ "_cursor\030\010 \001(\014\022\016\n\006offset\030\n \001(\005\022*\n\005limit\030\014"
109-
+ " \001(\0132\033.google.protobuf.Int32Value\"\036\n\016Kin"
110-
+ "dExpression\022\014\n\004name\030\001 \001(\t\"!\n\021PropertyRef"
111-
+ "erence\022\014\n\004name\030\002 \001(\t\"F\n\nProjection\0228\n\010pr"
112-
+ "operty\030\001 \001(\0132&.google.datastore.v1.Prope"
113-
+ "rtyReference\"\321\001\n\rPropertyOrder\0228\n\010proper"
114-
+ "ty\030\001 \001(\0132&.google.datastore.v1.PropertyR"
115-
+ "eference\022?\n\tdirection\030\002 \001(\0162,.google.dat"
116-
+ "astore.v1.PropertyOrder.Direction\"E\n\tDir"
117-
+ "ection\022\031\n\025DIRECTION_UNSPECIFIED\020\000\022\r\n\tASC"
118-
+ "ENDING\020\001\022\016\n\nDESCENDING\020\002\"\231\001\n\006Filter\022@\n\020c"
119-
+ "omposite_filter\030\001 \001(\0132$.google.datastore"
120-
+ ".v1.CompositeFilterH\000\022>\n\017property_filter"
121-
+ "\030\002 \001(\0132#.google.datastore.v1.PropertyFil"
122-
+ "terH\000B\r\n\013filter_type\"\251\001\n\017CompositeFilter"
123-
+ "\0229\n\002op\030\001 \001(\0162-.google.datastore.v1.Compo"
124-
+ "siteFilter.Operator\022,\n\007filters\030\002 \003(\0132\033.g"
125-
+ "oogle.datastore.v1.Filter\"-\n\010Operator\022\030\n"
126-
+ "\024OPERATOR_UNSPECIFIED\020\000\022\007\n\003AND\020\001\"\352\002\n\016Pro"
127-
+ "pertyFilter\0228\n\010property\030\001 \001(\0132&.google.d"
128-
+ "atastore.v1.PropertyReference\0228\n\002op\030\002 \001("
129-
+ "\0162,.google.datastore.v1.PropertyFilter.O"
130-
+ "perator\022)\n\005value\030\003 \001(\0132\032.google.datastor"
131-
+ "e.v1.Value\"\270\001\n\010Operator\022\030\n\024OPERATOR_UNSP"
132-
+ "ECIFIED\020\000\022\r\n\tLESS_THAN\020\001\022\026\n\022LESS_THAN_OR"
133-
+ "_EQUAL\020\002\022\020\n\014GREATER_THAN\020\003\022\031\n\025GREATER_TH"
134-
+ "AN_OR_EQUAL\020\004\022\t\n\005EQUAL\020\005\022\006\n\002IN\020\006\022\r\n\tNOT_"
135-
+ "EQUAL\020\t\022\020\n\014HAS_ANCESTOR\020\013\022\n\n\006NOT_IN\020\r\"\245\002"
136-
+ "\n\010GqlQuery\022\024\n\014query_string\030\001 \001(\t\022\026\n\016allo"
137-
+ "w_literals\030\002 \001(\010\022H\n\016named_bindings\030\005 \003(\013"
138-
+ "20.google.datastore.v1.GqlQuery.NamedBin"
139-
+ "dingsEntry\022C\n\023positional_bindings\030\004 \003(\0132"
140-
+ "&.google.datastore.v1.GqlQueryParameter\032"
141-
+ "\\\n\022NamedBindingsEntry\022\013\n\003key\030\001 \001(\t\0225\n\005va"
142-
+ "lue\030\002 \001(\0132&.google.datastore.v1.GqlQuery"
143-
+ "Parameter:\0028\001\"d\n\021GqlQueryParameter\022+\n\005va"
144-
+ "lue\030\002 \001(\0132\032.google.datastore.v1.ValueH\000\022"
145-
+ "\020\n\006cursor\030\003 \001(\014H\000B\020\n\016parameter_type\"\215\004\n\020"
146-
+ "QueryResultBatch\022\027\n\017skipped_results\030\006 \001("
147-
+ "\005\022\026\n\016skipped_cursor\030\003 \001(\014\022H\n\022entity_resu"
148-
+ "lt_type\030\001 \001(\0162,.google.datastore.v1.Enti"
149-
+ "tyResult.ResultType\0229\n\016entity_results\030\002 "
150-
+ "\003(\0132!.google.datastore.v1.EntityResult\022\022"
151-
+ "\n\nend_cursor\030\004 \001(\014\022K\n\014more_results\030\005 \001(\016"
152-
+ "25.google.datastore.v1.QueryResultBatch."
153-
+ "MoreResultsType\022\030\n\020snapshot_version\030\007 \001("
154-
+ "\003\022-\n\tread_time\030\010 \001(\0132\032.google.protobuf.T"
155-
+ "imestamp\"\230\001\n\017MoreResultsType\022!\n\035MORE_RES"
156-
+ "ULTS_TYPE_UNSPECIFIED\020\000\022\020\n\014NOT_FINISHED\020"
157-
+ "\001\022\034\n\030MORE_RESULTS_AFTER_LIMIT\020\002\022\035\n\031MORE_"
158-
+ "RESULTS_AFTER_CURSOR\020\004\022\023\n\017NO_MORE_RESULT"
159-
+ "S\020\003B\274\001\n\027com.google.datastore.v1B\nQueryPr"
160-
+ "otoP\001Z<google.golang.org/genproto/google"
161-
+ "apis/datastore/v1;datastore\252\002\031Google.Clo"
162-
+ "ud.Datastore.V1\312\002\031Google\\Cloud\\Datastore"
163-
+ "\\V1\352\002\034Google::Cloud::Datastore::V1b\006prot"
164-
+ "o3"
92+
+ "e.datastore.v1\032\037google/api/field_behavio"
93+
+ "r.proto\032 google/datastore/v1/entity.prot"
94+
+ "o\032\037google/protobuf/timestamp.proto\032\036goog"
95+
+ "le/protobuf/wrappers.proto\"\340\001\n\014EntityRes"
96+
+ "ult\022+\n\006entity\030\001 \001(\0132\033.google.datastore.v"
97+
+ "1.Entity\022\017\n\007version\030\004 \001(\003\022/\n\013update_time"
98+
+ "\030\005 \001(\0132\032.google.protobuf.Timestamp\022\016\n\006cu"
99+
+ "rsor\030\003 \001(\014\"Q\n\nResultType\022\033\n\027RESULT_TYPE_"
100+
+ "UNSPECIFIED\020\000\022\010\n\004FULL\020\001\022\016\n\nPROJECTION\020\002\022"
101+
+ "\014\n\010KEY_ONLY\020\003\"\362\002\n\005Query\0223\n\nprojection\030\002 "
102+
+ "\003(\0132\037.google.datastore.v1.Projection\0221\n\004"
103+
+ "kind\030\003 \003(\0132#.google.datastore.v1.KindExp"
104+
+ "ression\022+\n\006filter\030\004 \001(\0132\033.google.datasto"
105+
+ "re.v1.Filter\0221\n\005order\030\005 \003(\0132\".google.dat"
106+
+ "astore.v1.PropertyOrder\022;\n\013distinct_on\030\006"
107+
+ " \003(\0132&.google.datastore.v1.PropertyRefer"
108+
+ "ence\022\024\n\014start_cursor\030\007 \001(\014\022\022\n\nend_cursor"
109+
+ "\030\010 \001(\014\022\016\n\006offset\030\n \001(\005\022*\n\005limit\030\014 \001(\0132\033."
110+
+ "google.protobuf.Int32Value\"\036\n\016KindExpres"
111+
+ "sion\022\014\n\004name\030\001 \001(\t\"!\n\021PropertyReference\022"
112+
+ "\014\n\004name\030\002 \001(\t\"F\n\nProjection\0228\n\010property\030"
113+
+ "\001 \001(\0132&.google.datastore.v1.PropertyRefe"
114+
+ "rence\"\321\001\n\rPropertyOrder\0228\n\010property\030\001 \001("
115+
+ "\0132&.google.datastore.v1.PropertyReferenc"
116+
+ "e\022?\n\tdirection\030\002 \001(\0162,.google.datastore."
117+
+ "v1.PropertyOrder.Direction\"E\n\tDirection\022"
118+
+ "\031\n\025DIRECTION_UNSPECIFIED\020\000\022\r\n\tASCENDING\020"
119+
+ "\001\022\016\n\nDESCENDING\020\002\"\231\001\n\006Filter\022@\n\020composit"
120+
+ "e_filter\030\001 \001(\0132$.google.datastore.v1.Com"
121+
+ "positeFilterH\000\022>\n\017property_filter\030\002 \001(\0132"
122+
+ "#.google.datastore.v1.PropertyFilterH\000B\r"
123+
+ "\n\013filter_type\"\251\001\n\017CompositeFilter\0229\n\002op\030"
124+
+ "\001 \001(\0162-.google.datastore.v1.CompositeFil"
125+
+ "ter.Operator\022,\n\007filters\030\002 \003(\0132\033.google.d"
126+
+ "atastore.v1.Filter\"-\n\010Operator\022\030\n\024OPERAT"
127+
+ "OR_UNSPECIFIED\020\000\022\007\n\003AND\020\001\"\352\002\n\016PropertyFi"
128+
+ "lter\0228\n\010property\030\001 \001(\0132&.google.datastor"
129+
+ "e.v1.PropertyReference\0228\n\002op\030\002 \001(\0162,.goo"
130+
+ "gle.datastore.v1.PropertyFilter.Operator"
131+
+ "\022)\n\005value\030\003 \001(\0132\032.google.datastore.v1.Va"
132+
+ "lue\"\270\001\n\010Operator\022\030\n\024OPERATOR_UNSPECIFIED"
133+
+ "\020\000\022\r\n\tLESS_THAN\020\001\022\026\n\022LESS_THAN_OR_EQUAL\020"
134+
+ "\002\022\020\n\014GREATER_THAN\020\003\022\031\n\025GREATER_THAN_OR_E"
135+
+ "QUAL\020\004\022\t\n\005EQUAL\020\005\022\006\n\002IN\020\006\022\r\n\tNOT_EQUAL\020\t"
136+
+ "\022\020\n\014HAS_ANCESTOR\020\013\022\n\n\006NOT_IN\020\r\"\245\002\n\010GqlQu"
137+
+ "ery\022\024\n\014query_string\030\001 \001(\t\022\026\n\016allow_liter"
138+
+ "als\030\002 \001(\010\022H\n\016named_bindings\030\005 \003(\01320.goog"
139+
+ "le.datastore.v1.GqlQuery.NamedBindingsEn"
140+
+ "try\022C\n\023positional_bindings\030\004 \003(\0132&.googl"
141+
+ "e.datastore.v1.GqlQueryParameter\032\\\n\022Name"
142+
+ "dBindingsEntry\022\013\n\003key\030\001 \001(\t\0225\n\005value\030\002 \001"
143+
+ "(\0132&.google.datastore.v1.GqlQueryParamet"
144+
+ "er:\0028\001\"d\n\021GqlQueryParameter\022+\n\005value\030\002 \001"
145+
+ "(\0132\032.google.datastore.v1.ValueH\000\022\020\n\006curs"
146+
+ "or\030\003 \001(\014H\000B\020\n\016parameter_type\"\215\004\n\020QueryRe"
147+
+ "sultBatch\022\027\n\017skipped_results\030\006 \001(\005\022\026\n\016sk"
148+
+ "ipped_cursor\030\003 \001(\014\022H\n\022entity_result_type"
149+
+ "\030\001 \001(\0162,.google.datastore.v1.EntityResul"
150+
+ "t.ResultType\0229\n\016entity_results\030\002 \003(\0132!.g"
151+
+ "oogle.datastore.v1.EntityResult\022\022\n\nend_c"
152+
+ "ursor\030\004 \001(\014\022K\n\014more_results\030\005 \001(\01625.goog"
153+
+ "le.datastore.v1.QueryResultBatch.MoreRes"
154+
+ "ultsType\022\030\n\020snapshot_version\030\007 \001(\003\022-\n\tre"
155+
+ "ad_time\030\010 \001(\0132\032.google.protobuf.Timestam"
156+
+ "p\"\230\001\n\017MoreResultsType\022!\n\035MORE_RESULTS_TY"
157+
+ "PE_UNSPECIFIED\020\000\022\020\n\014NOT_FINISHED\020\001\022\034\n\030MO"
158+
+ "RE_RESULTS_AFTER_LIMIT\020\002\022\035\n\031MORE_RESULTS"
159+
+ "_AFTER_CURSOR\020\004\022\023\n\017NO_MORE_RESULTS\020\003B\274\001\n"
160+
+ "\027com.google.datastore.v1B\nQueryProtoP\001Z<"
161+
+ "google.golang.org/genproto/googleapis/da"
162+
+ "tastore/v1;datastore\252\002\031Google.Cloud.Data"
163+
+ "store.V1\312\002\031Google\\Cloud\\Datastore\\V1\352\002\034G"
164+
+ "oogle::Cloud::Datastore::V1b\006proto3"
165165
};
166166
descriptor =
167167
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
168168
descriptorData,
169169
new com.google.protobuf.Descriptors.FileDescriptor[] {
170+
com.google.api.FieldBehaviorProto.getDescriptor(),
170171
com.google.datastore.v1.EntityProto.getDescriptor(),
171172
com.google.protobuf.TimestampProto.getDescriptor(),
172173
com.google.protobuf.WrappersProto.getDescriptor(),
@@ -289,6 +290,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
289290
"SnapshotVersion",
290291
"ReadTime",
291292
});
293+
com.google.api.FieldBehaviorProto.getDescriptor();
292294
com.google.datastore.v1.EntityProto.getDescriptor();
293295
com.google.protobuf.TimestampProto.getDescriptor();
294296
com.google.protobuf.WrappersProto.getDescriptor();

proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptions.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,6 @@ public ConsistencyTypeCase getConsistencyTypeCase() {
347347
*
348348
* <pre>
349349
* The non-transactional read consistency to use.
350-
* Cannot be set to `STRONG` for global queries.
351350
* </pre>
352351
*
353352
* <code>.google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1;</code>
@@ -362,7 +361,6 @@ public boolean hasReadConsistency() {
362361
*
363362
* <pre>
364363
* The non-transactional read consistency to use.
365-
* Cannot be set to `STRONG` for global queries.
366364
* </pre>
367365
*
368366
* <code>.google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1;</code>
@@ -380,7 +378,6 @@ public int getReadConsistencyValue() {
380378
*
381379
* <pre>
382380
* The non-transactional read consistency to use.
383-
* Cannot be set to `STRONG` for global queries.
384381
* </pre>
385382
*
386383
* <code>.google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1;</code>
@@ -903,7 +900,6 @@ public Builder clearConsistencyType() {
903900
*
904901
* <pre>
905902
* The non-transactional read consistency to use.
906-
* Cannot be set to `STRONG` for global queries.
907903
* </pre>
908904
*
909905
* <code>.google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1;</code>
@@ -919,7 +915,6 @@ public boolean hasReadConsistency() {
919915
*
920916
* <pre>
921917
* The non-transactional read consistency to use.
922-
* Cannot be set to `STRONG` for global queries.
923918
* </pre>
924919
*
925920
* <code>.google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1;</code>
@@ -938,7 +933,6 @@ public int getReadConsistencyValue() {
938933
*
939934
* <pre>
940935
* The non-transactional read consistency to use.
941-
* Cannot be set to `STRONG` for global queries.
942936
* </pre>
943937
*
944938
* <code>.google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1;</code>
@@ -957,7 +951,6 @@ public Builder setReadConsistencyValue(int value) {
957951
*
958952
* <pre>
959953
* The non-transactional read consistency to use.
960-
* Cannot be set to `STRONG` for global queries.
961954
* </pre>
962955
*
963956
* <code>.google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1;</code>
@@ -982,7 +975,6 @@ public com.google.datastore.v1.ReadOptions.ReadConsistency getReadConsistency()
982975
*
983976
* <pre>
984977
* The non-transactional read consistency to use.
985-
* Cannot be set to `STRONG` for global queries.
986978
* </pre>
987979
*
988980
* <code>.google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1;</code>
@@ -1004,7 +996,6 @@ public Builder setReadConsistency(com.google.datastore.v1.ReadOptions.ReadConsis
1004996
*
1005997
* <pre>
1006998
* The non-transactional read consistency to use.
1007-
* Cannot be set to `STRONG` for global queries.
1008999
* </pre>
10091000
*
10101001
* <code>.google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1;</code>

proto-google-cloud-datastore-v1/src/main/java/com/google/datastore/v1/ReadOptionsOrBuilder.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ public interface ReadOptionsOrBuilder
2828
*
2929
* <pre>
3030
* The non-transactional read consistency to use.
31-
* Cannot be set to `STRONG` for global queries.
3231
* </pre>
3332
*
3433
* <code>.google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1;</code>
@@ -41,7 +40,6 @@ public interface ReadOptionsOrBuilder
4140
*
4241
* <pre>
4342
* The non-transactional read consistency to use.
44-
* Cannot be set to `STRONG` for global queries.
4543
* </pre>
4644
*
4745
* <code>.google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1;</code>
@@ -54,7 +52,6 @@ public interface ReadOptionsOrBuilder
5452
*
5553
* <pre>
5654
* The non-transactional read consistency to use.
57-
* Cannot be set to `STRONG` for global queries.
5855
* </pre>
5956
*
6057
* <code>.google.datastore.v1.ReadOptions.ReadConsistency read_consistency = 1;</code>

proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/datastore.proto

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,6 @@ message ReadOptions {
436436
// Datastore mode.
437437
oneof consistency_type {
438438
// The non-transactional read consistency to use.
439-
// Cannot be set to `STRONG` for global queries.
440439
ReadConsistency read_consistency = 1;
441440

442441
// The identifier of the transaction in which to read. A

proto-google-cloud-datastore-v1/src/main/proto/google/datastore/v1/query.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ syntax = "proto3";
1616

1717
package google.datastore.v1;
1818

19+
import "google/api/field_behavior.proto";
1920
import "google/datastore/v1/entity.proto";
2021
import "google/protobuf/timestamp.proto";
2122
import "google/protobuf/wrappers.proto";

0 commit comments

Comments
 (0)