public static final class ImportDocumentsRequest.InlineSource.Builder extends GeneratedMessageV3.Builder<ImportDocumentsRequest.InlineSource.Builder> implements ImportDocumentsRequest.InlineSourceOrBuilder
The inline source for the input config for ImportDocuments method.
Protobuf type
google.cloud.discoveryengine.v1alpha.ImportDocumentsRequest.InlineSource
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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.v1alpha.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.discoveryengine.v1alpha.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.v1alpha.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportDocumentsRequest.InlineSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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.v1alpha.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public ImportDocumentsRequest.InlineSource.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportDocumentsRequest.InlineSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public ImportDocumentsRequest.InlineSource.Builder clone()
Overrides
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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
List<? extends com.google.cloud.discoveryengine.v1alpha.DocumentOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportDocumentsRequest.InlineSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.v1alpha.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.v1alpha.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.v1alpha.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public ImportDocumentsRequest.InlineSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportDocumentsRequest.InlineSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportDocumentsRequest.InlineSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides