diff --git a/generation_config.yaml b/generation_config.yaml index 4c3211fb5dc0..44cacea4ed0d 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -2282,7 +2282,21 @@ libraries: GAPICs: - proto_path: google/shopping/merchant/inventories/v1 - proto_path: google/shopping/merchant/inventories/v1beta - +- api_shortname: shopping-merchant-notifications + name_pretty: Merchant Notifications API + product_documentation: https://developers.google.com/merchant/api + api_description: Programmatically manage your Merchant Center accounts. + client_documentation: + https://cloud.google.com/java/docs/reference/google-shopping-merchant-notifications/latest/overview + release_level: preview + distribution_name: com.google.shopping:google-shopping-merchant-notifications + api_id: shopping-merchant-notifications.googleapis.com + library_type: GAPIC_AUTO + group_id: com.google.shopping + cloud_api: false + GAPICs: + - proto_path: google/shopping/merchant/notifications/v1beta + requires_billing: true - api_shortname: shopping-merchant-lfp name_pretty: Merchant LFP API product_documentation: https://developers.google.com/merchant/api diff --git a/java-shopping-merchant-notifications/README.md b/java-shopping-merchant-notifications/README.md index 3b7ee64e62d2..ce8354180996 100644 --- a/java-shopping-merchant-notifications/README.md +++ b/java-shopping-merchant-notifications/README.md @@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.38.0 + 26.65.0 pom import @@ -35,11 +35,11 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.shopping google-shopping-merchant-notifications + ``` If you are using Maven without the BOM, add this to your dependencies: - ```xml @@ -60,7 +60,6 @@ If you are using SBT, add this to your dependencies: ```Scala libraryDependencies += "com.google.shopping" % "google-shopping-merchant-notifications" % "0.29.0" ``` - ## Authentication @@ -201,7 +200,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/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-preview-yellow [maven-version-image]: https://img.shields.io/maven-central/v/com.google.shopping/google-shopping-merchant-notifications.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-notifications/0.0.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.shopping/google-shopping-merchant-notifications/0.29.0 [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 diff --git a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/pom.xml b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/pom.xml index d1924bab1c91..6a3b8d5c8791 100644 --- a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/pom.xml +++ b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/pom.xml @@ -64,6 +64,7 @@ com.google.api.grpc grpc-google-common-protos + test com.google.api.grpc @@ -72,6 +73,7 @@ com.google.api.grpc grpc-google-iam-v1 + test org.threeten diff --git a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/NotificationsApiServiceClient.java b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/NotificationsApiServiceClient.java index 93cd14a7f4a6..77528c217d7d 100644 --- a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/NotificationsApiServiceClient.java +++ b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/NotificationsApiServiceClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/NotificationsApiServiceSettings.java b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/NotificationsApiServiceSettings.java index 3bccb63d8e8d..3ccff35a2b57 100644 --- a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/NotificationsApiServiceSettings.java +++ b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/NotificationsApiServiceSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -51,7 +51,9 @@ *

The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *

For example, to set the total timeout of getNotificationSubscription to 30 seconds: + *

For example, to set the + * [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings) + * of getNotificationSubscription: * *

{@code
  * // This snippet has been automatically generated and should be regarded as a code template only.
@@ -68,11 +70,22 @@
  *             .getNotificationSubscriptionSettings()
  *             .getRetrySettings()
  *             .toBuilder()
- *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .setInitialRetryDelayDuration(Duration.ofSeconds(1))
+ *             .setInitialRpcTimeoutDuration(Duration.ofSeconds(5))
+ *             .setMaxAttempts(5)
+ *             .setMaxRetryDelayDuration(Duration.ofSeconds(30))
+ *             .setMaxRpcTimeoutDuration(Duration.ofSeconds(60))
+ *             .setRetryDelayMultiplier(1.3)
+ *             .setRpcTimeoutMultiplier(1.5)
+ *             .setTotalTimeoutDuration(Duration.ofSeconds(300))
  *             .build());
  * NotificationsApiServiceSettings notificationsApiServiceSettings =
  *     notificationsApiServiceSettingsBuilder.build();
  * }
