Interface NotificationSubscriptionHealthMetricsOrBuilder (1.0.0)

public interface NotificationSubscriptionHealthMetricsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAcknowledgedMessagesCount()

public abstract long getAcknowledgedMessagesCount()

The number of retained acknowledged messages for the last 24 hours

int64 acknowledged_messages_count = 2;

Returns
Type Description
long

The acknowledgedMessagesCount.

getName()

public abstract String getName()

Output only. Identifier. 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.

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. Identifier. 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.

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

Returns
Type Description
ByteString

The bytes for name.

getOldestUnacknowledgedMessageWaitingTime()

public abstract long getOldestUnacknowledgedMessageWaitingTime()

The time since the oldest unacknowledged message was sent in seconds

int64 oldest_unacknowledged_message_waiting_time = 4;

Returns
Type Description
long

The oldestUnacknowledgedMessageWaitingTime.

getUndeliveredMessagesCount()

public abstract long getUndeliveredMessagesCount()

The number of unacknowledged messages for the last 7 days, we will attempt to re-deliver the unacknowledged message later and once successfully delivered it will not be counted within unacknowledged messages (the number of unacknowledged messages should gradually decrease to zero once the issue is fixed).

int64 undelivered_messages_count = 3;

Returns
Type Description
long

The undeliveredMessagesCount.