Interface ListDocumentsResponseOrBuilder (0.38.0)

public interface ListDocumentsResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDocuments(int index)

public abstract Document getDocuments(int index)

The Documents.

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

Parameter
Name Description
index int
Returns
Type Description
Document

getDocumentsCount()

public abstract int getDocumentsCount()

The Documents.

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

Returns
Type Description
int

getDocumentsList()

public abstract List<Document> getDocumentsList()

The Documents.

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

Returns
Type Description
List<Document>

getDocumentsOrBuilder(int index)

public abstract DocumentOrBuilder getDocumentsOrBuilder(int index)

The Documents.

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

Parameter
Name Description
index int
Returns
Type Description
DocumentOrBuilder

getDocumentsOrBuilderList()

public abstract List<? extends DocumentOrBuilder> getDocumentsOrBuilderList()

The Documents.

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

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1.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
Type Description
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
Type Description
ByteString

The bytes for nextPageToken.