Interface RagFileOrBuilder (3.46.0)

public interface RagFileOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. Timestamp when this RagFile was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. Timestamp when this RagFile was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDescription()

public abstract String getDescription()

Optional. The description of the RagFile.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Optional. The description of the RagFile.

string description = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getDirectUploadSource()

public abstract DirectUploadSource getDirectUploadSource()

Output only. The RagFile is encapsulated and uploaded in the UploadRagFile request.

.google.cloud.aiplatform.v1beta1.DirectUploadSource direct_upload_source = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DirectUploadSource

The directUploadSource.

getDirectUploadSourceOrBuilder()

public abstract DirectUploadSourceOrBuilder getDirectUploadSourceOrBuilder()

Output only. The RagFile is encapsulated and uploaded in the UploadRagFile request.

.google.cloud.aiplatform.v1beta1.DirectUploadSource direct_upload_source = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DirectUploadSourceOrBuilder

getDisplayName()

public abstract String getDisplayName()

Required. The display name of the RagFile. The name can be up to 128 characters long and can consist of any UTF-8 characters.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Required. The display name of the RagFile. The name can be up to 128 characters long and can consist of any UTF-8 characters.

string display_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for displayName.

getGcsSource()

public abstract GcsSource getGcsSource()

Output only. Google Cloud Storage location of the RagFile. It does not support wildcards in the Cloud Storage uri for now.

.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GcsSource

The gcsSource.

getGcsSourceOrBuilder()

public abstract GcsSourceOrBuilder getGcsSourceOrBuilder()

Output only. Google Cloud Storage location of the RagFile. It does not support wildcards in the Cloud Storage uri for now.

.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GcsSourceOrBuilder

getGoogleDriveSource()

public abstract GoogleDriveSource getGoogleDriveSource()

Output only. Google Drive location. Supports importing individual files as well as Google Drive folders.

.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_source = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GoogleDriveSource

The googleDriveSource.

getGoogleDriveSourceOrBuilder()

public abstract GoogleDriveSourceOrBuilder getGoogleDriveSourceOrBuilder()

Output only. Google Drive location. Supports importing individual files as well as Google Drive folders.

.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_source = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GoogleDriveSourceOrBuilder

getName()

public abstract String getName()

Output only. The resource name of the RagFile.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Output only. The resource name of the RagFile.

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getRagFileSourceCase()

public abstract RagFile.RagFileSourceCase getRagFileSourceCase()
Returns
Type Description
RagFile.RagFileSourceCase

getRagFileType()

public abstract RagFile.RagFileType getRagFileType()

Output only. The type of the RagFile.

.google.cloud.aiplatform.v1beta1.RagFile.RagFileType rag_file_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RagFile.RagFileType

The ragFileType.

getRagFileTypeValue()

public abstract int getRagFileTypeValue()

Output only. The type of the RagFile.

.google.cloud.aiplatform.v1beta1.RagFile.RagFileType rag_file_type = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for ragFileType.

getSizeBytes()

public abstract long getSizeBytes()

Output only. The size of the RagFile in bytes.

int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The sizeBytes.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. Timestamp when this RagFile was last updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. Timestamp when this RagFile was last updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. Timestamp when this RagFile was created.

.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasDirectUploadSource()

public abstract boolean hasDirectUploadSource()

Output only. The RagFile is encapsulated and uploaded in the UploadRagFile request.

.google.cloud.aiplatform.v1beta1.DirectUploadSource direct_upload_source = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the directUploadSource field is set.

hasGcsSource()

public abstract boolean hasGcsSource()

Output only. Google Cloud Storage location of the RagFile. It does not support wildcards in the Cloud Storage uri for now.

.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the gcsSource field is set.

hasGoogleDriveSource()

public abstract boolean hasGoogleDriveSource()

Output only. Google Drive location. Supports importing individual files as well as Google Drive folders.

.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_source = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the googleDriveSource field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. Timestamp when this RagFile was last updated.

.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.