Interface ListDocumentsResponseOrBuilder (0.12.0)

public interface ListDocumentsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDocuments(int index)

public abstract Document getDocuments(int index)

The Documents.

repeated .google.cloud.discoveryengine.v1beta.Document documents = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Document

getDocumentsCount()

public abstract int getDocumentsCount()

The Documents.

repeated .google.cloud.discoveryengine.v1beta.Document documents = 1;

Returns
TypeDescription
int

getDocumentsList()

public abstract List<Document> getDocumentsList()

The Documents.

repeated .google.cloud.discoveryengine.v1beta.Document documents = 1;

Returns
TypeDescription
List<Document>

getDocumentsOrBuilder(int index)

public abstract DocumentOrBuilder getDocumentsOrBuilder(int index)

The Documents.

repeated .google.cloud.discoveryengine.v1beta.Document documents = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DocumentOrBuilder

getDocumentsOrBuilderList()

public abstract List<? extends DocumentOrBuilder> getDocumentsOrBuilderList()

The Documents.

repeated .google.cloud.discoveryengine.v1beta.Document documents = 1;

Returns
TypeDescription
List<? extends com.google.cloud.discoveryengine.v1beta.DocumentOrBuilder>

getNextPageToken()

public abstract String getNextPageToken()

A token that can be sent as ListDocumentsRequest.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 that can be sent as ListDocumentsRequest.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.