Skip to content
Permalink
Browse files
docs: Keep the API doc up-to-date feat: update grpc service config se…
…ttings to reflect correct API deadlines (#246)

* docs: Keep the API doc up-to-date feat: update grpc service config settings to reflect correct API deadlines

PiperOrigin-RevId: 411660243

Source-Link: googleapis/googleapis@72adf13

Source-Link: https://github.com/googleapis/googleapis-gen/commit/3e39fd553ab288192a77fb3c0d3e7cd2db116485
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiM2UzOWZkNTUzYWIyODgxOTJhNzdmYjNjMGQzZTdjZDJkYjExNjQ4NSJ9

* 🦉 Updates from OwlBot

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>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Nov 23, 2021
1 parent 725b716 commit 328e80629af57988001dab68aacd896f1fbc2804
@@ -280,7 +280,7 @@ public static class Builder extends StubSettings.Builder<UserEventServiceStubSet
Lists.<StatusCode.Code>newArrayList(
StatusCode.Code.UNAVAILABLE, StatusCode.Code.DEADLINE_EXCEEDED)));
definitions.put(
"retry_policy_2_codes",
"retry_policy_3_codes",
ImmutableSet.copyOf(
Lists.<StatusCode.Code>newArrayList(
StatusCode.Code.UNAVAILABLE, StatusCode.Code.DEADLINE_EXCEEDED)));
@@ -319,12 +319,12 @@ public static class Builder extends StubSettings.Builder<UserEventServiceStubSet
.setInitialRetryDelay(Duration.ofMillis(100L))
.setRetryDelayMultiplier(1.3)
.setMaxRetryDelay(Duration.ofMillis(300000L))
.setInitialRpcTimeout(Duration.ofMillis(300000L))
.setInitialRpcTimeout(Duration.ofMillis(600000L))
.setRpcTimeoutMultiplier(1.0)
.setMaxRpcTimeout(Duration.ofMillis(300000L))
.setTotalTimeout(Duration.ofMillis(300000L))
.setMaxRpcTimeout(Duration.ofMillis(600000L))
.setTotalTimeout(Duration.ofMillis(600000L))
.build();
definitions.put("retry_policy_2_params", settings);
definitions.put("retry_policy_3_params", settings);
RETRY_PARAM_DEFINITIONS = definitions.build();
}

@@ -406,8 +406,8 @@ private static Builder initDefaults(Builder builder) {

builder
.importUserEventsSettings()
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_2_codes"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_2_params"));
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_3_codes"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_3_params"));

