Interface ListMessagesResponseOrBuilder (0.4.0)

public interface ListMessagesResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMessages(int index)

public abstract Message getMessages(int index)

List of messages.

repeated .google.chat.v1.Message messages = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Message

getMessagesCount()

public abstract int getMessagesCount()

List of messages.

repeated .google.chat.v1.Message messages = 1;

Returns
TypeDescription
int

getMessagesList()

public abstract List<Message> getMessagesList()

List of messages.

repeated .google.chat.v1.Message messages = 1;

Returns
TypeDescription
List<Message>

getMessagesOrBuilder(int index)

public abstract MessageOrBuilder getMessagesOrBuilder(int index)

List of messages.

repeated .google.chat.v1.Message messages = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
MessageOrBuilder

getMessagesOrBuilderList()

public abstract List<? extends MessageOrBuilder> getMessagesOrBuilderList()

List of messages.

repeated .google.chat.v1.Message messages = 1;

Returns
TypeDescription
List<? extends com.google.chat.v1.MessageOrBuilder>

getNextPageToken()

public abstract String getNextPageToken()

You can send a token as pageToken to retrieve the next page of results. If empty, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

You can send a token as pageToken to retrieve the next page of results. If empty, there are no subsequent pages.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.