Interface ImportDocumentsRequest.InlineSourceOrBuilder (0.24.0)

public static interface ImportDocumentsRequest.InlineSourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDocuments(int index)

public abstract Document getDocuments(int index)

Required. A list of documents to update/create. Each document must have a valid Document.id. Recommended max of 100 items.

repeated .google.cloud.discoveryengine.v1.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
Document

getDocumentsCount()

public abstract int getDocumentsCount()

Required. A list of documents to update/create. Each document must have a valid Document.id. Recommended max of 100 items.

repeated .google.cloud.discoveryengine.v1.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getDocumentsList()

public abstract List<Document> getDocumentsList()

Required. A list of documents to update/create. Each document must have a valid Document.id. Recommended max of 100 items.

repeated .google.cloud.discoveryengine.v1.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<Document>

getDocumentsOrBuilder(int index)

public abstract DocumentOrBuilder getDocumentsOrBuilder(int index)

Required. A list of documents to update/create. Each document must have a valid Document.id. Recommended max of 100 items.

repeated .google.cloud.discoveryengine.v1.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
DocumentOrBuilder

getDocumentsOrBuilderList()

public abstract List<? extends DocumentOrBuilder> getDocumentsOrBuilderList()

Required. A list of documents to update/create. Each document must have a valid Document.id. Recommended max of 100 items.

repeated .google.cloud.discoveryengine.v1.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];

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