public static final class ImportRagFilesRequest.Builder extends GeneratedMessage.Builder<ImportRagFilesRequest.Builder> implements ImportRagFilesRequestOrBuilderRequest message for VertexRagDataService.ImportRagFiles.
Protobuf type google.cloud.aiplatform.v1beta1.ImportRagFilesRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ImportRagFilesRequest.BuilderImplements
ImportRagFilesRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ImportRagFilesRequest build()| Returns | |
|---|---|
| Type | Description |
ImportRagFilesRequest |
|
buildPartial()
public ImportRagFilesRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ImportRagFilesRequest |
|
clear()
public ImportRagFilesRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ImportRagFilesRequest.Builder |
|
clearImportRagFilesConfig()
public ImportRagFilesRequest.Builder clearImportRagFilesConfig()Required. The config for the RagFiles to be synced and imported into the RagCorpus. VertexRagDataService.ImportRagFiles.
.google.cloud.aiplatform.v1beta1.ImportRagFilesConfig import_rag_files_config = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ImportRagFilesRequest.Builder |
|
clearParent()
public ImportRagFilesRequest.Builder clearParent() Required. The name of the RagCorpus resource into which to import files.
Format:
projects/{project}/locations/{location}/ragCorpora/{rag_corpus}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ImportRagFilesRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ImportRagFilesRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ImportRagFilesRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getImportRagFilesConfig()
public ImportRagFilesConfig getImportRagFilesConfig()Required. The config for the RagFiles to be synced and imported into the RagCorpus. VertexRagDataService.ImportRagFiles.
.google.cloud.aiplatform.v1beta1.ImportRagFilesConfig import_rag_files_config = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ImportRagFilesConfig |
The importRagFilesConfig. |
getImportRagFilesConfigBuilder()
public ImportRagFilesConfig.Builder getImportRagFilesConfigBuilder()Required. The config for the RagFiles to be synced and imported into the RagCorpus. VertexRagDataService.ImportRagFiles.
.google.cloud.aiplatform.v1beta1.ImportRagFilesConfig import_rag_files_config = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ImportRagFilesConfig.Builder |
|
getImportRagFilesConfigOrBuilder()
public ImportRagFilesConfigOrBuilder getImportRagFilesConfigOrBuilder()Required. The config for the RagFiles to be synced and imported into the RagCorpus. VertexRagDataService.ImportRagFiles.
.google.cloud.aiplatform.v1beta1.ImportRagFilesConfig import_rag_files_config = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ImportRagFilesConfigOrBuilder |
|
getParent()
public String getParent() Required. The name of the RagCorpus resource into which to import files.
Format:
projects/{project}/locations/{location}/ragCorpora/{rag_corpus}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The name of the RagCorpus resource into which to import files.
Format:
projects/{project}/locations/{location}/ragCorpora/{rag_corpus}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasImportRagFilesConfig()
public boolean hasImportRagFilesConfig()Required. The config for the RagFiles to be synced and imported into the RagCorpus. VertexRagDataService.ImportRagFiles.
.google.cloud.aiplatform.v1beta1.ImportRagFilesConfig import_rag_files_config = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the importRagFilesConfig field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ImportRagFilesRequest other)
public ImportRagFilesRequest.Builder mergeFrom(ImportRagFilesRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ImportRagFilesRequest |
| Returns | |
|---|---|
| Type | Description |
ImportRagFilesRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImportRagFilesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ImportRagFilesRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ImportRagFilesRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ImportRagFilesRequest.Builder |
|
mergeImportRagFilesConfig(ImportRagFilesConfig value)
public ImportRagFilesRequest.Builder mergeImportRagFilesConfig(ImportRagFilesConfig value)Required. The config for the RagFiles to be synced and imported into the RagCorpus. VertexRagDataService.ImportRagFiles.
.google.cloud.aiplatform.v1beta1.ImportRagFilesConfig import_rag_files_config = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ImportRagFilesConfig |
| Returns | |
|---|---|
| Type | Description |
ImportRagFilesRequest.Builder |
|
setImportRagFilesConfig(ImportRagFilesConfig value)
public ImportRagFilesRequest.Builder setImportRagFilesConfig(ImportRagFilesConfig value)Required. The config for the RagFiles to be synced and imported into the RagCorpus. VertexRagDataService.ImportRagFiles.
.google.cloud.aiplatform.v1beta1.ImportRagFilesConfig import_rag_files_config = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ImportRagFilesConfig |
| Returns | |
|---|---|
| Type | Description |
ImportRagFilesRequest.Builder |
|
setImportRagFilesConfig(ImportRagFilesConfig.Builder builderForValue)
public ImportRagFilesRequest.Builder setImportRagFilesConfig(ImportRagFilesConfig.Builder builderForValue)Required. The config for the RagFiles to be synced and imported into the RagCorpus. VertexRagDataService.ImportRagFiles.
.google.cloud.aiplatform.v1beta1.ImportRagFilesConfig import_rag_files_config = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ImportRagFilesConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
ImportRagFilesRequest.Builder |
|
setParent(String value)
public ImportRagFilesRequest.Builder setParent(String value) Required. The name of the RagCorpus resource into which to import files.
Format:
projects/{project}/locations/{location}/ragCorpora/{rag_corpus}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
ImportRagFilesRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ImportRagFilesRequest.Builder setParentBytes(ByteString value) Required. The name of the RagCorpus resource into which to import files.
Format:
projects/{project}/locations/{location}/ragCorpora/{rag_corpus}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
ImportRagFilesRequest.Builder |
This builder for chaining. |