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.v1beta.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()
Returns
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.v1beta.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.discoveryengine.v1beta.Document>
|
Returns
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.v1beta.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
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.v1beta.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
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.v1beta.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
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.v1beta.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
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.v1beta.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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.v1beta.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportDocumentsRequest.InlineSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ImportDocumentsRequest.InlineSource build()
Returns
buildPartial()
public ImportDocumentsRequest.InlineSource buildPartial()
Returns
clear()
public ImportDocumentsRequest.InlineSource.Builder clear()
Returns
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.v1beta.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public ImportDocumentsRequest.InlineSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportDocumentsRequest.InlineSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ImportDocumentsRequest.InlineSource.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ImportDocumentsRequest.InlineSource getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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.v1beta.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
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.v1beta.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
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.v1beta.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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.v1beta.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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.v1beta.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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.v1beta.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
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.v1beta.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
List<? extends com.google.cloud.discoveryengine.v1beta.DocumentOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ImportDocumentsRequest.InlineSource other)
public ImportDocumentsRequest.InlineSource.Builder mergeFrom(ImportDocumentsRequest.InlineSource other)
Parameter
Returns
public ImportDocumentsRequest.InlineSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ImportDocumentsRequest.InlineSource.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportDocumentsRequest.InlineSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.v1beta.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
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.v1beta.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
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.v1beta.Document documents = 1 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ImportDocumentsRequest.InlineSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportDocumentsRequest.InlineSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportDocumentsRequest.InlineSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides