Interface CreateNotificationSubscriptionRequestOrBuilder (1.0.0)
Stay organized with collections
Save and categorize content based on your preferences.
public interface CreateNotificationSubscriptionRequestOrBuilder extends MessageOrBuilder
Methods
public abstract NotificationSubscription getNotificationSubscription()
Required. The notification subscription to create.
.google.shopping.merchant.notifications.v1.NotificationSubscription notification_subscription = 2 [(.google.api.field_behavior) = REQUIRED];
public abstract NotificationSubscriptionOrBuilder getNotificationSubscriptionOrBuilder()
Required. The notification subscription to create.
.google.shopping.merchant.notifications.v1.NotificationSubscription notification_subscription = 2 [(.google.api.field_behavior) = REQUIRED];
public abstract String getParent()
Required. The merchant account that owns the new notification subscription.
Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
String |
The parent.
|
public abstract ByteString getParentBytes()
Required. The merchant account that owns the new notification subscription.
Format: accounts/{account}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
Type |
Description |
ByteString |
The bytes for parent.
|
public abstract boolean hasNotificationSubscription()
Required. The notification subscription to create.
.google.shopping.merchant.notifications.v1.NotificationSubscription notification_subscription = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
boolean |
Whether the notificationSubscription field is set.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-16 UTC."],[],[],null,["# Interface CreateNotificationSubscriptionRequestOrBuilder (1.0.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0 (latest)](/java/docs/reference/google-shopping-merchant-notifications/latest/com.google.shopping.merchant.notifications.v1.CreateNotificationSubscriptionRequestOrBuilder)\n- [0.29.0](/java/docs/reference/google-shopping-merchant-notifications/0.29.0/com.google.shopping.merchant.notifications.v1.CreateNotificationSubscriptionRequestOrBuilder)\n- [0.27.0](/java/docs/reference/google-shopping-merchant-notifications/0.27.0/com.google.shopping.merchant.notifications.v1.CreateNotificationSubscriptionRequestOrBuilder)\n- [0.26.0](/java/docs/reference/google-shopping-merchant-notifications/0.26.0/com.google.shopping.merchant.notifications.v1.CreateNotificationSubscriptionRequestOrBuilder)\n- [0.23.0](/java/docs/reference/google-shopping-merchant-notifications/0.23.0/com.google.shopping.merchant.notifications.v1.CreateNotificationSubscriptionRequestOrBuilder)\n- [0.22.0](/java/docs/reference/google-shopping-merchant-notifications/0.22.0/com.google.shopping.merchant.notifications.v1.CreateNotificationSubscriptionRequestOrBuilder)\n- [0.21.0](/java/docs/reference/google-shopping-merchant-notifications/0.21.0/com.google.shopping.merchant.notifications.v1.CreateNotificationSubscriptionRequestOrBuilder)\n- [0.19.0](/java/docs/reference/google-shopping-merchant-notifications/0.19.0/com.google.shopping.merchant.notifications.v1.CreateNotificationSubscriptionRequestOrBuilder)\n- [0.18.0](/java/docs/reference/google-shopping-merchant-notifications/0.18.0/com.google.shopping.merchant.notifications.v1.CreateNotificationSubscriptionRequestOrBuilder)\n- [0.17.0](/java/docs/reference/google-shopping-merchant-notifications/0.17.0/com.google.shopping.merchant.notifications.v1.CreateNotificationSubscriptionRequestOrBuilder)\n- [0.16.0](/java/docs/reference/google-shopping-merchant-notifications/0.16.0/com.google.shopping.merchant.notifications.v1.CreateNotificationSubscriptionRequestOrBuilder)\n- [0.15.0](/java/docs/reference/google-shopping-merchant-notifications/0.15.0/com.google.shopping.merchant.notifications.v1.CreateNotificationSubscriptionRequestOrBuilder)\n- [0.14.0](/java/docs/reference/google-shopping-merchant-notifications/0.14.0/com.google.shopping.merchant.notifications.v1.CreateNotificationSubscriptionRequestOrBuilder)\n- [0.13.0](/java/docs/reference/google-shopping-merchant-notifications/0.13.0/com.google.shopping.merchant.notifications.v1.CreateNotificationSubscriptionRequestOrBuilder)\n- [0.12.0](/java/docs/reference/google-shopping-merchant-notifications/0.12.0/com.google.shopping.merchant.notifications.v1.CreateNotificationSubscriptionRequestOrBuilder)\n- [0.11.0](/java/docs/reference/google-shopping-merchant-notifications/0.11.0/com.google.shopping.merchant.notifications.v1.CreateNotificationSubscriptionRequestOrBuilder)\n- [0.10.0](/java/docs/reference/google-shopping-merchant-notifications/0.10.0/com.google.shopping.merchant.notifications.v1.CreateNotificationSubscriptionRequestOrBuilder)\n- [0.8.0](/java/docs/reference/google-shopping-merchant-notifications/0.8.0/com.google.shopping.merchant.notifications.v1.CreateNotificationSubscriptionRequestOrBuilder)\n- [0.7.0](/java/docs/reference/google-shopping-merchant-notifications/0.7.0/com.google.shopping.merchant.notifications.v1.CreateNotificationSubscriptionRequestOrBuilder)\n- [0.6.0](/java/docs/reference/google-shopping-merchant-notifications/0.6.0/com.google.shopping.merchant.notifications.v1.CreateNotificationSubscriptionRequestOrBuilder)\n- [0.5.0](/java/docs/reference/google-shopping-merchant-notifications/0.5.0/com.google.shopping.merchant.notifications.v1.CreateNotificationSubscriptionRequestOrBuilder)\n- [0.4.0](/java/docs/reference/google-shopping-merchant-notifications/0.4.0/com.google.shopping.merchant.notifications.v1.CreateNotificationSubscriptionRequestOrBuilder)\n- [0.3.0](/java/docs/reference/google-shopping-merchant-notifications/0.3.0/com.google.shopping.merchant.notifications.v1.CreateNotificationSubscriptionRequestOrBuilder)\n- [0.2.0](/java/docs/reference/google-shopping-merchant-notifications/0.2.0/com.google.shopping.merchant.notifications.v1.CreateNotificationSubscriptionRequestOrBuilder)\n- [0.1.0](/java/docs/reference/google-shopping-merchant-notifications/0.1.0/com.google.shopping.merchant.notifications.v1.CreateNotificationSubscriptionRequestOrBuilder) \n\n public interface CreateNotificationSubscriptionRequestOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getNotificationSubscription()\n\n public abstract NotificationSubscription getNotificationSubscription()\n\nRequired. The notification subscription to create.\n\n`\n.google.shopping.merchant.notifications.v1.NotificationSubscription notification_subscription = 2 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getNotificationSubscriptionOrBuilder()\n\n public abstract NotificationSubscriptionOrBuilder getNotificationSubscriptionOrBuilder()\n\nRequired. The notification subscription to create.\n\n`\n.google.shopping.merchant.notifications.v1.NotificationSubscription notification_subscription = 2 [(.google.api.field_behavior) = REQUIRED];\n`\n\n### getParent()\n\n public abstract String getParent()\n\nRequired. The merchant account that owns the new notification subscription.\nFormat: `accounts/{account}`\n\n`\nstring parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }\n`\n\n### getParentBytes()\n\n public abstract ByteString getParentBytes()\n\nRequired. The merchant account that owns the new notification subscription.\nFormat: `accounts/{account}`\n\n`\nstring parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }\n`\n\n### hasNotificationSubscription()\n\n public abstract boolean hasNotificationSubscription()\n\nRequired. The notification subscription to create.\n\n`\n.google.shopping.merchant.notifications.v1.NotificationSubscription notification_subscription = 2 [(.google.api.field_behavior) = REQUIRED];\n`"]]