builder
.rejoinUserEventsSettings()
@@ -443,8 +443,8 @@ private static Builder initDefaults(Builder builder) {
.setInitialCallSettings(
UnaryCallSettings
.<ImportUserEventsRequest, OperationSnapshot>newUnaryCallSettingsBuilder()
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_2_codes"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_2_params"))
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("retry_policy_3_codes"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("retry_policy_3_params"))
.build())
.setResponseTransformer(
ProtoOperationTransformers.ResponseTransformer.create(ImportUserEventsResponse.class))
@@ -128,12 +128,12 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* <pre>
* The type of [Product][google.cloud.retail.v2.Product]s allowed to be
* ingested into the catalog. Acceptable values are:
* * `primary` (default): You can only ingest
* [Product.Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY]
* [Product][google.cloud.retail.v2.Product]s. This means
* [Product.primary_product_id][google.cloud.retail.v2.Product.primary_product_id]
* can only be empty or set to the same value as
* [Product.id][google.cloud.retail.v2.Product.id].
* * `primary` (default): You can ingest
* [Product][google.cloud.retail.v2.Product]s of all types. When
* ingesting a [Product][google.cloud.retail.v2.Product], its type will
* default to
* [Product.Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY] if
* unset.
* * `variant`: You can only ingest
* [Product.Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]
* [Product][google.cloud.retail.v2.Product]s.
@@ -172,12 +172,12 @@ public java.lang.String getIngestionProductType() {
* <pre>
* The type of [Product][google.cloud.retail.v2.Product]s allowed to be
* ingested into the catalog. Acceptable values are:
* * `primary` (default): You can only ingest
* [Product.Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY]
* [Product][google.cloud.retail.v2.Product]s. This means
* [Product.primary_product_id][google.cloud.retail.v2.Product.primary_product_id]
* can only be empty or set to the same value as
* [Product.id][google.cloud.retail.v2.Product.id].
* * `primary` (default): You can ingest
* [Product][google.cloud.retail.v2.Product]s of all types. When
* ingesting a [Product][google.cloud.retail.v2.Product], its type will
* default to
* [Product.Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY] if
* unset.
* * `variant`: You can only ingest
* [Product.Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]
* [Product][google.cloud.retail.v2.Product]s.
@@ -633,12 +633,12 @@ public Builder mergeFrom(
* <pre>
* The type of [Product][google.cloud.retail.v2.Product]s allowed to be
* ingested into the catalog. Acceptable values are:
* * `primary` (default): You can only ingest
* [Product.Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY]
* [Product][google.cloud.retail.v2.Product]s. This means
* [Product.primary_product_id][google.cloud.retail.v2.Product.primary_product_id]
* can only be empty or set to the same value as
* [Product.id][google.cloud.retail.v2.Product.id].
* * `primary` (default): You can ingest
* [Product][google.cloud.retail.v2.Product]s of all types. When
* ingesting a [Product][google.cloud.retail.v2.Product], its type will
* default to
* [Product.Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY] if
* unset.
* * `variant`: You can only ingest
* [Product.Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]
* [Product][google.cloud.retail.v2.Product]s.
@@ -676,12 +676,12 @@ public java.lang.String getIngestionProductType() {
* <pre>
* The type of [Product][google.cloud.retail.v2.Product]s allowed to be
* ingested into the catalog. Acceptable values are:
* * `primary` (default): You can only ingest
* [Product.Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY]
* [Product][google.cloud.retail.v2.Product]s. This means
* [Product.primary_product_id][google.cloud.retail.v2.Product.primary_product_id]
* can only be empty or set to the same value as
* [Product.id][google.cloud.retail.v2.Product.id].
* * `primary` (default): You can ingest
* [Product][google.cloud.retail.v2.Product]s of all types. When
* ingesting a [Product][google.cloud.retail.v2.Product], its type will
* default to
* [Product.Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY] if
* unset.
* * `variant`: You can only ingest
* [Product.Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]
* [Product][google.cloud.retail.v2.Product]s.
@@ -719,12 +719,12 @@ public com.google.protobuf.ByteString getIngestionProductTypeBytes() {
* <pre>
* The type of [Product][google.cloud.retail.v2.Product]s allowed to be
* ingested into the catalog. Acceptable values are:
* * `primary` (default): You can only ingest
* [Product.Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY]
* [Product][google.cloud.retail.v2.Product]s. This means
* [Product.primary_product_id][google.cloud.retail.v2.Product.primary_product_id]
* can only be empty or set to the same value as
* [Product.id][google.cloud.retail.v2.Product.id].
* * `primary` (default): You can ingest
* [Product][google.cloud.retail.v2.Product]s of all types. When
* ingesting a [Product][google.cloud.retail.v2.Product], its type will
* default to
* [Product.Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY] if
* unset.
* * `variant`: You can only ingest
* [Product.Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]
* [Product][google.cloud.retail.v2.Product]s.
@@ -761,12 +761,12 @@ public Builder setIngestionProductType(java.lang.String value) {
* <pre>
* The type of [Product][google.cloud.retail.v2.Product]s allowed to be
* ingested into the catalog. Acceptable values are:
* * `primary` (default): You can only ingest
* [Product.Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY]
* [Product][google.cloud.retail.v2.Product]s. This means
* [Product.primary_product_id][google.cloud.retail.v2.Product.primary_product_id]
* can only be empty or set to the same value as
* [Product.id][google.cloud.retail.v2.Product.id].
* * `primary` (default): You can ingest
* [Product][google.cloud.retail.v2.Product]s of all types. When
* ingesting a [Product][google.cloud.retail.v2.Product], its type will
* default to
* [Product.Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY] if
* unset.
* * `variant`: You can only ingest
* [Product.Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]
* [Product][google.cloud.retail.v2.Product]s.
@@ -799,12 +799,12 @@ public Builder clearIngestionProductType() {
* <pre>
* The type of [Product][google.cloud.retail.v2.Product]s allowed to be
* ingested into the catalog. Acceptable values are:
* * `primary` (default): You can only ingest
* [Product.Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY]
* [Product][google.cloud.retail.v2.Product]s. This means
* [Product.primary_product_id][google.cloud.retail.v2.Product.primary_product_id]
* can only be empty or set to the same value as
* [Product.id][google.cloud.retail.v2.Product.id].
* * `primary` (default): You can ingest
* [Product][google.cloud.retail.v2.Product]s of all types. When
* ingesting a [Product][google.cloud.retail.v2.Product], its type will
* default to
* [Product.Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY] if
* unset.
* * `variant`: You can only ingest
* [Product.Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]
* [Product][google.cloud.retail.v2.Product]s.
@@ -29,12 +29,12 @@
* <pre>
* The type of [Product][google.cloud.retail.v2.Product]s allowed to be
* ingested into the catalog. Acceptable values are:
* * `primary` (default): You can only ingest
* [Product.Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY]
* [Product][google.cloud.retail.v2.Product]s. This means
* [Product.primary_product_id][google.cloud.retail.v2.Product.primary_product_id]
* can only be empty or set to the same value as
* [Product.id][google.cloud.retail.v2.Product.id].
* * `primary` (default): You can ingest
* [Product][google.cloud.retail.v2.Product]s of all types. When
* ingesting a [Product][google.cloud.retail.v2.Product], its type will
* default to
* [Product.Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY] if
* unset.
* * `variant`: You can only ingest
* [Product.Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]
* [Product][google.cloud.retail.v2.Product]s.
@@ -62,12 +62,12 @@
* <pre>
* The type of [Product][google.cloud.retail.v2.Product]s allowed to be
* ingested into the catalog. Acceptable values are:
* * `primary` (default): You can only ingest
* [Product.Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY]
* [Product][google.cloud.retail.v2.Product]s. This means
* [Product.primary_product_id][google.cloud.retail.v2.Product.primary_product_id]
* can only be empty or set to the same value as
* [Product.id][google.cloud.retail.v2.Product.id].
* * `primary` (default): You can ingest
* [Product][google.cloud.retail.v2.Product]s of all types. When
* ingesting a [Product][google.cloud.retail.v2.Product], its type will
* default to
* [Product.Type.PRIMARY][google.cloud.retail.v2.Product.Type.PRIMARY] if
* unset.
* * `variant`: You can only ingest
* [Product.Type.VARIANT][google.cloud.retail.v2.Product.Type.VARIANT]
* [Product][google.cloud.retail.v2.Product]s.

0 comments on commit 328e806

Please sign in to comment.