Skip to content

Commit 3440605

Browse files
chore: remove unused proto imports (#814)
* chore: remove unused proto imports PiperOrigin-RevId: 468735472 Source-Link: googleapis/googleapis@cfa1b37 Source-Link: https://github.com/googleapis/googleapis-gen/commit/09b7666656510f5b00b893f003a0ba5766f9e250 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMDliNzY2NjY1NjUxMGY1YjAwYjg5M2YwMDNhMGJhNTc2NmY5ZTI1MCJ9 * 🦉 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 99d907a commit 3440605

File tree

2 files changed

+73
-76
lines changed

2 files changed

+73
-76
lines changed

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

Lines changed: 73 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -89,85 +89,84 @@ 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\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"
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"
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(),
171170
com.google.datastore.v1.EntityProto.getDescriptor(),
172171
com.google.protobuf.TimestampProto.getDescriptor(),
173172
com.google.protobuf.WrappersProto.getDescriptor(),
@@ -290,7 +289,6 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
290289
"SnapshotVersion",
291290
"ReadTime",
292291
});
293-
com.google.api.FieldBehaviorProto.getDescriptor();
294292
com.google.datastore.v1.EntityProto.getDescriptor();
295293
com.google.protobuf.TimestampProto.getDescriptor();
296294
com.google.protobuf.WrappersProto.getDescriptor();

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

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

1717
package google.datastore.v1;
1818

19-
import "google/api/field_behavior.proto";
2019
import "google/datastore/v1/entity.proto";
2120
import "google/protobuf/timestamp.proto";
2221
import "google/protobuf/wrappers.proto";

0 commit comments

Comments
 (0)