+ * + * Please refer to the [Client Side Retry + * Guide](https://github.com/googleapis/google-cloud-java/blob/main/docs/client_retries.md) for + * additional support in setting retries. */ @BetaApi @Generated("by gapic-generator-java") diff --git a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/package-info.java b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/package-info.java index 5760ad53eeec..35f6abb2b4c6 100644 --- a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/package-info.java +++ b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/stub/GrpcNotificationsApiServiceCallableFactory.java b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/stub/GrpcNotificationsApiServiceCallableFactory.java index 4a498f6d8793..82b375c73794 100644 --- a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/stub/GrpcNotificationsApiServiceCallableFactory.java +++ b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/stub/GrpcNotificationsApiServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/stub/GrpcNotificationsApiServiceStub.java b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/stub/GrpcNotificationsApiServiceStub.java index bf0e76f4bf1d..97152ece1145 100644 --- a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/stub/GrpcNotificationsApiServiceStub.java +++ b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/stub/GrpcNotificationsApiServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/stub/HttpJsonNotificationsApiServiceCallableFactory.java b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/stub/HttpJsonNotificationsApiServiceCallableFactory.java index 0b6169183f0e..4badb447ead8 100644 --- a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/stub/HttpJsonNotificationsApiServiceCallableFactory.java +++ b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/stub/HttpJsonNotificationsApiServiceCallableFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/stub/HttpJsonNotificationsApiServiceStub.java b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/stub/HttpJsonNotificationsApiServiceStub.java index ea614a830e7f..100129555139 100644 --- a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/stub/HttpJsonNotificationsApiServiceStub.java +++ b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/stub/HttpJsonNotificationsApiServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/stub/NotificationsApiServiceStub.java b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/stub/NotificationsApiServiceStub.java index 01bf8d6eb0c5..5a16165c570d 100644 --- a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/stub/NotificationsApiServiceStub.java +++ b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/stub/NotificationsApiServiceStub.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/stub/NotificationsApiServiceStubSettings.java b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/stub/NotificationsApiServiceStubSettings.java index 843ed13f52f2..c894b3e7f025 100644 --- a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/stub/NotificationsApiServiceStubSettings.java +++ b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/java/com/google/shopping/merchant/notifications/v1beta/stub/NotificationsApiServiceStubSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,6 +21,7 @@ import com.google.api.core.ApiFunction; import com.google.api.core.ApiFuture; import com.google.api.core.BetaApi; +import com.google.api.core.ObsoleteApi; import com.google.api.gax.core.GaxProperties; import com.google.api.gax.core.GoogleCredentialsProvider; import com.google.api.gax.core.InstantiatingExecutorProvider; @@ -56,9 +57,9 @@ import com.google.shopping.merchant.notifications.v1beta.NotificationSubscription; import com.google.shopping.merchant.notifications.v1beta.UpdateNotificationSubscriptionRequest; import java.io.IOException; +import java.time.Duration; import java.util.List; import javax.annotation.Generated; -import org.threeten.bp.Duration; // AUTO-GENERATED DOCUMENTATION AND CLASS. /** @@ -75,7 +76,9 @@ *

The builder of this class is recursive, so contained classes are themselves builders. When * build() is called, the tree of builders is called to create the complete settings object. * - *

For example, to set the total timeout of getNotificationSubscription to 30 seconds: + *

For example, to set the + * [RetrySettings](https://cloud.google.com/java/docs/reference/gax/latest/com.google.api.gax.retrying.RetrySettings) + * of getNotificationSubscription: * *

{@code
  * // This snippet has been automatically generated and should be regarded as a code template only.
@@ -92,11 +95,22 @@
  *             .getNotificationSubscriptionSettings()
  *             .getRetrySettings()
  *             .toBuilder()
- *             .setTotalTimeout(Duration.ofSeconds(30))
+ *             .setInitialRetryDelayDuration(Duration.ofSeconds(1))
+ *             .setInitialRpcTimeoutDuration(Duration.ofSeconds(5))
+ *             .setMaxAttempts(5)
+ *             .setMaxRetryDelayDuration(Duration.ofSeconds(30))
+ *             .setMaxRpcTimeoutDuration(Duration.ofSeconds(60))
+ *             .setRetryDelayMultiplier(1.3)
+ *             .setRpcTimeoutMultiplier(1.5)
+ *             .setTotalTimeoutDuration(Duration.ofSeconds(300))
  *             .build());
  * NotificationsApiServiceStubSettings notificationsApiServiceSettings =
  *     notificationsApiServiceSettingsBuilder.build();
  * }
+ * + * Please refer to the [Client Side Retry + * Guide](https://github.com/googleapis/google-cloud-java/blob/main/docs/client_retries.md) for + * additional support in setting retries. */ @BetaApi @Generated("by gapic-generator-java") @@ -163,9 +177,7 @@ public String extractNextToken(ListNotificationSubscriptionsResponse payload) { @Override public Iterable extractResources( ListNotificationSubscriptionsResponse payload) { - return payload.getNotificationSubscriptionsList() == null - ? ImmutableList.of() - : payload.getNotificationSubscriptionsList(); + return payload.getNotificationSubscriptionsList(); } }; @@ -262,6 +274,7 @@ public static InstantiatingExecutorProvider.Builder defaultExecutorProviderBuild } /** Returns the default service endpoint. */ + @ObsoleteApi("Use getEndpoint() instead") public static String getDefaultEndpoint() { return "merchantapi.googleapis.com:443"; } @@ -395,13 +408,13 @@ public static class Builder RetrySettings settings = null; settings = RetrySettings.newBuilder() - .setInitialRetryDelay(Duration.ofMillis(1000L)) + .setInitialRetryDelayDuration(Duration.ofMillis(1000L)) .setRetryDelayMultiplier(1.3) - .setMaxRetryDelay(Duration.ofMillis(10000L)) - .setInitialRpcTimeout(Duration.ofMillis(60000L)) + .setMaxRetryDelayDuration(Duration.ofMillis(10000L)) + .setInitialRpcTimeoutDuration(Duration.ofMillis(60000L)) .setRpcTimeoutMultiplier(1.0) - .setMaxRpcTimeout(Duration.ofMillis(60000L)) - .setTotalTimeout(Duration.ofMillis(60000L)) + .setMaxRpcTimeoutDuration(Duration.ofMillis(60000L)) + .setTotalTimeoutDuration(Duration.ofMillis(60000L)) .build(); definitions.put("retry_policy_0_params", settings); RETRY_PARAM_DEFINITIONS = definitions.build(); diff --git a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/resources/META-INF/native-image/com.google.shopping.merchant.notifications.v1beta/reflect-config.json b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/resources/META-INF/native-image/com.google.shopping.merchant.notifications.v1beta/reflect-config.json index a7ef1e302dd9..1b1b6e32501b 100644 --- a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/resources/META-INF/native-image/com.google.shopping.merchant.notifications.v1beta/reflect-config.json +++ b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/main/resources/META-INF/native-image/com.google.shopping.merchant.notifications.v1beta/reflect-config.json @@ -305,6 +305,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.api.PythonSettings$ExperimentalFeatures", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.PythonSettings$ExperimentalFeatures$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.api.ResourceDescriptor", "queryAllDeclaredConstructors": true, @@ -377,6 +395,24 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.api.SelectiveGapicGeneration", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.api.SelectiveGapicGeneration$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.protobuf.DescriptorProtos$DescriptorProto", "queryAllDeclaredConstructors": true, @@ -1465,5 +1501,32 @@ "allPublicMethods": true, "allDeclaredClasses": true, "allPublicClasses": true + }, + { + "name": "com.google.shopping.type.Weight", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.shopping.type.Weight$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.shopping.type.Weight$WeightUnit", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true } ] \ No newline at end of file diff --git a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/test/java/com/google/shopping/merchant/notifications/v1beta/MockNotificationsApiService.java b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/test/java/com/google/shopping/merchant/notifications/v1beta/MockNotificationsApiService.java index 0cd11a72f346..b6efc4e1b7eb 100644 --- a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/test/java/com/google/shopping/merchant/notifications/v1beta/MockNotificationsApiService.java +++ b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/test/java/com/google/shopping/merchant/notifications/v1beta/MockNotificationsApiService.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/test/java/com/google/shopping/merchant/notifications/v1beta/MockNotificationsApiServiceImpl.java b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/test/java/com/google/shopping/merchant/notifications/v1beta/MockNotificationsApiServiceImpl.java index c7dec97d8b4a..4e5eea0bcf1a 100644 --- a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/test/java/com/google/shopping/merchant/notifications/v1beta/MockNotificationsApiServiceImpl.java +++ b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/test/java/com/google/shopping/merchant/notifications/v1beta/MockNotificationsApiServiceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -74,7 +74,8 @@ public void getNotificationSubscription( responseObserver.onError( new IllegalArgumentException( String.format( - "Unrecognized response type %s for method GetNotificationSubscription, expected %s or %s", + "Unrecognized response type %s for method GetNotificationSubscription, expected" + + " %s or %s", response == null ? "null" : response.getClass().getName(), NotificationSubscription.class.getName(), Exception.class.getName()))); @@ -96,7 +97,8 @@ public void createNotificationSubscription( responseObserver.onError( new IllegalArgumentException( String.format( - "Unrecognized response type %s for method CreateNotificationSubscription, expected %s or %s", + "Unrecognized response type %s for method CreateNotificationSubscription," + + " expected %s or %s", response == null ? "null" : response.getClass().getName(), NotificationSubscription.class.getName(), Exception.class.getName()))); @@ -118,7 +120,8 @@ public void updateNotificationSubscription( responseObserver.onError( new IllegalArgumentException( String.format( - "Unrecognized response type %s for method UpdateNotificationSubscription, expected %s or %s", + "Unrecognized response type %s for method UpdateNotificationSubscription," + + " expected %s or %s", response == null ? "null" : response.getClass().getName(), NotificationSubscription.class.getName(), Exception.class.getName()))); @@ -139,7 +142,8 @@ public void deleteNotificationSubscription( responseObserver.onError( new IllegalArgumentException( String.format( - "Unrecognized response type %s for method DeleteNotificationSubscription, expected %s or %s", + "Unrecognized response type %s for method DeleteNotificationSubscription," + + " expected %s or %s", response == null ? "null" : response.getClass().getName(), Empty.class.getName(), Exception.class.getName()))); @@ -161,7 +165,8 @@ public void listNotificationSubscriptions( responseObserver.onError( new IllegalArgumentException( String.format( - "Unrecognized response type %s for method ListNotificationSubscriptions, expected %s or %s", + "Unrecognized response type %s for method ListNotificationSubscriptions, expected" + + " %s or %s", response == null ? "null" : response.getClass().getName(), ListNotificationSubscriptionsResponse.class.getName(), Exception.class.getName()))); diff --git a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/test/java/com/google/shopping/merchant/notifications/v1beta/NotificationsApiServiceClientHttpJsonTest.java b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/test/java/com/google/shopping/merchant/notifications/v1beta/NotificationsApiServiceClientHttpJsonTest.java index 282fec4ce0c4..80513bf60c2e 100644 --- a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/test/java/com/google/shopping/merchant/notifications/v1beta/NotificationsApiServiceClientHttpJsonTest.java +++ b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/test/java/com/google/shopping/merchant/notifications/v1beta/NotificationsApiServiceClientHttpJsonTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/test/java/com/google/shopping/merchant/notifications/v1beta/NotificationsApiServiceClientTest.java b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/test/java/com/google/shopping/merchant/notifications/v1beta/NotificationsApiServiceClientTest.java index 4be549a61b55..9acf8aac5005 100644 --- a/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/test/java/com/google/shopping/merchant/notifications/v1beta/NotificationsApiServiceClientTest.java +++ b/java-shopping-merchant-notifications/google-shopping-merchant-notifications/src/test/java/com/google/shopping/merchant/notifications/v1beta/NotificationsApiServiceClientTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/grpc-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/NotificationsApiServiceGrpc.java b/java-shopping-merchant-notifications/grpc-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/NotificationsApiServiceGrpc.java index 8496e90b473d..fb5ae2f16bed 100644 --- a/java-shopping-merchant-notifications/grpc-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/NotificationsApiServiceGrpc.java +++ b/java-shopping-merchant-notifications/grpc-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/NotificationsApiServiceGrpc.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -337,6 +337,19 @@ public NotificationsApiServiceStub newStub( return NotificationsApiServiceStub.newStub(factory, channel); } + /** Creates a new blocking-style stub that supports all types of calls on the service */ + public static NotificationsApiServiceBlockingV2Stub newBlockingV2Stub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public NotificationsApiServiceBlockingV2Stub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new NotificationsApiServiceBlockingV2Stub(channel, callOptions); + } + }; + return NotificationsApiServiceBlockingV2Stub.newStub(factory, channel); + } + /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ @@ -616,6 +629,111 @@ public void listNotificationSubscriptions( * Service to manage notification subscriptions for merchants * */ + public static final class NotificationsApiServiceBlockingV2Stub + extends io.grpc.stub.AbstractBlockingStub { + private NotificationsApiServiceBlockingV2Stub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected NotificationsApiServiceBlockingV2Stub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new NotificationsApiServiceBlockingV2Stub(channel, callOptions); + } + + /** + * + * + *
+     * Gets notification subscriptions for an account.
+     * 
+ */ + public com.google.shopping.merchant.notifications.v1beta.NotificationSubscription + getNotificationSubscription( + com.google.shopping.merchant.notifications.v1beta.GetNotificationSubscriptionRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetNotificationSubscriptionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a notification subscription for a merchant. We will allow the
+     * following types of notification subscriptions to exist together (per
+     * merchant as a subscriber per event type):
+     * 1. Subscription for all managed accounts + subscription for self
+     * 2. Multiple "partial" subscriptions for managed accounts + subscription
+     * for self
+     * we will not allow (per merchant as a subscriber per event type):
+     * 1. multiple self subscriptions.
+     * 2. multiple "all managed accounts" subscriptions.
+     * 3. all and partial subscriptions at the same time.
+     * 4. multiple partial subscriptions for the same target account
+     * 
+ */ + public com.google.shopping.merchant.notifications.v1beta.NotificationSubscription + createNotificationSubscription( + com.google.shopping.merchant.notifications.v1beta.CreateNotificationSubscriptionRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateNotificationSubscriptionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Updates an existing notification subscription for a merchant.
+     * 
+ */ + public com.google.shopping.merchant.notifications.v1beta.NotificationSubscription + updateNotificationSubscription( + com.google.shopping.merchant.notifications.v1beta.UpdateNotificationSubscriptionRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getUpdateNotificationSubscriptionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Deletes a notification subscription for a merchant.
+     * 
+ */ + public com.google.protobuf.Empty deleteNotificationSubscription( + com.google.shopping.merchant.notifications.v1beta.DeleteNotificationSubscriptionRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getDeleteNotificationSubscriptionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Gets all the notification subscriptions for a merchant.
+     * 
+ */ + public com.google.shopping.merchant.notifications.v1beta.ListNotificationSubscriptionsResponse + listNotificationSubscriptions( + com.google.shopping.merchant.notifications.v1beta.ListNotificationSubscriptionsRequest + request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListNotificationSubscriptionsMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do limited synchronous rpc calls to service NotificationsApiService. + * + *
+   * Service to manage notification subscriptions for merchants
+   * 
+ */ public static final class NotificationsApiServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { private NotificationsApiServiceBlockingStub( diff --git a/java-shopping-merchant-notifications/pom.xml b/java-shopping-merchant-notifications/pom.xml index bd51adf49c07..44cc139fa500 100644 --- a/java-shopping-merchant-notifications/pom.xml +++ b/java-shopping-merchant-notifications/pom.xml @@ -52,4 +52,4 @@ google-shopping-merchant-notifications-bom - + diff --git a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/AccountName.java b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/AccountName.java index efca22ad6b2f..ed939d31e4ad 100644 --- a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/AccountName.java +++ b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/AccountName.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/Attribute.java b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/Attribute.java index c225a71a65f2..712a3bbe61ad 100644 --- a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/Attribute.java +++ b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/Attribute.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/notifications/v1beta/notificationsapi.proto -// Protobuf Java Version: 3.25.3 +// Protobuf Java Version: 3.25.8 package com.google.shopping.merchant.notifications.v1beta; /** diff --git a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/CreateNotificationSubscriptionRequest.java b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/CreateNotificationSubscriptionRequest.java index dc512899b85d..6984424f62a8 100644 --- a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/CreateNotificationSubscriptionRequest.java +++ b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/CreateNotificationSubscriptionRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/notifications/v1beta/notificationsapi.proto -// Protobuf Java Version: 3.25.3 +// Protobuf Java Version: 3.25.8 package com.google.shopping.merchant.notifications.v1beta; /** diff --git a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/CreateNotificationSubscriptionRequestOrBuilder.java b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/CreateNotificationSubscriptionRequestOrBuilder.java index b40719ebacc8..24d6ab886af3 100644 --- a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/CreateNotificationSubscriptionRequestOrBuilder.java +++ b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/CreateNotificationSubscriptionRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/notifications/v1beta/notificationsapi.proto -// Protobuf Java Version: 3.25.3 +// Protobuf Java Version: 3.25.8 package com.google.shopping.merchant.notifications.v1beta; public interface CreateNotificationSubscriptionRequestOrBuilder diff --git a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/DeleteNotificationSubscriptionRequest.java b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/DeleteNotificationSubscriptionRequest.java index 0f53f9ab6140..81600672572a 100644 --- a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/DeleteNotificationSubscriptionRequest.java +++ b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/DeleteNotificationSubscriptionRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/notifications/v1beta/notificationsapi.proto -// Protobuf Java Version: 3.25.3 +// Protobuf Java Version: 3.25.8 package com.google.shopping.merchant.notifications.v1beta; /** diff --git a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/DeleteNotificationSubscriptionRequestOrBuilder.java b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/DeleteNotificationSubscriptionRequestOrBuilder.java index d6e110803571..ffe4155402e6 100644 --- a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/DeleteNotificationSubscriptionRequestOrBuilder.java +++ b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/DeleteNotificationSubscriptionRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/notifications/v1beta/notificationsapi.proto -// Protobuf Java Version: 3.25.3 +// Protobuf Java Version: 3.25.8 package com.google.shopping.merchant.notifications.v1beta; public interface DeleteNotificationSubscriptionRequestOrBuilder diff --git a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/GetNotificationSubscriptionRequest.java b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/GetNotificationSubscriptionRequest.java index ebada5cf8220..916f7bef5539 100644 --- a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/GetNotificationSubscriptionRequest.java +++ b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/GetNotificationSubscriptionRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/notifications/v1beta/notificationsapi.proto -// Protobuf Java Version: 3.25.3 +// Protobuf Java Version: 3.25.8 package com.google.shopping.merchant.notifications.v1beta; /** diff --git a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/GetNotificationSubscriptionRequestOrBuilder.java b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/GetNotificationSubscriptionRequestOrBuilder.java index 71a3b998d614..3253a4355027 100644 --- a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/GetNotificationSubscriptionRequestOrBuilder.java +++ b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/GetNotificationSubscriptionRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/notifications/v1beta/notificationsapi.proto -// Protobuf Java Version: 3.25.3 +// Protobuf Java Version: 3.25.8 package com.google.shopping.merchant.notifications.v1beta; public interface GetNotificationSubscriptionRequestOrBuilder diff --git a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ListNotificationSubscriptionsRequest.java b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ListNotificationSubscriptionsRequest.java index ee848de7a22f..cdcfedb4991c 100644 --- a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ListNotificationSubscriptionsRequest.java +++ b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ListNotificationSubscriptionsRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/notifications/v1beta/notificationsapi.proto -// Protobuf Java Version: 3.25.3 +// Protobuf Java Version: 3.25.8 package com.google.shopping.merchant.notifications.v1beta; /** diff --git a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ListNotificationSubscriptionsRequestOrBuilder.java b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ListNotificationSubscriptionsRequestOrBuilder.java index ac2f7bfca66c..3bd36592a7c4 100644 --- a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ListNotificationSubscriptionsRequestOrBuilder.java +++ b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ListNotificationSubscriptionsRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/notifications/v1beta/notificationsapi.proto -// Protobuf Java Version: 3.25.3 +// Protobuf Java Version: 3.25.8 package com.google.shopping.merchant.notifications.v1beta; public interface ListNotificationSubscriptionsRequestOrBuilder diff --git a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ListNotificationSubscriptionsResponse.java b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ListNotificationSubscriptionsResponse.java index 1a384735129e..fcfeb2479e10 100644 --- a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ListNotificationSubscriptionsResponse.java +++ b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ListNotificationSubscriptionsResponse.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/notifications/v1beta/notificationsapi.proto -// Protobuf Java Version: 3.25.3 +// Protobuf Java Version: 3.25.8 package com.google.shopping.merchant.notifications.v1beta; /** diff --git a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ListNotificationSubscriptionsResponseOrBuilder.java b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ListNotificationSubscriptionsResponseOrBuilder.java index a7b051191862..8d9d79fb02db 100644 --- a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ListNotificationSubscriptionsResponseOrBuilder.java +++ b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ListNotificationSubscriptionsResponseOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/notifications/v1beta/notificationsapi.proto -// Protobuf Java Version: 3.25.3 +// Protobuf Java Version: 3.25.8 package com.google.shopping.merchant.notifications.v1beta; public interface ListNotificationSubscriptionsResponseOrBuilder diff --git a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/NotificationSubscription.java b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/NotificationSubscription.java index 0f0c142aa14d..07cc23bd9619 100644 --- a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/NotificationSubscription.java +++ b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/NotificationSubscription.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/notifications/v1beta/notificationsapi.proto -// Protobuf Java Version: 3.25.3 +// Protobuf Java Version: 3.25.8 package com.google.shopping.merchant.notifications.v1beta; /** diff --git a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/NotificationSubscriptionName.java b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/NotificationSubscriptionName.java index 83fba705b64f..91b572352fb3 100644 --- a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/NotificationSubscriptionName.java +++ b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/NotificationSubscriptionName.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/NotificationSubscriptionOrBuilder.java b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/NotificationSubscriptionOrBuilder.java index 7240c840e86c..91dbc560eb06 100644 --- a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/NotificationSubscriptionOrBuilder.java +++ b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/NotificationSubscriptionOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/notifications/v1beta/notificationsapi.proto -// Protobuf Java Version: 3.25.3 +// Protobuf Java Version: 3.25.8 package com.google.shopping.merchant.notifications.v1beta; public interface NotificationSubscriptionOrBuilder diff --git a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/NotificationsApiProto.java b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/NotificationsApiProto.java index 82c0ee00a6bb..bf84a2fe7f64 100644 --- a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/NotificationsApiProto.java +++ b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/NotificationsApiProto.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/notifications/v1beta/notificationsapi.proto -// Protobuf Java Version: 3.25.3 +// Protobuf Java Version: 3.25.8 package com.google.shopping.merchant.notifications.v1beta; public final class NotificationsApiProto { @@ -73,118 +73,117 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { static { java.lang.String[] descriptorData = { - "\nDgoogle/shopping/merchant/notifications" - + "/v1beta/notificationsapi.proto\022-google.s" + "\n" + + "Dgoogle/shopping/merchant/notifications/v1beta/notificationsapi.proto\022-google.s" + "hopping.merchant.notifications.v1beta\032\034g" + "oogle/api/annotations.proto\032\027google/api/" + "client.proto\032\037google/api/field_behavior." - + "proto\032\031google/api/resource.proto\032\033google" - + "/protobuf/empty.proto\032 google/protobuf/f" - + "ield_mask.proto\032 google/shopping/type/ty" - + "pes.proto\"o\n\"GetNotificationSubscription" - + "Request\022I\n\004name\030\001 \001(\tB;\340A\002\372A5\n3merchanta" - + "pi.googleapis.com/NotificationSubscripti" - + "on\"\345\001\n%CreateNotificationSubscriptionReq" - + "uest\022K\n\006parent\030\001 \001(\tB;\340A\002\372A5\0223merchantap" - + "i.googleapis.com/NotificationSubscriptio" - + "n\022o\n\031notification_subscription\030\002 \001(\0132G.g" - + "oogle.shopping.merchant.notifications.v1" - + "beta.NotificationSubscriptionB\003\340A\002\"\311\001\n%U" - + "pdateNotificationSubscriptionRequest\022o\n\031" - + "notification_subscription\030\001 \001(\0132G.google" - + ".shopping.merchant.notifications.v1beta." - + "NotificationSubscriptionB\003\340A\002\022/\n\013update_" - + "mask\030\002 \001(\0132\032.google.protobuf.FieldMask\"r" - + "\n%DeleteNotificationSubscriptionRequest\022" - + "I\n\004name\030\001 \001(\tB;\340A\002\372A5\n3merchantapi.googl" - + "eapis.com/NotificationSubscription\"\232\001\n$L" - + "istNotificationSubscriptionsRequest\022K\n\006p" - + "arent\030\001 \001(\tB;\340A\002\372A5\0223merchantapi.googlea" - + "pis.com/NotificationSubscription\022\021\n\tpage" - + "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\255\001\n%List" - + "NotificationSubscriptionsResponse\022k\n\032not" - + "ification_subscriptions\030\001 \003(\0132G.google.s" - + "hopping.merchant.notifications.v1beta.No" - + "tificationSubscription\022\027\n\017next_page_toke" - + "n\030\002 \001(\t\"\352\003\n\030NotificationSubscription\022\036\n\024" - + "all_managed_accounts\030\003 \001(\010H\000\022\030\n\016target_a" - + "ccount\030\004 \001(\tH\000\022\021\n\004name\030\001 \001(\tB\003\340A\003\022w\n\020reg" - + "istered_event\030\002 \001(\0162].google.shopping.me" - + "rchant.notifications.v1beta.Notification" - + "Subscription.NotificationEventType\022\025\n\rca" - + "ll_back_uri\030\005 \001(\t\"[\n\025NotificationEventTy" - + "pe\022\'\n#NOTIFICATION_EVENT_TYPE_UNSPECIFIE" - + "D\020\000\022\031\n\025PRODUCT_STATUS_CHANGE\020\001:\202\001\352A\177\n3me" - + "rchantapi.googleapis.com/NotificationSub" - + "scription\022Haccounts/{account}/notificati" - + "onsubscriptions/{notification_subscripti" - + "on}B\017\n\rinterested_in\"\370\001\n\rProductChange\022\026" - + "\n\told_value\030\001 \001(\tH\000\210\001\001\022\026\n\tnew_value\030\002 \001(" - + "\tH\001\210\001\001\022\030\n\013region_code\030\003 \001(\tH\002\210\001\001\022[\n\021repo" - + "rting_context\030\004 \001(\0162;.google.shopping.ty" - + "pe.ReportingContext.ReportingContextEnum" - + "H\003\210\001\001B\014\n\n_old_valueB\014\n\n_new_valueB\016\n\014_re" - + "gion_codeB\024\n\022_reporting_context\"\326\003\n\032Prod" - + "uctStatusChangeMessage\022\024\n\007account\030\001 \001(\tH" - + "\000\210\001\001\022\035\n\020managing_account\030\002 \001(\tH\001\210\001\001\022S\n\rr" - + "esource_type\030\003 \001(\01627.google.shopping.mer" - + "chant.notifications.v1beta.ResourceH\002\210\001\001" - + "\022P\n\tattribute\030\004 \001(\01628.google.shopping.me" - + "rchant.notifications.v1beta.AttributeH\003\210" - + "\001\001\022M\n\007changes\030\005 \003(\0132<.google.shopping.me" - + "rchant.notifications.v1beta.ProductChang" - + "e\022\030\n\013resource_id\030\006 \001(\tH\004\210\001\001\022\025\n\010resource\030" - + "\007 \001(\tH\005\210\001\001B\n\n\010_accountB\023\n\021_managing_acco" - + "untB\020\n\016_resource_typeB\014\n\n_attributeB\016\n\014_" - + "resource_idB\013\n\t_resource*1\n\010Resource\022\030\n\024" - + "RESOURCE_UNSPECIFIED\020\000\022\013\n\007PRODUCT\020\001*2\n\tA" - + "ttribute\022\031\n\025ATTRIBUTE_UNSPECIFIED\020\000\022\n\n\006S" - + "TATUS\020\0012\265\014\n\027NotificationsApiService\022\215\002\n\033" - + "GetNotificationSubscription\022Q.google.sho" - + "pping.merchant.notifications.v1beta.GetN" - + "otificationSubscriptionRequest\032G.google." + + "proto\032\031google/api/resource.proto\032\033google/protobuf/empty.proto\032" + + " google/protobuf/field_mask.proto\032 google/shopping/type/types.proto\"o\n" + + "\"GetNotificationSubscriptionRequest\022I\n" + + "\004name\030\001 \001(\tB;\340A\002\372A5\n" + + "3merchantapi.googleapis.com/NotificationSubscription\"\345\001\n" + + "%CreateNotificationSubscriptionRequest\022K\n" + + "\006parent\030\001 \001(\tB;\340A\002\372A5\0223merchantap" + + "i.googleapis.com/NotificationSubscription\022o\n" + + "\031notification_subscription\030\002 \001(\0132G.g" + + "oogle.shopping.merchant.notifications.v1beta.NotificationSubscriptionB\003\340A\002\"\311\001\n" + + "%UpdateNotificationSubscriptionRequest\022o\n" + + "\031notification_subscription\030\001 \001(\0132G.google" + + ".shopping.merchant.notifications.v1beta.NotificationSubscriptionB\003\340A\002\022/\n" + + "\013update_mask\030\002 \001(\0132\032.google.protobuf.FieldMask\"r\n" + + "%DeleteNotificationSubscriptionRequest\022I\n" + + "\004name\030\001 \001(\tB;\340A\002\372A5\n" + + "3merchantapi.googleapis.com/NotificationSubscription\"\232\001\n" + + "$ListNotificationSubscriptionsRequest\022K\n" + + "\006parent\030\001 \001(" + + "\tB;\340A\002\372A5\0223merchantapi.googleapis.com/NotificationSubscription\022\021\n" + + "\tpage_size\030\002 \001(\005\022\022\n\n" + + "page_token\030\003 \001(\t\"\255\001\n" + + "%ListNotificationSubscriptionsResponse\022k\n" + + "\032notification_subscriptions\030\001 \003(\0132G.google.s" + + "hopping.merchant.notifications.v1beta.NotificationSubscription\022\027\n" + + "\017next_page_token\030\002 \001(\t\"\352\003\n" + + "\030NotificationSubscription\022\036\n" + + "\024all_managed_accounts\030\003 \001(\010H\000\022\030\n" + + "\016target_account\030\004 \001(\tH\000\022\021\n" + + "\004name\030\001 \001(\tB\003\340A\003\022w\n" + + "\020registered_event\030\002 \001(\0162].google.shopping.me" + + "rchant.notifications.v1beta.NotificationSubscription.NotificationEventType\022\025\n\r" + + "call_back_uri\030\005 \001(\t\"[\n" + + "\025NotificationEventType\022\'\n" + + "#NOTIFICATION_EVENT_TYPE_UNSPECIFIED\020\000\022\031\n" + + "\025PRODUCT_STATUS_CHANGE\020\001:\202\001\352A\177\n" + + "3merchantapi.googleapis.com/NotificationSubscription\022Haccounts/{account}/notificati" + + "onsubscriptions/{notification_subscription}B\017\n\r" + + "interested_in\"\370\001\n\r" + + "ProductChange\022\026\n" + + "\told_value\030\001 \001(\tH\000\210\001\001\022\026\n" + + "\tnew_value\030\002 \001(\tH\001\210\001\001\022\030\n" + + "\013region_code\030\003 \001(\tH\002\210\001\001\022[\n" + + "\021reporting_context\030\004 \001(\0162;.google.shopping.ty" + + "pe.ReportingContext.ReportingContextEnumH\003\210\001\001B\014\n\n" + + "_old_valueB\014\n\n" + + "_new_valueB\016\n" + + "\014_region_codeB\024\n" + + "\022_reporting_context\"\326\003\n" + + "\032ProductStatusChangeMessage\022\024\n" + + "\007account\030\001 \001(\tH\000\210\001\001\022\035\n" + + "\020managing_account\030\002 \001(\tH\001\210\001\001\022S\n\r" + + "resource_type\030\003 \001(\01627.google.shopping.mer" + + "chant.notifications.v1beta.ResourceH\002\210\001\001\022P\n" + + "\tattribute\030\004 \001(\01628.google.shopping.me" + + "rchant.notifications.v1beta.AttributeH\003\210\001\001\022M\n" + + "\007changes\030\005 \003(\0132<.google.shopping.me" + + "rchant.notifications.v1beta.ProductChange\022\030\n" + + "\013resource_id\030\006 \001(\tH\004\210\001\001\022\025\n" + + "\010resource\030\007 \001(\tH\005\210\001\001B\n\n" + + "\010_accountB\023\n" + + "\021_managing_accountB\020\n" + + "\016_resource_typeB\014\n\n" + + "_attributeB\016\n" + + "\014_resource_idB\013\n" + + "\t_resource*1\n" + + "\010Resource\022\030\n" + + "\024RESOURCE_UNSPECIFIED\020\000\022\013\n" + + "\007PRODUCT\020\001*2\n" + + "\tAttribute\022\031\n" + + "\025ATTRIBUTE_UNSPECIFIED\020\000\022\n\n" + + "\006STATUS\020\0012\265\014\n" + + "\027NotificationsApiService\022\215\002\n" + + "\033GetNotificationSubscription\022Q.google.sho" + + "pping.merchant.notifications.v1beta.GetNotificationSubscriptionRequest\032G.google." + "shopping.merchant.notifications.v1beta.N" + "otificationSubscription\"R\332A\004name\202\323\344\223\002E\022C" - + "/notifications/v1beta/{name=accounts/*/n" - + "otificationsubscriptions/*}\022\313\002\n\036CreateNo" - + "tificationSubscription\022T.google.shopping" - + ".merchant.notifications.v1beta.CreateNot" - + "ificationSubscriptionRequest\032G.google.sh" - + "opping.merchant.notifications.v1beta.Not" - + "ificationSubscription\"\211\001\332A parent,notifi" - + "cation_subscription\202\323\344\223\002`\"C/notification" + + "/notifications/v1beta/{name=accounts/*/notificationsubscriptions/*}\022\313\002\n" + + "\036CreateNotificationSubscription\022T.google.shopping" + + ".merchant.notifications.v1beta.CreateNotificationSubscriptionRequest\032G.google.sh" + + "opping.merchant.notifications.v1beta.NotificationSubscription\"\211\001\332A" + + " parent,notification_subscription\202\323\344\223\002`\"C/notification" + "s/v1beta/{parent=accounts/*}/notificatio" - + "nsubscriptions:\031notification_subscriptio" - + "n\022\352\002\n\036UpdateNotificationSubscription\022T.g" - + "oogle.shopping.merchant.notifications.v1" - + "beta.UpdateNotificationSubscriptionReque" - + "st\032G.google.shopping.merchant.notificati" + + "nsubscriptions:\031notification_subscription\022\352\002\n" + + "\036UpdateNotificationSubscription\022T.google.shopping.merchant.notifications.v1" + + "beta.UpdateNotificationSubscriptionRequest\032G.google.shopping.merchant.notificati" + "ons.v1beta.NotificationSubscription\"\250\001\332A" + "%notification_subscription,update_mask\202\323" + "\344\223\002z2]/notifications/v1beta/{notificatio" + "n_subscription.name=accounts/*/notificat" - + "ionsubscriptions/*}:\031notification_subscr" - + "iption\022\342\001\n\036DeleteNotificationSubscriptio" - + "n\022T.google.shopping.merchant.notificatio" + + "ionsubscriptions/*}:\031notification_subscription\022\342\001\n" + + "\036DeleteNotificationSubscription\022T.google.shopping.merchant.notificatio" + "ns.v1beta.DeleteNotificationSubscription" + "Request\032\026.google.protobuf.Empty\"R\332A\004name" - + "\202\323\344\223\002E*C/notifications/v1beta/{name=acco" - + "unts/*/notificationsubscriptions/*}\022\240\002\n\035" - + "ListNotificationSubscriptions\022S.google.s" - + "hopping.merchant.notifications.v1beta.Li" - + "stNotificationSubscriptionsRequest\032T.goo" - + "gle.shopping.merchant.notifications.v1be" - + "ta.ListNotificationSubscriptionsResponse" + + "\202\323\344\223\002E*C/notifications/v1beta/{name=accounts/*/notificationsubscriptions/*}\022\240\002\n" + + "\035ListNotificationSubscriptions\022S.google.s" + + "hopping.merchant.notifications.v1beta.ListNotificationSubscriptionsRequest\032T.goo" + + "gle.shopping.merchant.notifications.v1beta.ListNotificationSubscriptionsResponse" + "\"T\332A\006parent\202\323\344\223\002E\022C/notifications/v1beta" + "/{parent=accounts/*}/notificationsubscri" + "ptions\032G\312A\032merchantapi.googleapis.com\322A\'" - + "https://www.googleapis.com/auth/contentB" - + "\346\001\n1com.google.shopping.merchant.notific" - + "ations.v1betaB\025NotificationsApiProtoP\001Z]" + + "https://www.googleapis.com/auth/contentB\346\001\n" + + "1com.google.shopping.merchant.notifications.v1betaB\025NotificationsApiProtoP\001Z]" + "cloud.google.com/go/shopping/merchant/no" - + "tifications/apiv1beta/notificationspb;no" - + "tificationspb\352A8\n\"merchantapi.googleapis" - + ".com/Account\022\022accounts/{account}b\006proto3" + + "tifications/apiv1beta/notificationspb;notificationspb\352A8\n" + + "\"merchantapi.googleapis.com/Account\022\022accounts/{account}b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ProductChange.java b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ProductChange.java index 35b8a40acdde..9a4ed7cfc82e 100644 --- a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ProductChange.java +++ b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ProductChange.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/notifications/v1beta/notificationsapi.proto -// Protobuf Java Version: 3.25.3 +// Protobuf Java Version: 3.25.8 package com.google.shopping.merchant.notifications.v1beta; /** diff --git a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ProductChangeOrBuilder.java b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ProductChangeOrBuilder.java index 907fdc3d4442..487960eb2cdb 100644 --- a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ProductChangeOrBuilder.java +++ b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ProductChangeOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/notifications/v1beta/notificationsapi.proto -// Protobuf Java Version: 3.25.3 +// Protobuf Java Version: 3.25.8 package com.google.shopping.merchant.notifications.v1beta; public interface ProductChangeOrBuilder diff --git a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ProductStatusChangeMessage.java b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ProductStatusChangeMessage.java index 0e5c983a6439..a7c57930fa6e 100644 --- a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ProductStatusChangeMessage.java +++ b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ProductStatusChangeMessage.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/notifications/v1beta/notificationsapi.proto -// Protobuf Java Version: 3.25.3 +// Protobuf Java Version: 3.25.8 package com.google.shopping.merchant.notifications.v1beta; /** diff --git a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ProductStatusChangeMessageOrBuilder.java b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ProductStatusChangeMessageOrBuilder.java index 9c9e21c8bde3..8be8db1e51cf 100644 --- a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ProductStatusChangeMessageOrBuilder.java +++ b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/ProductStatusChangeMessageOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/notifications/v1beta/notificationsapi.proto -// Protobuf Java Version: 3.25.3 +// Protobuf Java Version: 3.25.8 package com.google.shopping.merchant.notifications.v1beta; public interface ProductStatusChangeMessageOrBuilder diff --git a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/Resource.java b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/Resource.java index fefa7ce69f98..3b5829a10a24 100644 --- a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/Resource.java +++ b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/Resource.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/notifications/v1beta/notificationsapi.proto -// Protobuf Java Version: 3.25.3 +// Protobuf Java Version: 3.25.8 package com.google.shopping.merchant.notifications.v1beta; /** diff --git a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/UpdateNotificationSubscriptionRequest.java b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/UpdateNotificationSubscriptionRequest.java index ec60440c60c7..e642a2ff006a 100644 --- a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/UpdateNotificationSubscriptionRequest.java +++ b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/UpdateNotificationSubscriptionRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/notifications/v1beta/notificationsapi.proto -// Protobuf Java Version: 3.25.3 +// Protobuf Java Version: 3.25.8 package com.google.shopping.merchant.notifications.v1beta; /** diff --git a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/UpdateNotificationSubscriptionRequestOrBuilder.java b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/UpdateNotificationSubscriptionRequestOrBuilder.java index 997471e9f3f0..70f492a8a58a 100644 --- a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/UpdateNotificationSubscriptionRequestOrBuilder.java +++ b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/java/com/google/shopping/merchant/notifications/v1beta/UpdateNotificationSubscriptionRequestOrBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,7 +16,7 @@ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/notifications/v1beta/notificationsapi.proto -// Protobuf Java Version: 3.25.3 +// Protobuf Java Version: 3.25.8 package com.google.shopping.merchant.notifications.v1beta; public interface UpdateNotificationSubscriptionRequestOrBuilder diff --git a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/proto/google/shopping/merchant/notifications/v1beta/notificationsapi.proto b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/proto/google/shopping/merchant/notifications/v1beta/notificationsapi.proto index 03052c8e1fe2..fc55a1d310ab 100644 --- a/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/proto/google/shopping/merchant/notifications/v1beta/notificationsapi.proto +++ b/java-shopping-merchant-notifications/proto-google-shopping-merchant-notifications-v1beta/src/main/proto/google/shopping/merchant/notifications/v1beta/notificationsapi.proto @@ -1,4 +1,4 @@ -// Copyright 2023 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/create/SyncCreateSetCredentialsProvider.java b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/create/SyncCreateSetCredentialsProvider.java index 14719047a319..ab48abdd0ba0 100644 --- a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/create/SyncCreateSetCredentialsProvider.java +++ b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/create/SyncCreateSetCredentialsProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/create/SyncCreateSetEndpoint.java b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/create/SyncCreateSetEndpoint.java index d2325d7bada1..97269c25d6e8 100644 --- a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/create/SyncCreateSetEndpoint.java +++ b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/create/SyncCreateSetEndpoint.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/create/SyncCreateSetCredentialsProvider1.java b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/create/SyncCreateUseHttpJsonTransport.java similarity index 86% rename from java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/create/SyncCreateSetCredentialsProvider1.java rename to java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/create/SyncCreateUseHttpJsonTransport.java index 94079c89188c..159aa3d33a97 100644 --- a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/create/SyncCreateSetCredentialsProvider1.java +++ b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/create/SyncCreateUseHttpJsonTransport.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,17 +16,17 @@ package com.google.shopping.merchant.notifications.v1beta.samples; -// [START merchantapi_v1beta_generated_NotificationsApiService_Create_SetCredentialsProvider1_sync] +// [START merchantapi_v1beta_generated_NotificationsApiService_Create_UseHttpJsonTransport_sync] import com.google.shopping.merchant.notifications.v1beta.NotificationsApiServiceClient; import com.google.shopping.merchant.notifications.v1beta.NotificationsApiServiceSettings; -public class SyncCreateSetCredentialsProvider1 { +public class SyncCreateUseHttpJsonTransport { public static void main(String[] args) throws Exception { - syncCreateSetCredentialsProvider1(); + syncCreateUseHttpJsonTransport(); } - public static void syncCreateSetCredentialsProvider1() throws Exception { + public static void syncCreateUseHttpJsonTransport() throws Exception { // This snippet has been automatically generated and should be regarded as a code template only. // It will require modifications to work: // - It may require correct/in-range values for request initialization. @@ -38,4 +38,4 @@ public static void syncCreateSetCredentialsProvider1() throws Exception { NotificationsApiServiceClient.create(notificationsApiServiceSettings); } } -// [END merchantapi_v1beta_generated_NotificationsApiService_Create_SetCredentialsProvider1_sync] +// [END merchantapi_v1beta_generated_NotificationsApiService_Create_UseHttpJsonTransport_sync] diff --git a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/createnotificationsubscription/AsyncCreateNotificationSubscription.java b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/createnotificationsubscription/AsyncCreateNotificationSubscription.java index d3712df43ffc..75c395b73fbb 100644 --- a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/createnotificationsubscription/AsyncCreateNotificationSubscription.java +++ b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/createnotificationsubscription/AsyncCreateNotificationSubscription.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/createnotificationsubscription/SyncCreateNotificationSubscription.java b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/createnotificationsubscription/SyncCreateNotificationSubscription.java index b8d4506ad625..aaf1f091bb91 100644 --- a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/createnotificationsubscription/SyncCreateNotificationSubscription.java +++ b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/createnotificationsubscription/SyncCreateNotificationSubscription.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/createnotificationsubscription/SyncCreateNotificationSubscriptionAccountnameNotificationsubscription.java b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/createnotificationsubscription/SyncCreateNotificationSubscriptionAccountnameNotificationsubscription.java index bc141b947671..1231bf1ae892 100644 --- a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/createnotificationsubscription/SyncCreateNotificationSubscriptionAccountnameNotificationsubscription.java +++ b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/createnotificationsubscription/SyncCreateNotificationSubscriptionAccountnameNotificationsubscription.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/createnotificationsubscription/SyncCreateNotificationSubscriptionStringNotificationsubscription.java b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/createnotificationsubscription/SyncCreateNotificationSubscriptionStringNotificationsubscription.java index 1f26edb0af70..f42d0b02a4f1 100644 --- a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/createnotificationsubscription/SyncCreateNotificationSubscriptionStringNotificationsubscription.java +++ b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/createnotificationsubscription/SyncCreateNotificationSubscriptionStringNotificationsubscription.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/deletenotificationsubscription/AsyncDeleteNotificationSubscription.java b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/deletenotificationsubscription/AsyncDeleteNotificationSubscription.java index 1d1d2f01a82e..8aa6d547eb75 100644 --- a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/deletenotificationsubscription/AsyncDeleteNotificationSubscription.java +++ b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/deletenotificationsubscription/AsyncDeleteNotificationSubscription.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/deletenotificationsubscription/SyncDeleteNotificationSubscription.java b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/deletenotificationsubscription/SyncDeleteNotificationSubscription.java index da4c86c64c5c..0f5abd070877 100644 --- a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/deletenotificationsubscription/SyncDeleteNotificationSubscription.java +++ b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/deletenotificationsubscription/SyncDeleteNotificationSubscription.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/deletenotificationsubscription/SyncDeleteNotificationSubscriptionNotificationsubscriptionname.java b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/deletenotificationsubscription/SyncDeleteNotificationSubscriptionNotificationsubscriptionname.java index 4862a75becf1..251e735ea6dc 100644 --- a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/deletenotificationsubscription/SyncDeleteNotificationSubscriptionNotificationsubscriptionname.java +++ b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/deletenotificationsubscription/SyncDeleteNotificationSubscriptionNotificationsubscriptionname.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/deletenotificationsubscription/SyncDeleteNotificationSubscriptionString.java b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/deletenotificationsubscription/SyncDeleteNotificationSubscriptionString.java index a3f3b21f1c6e..661554f6f2f2 100644 --- a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/deletenotificationsubscription/SyncDeleteNotificationSubscriptionString.java +++ b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/deletenotificationsubscription/SyncDeleteNotificationSubscriptionString.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/getnotificationsubscription/AsyncGetNotificationSubscription.java b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/getnotificationsubscription/AsyncGetNotificationSubscription.java index e7a0059b72d2..8b9bfee9bafe 100644 --- a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/getnotificationsubscription/AsyncGetNotificationSubscription.java +++ b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/getnotificationsubscription/AsyncGetNotificationSubscription.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/getnotificationsubscription/SyncGetNotificationSubscription.java b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/getnotificationsubscription/SyncGetNotificationSubscription.java index 148e5ede3045..b57657b7e97b 100644 --- a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/getnotificationsubscription/SyncGetNotificationSubscription.java +++ b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/getnotificationsubscription/SyncGetNotificationSubscription.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/getnotificationsubscription/SyncGetNotificationSubscriptionNotificationsubscriptionname.java b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/getnotificationsubscription/SyncGetNotificationSubscriptionNotificationsubscriptionname.java index f528dd272395..1dae246c7305 100644 --- a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/getnotificationsubscription/SyncGetNotificationSubscriptionNotificationsubscriptionname.java +++ b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/getnotificationsubscription/SyncGetNotificationSubscriptionNotificationsubscriptionname.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/getnotificationsubscription/SyncGetNotificationSubscriptionString.java b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/getnotificationsubscription/SyncGetNotificationSubscriptionString.java index 6cdfa542c947..9442e0dc0a24 100644 --- a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/getnotificationsubscription/SyncGetNotificationSubscriptionString.java +++ b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/getnotificationsubscription/SyncGetNotificationSubscriptionString.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/listnotificationsubscriptions/AsyncListNotificationSubscriptions.java b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/listnotificationsubscriptions/AsyncListNotificationSubscriptions.java index 173b8fc5b42a..94f1bcb38a0f 100644 --- a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/listnotificationsubscriptions/AsyncListNotificationSubscriptions.java +++ b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/listnotificationsubscriptions/AsyncListNotificationSubscriptions.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/listnotificationsubscriptions/AsyncListNotificationSubscriptionsPaged.java b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/listnotificationsubscriptions/AsyncListNotificationSubscriptionsPaged.java index 7f36255b8e8c..0b0408ef04a9 100644 --- a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/listnotificationsubscriptions/AsyncListNotificationSubscriptionsPaged.java +++ b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/listnotificationsubscriptions/AsyncListNotificationSubscriptionsPaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/listnotificationsubscriptions/SyncListNotificationSubscriptions.java b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/listnotificationsubscriptions/SyncListNotificationSubscriptions.java index 884e4d3fd685..22a1be3a370c 100644 --- a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/listnotificationsubscriptions/SyncListNotificationSubscriptions.java +++ b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/listnotificationsubscriptions/SyncListNotificationSubscriptions.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/listnotificationsubscriptions/SyncListNotificationSubscriptionsAccountname.java b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/listnotificationsubscriptions/SyncListNotificationSubscriptionsAccountname.java index 2e1f70864b64..62811f8628cf 100644 --- a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/listnotificationsubscriptions/SyncListNotificationSubscriptionsAccountname.java +++ b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/listnotificationsubscriptions/SyncListNotificationSubscriptionsAccountname.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/listnotificationsubscriptions/SyncListNotificationSubscriptionsString.java b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/listnotificationsubscriptions/SyncListNotificationSubscriptionsString.java index 3e7a13a84216..60cdb75dc3c2 100644 --- a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/listnotificationsubscriptions/SyncListNotificationSubscriptionsString.java +++ b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/listnotificationsubscriptions/SyncListNotificationSubscriptionsString.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/updatenotificationsubscription/AsyncUpdateNotificationSubscription.java b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/updatenotificationsubscription/AsyncUpdateNotificationSubscription.java index addedfe1ce79..58008f8e3aae 100644 --- a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/updatenotificationsubscription/AsyncUpdateNotificationSubscription.java +++ b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/updatenotificationsubscription/AsyncUpdateNotificationSubscription.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/updatenotificationsubscription/SyncUpdateNotificationSubscription.java b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/updatenotificationsubscription/SyncUpdateNotificationSubscription.java index 2513fd068136..960512472e84 100644 --- a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/updatenotificationsubscription/SyncUpdateNotificationSubscription.java +++ b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/updatenotificationsubscription/SyncUpdateNotificationSubscription.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/updatenotificationsubscription/SyncUpdateNotificationSubscriptionNotificationsubscriptionFieldmask.java b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/updatenotificationsubscription/SyncUpdateNotificationSubscriptionNotificationsubscriptionFieldmask.java index 316d470b79c7..32b78ae10ecc 100644 --- a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/updatenotificationsubscription/SyncUpdateNotificationSubscriptionNotificationsubscriptionFieldmask.java +++ b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservice/updatenotificationsubscription/SyncUpdateNotificationSubscriptionNotificationsubscriptionFieldmask.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservicesettings/getnotificationsubscription/SyncGetNotificationSubscription.java b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservicesettings/getnotificationsubscription/SyncGetNotificationSubscription.java index ff2822294bd7..0664bab5258c 100644 --- a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservicesettings/getnotificationsubscription/SyncGetNotificationSubscription.java +++ b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/notificationsapiservicesettings/getnotificationsubscription/SyncGetNotificationSubscription.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,7 +41,14 @@ public static void syncGetNotificationSubscription() throws Exception { .getNotificationSubscriptionSettings() .getRetrySettings() .toBuilder() - .setTotalTimeout(Duration.ofSeconds(30)) + .setInitialRetryDelayDuration(Duration.ofSeconds(1)) + .setInitialRpcTimeoutDuration(Duration.ofSeconds(5)) + .setMaxAttempts(5) + .setMaxRetryDelayDuration(Duration.ofSeconds(30)) + .setMaxRpcTimeoutDuration(Duration.ofSeconds(60)) + .setRetryDelayMultiplier(1.3) + .setRpcTimeoutMultiplier(1.5) + .setTotalTimeoutDuration(Duration.ofSeconds(300)) .build()); NotificationsApiServiceSettings notificationsApiServiceSettings = notificationsApiServiceSettingsBuilder.build(); diff --git a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/stub/notificationsapiservicestubsettings/getnotificationsubscription/SyncGetNotificationSubscription.java b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/stub/notificationsapiservicestubsettings/getnotificationsubscription/SyncGetNotificationSubscription.java index cf640f8a6d0f..0106b27a6eb7 100644 --- a/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/stub/notificationsapiservicestubsettings/getnotificationsubscription/SyncGetNotificationSubscription.java +++ b/java-shopping-merchant-notifications/samples/snippets/generated/com/google/shopping/merchant/notifications/v1beta/stub/notificationsapiservicestubsettings/getnotificationsubscription/SyncGetNotificationSubscription.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 Google LLC + * Copyright 2025 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,7 +41,14 @@ public static void syncGetNotificationSubscription() throws Exception { .getNotificationSubscriptionSettings() .getRetrySettings() .toBuilder() - .setTotalTimeout(Duration.ofSeconds(30)) + .setInitialRetryDelayDuration(Duration.ofSeconds(1)) + .setInitialRpcTimeoutDuration(Duration.ofSeconds(5)) + .setMaxAttempts(5) + .setMaxRetryDelayDuration(Duration.ofSeconds(30)) + .setMaxRpcTimeoutDuration(Duration.ofSeconds(60)) + .setRetryDelayMultiplier(1.3) + .setRpcTimeoutMultiplier(1.5) + .setTotalTimeoutDuration(Duration.ofSeconds(300)) .build()); NotificationsApiServiceStubSettings notificationsApiServiceSettings = notificationsApiServiceSettingsBuilder.build();