Class NotificationSubscriptionHealthMetrics (1.0.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version latestkeyboard_arrow_down
public final class NotificationSubscriptionHealthMetrics extends GeneratedMessageV3 implements NotificationSubscriptionHealthMetricsOrBuilder
Represents a notification subscription health metrics.
Protobuf type
google.shopping.merchant.notifications.v1.NotificationSubscriptionHealthMetrics
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int ACKNOWLEDGED_MESSAGES_COUNT_FIELD_NUMBER
Field Value
Type
Description
int
public static final int NAME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int OLDEST_UNACKNOWLEDGED_MESSAGE_WAITING_TIME_FIELD_NUMBER
Field Value
Type
Description
int
public static final int UNDELIVERED_MESSAGES_COUNT_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static NotificationSubscriptionHealthMetrics getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static NotificationSubscriptionHealthMetrics . Builder newBuilder ()
public static NotificationSubscriptionHealthMetrics . Builder newBuilder ( NotificationSubscriptionHealthMetrics prototype )
public static NotificationSubscriptionHealthMetrics parseDelimitedFrom ( InputStream input )
public static NotificationSubscriptionHealthMetrics parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static NotificationSubscriptionHealthMetrics parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static NotificationSubscriptionHealthMetrics parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static NotificationSubscriptionHealthMetrics parseFrom ( ByteString data )
public static NotificationSubscriptionHealthMetrics parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static NotificationSubscriptionHealthMetrics parseFrom ( CodedInputStream input )
public static NotificationSubscriptionHealthMetrics parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static NotificationSubscriptionHealthMetrics parseFrom ( InputStream input )
public static NotificationSubscriptionHealthMetrics parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static NotificationSubscriptionHealthMetrics parseFrom ( ByteBuffer data )
public static NotificationSubscriptionHealthMetrics parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<NotificationSubscriptionHealthMetrics> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public long getAcknowledgedMessagesCount ()
The number of retained acknowledged messages for the last 24 hours
int64 acknowledged_messages_count = 2;
Returns
Type
Description
long
The acknowledgedMessagesCount.
public NotificationSubscriptionHealthMetrics getDefaultInstanceForType ()
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.
public 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.
public 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.
public Parser<NotificationSubscriptionHealthMetrics> getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public 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.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public NotificationSubscriptionHealthMetrics . Builder newBuilderForType ()
protected NotificationSubscriptionHealthMetrics . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public NotificationSubscriptionHealthMetrics . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-16 UTC."],[],[]]