Interface NotificationSubscriptionOrBuilder (0.10.0)

public interface NotificationSubscriptionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllManagedAccounts()

public abstract boolean getAllManagedAccounts()

If this value is true, the requesting account is notified of the specified event for all managed accounts (can be subaccounts or other linked accounts) including newly added accounts on a daily basis.

bool all_managed_accounts = 3;

Returns
Type Description
boolean

The allManagedAccounts.

getCallBackUri()

public abstract String getCallBackUri()

URL to be used to push the notification to the merchant.

string call_back_uri = 5;

Returns
Type Description
String

The callBackUri.

getCallBackUriBytes()

public abstract ByteString getCallBackUriBytes()

URL to be used to push the notification to the merchant.

string call_back_uri = 5;

Returns
Type Description
ByteString

The bytes for callBackUri.

getInterestedInCase()

public abstract NotificationSubscription.InterestedInCase getInterestedInCase()
Returns
Type Description
NotificationSubscription.InterestedInCase

getName()

public abstract String getName()

Output only. The name of the notification configuration. Generated by the Content API upon creation of a new NotificationSubscription. The account represents the merchant ID of the merchant that owns the configuration. Format: accounts/{account}/notificationsubscriptions/{notification_subscription}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The name of the notification configuration. Generated by the Content API upon creation of a new NotificationSubscription. The account represents the merchant ID of the merchant that owns the configuration. Format: accounts/{account}/notificationsubscriptions/{notification_subscription}

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getRegisteredEvent()

public abstract NotificationSubscription.NotificationEventType getRegisteredEvent()

The event that the merchant wants to be notified about.

.google.shopping.merchant.notifications.v1beta.NotificationSubscription.NotificationEventType registered_event = 2;

Returns
Type Description
NotificationSubscription.NotificationEventType

The registeredEvent.

getRegisteredEventValue()

public abstract int getRegisteredEventValue()

The event that the merchant wants to be notified about.

.google.shopping.merchant.notifications.v1beta.NotificationSubscription.NotificationEventType registered_event = 2;

Returns
Type Description
int

The enum numeric value on the wire for registeredEvent.

getTargetAccount()

public abstract String getTargetAccount()

The name of the account you want to receive notifications for. Format: accounts/{account}

string target_account = 4;

Returns
Type Description
String

The targetAccount.

getTargetAccountBytes()

public abstract ByteString getTargetAccountBytes()

The name of the account you want to receive notifications for. Format: accounts/{account}

string target_account = 4;

Returns
Type Description
ByteString

The bytes for targetAccount.

hasAllManagedAccounts()

public abstract boolean hasAllManagedAccounts()

If this value is true, the requesting account is notified of the specified event for all managed accounts (can be subaccounts or other linked accounts) including newly added accounts on a daily basis.

bool all_managed_accounts = 3;

Returns
Type Description
boolean

Whether the allManagedAccounts field is set.

hasTargetAccount()

public abstract boolean hasTargetAccount()

The name of the account you want to receive notifications for. Format: accounts/{account}

string target_account = 4;

Returns
Type Description
boolean

Whether the targetAccount field is set.