public final class RagFile extends com.google.protobuf.GeneratedMessageV3 implements RagFileOrBuilder
A RagFile contains user data for chunking, embedding and indexing.Protobuf type
google.cloud.aiplatform.v1beta1.RagFile| Modifier and Type | Class and Description |
|---|---|
static class |
RagFile.Builder
A RagFile contains user data for chunking, embedding and indexing.
|
static class |
RagFile.RagFileSourceCase |
static class |
RagFile.RagFileType
The type of the RagFile.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
DESCRIPTION_FIELD_NUMBER |
static int |
DIRECT_UPLOAD_SOURCE_FIELD_NUMBER |
static int |
DISPLAY_NAME_FIELD_NUMBER |
static int |
GCS_SOURCE_FIELD_NUMBER |
static int |
GOOGLE_DRIVE_SOURCE_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
RAG_FILE_TYPE_FIELD_NUMBER |
static int |
SIZE_BYTES_FIELD_NUMBER |
static int |
UPDATE_TIME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
static RagFile |
getDefaultInstance() |
RagFile |
getDefaultInstanceForType() |
String |
getDescription()
Optional.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Optional.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
DirectUploadSource |
getDirectUploadSource()
Output only.
|
DirectUploadSourceOrBuilder |
getDirectUploadSourceOrBuilder()
Output only.
|
String |
getDisplayName()
Required.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
Required.
|
GcsSource |
getGcsSource()
Output only.
|
GcsSourceOrBuilder |
getGcsSourceOrBuilder()
Output only.
|
GoogleDriveSource |
getGoogleDriveSource()
Output only.
|
GoogleDriveSourceOrBuilder |
getGoogleDriveSourceOrBuilder()
Output only.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
com.google.protobuf.Parser<RagFile> |
getParserForType() |
RagFile.RagFileSourceCase |
getRagFileSourceCase() |
RagFile.RagFileType |
getRagFileType()
Output only.
|
int |
getRagFileTypeValue()
Output only.
|
int |
getSerializedSize() |
long |
getSizeBytes()
Output only.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasDirectUploadSource()
Output only.
|
boolean |
hasGcsSource()
Output only.
|
boolean |
hasGoogleDriveSource()
Output only.
|
int |
hashCode() |
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RagFile.Builder |
newBuilder() |
static RagFile.Builder |
newBuilder(RagFile prototype) |
RagFile.Builder |
newBuilderForType() |
protected RagFile.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RagFile |
parseDelimitedFrom(InputStream input) |
static RagFile |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RagFile |
parseFrom(byte[] data) |
static RagFile |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RagFile |
parseFrom(ByteBuffer data) |
static RagFile |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RagFile |
parseFrom(com.google.protobuf.ByteString data) |
static RagFile |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RagFile |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RagFile |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RagFile |
parseFrom(InputStream input) |
static RagFile |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RagFile> |
parser() |
RagFile.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int GCS_SOURCE_FIELD_NUMBER
public static final int GOOGLE_DRIVE_SOURCE_FIELD_NUMBER
public static final int DIRECT_UPLOAD_SOURCE_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
public static final int SIZE_BYTES_FIELD_NUMBER
public static final int RAG_FILE_TYPE_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public RagFile.RagFileSourceCase getRagFileSourceCase()
getRagFileSourceCase in interface RagFileOrBuilderpublic 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];
hasGcsSource in interface RagFileOrBuilderpublic 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];
getGcsSource in interface RagFileOrBuilderpublic 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];
getGcsSourceOrBuilder in interface RagFileOrBuilderpublic 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];
hasGoogleDriveSource in interface RagFileOrBuilderpublic 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];
getGoogleDriveSource in interface RagFileOrBuilderpublic 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];
getGoogleDriveSourceOrBuilder in interface RagFileOrBuilderpublic 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];
hasDirectUploadSource in interface RagFileOrBuilderpublic 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];
getDirectUploadSource in interface RagFileOrBuilderpublic 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];
getDirectUploadSourceOrBuilder in interface RagFileOrBuilderpublic String getName()
Output only. The resource name of the RagFile.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getName in interface RagFileOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the RagFile.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getNameBytes in interface RagFileOrBuilderpublic 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];getDisplayName in interface RagFileOrBuilderpublic 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];getDisplayNameBytes in interface RagFileOrBuilderpublic String getDescription()
Optional. The description of the RagFile.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];getDescription in interface RagFileOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Optional. The description of the RagFile.
string description = 3 [(.google.api.field_behavior) = OPTIONAL];getDescriptionBytes in interface RagFileOrBuilderpublic long getSizeBytes()
Output only. The size of the RagFile in bytes.
int64 size_bytes = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getSizeBytes in interface RagFileOrBuilderpublic 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];
getRagFileTypeValue in interface RagFileOrBuilderpublic 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];
getRagFileType in interface RagFileOrBuilderpublic boolean hasCreateTime()
Output only. Timestamp when this RagFile was created.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface RagFileOrBuilderpublic 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];
getCreateTime in interface RagFileOrBuilderpublic 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];
getCreateTimeOrBuilder in interface RagFileOrBuilderpublic boolean hasUpdateTime()
Output only. Timestamp when this RagFile was last updated.
.google.protobuf.Timestamp update_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface RagFileOrBuilderpublic 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];
getUpdateTime in interface RagFileOrBuilderpublic 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];
getUpdateTimeOrBuilder in interface RagFileOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static RagFile parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RagFile parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RagFile parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RagFile parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RagFile parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RagFile parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RagFile parseFrom(InputStream input) throws IOException
IOExceptionpublic static RagFile parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RagFile parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RagFile parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RagFile parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RagFile parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RagFile.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RagFile.Builder newBuilder()
public static RagFile.Builder newBuilder(RagFile prototype)
public RagFile.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RagFile.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RagFile getDefaultInstance()
public static com.google.protobuf.Parser<RagFile> parser()
public com.google.protobuf.Parser<RagFile> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RagFile getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.