public static final class ImportDocumentsRequest.InlineSource.Builder extends GeneratedMessage.Builder<ImportDocumentsRequest.InlineSource.Builder> implements ImportDocumentsRequest.InlineSourceOrBuilder
The inline source for the input config for ImportDocuments method.
Protobuf type google.cloud.discoveryengine.v1.ImportDocumentsRequest.InlineSource
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllDocuments(Iterable<? extends Document> values)
public ImportDocumentsRequest.InlineSource.Builder addAllDocuments(Iterable<? extends Document> values)
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 |
values |
Iterable<? extends com.google.cloud.discoveryengine.v1.Document>
|
addDocuments(Document value)
public ImportDocumentsRequest.InlineSource.Builder addDocuments(Document value)
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 |
value |
Document
|
addDocuments(Document.Builder builderForValue)
public ImportDocumentsRequest.InlineSource.Builder addDocuments(Document.Builder builderForValue)
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];
addDocuments(int index, Document value)
public ImportDocumentsRequest.InlineSource.Builder addDocuments(int index, Document value)
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];
addDocuments(int index, Document.Builder builderForValue)
public ImportDocumentsRequest.InlineSource.Builder addDocuments(int index, Document.Builder builderForValue)
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];
addDocumentsBuilder()
public Document.Builder addDocumentsBuilder()
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];
addDocumentsBuilder(int index)
public Document.Builder addDocumentsBuilder(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
|
build()
public ImportDocumentsRequest.InlineSource build()
buildPartial()
public ImportDocumentsRequest.InlineSource buildPartial()
clear()
public ImportDocumentsRequest.InlineSource.Builder clear()
Overrides
clearDocuments()
public ImportDocumentsRequest.InlineSource.Builder clearDocuments()
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];
getDefaultInstanceForType()
public ImportDocumentsRequest.InlineSource getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDocuments(int index)
public 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
|
getDocumentsBuilder(int index)
public Document.Builder getDocumentsBuilder(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
|
getDocumentsBuilderList()
public List<Document.Builder> getDocumentsBuilderList()
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];
getDocumentsCount()
public 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 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];
getDocumentsOrBuilder(int index)
public 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
|
getDocumentsOrBuilderList()
public 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> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ImportDocumentsRequest.InlineSource other)
public ImportDocumentsRequest.InlineSource.Builder mergeFrom(ImportDocumentsRequest.InlineSource other)
public ImportDocumentsRequest.InlineSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ImportDocumentsRequest.InlineSource.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeDocuments(int index)
public ImportDocumentsRequest.InlineSource.Builder removeDocuments(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
|
setDocuments(int index, Document value)
public ImportDocumentsRequest.InlineSource.Builder setDocuments(int index, Document value)
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];
setDocuments(int index, Document.Builder builderForValue)
public ImportDocumentsRequest.InlineSource.Builder setDocuments(int index, Document.Builder builderForValue)
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];