Interface ListNotificationsResponseOrBuilder (0.22.0)

public interface ListNotificationsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextPageToken()

public abstract String getNextPageToken()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getNotifications(int index)

public abstract Notification getNotifications(int index)

List of notifications under a given parent.

repeated .google.cloud.advisorynotifications.v1.Notification notifications = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Notification

getNotificationsCount()

public abstract int getNotificationsCount()

List of notifications under a given parent.

repeated .google.cloud.advisorynotifications.v1.Notification notifications = 1;

Returns
TypeDescription
int

getNotificationsList()

public abstract List<Notification> getNotificationsList()

List of notifications under a given parent.

repeated .google.cloud.advisorynotifications.v1.Notification notifications = 1;

Returns
TypeDescription
List<Notification>

getNotificationsOrBuilder(int index)

public abstract NotificationOrBuilder getNotificationsOrBuilder(int index)

List of notifications under a given parent.

repeated .google.cloud.advisorynotifications.v1.Notification notifications = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
NotificationOrBuilder

getNotificationsOrBuilderList()

public abstract List<? extends NotificationOrBuilder> getNotificationsOrBuilderList()

List of notifications under a given parent.

repeated .google.cloud.advisorynotifications.v1.Notification notifications = 1;

Returns
TypeDescription
List<? extends com.google.cloud.advisorynotifications.v1.NotificationOrBuilder>

getTotalSize()

public abstract int getTotalSize()

Estimation of a total number of notifications.

int32 total_size = 3;

Returns
TypeDescription
int

The totalSize.