Interface ListMessagesResponseOrBuilder (4.6.0)

public interface ListMessagesResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMessages(int index)

public abstract Message getMessages(int index)

Required. The list of messages. There will be a maximum number of items returned based on the page_size field in the request. messages is sorted by create_time in descending order.

repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Message

getMessagesCount()

public abstract int getMessagesCount()

Required. The list of messages. There will be a maximum number of items returned based on the page_size field in the request. messages is sorted by create_time in descending order.

repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;

Returns
TypeDescription
int

getMessagesList()

public abstract List<Message> getMessagesList()

Required. The list of messages. There will be a maximum number of items returned based on the page_size field in the request. messages is sorted by create_time in descending order.

repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;

Returns
TypeDescription
List<Message>

getMessagesOrBuilder(int index)

public abstract MessageOrBuilder getMessagesOrBuilder(int index)

Required. The list of messages. There will be a maximum number of items returned based on the page_size field in the request. messages is sorted by create_time in descending order.

repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
MessageOrBuilder

getMessagesOrBuilderList()

public abstract List<? extends MessageOrBuilder> getMessagesOrBuilderList()

Required. The list of messages. There will be a maximum number of items returned based on the page_size field in the request. messages is sorted by create_time in descending order.

repeated .google.cloud.dialogflow.v2beta1.Message messages = 1;

Returns
TypeDescription
List<? extends com.google.cloud.dialogflow.v2beta1.MessageOrBuilder>

getNextPageToken()

public abstract String getNextPageToken()

Optional. Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

Optional. Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.