Package com.google.cloud.aiplatform.v1
Class RagFile
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1.RagFile
- All Implemented Interfaces:
RagFileOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class RagFile
extends com.google.protobuf.GeneratedMessage
implements RagFileOrBuilder
A RagFile contains user data for chunking, embedding and indexing.Protobuf type
google.cloud.aiplatform.v1.RagFile- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA RagFile contains user data for chunking, embedding and indexing.static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.static RagFileOptional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.DescriptorOutput 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.com.google.protobuf.Parser<RagFile>intThe 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.inthashCode()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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic RagFile.Builderstatic RagFile.BuildernewBuilder(RagFile prototype) protected RagFile.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static RagFileparseDelimitedFrom(InputStream input) static RagFileparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RagFileparseFrom(byte[] data) static RagFileparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RagFileparseFrom(com.google.protobuf.ByteString data) static RagFileparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RagFileparseFrom(com.google.protobuf.CodedInputStream input) static RagFileparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RagFileparseFrom(InputStream input) static RagFileparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static RagFileparseFrom(ByteBuffer data) static RagFileparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<RagFile>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
GCS_SOURCE_FIELD_NUMBER
public static final int GCS_SOURCE_FIELD_NUMBER- See Also:
-
GOOGLE_DRIVE_SOURCE_FIELD_NUMBER
public static final int GOOGLE_DRIVE_SOURCE_FIELD_NUMBER- See Also:
-
DIRECT_UPLOAD_SOURCE_FIELD_NUMBER
public static final int DIRECT_UPLOAD_SOURCE_FIELD_NUMBER- See Also:
-
SLACK_SOURCE_FIELD_NUMBER
public static final int SLACK_SOURCE_FIELD_NUMBER- See Also:
-
JIRA_SOURCE_FIELD_NUMBER
public static final int JIRA_SOURCE_FIELD_NUMBER- See Also:
-
SHARE_POINT_SOURCES_FIELD_NUMBER
public static final int SHARE_POINT_SOURCES_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER- See Also:
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER- See Also:
-
FILE_STATUS_FIELD_NUMBER
public static final int FILE_STATUS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getRagFileSourceCase
- Specified by:
getRagFileSourceCasein interfaceRagFileOrBuilder
-
hasGcsSource
public 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];- Specified by:
hasGcsSourcein interfaceRagFileOrBuilder- Returns:
- Whether the gcsSource field is set.
-
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];- Specified by:
getGcsSourcein interfaceRagFileOrBuilder- Returns:
- The gcsSource.
-
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];- Specified by:
getGcsSourceOrBuilderin interfaceRagFileOrBuilder
-
hasGoogleDriveSource
public 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];- Specified by:
hasGoogleDriveSourcein interfaceRagFileOrBuilder- Returns:
- Whether the googleDriveSource field is set.
-
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];- Specified by:
getGoogleDriveSourcein interfaceRagFileOrBuilder- Returns:
- The googleDriveSource.
-
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];- Specified by:
getGoogleDriveSourceOrBuilderin interfaceRagFileOrBuilder
-
hasDirectUploadSource
public 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];- Specified by:
hasDirectUploadSourcein interfaceRagFileOrBuilder- Returns:
- Whether the directUploadSource field is set.
-
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];- Specified by:
getDirectUploadSourcein interfaceRagFileOrBuilder- Returns:
- The directUploadSource.
-
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];- Specified by:
getDirectUploadSourceOrBuilderin interfaceRagFileOrBuilder
-
hasSlackSource
public boolean hasSlackSource()The RagFile is imported from a Slack channel.
.google.cloud.aiplatform.v1.SlackSource slack_source = 11;- Specified by:
hasSlackSourcein interfaceRagFileOrBuilder- Returns:
- Whether the slackSource field is set.
-
getSlackSource
The RagFile is imported from a Slack channel.
.google.cloud.aiplatform.v1.SlackSource slack_source = 11;- Specified by:
getSlackSourcein interfaceRagFileOrBuilder- Returns:
- The slackSource.
-
getSlackSourceOrBuilder
The RagFile is imported from a Slack channel.
.google.cloud.aiplatform.v1.SlackSource slack_source = 11;- Specified by:
getSlackSourceOrBuilderin interfaceRagFileOrBuilder
-
hasJiraSource
public boolean hasJiraSource()The RagFile is imported from a Jira query.
.google.cloud.aiplatform.v1.JiraSource jira_source = 12;- Specified by:
hasJiraSourcein interfaceRagFileOrBuilder- Returns:
- Whether the jiraSource field is set.
-
getJiraSource
The RagFile is imported from a Jira query.
.google.cloud.aiplatform.v1.JiraSource jira_source = 12;- Specified by:
getJiraSourcein interfaceRagFileOrBuilder- Returns:
- The jiraSource.
-
getJiraSourceOrBuilder
The RagFile is imported from a Jira query.
.google.cloud.aiplatform.v1.JiraSource jira_source = 12;- Specified by:
getJiraSourceOrBuilderin interfaceRagFileOrBuilder
-
getName
Output only. The resource name of the RagFile.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceRagFileOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. The resource name of the RagFile.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceRagFileOrBuilder- Returns:
- The bytes for name.
-
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];- Specified by:
getDisplayNamein interfaceRagFileOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public 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];- Specified by:
getDisplayNameBytesin interfaceRagFileOrBuilder- Returns:
- The bytes for displayName.
-
getDescription
Optional. The description of the RagFile.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceRagFileOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()Optional. The description of the RagFile.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionBytesin interfaceRagFileOrBuilder- Returns:
- The bytes for description.
-
hasCreateTime
public boolean hasCreateTime()Output only. Timestamp when this RagFile was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceRagFileOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public 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];- Specified by:
getCreateTimein interfaceRagFileOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public 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];- Specified by:
getCreateTimeOrBuilderin interfaceRagFileOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()Output only. Timestamp when this RagFile was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceRagFileOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public 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];- Specified by:
getUpdateTimein interfaceRagFileOrBuilder- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public 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];- Specified by:
getUpdateTimeOrBuilderin interfaceRagFileOrBuilder
-
hasFileStatus
public boolean hasFileStatus()Output only. State of the RagFile.
.google.cloud.aiplatform.v1.FileStatus file_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasFileStatusin interfaceRagFileOrBuilder- Returns:
- Whether the fileStatus field is set.
-
getFileStatus
Output only. State of the RagFile.
.google.cloud.aiplatform.v1.FileStatus file_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFileStatusin interfaceRagFileOrBuilder- Returns:
- The fileStatus.
-
getFileStatusOrBuilder
Output only. State of the RagFile.
.google.cloud.aiplatform.v1.FileStatus file_status = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFileStatusOrBuilderin interfaceRagFileOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static RagFile parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RagFile parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RagFile parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RagFile parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RagFile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static RagFile parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RagFile parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static RagFile parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static RagFile parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected RagFile.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-