Package com.google.cloud.aiplatform.v1
Interface RagFileOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RagFile,RagFile.Builder
@Generated
public interface RagFileOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.Optional.com.google.protobuf.ByteStringOptional.Output only.Output only.Required.com.google.protobuf.ByteStringRequired.Output only.Output only.Output only.Output only.Output only.Output only.The RagFile is imported from a Jira query.The RagFile is imported from a Jira query.getName()Output only.com.google.protobuf.ByteStringOutput only.The RagFile is imported from a SharePoint source.The RagFile is imported from a SharePoint source.The RagFile is imported from a Slack channel.The RagFile is imported from a Slack channel.com.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanThe RagFile is imported from a Jira query.booleanThe RagFile is imported from a SharePoint source.booleanThe RagFile is imported from a Slack channel.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasGcsSource
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.v1.GcsSource gcs_source = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the gcsSource field is set.
-
getGcsSource
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.v1.GcsSource gcs_source = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The gcsSource.
-
getGcsSourceOrBuilder
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.v1.GcsSource gcs_source = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasGoogleDriveSource
boolean hasGoogleDriveSource()Output only. Google Drive location. Supports importing individual files as well as Google Drive folders.
.google.cloud.aiplatform.v1.GoogleDriveSource google_drive_source = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the googleDriveSource field is set.
-
getGoogleDriveSource
GoogleDriveSource getGoogleDriveSource()Output only. Google Drive location. Supports importing individual files as well as Google Drive folders.
.google.cloud.aiplatform.v1.GoogleDriveSource google_drive_source = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The googleDriveSource.
-
getGoogleDriveSourceOrBuilder
GoogleDriveSourceOrBuilder getGoogleDriveSourceOrBuilder()Output only. Google Drive location. Supports importing individual files as well as Google Drive folders.
.google.cloud.aiplatform.v1.GoogleDriveSource google_drive_source = 9 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasDirectUploadSource
boolean hasDirectUploadSource()Output only. The RagFile is encapsulated and uploaded in the UploadRagFile request.
.google.cloud.aiplatform.v1.DirectUploadSource direct_upload_source = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the directUploadSource field is set.
-
getDirectUploadSource
DirectUploadSource getDirectUploadSource()Output only. The RagFile is encapsulated and uploaded in the UploadRagFile request.
.google.cloud.aiplatform.v1.DirectUploadSource direct_upload_source = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The directUploadSource.
-
getDirectUploadSourceOrBuilder
DirectUploadSourceOrBuilder getDirectUploadSourceOrBuilder()Output only. The RagFile is encapsulated and uploaded in the UploadRagFile request.
.google.cloud.aiplatform.v1.DirectUploadSource direct_upload_source = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasSlackSource
boolean hasSlackSource()The RagFile is imported from a Slack channel.
.google.cloud.aiplatform.v1.SlackSource slack_source = 11;- Returns:
- Whether the slackSource field is set.
-
getSlackSource
SlackSource getSlackSource()The RagFile is imported from a Slack channel.
.google.cloud.aiplatform.v1.SlackSource slack_source = 11;- Returns:
- The slackSource.
-
getSlackSourceOrBuilder
SlackSourceOrBuilder getSlackSourceOrBuilder()The RagFile is imported from a Slack channel.
.google.cloud.aiplatform.v1.SlackSource slack_source = 11; -
hasJiraSource
boolean hasJiraSource()The RagFile is imported from a Jira query.
.google.cloud.aiplatform.v1.JiraSource jira_source = 12;- Returns:
- Whether the jiraSource field is set.
-
getJiraSource
JiraSource getJiraSource()The RagFile is imported from a Jira query.
.google.cloud.aiplatform.v1.JiraSource jira_source = 12;- Returns:
- The jiraSource.
-
getJiraSourceOrBuilder
JiraSourceOrBuilder getJiraSourceOrBuilder()The RagFile is imported from a Jira query.
.google.cloud.aiplatform.v1.JiraSource jira_source = 12; -
getName
String getName()Output only. The resource name of the RagFile.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Output only. The resource name of the RagFile.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for name.
-
getDisplayName
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:
- The displayName.
-
getDisplayNameBytes
com.google.protobuf.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:
- The bytes for displayName.
-
getDescription
String getDescription()Optional. The description of the RagFile.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Optional. The description of the RagFile.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for description.
-
hasCreateTime
boolean hasCreateTime()Output only. Timestamp when this RagFile was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the createTime field is set.
-
getCreateTime
com.google.protobuf.Timestamp getCreateTime()Output only. Timestamp when this RagFile was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The createTime.
-
getCreateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()Output only. Timestamp when this RagFile was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasUpdateTime
boolean hasUpdateTime()Output only. Timestamp when this RagFile was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
com.google.protobuf.Timestamp getUpdateTime()Output only. Timestamp when this RagFile was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Timestamp when this RagFile was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasFileStatus
boolean hasFileStatus()Output only. State of the RagFile.
.google.cloud.aiplatform.v1.FileStatus file_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the fileStatus field is set.
-
getFileStatus
FileStatus getFileStatus()Output only. State of the RagFile.
.google.cloud.aiplatform.v1.FileStatus file_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The fileStatus.
-
getFileStatusOrBuilder
FileStatusOrBuilder getFileStatusOrBuilder()Output only. State of the RagFile.
.google.cloud.aiplatform.v1.FileStatus file_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getRagFileSourceCase
RagFile.RagFileSourceCase getRagFileSourceCase()
-