Skip to content

Commit

Permalink
chore: Update generation configuration at Sat Aug 10 02:17:32 UTC 2024 (
Browse files Browse the repository at this point in the history
#1782)

This pull request is generated with proto changes between [googleapis/googleapis@7314e20](https://togithub.com/googleapis/googleapis/commit/7314e20f5e3b2550b2e10a8c53f58ae57c511773) (exclusive) and [googleapis/googleapis@5b517c2](https://togithub.com/googleapis/googleapis/commit/5b517c2637fa5b4cb8f5323af33e19f31c31b4da) (inclusive).

BEGIN_COMMIT_OVERRIDE
BEGIN_NESTED_COMMIT
chore: update the libraries_bom version to 26.44.0
END_NESTED_COMMIT
BEGIN_NESTED_COMMIT
feat: Expose the `FindNearest.distance_result_field` parameter
feat: Expose the `FindNearest.distance_threshold` parameter

PiperOrigin-RevId: 660557033

Source Link: [googleapis/googleapis@28685f7](https://togithub.com/googleapis/googleapis/commit/28685f723d37bea3115876d423e7dbf70819e3ed)
END_NESTED_COMMIT
END_COMMIT_OVERRIDE
  • Loading branch information
cloud-java-bot authored Aug 12, 2024
1 parent 81bfa0d commit 6456d85
Show file tree
Hide file tree
Showing 6 changed files with 754 additions and 38 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,28 +42,28 @@ If you are using Maven without the BOM, add this to your dependencies:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-firestore</artifactId>
<version>3.24.0</version>
<version>3.24.2</version>
</dependency>

```

If you are using Gradle 5.x or later, add this to your dependencies:

```Groovy
implementation platform('com.google.cloud:libraries-bom:26.43.0')
implementation platform('com.google.cloud:libraries-bom:26.44.0')
implementation 'com.google.cloud:google-cloud-firestore'
```
If you are using Gradle without BOM, add this to your dependencies:

```Groovy
implementation 'com.google.cloud:google-cloud-firestore:3.24.1'
implementation 'com.google.cloud:google-cloud-firestore:3.24.3'
```

If you are using SBT, add this to your dependencies:

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-firestore" % "3.24.1"
libraryDependencies += "com.google.cloud" % "google-cloud-firestore" % "3.24.3"
```
<!-- {x-version-update-end} -->

Expand Down Expand Up @@ -220,7 +220,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-firestore/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-firestore.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-firestore/3.24.1
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-firestore/3.24.3
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
4 changes: 2 additions & 2 deletions generation_config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
gapic_generator_version: 2.43.0
googleapis_commitish: 7314e20f5e3b2550b2e10a8c53f58ae57c511773
libraries_bom_version: 26.43.0
googleapis_commitish: 5b517c2637fa5b4cb8f5323af33e19f31c31b4da
libraries_bom_version: 26.44.0
libraries:
- api_shortname: firestore
name_pretty: Cloud Firestore
Expand Down
25 changes: 25 additions & 0 deletions proto-google-cloud-firestore-v1/clirr-ignored-differences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,29 @@
<className>com/google/firestore/v1/StructuredQueryOrBuilder</className>
<method>boolean hasFindNearest()</method>
</difference>
<difference>
<differenceType>7012</differenceType>
<className>com/google/firestore/v1/StructuredQuery$FindNearestOrBuilder</className>
<method>java.lang.String getDistanceResultField()</method>
</difference>
<difference>
<differenceType>7012</differenceType>
<className>com/google/firestore/v1/StructuredQuery$FindNearestOrBuilder</className>
<method>com.google.protobuf.ByteString getDistanceResultFieldBytes()</method>
</difference>
<difference>
<differenceType>7012</differenceType>
<className>com/google/firestore/v1/StructuredQuery$FindNearestOrBuilder</className>
<method>com.google.protobuf.DoubleValue getDistanceThreshold()</method>
</difference>
<difference>
<differenceType>7012</differenceType>
<className>com/google/firestore/v1/StructuredQuery$FindNearestOrBuilder</className>
<method>com.google.protobuf.DoubleValueOrBuilder getDistanceThresholdOrBuilder()</method>
</difference>
<difference>
<differenceType>7012</differenceType>
<className>com/google/firestore/v1/StructuredQuery$FindNearestOrBuilder</className>
<method>boolean hasDistanceThreshold()</method>
</difference>
</differences>
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"\n\037google/firestore/v1/query.proto\022\023googl"
+ "e.firestore.v1\032\037google/api/field_behavio"
+ "r.proto\032\"google/firestore/v1/document.pr"
+ "oto\032\036google/protobuf/wrappers.proto\"\225\023\n\017"
+ "oto\032\036google/protobuf/wrappers.proto\"\370\023\n\017"
+ "StructuredQuery\022?\n\006select\030\001 \001(\0132/.google"
+ ".firestore.v1.StructuredQuery.Projection"
+ "\022E\n\004from\030\002 \003(\01327.google.firestore.v1.Str"
Expand Down Expand Up @@ -154,43 +154,46 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "StructuredQuery.Direction\032$\n\016FieldRefere"
+ "nce\022\022\n\nfield_path\030\002 \001(\t\032Q\n\nProjection\022C\n"
+ "\006fields\030\002 \003(\01323.google.firestore.v1.Stru"
+ "cturedQuery.FieldReference\032\207\003\n\013FindNeare"
+ "cturedQuery.FieldReference\032\352\003\n\013FindNeare"
+ "st\022N\n\014vector_field\030\001 \001(\01323.google.firest"
+ "ore.v1.StructuredQuery.FieldReferenceB\003\340"
+ "A\002\0225\n\014query_vector\030\002 \001(\0132\032.google.firest"
+ "ore.v1.ValueB\003\340A\002\022_\n\020distance_measure\030\003 "
+ "\001(\016[email protected]"
+ "y.FindNearest.DistanceMeasureB\003\340A\002\022/\n\005li"
+ "mit\030\004 \001(\0132\033.google.protobuf.Int32ValueB\003"
+ "\340A\002\"_\n\017DistanceMeasure\022 \n\034DISTANCE_MEASU"
+ "RE_UNSPECIFIED\020\000\022\r\n\tEUCLIDEAN\020\001\022\n\n\006COSIN"
+ "E\020\002\022\017\n\013DOT_PRODUCT\020\003\"E\n\tDirection\022\031\n\025DIR"
+ "ECTION_UNSPECIFIED\020\000\022\r\n\tASCENDING\020\001\022\016\n\nD"
+ "ESCENDING\020\002\"\270\005\n\032StructuredAggregationQue"
+ "ry\022@\n\020structured_query\030\001 \001(\0132$.google.fi"
+ "restore.v1.StructuredQueryH\000\022V\n\014aggregat"
+ "ions\030\003 \003(\0132;.google.firestore.v1.Structu"
+ "redAggregationQuery.AggregationB\003\340A\001\032\361\003\n"
+ "\013Aggregation\022R\n\005count\030\001 \001(\0132A.google.fir"
+ "estore.v1.StructuredAggregationQuery.Agg"
+ "regation.CountH\000\022N\n\003sum\030\002 \001(\0132?.google.f"
+ "\340A\002\022\"\n\025distance_result_field\030\005 \001(\tB\003\340A\001\022"
+ "=\n\022distance_threshold\030\006 \001(\0132\034.google.pro"
+ "tobuf.DoubleValueB\003\340A\001\"_\n\017DistanceMeasur"
+ "e\022 \n\034DISTANCE_MEASURE_UNSPECIFIED\020\000\022\r\n\tE"
+ "UCLIDEAN\020\001\022\n\n\006COSINE\020\002\022\017\n\013DOT_PRODUCT\020\003\""
+ "E\n\tDirection\022\031\n\025DIRECTION_UNSPECIFIED\020\000\022"
+ "\r\n\tASCENDING\020\001\022\016\n\nDESCENDING\020\002\"\270\005\n\032Struc"
+ "turedAggregationQuery\022@\n\020structured_quer"
+ "y\030\001 \001(\0132$.google.firestore.v1.Structured"
+ "QueryH\000\022V\n\014aggregations\030\003 \003(\0132;.google.f"
+ "irestore.v1.StructuredAggregationQuery.A"
+ "ggregation.SumH\000\022N\n\003avg\030\003 \001(\0132?.google.f"
+ "irestore.v1.StructuredAggregationQuery.A"
+ "ggregation.AvgH\000\022\022\n\005alias\030\007 \001(\tB\003\340A\001\0328\n\005"
+ "Count\022/\n\005up_to\030\001 \001(\0132\033.google.protobuf.I"
+ "nt64ValueB\003\340A\001\032I\n\003Sum\022B\n\005field\030\001 \001(\01323.g"
+ "oogle.firestore.v1.StructuredQuery.Field"
+ "Reference\032I\n\003Avg\022B\n\005field\030\001 \001(\01323.google"
+ ".firestore.v1.StructuredQuery.FieldRefer"
+ "enceB\n\n\010operatorB\014\n\nquery_type\"D\n\006Cursor"
+ "\022*\n\006values\030\001 \003(\0132\032.google.firestore.v1.V"
+ "alue\022\016\n\006before\030\002 \001(\010B\302\001\n\027com.google.fire"
+ "store.v1B\nQueryProtoP\001Z;cloud.google.com"
+ "/go/firestore/apiv1/firestorepb;firestor"
+ "epb\242\002\004GCFS\252\002\031Google.Cloud.Firestore.V1\312\002"
+ "\031Google\\Cloud\\Firestore\\V1\352\002\034Google::Clo"
+ "ud::Firestore::V1b\006proto3"
+ "ggregationB\003\340A\001\032\361\003\n\013Aggregation\022R\n\005count"
+ "\030\001 \001(\0132A.google.firestore.v1.StructuredA"
+ "ggregationQuery.Aggregation.CountH\000\022N\n\003s"
+ "um\030\002 \001(\0132?.google.firestore.v1.Structure"
+ "dAggregationQuery.Aggregation.SumH\000\022N\n\003a"
+ "vg\030\003 \001(\0132?.google.firestore.v1.Structure"
+ "dAggregationQuery.Aggregation.AvgH\000\022\022\n\005a"
+ "lias\030\007 \001(\tB\003\340A\001\0328\n\005Count\022/\n\005up_to\030\001 \001(\0132"
+ "\033.google.protobuf.Int64ValueB\003\340A\001\032I\n\003Sum"
+ "\022B\n\005field\030\001 \001(\01323.google.firestore.v1.St"
+ "ructuredQuery.FieldReference\032I\n\003Avg\022B\n\005f"
+ "ield\030\001 \001(\01323.google.firestore.v1.Structu"
+ "redQuery.FieldReferenceB\n\n\010operatorB\014\n\nq"
+ "uery_type\"D\n\006Cursor\022*\n\006values\030\001 \003(\0132\032.go"
+ "ogle.firestore.v1.Value\022\016\n\006before\030\002 \001(\010B"
+ "\302\001\n\027com.google.firestore.v1B\nQueryProtoP"
+ "\001Z;cloud.google.com/go/firestore/apiv1/f"
+ "irestorepb;firestorepb\242\002\004GCFS\252\002\031Google.C"
+ "loud.Firestore.V1\312\002\031Google\\Cloud\\Firesto"
+ "re\\V1\352\002\034Google::Cloud::Firestore::V1b\006pr"
+ "oto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
Expand Down Expand Up @@ -286,7 +289,12 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_firestore_v1_StructuredQuery_FindNearest_descriptor,
new java.lang.String[] {
"VectorField", "QueryVector", "DistanceMeasure", "Limit",
"VectorField",
"QueryVector",
"DistanceMeasure",
"Limit",
"DistanceResultField",
"DistanceThreshold",
});
internal_static_google_firestore_v1_StructuredAggregationQuery_descriptor =
getDescriptor().getMessageTypes().get(1);
Expand Down
Loading

0 comments on commit 6456d85

Please sign in to comment.