Interface ImportDocumentsRequest.InlineSourceOrBuilder (0.40.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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.discoveryengine.v1.DocumentOrBuilder>