Skip to content

Commit 3b2f203

Browse files
chore: generate libraries at Tue Dec 3 19:23:17 UTC 2024
1 parent d6214bb commit 3b2f203

File tree

3 files changed

+15
-13
lines changed

3 files changed

+15
-13
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-datastore'
5656
If you are using Gradle without BOM, add this to your dependencies:
5757

5858
```Groovy
59-
implementation 'com.google.cloud:google-cloud-datastore:2.24.3'
59+
implementation 'com.google.cloud:google-cloud-datastore:2.22.0'
6060
```
6161

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

6464
```Scala
65-
libraryDependencies += "com.google.cloud" % "google-cloud-datastore" % "2.24.3"
65+
libraryDependencies += "com.google.cloud" % "google-cloud-datastore" % "2.22.0"
6666
```
6767

6868
## Authentication
@@ -465,7 +465,9 @@ Samples are in the [`samples/`](https://github.com/googleapis/java-datastore/tre
465465
| Sum Aggregation With Limit | [source code](https://github.com/googleapis/java-datastore/blob/main/samples/snippets/src/main/java/com/example/datastore/aggregation/SumAggregationWithLimit.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-datastore&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/datastore/aggregation/SumAggregationWithLimit.java) |
466466
| Sum Aggregation With Order By | [source code](https://github.com/googleapis/java-datastore/blob/main/samples/snippets/src/main/java/com/example/datastore/aggregation/SumAggregationWithOrderBy.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-datastore&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/datastore/aggregation/SumAggregationWithOrderBy.java) |
467467
| Sum Aggregation With Property Filter | [source code](https://github.com/googleapis/java-datastore/blob/main/samples/snippets/src/main/java/com/example/datastore/aggregation/SumAggregationWithPropertyFilter.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-datastore&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/datastore/aggregation/SumAggregationWithPropertyFilter.java) |
468+
| Indexing Consideration Query | [source code](https://github.com/googleapis/java-datastore/blob/main/samples/snippets/src/main/java/com/example/datastore/filters/IndexingConsiderationQuery.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-datastore&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/datastore/filters/IndexingConsiderationQuery.java) |
468469
| Create a union between two filters | [source code](https://github.com/googleapis/java-datastore/blob/main/samples/snippets/src/main/java/com/example/datastore/filters/OrFilterQuery.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-datastore&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/datastore/filters/OrFilterQuery.java) |
470+
| Order Fields Query | [source code](https://github.com/googleapis/java-datastore/blob/main/samples/snippets/src/main/java/com/example/datastore/filters/OrderFieldsQuery.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-datastore&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/datastore/filters/OrderFieldsQuery.java) |
469471
| Query Profile Explain | [source code](https://github.com/googleapis/java-datastore/blob/main/samples/snippets/src/main/java/com/example/datastore/queryprofile/QueryProfileExplain.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-datastore&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/datastore/queryprofile/QueryProfileExplain.java) |
470472
| Query Profile Explain Aggregation | [source code](https://github.com/googleapis/java-datastore/blob/main/samples/snippets/src/main/java/com/example/datastore/queryprofile/QueryProfileExplainAggregation.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-datastore&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/datastore/queryprofile/QueryProfileExplainAggregation.java) |
471473
| Query Profile Explain Analyze | [source code](https://github.com/googleapis/java-datastore/blob/main/samples/snippets/src/main/java/com/example/datastore/queryprofile/QueryProfileExplainAnalyze.java) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/java-datastore&page=editor&open_in_editor=samples/snippets/src/main/java/com/example/datastore/queryprofile/QueryProfileExplainAnalyze.java) |
@@ -574,7 +576,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
574576
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/java-datastore/java11.html
575577
[stability-image]: https://img.shields.io/badge/stability-stable-green
576578
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-datastore.svg
577-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datastore/2.24.3
579+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-datastore/2.22.0
578580
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
579581
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
580582
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

google-cloud-datastore/src/main/java/com/google/cloud/datastore/admin/v1/DatastoreAdminSettings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117
* RetrySettings.newBuilder()
118118
* .setInitialRetryDelayDuration(Duration.ofMillis(500))
119119
* .setRetryDelayMultiplier(1.5)
120-
* .setMaxRetryDelay(Duration.ofMillis(5000))
120+
* .setMaxRetryDelayDuration(Duration.ofMillis(5000))
121121
* .setTotalTimeoutDuration(Duration.ofHours(24))
122122
* .build());
123123
* datastoreAdminSettingsBuilder

google-cloud-datastore/src/main/java/com/google/cloud/datastore/v1/stub/DatastoreStubSettings.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@
5656
import com.google.datastore.v1.RunQueryRequest;
5757
import com.google.datastore.v1.RunQueryResponse;
5858
import java.io.IOException;
59+
import java.time.Duration;
5960
import java.util.List;
6061
import javax.annotation.Generated;
61-
import org.threeten.bp.Duration;
6262

6363
// AUTO-GENERATED DOCUMENTATION AND CLASS.
6464
/**
@@ -328,21 +328,21 @@ public static class Builder extends StubSettings.Builder<DatastoreStubSettings,
328328
RetrySettings settings = null;
329329
settings =
330330
RetrySettings.newBuilder()
331-
.setInitialRetryDelay(Duration.ofMillis(100L))
331+
.setInitialRetryDelayDuration(Duration.ofMillis(100L))
332332
.setRetryDelayMultiplier(1.3)
333-
.setMaxRetryDelay(Duration.ofMillis(60000L))
334-
.setInitialRpcTimeout(Duration.ofMillis(60000L))
333+
.setMaxRetryDelayDuration(Duration.ofMillis(60000L))
334+
.setInitialRpcTimeoutDuration(Duration.ofMillis(60000L))
335335
.setRpcTimeoutMultiplier(1.0)
336-
.setMaxRpcTimeout(Duration.ofMillis(60000L))
337-
.setTotalTimeout(Duration.ofMillis(60000L))
336+
.setMaxRpcTimeoutDuration(Duration.ofMillis(60000L))
337+
.setTotalTimeoutDuration(Duration.ofMillis(60000L))
338338
.build();
339339
definitions.put("retry_policy_0_params", settings);
340340
settings =
341341
RetrySettings.newBuilder()
342-
.setInitialRpcTimeout(Duration.ofMillis(60000L))
342+
.setInitialRpcTimeoutDuration(Duration.ofMillis(60000L))
343343
.setRpcTimeoutMultiplier(1.0)
344-
.setMaxRpcTimeout(Duration.ofMillis(60000L))
345-
.setTotalTimeout(Duration.ofMillis(60000L))
344+
.setMaxRpcTimeoutDuration(Duration.ofMillis(60000L))
345+
.setTotalTimeoutDuration(Duration.ofMillis(60000L))
346346
.build();
347347
definitions.put("no_retry_1_params", settings);
348348
RETRY_PARAM_DEFINITIONS = definitions.build();

0 commit comments

Comments
 (0)