Interface ListMessagesResponseOrBuilder (4.58.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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for nextPageToken.