Interface UploadRagFileRequestOrBuilder (3.48.0)

public interface UploadRagFileRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. The name of the RagCorpus resource into which to upload the file. 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 abstract ByteString getParentBytes()

Required. The name of the RagCorpus resource into which to upload the file. 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.

getRagFile()

public abstract RagFile getRagFile()

Required. The RagFile to upload.

.google.cloud.aiplatform.v1beta1.RagFile rag_file = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RagFile

The ragFile.

getRagFileOrBuilder()

public abstract RagFileOrBuilder getRagFileOrBuilder()

Required. The RagFile to upload.

.google.cloud.aiplatform.v1beta1.RagFile rag_file = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
RagFileOrBuilder

getUploadRagFileConfig()

public abstract UploadRagFileConfig getUploadRagFileConfig()

Required. The config for the RagFiles to be uploaded into the RagCorpus. VertexRagDataService.UploadRagFile.

.google.cloud.aiplatform.v1beta1.UploadRagFileConfig upload_rag_file_config = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UploadRagFileConfig

The uploadRagFileConfig.

getUploadRagFileConfigOrBuilder()

public abstract UploadRagFileConfigOrBuilder getUploadRagFileConfigOrBuilder()

Required. The config for the RagFiles to be uploaded into the RagCorpus. VertexRagDataService.UploadRagFile.

.google.cloud.aiplatform.v1beta1.UploadRagFileConfig upload_rag_file_config = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
UploadRagFileConfigOrBuilder

hasRagFile()

public abstract boolean hasRagFile()

Required. The RagFile to upload.

.google.cloud.aiplatform.v1beta1.RagFile rag_file = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the ragFile field is set.

hasUploadRagFileConfig()

public abstract boolean hasUploadRagFileConfig()

Required. The config for the RagFiles to be uploaded into the RagCorpus. VertexRagDataService.UploadRagFile.

.google.cloud.aiplatform.v1beta1.UploadRagFileConfig upload_rag_file_config = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the uploadRagFileConfig field is set.