public final class ImportRagFilesConfig extends com.google.protobuf.GeneratedMessageV3 implements ImportRagFilesConfigOrBuilder
Config for importing RagFiles.Protobuf type
google.cloud.aiplatform.v1beta1.ImportRagFilesConfig| Modifier and Type | Class and Description |
|---|---|
static class |
ImportRagFilesConfig.Builder
Config for importing RagFiles.
|
static class |
ImportRagFilesConfig.ImportSourceCase |
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 |
GCS_SOURCE_FIELD_NUMBER |
static int |
GOOGLE_DRIVE_SOURCE_FIELD_NUMBER |
static int |
JIRA_SOURCE_FIELD_NUMBER |
static int |
MAX_EMBEDDING_REQUESTS_PER_MIN_FIELD_NUMBER |
static int |
RAG_FILE_CHUNKING_CONFIG_FIELD_NUMBER |
static int |
RAG_FILE_PARSING_CONFIG_FIELD_NUMBER |
static int |
SLACK_SOURCE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ImportRagFilesConfig |
getDefaultInstance() |
ImportRagFilesConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
GcsSource |
getGcsSource()
Google Cloud Storage location.
|
GcsSourceOrBuilder |
getGcsSourceOrBuilder()
Google Cloud Storage location.
|
GoogleDriveSource |
getGoogleDriveSource()
Google Drive location.
|
GoogleDriveSourceOrBuilder |
getGoogleDriveSourceOrBuilder()
Google Drive location.
|
ImportRagFilesConfig.ImportSourceCase |
getImportSourceCase() |
JiraSource |
getJiraSource()
Jira queries with their corresponding authentication.
|
JiraSourceOrBuilder |
getJiraSourceOrBuilder()
Jira queries with their corresponding authentication.
|
int |
getMaxEmbeddingRequestsPerMin()
Optional.
|
com.google.protobuf.Parser<ImportRagFilesConfig> |
getParserForType() |
RagFileChunkingConfig |
getRagFileChunkingConfig()
Specifies the size and overlap of chunks after importing RagFiles.
|
RagFileChunkingConfigOrBuilder |
getRagFileChunkingConfigOrBuilder()
Specifies the size and overlap of chunks after importing RagFiles.
|
RagFileParsingConfig |
getRagFileParsingConfig()
Specifies the parsing config for RagFiles.
|
RagFileParsingConfigOrBuilder |
getRagFileParsingConfigOrBuilder()
Specifies the parsing config for RagFiles.
|
int |
getSerializedSize() |
SlackSource |
getSlackSource()
Slack channels with their corresponding access tokens.
|
SlackSourceOrBuilder |
getSlackSourceOrBuilder()
Slack channels with their corresponding access tokens.
|
boolean |
hasGcsSource()
Google Cloud Storage location.
|
boolean |
hasGoogleDriveSource()
Google Drive location.
|
int |
hashCode() |
boolean |
hasJiraSource()
Jira queries with their corresponding authentication.
|
boolean |
hasRagFileChunkingConfig()
Specifies the size and overlap of chunks after importing RagFiles.
|
boolean |
hasRagFileParsingConfig()
Specifies the parsing config for RagFiles.
|
boolean |
hasSlackSource()
Slack channels with their corresponding access tokens.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ImportRagFilesConfig.Builder |
newBuilder() |
static ImportRagFilesConfig.Builder |
newBuilder(ImportRagFilesConfig prototype) |
ImportRagFilesConfig.Builder |
newBuilderForType() |
protected ImportRagFilesConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ImportRagFilesConfig |
parseDelimitedFrom(InputStream input) |
static ImportRagFilesConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportRagFilesConfig |
parseFrom(byte[] data) |
static ImportRagFilesConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportRagFilesConfig |
parseFrom(ByteBuffer data) |
static ImportRagFilesConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportRagFilesConfig |
parseFrom(com.google.protobuf.ByteString data) |
static ImportRagFilesConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportRagFilesConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ImportRagFilesConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ImportRagFilesConfig |
parseFrom(InputStream input) |
static ImportRagFilesConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ImportRagFilesConfig> |
parser() |
ImportRagFilesConfig.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 SLACK_SOURCE_FIELD_NUMBER
public static final int JIRA_SOURCE_FIELD_NUMBER
public static final int RAG_FILE_CHUNKING_CONFIG_FIELD_NUMBER
public static final int RAG_FILE_PARSING_CONFIG_FIELD_NUMBER
public static final int MAX_EMBEDDING_REQUESTS_PER_MIN_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 ImportRagFilesConfig.ImportSourceCase getImportSourceCase()
getImportSourceCase in interface ImportRagFilesConfigOrBuilderpublic boolean hasGcsSource()
Google Cloud Storage location. Supports importing individual files as well as entire Google Cloud Storage directories. Sample formats: - `gs://bucket_name/my_directory/object_name/my_file.txt` - `gs://bucket_name/my_directory`
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 2;hasGcsSource in interface ImportRagFilesConfigOrBuilderpublic GcsSource getGcsSource()
Google Cloud Storage location. Supports importing individual files as well as entire Google Cloud Storage directories. Sample formats: - `gs://bucket_name/my_directory/object_name/my_file.txt` - `gs://bucket_name/my_directory`
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 2;getGcsSource in interface ImportRagFilesConfigOrBuilderpublic GcsSourceOrBuilder getGcsSourceOrBuilder()
Google Cloud Storage location. Supports importing individual files as well as entire Google Cloud Storage directories. Sample formats: - `gs://bucket_name/my_directory/object_name/my_file.txt` - `gs://bucket_name/my_directory`
.google.cloud.aiplatform.v1beta1.GcsSource gcs_source = 2;getGcsSourceOrBuilder in interface ImportRagFilesConfigOrBuilderpublic boolean hasGoogleDriveSource()
Google Drive location. Supports importing individual files as well as Google Drive folders.
.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_source = 3;hasGoogleDriveSource in interface ImportRagFilesConfigOrBuilderpublic GoogleDriveSource getGoogleDriveSource()
Google Drive location. Supports importing individual files as well as Google Drive folders.
.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_source = 3;getGoogleDriveSource in interface ImportRagFilesConfigOrBuilderpublic GoogleDriveSourceOrBuilder getGoogleDriveSourceOrBuilder()
Google Drive location. Supports importing individual files as well as Google Drive folders.
.google.cloud.aiplatform.v1beta1.GoogleDriveSource google_drive_source = 3;getGoogleDriveSourceOrBuilder in interface ImportRagFilesConfigOrBuilderpublic boolean hasSlackSource()
Slack channels with their corresponding access tokens.
.google.cloud.aiplatform.v1beta1.SlackSource slack_source = 6;hasSlackSource in interface ImportRagFilesConfigOrBuilderpublic SlackSource getSlackSource()
Slack channels with their corresponding access tokens.
.google.cloud.aiplatform.v1beta1.SlackSource slack_source = 6;getSlackSource in interface ImportRagFilesConfigOrBuilderpublic SlackSourceOrBuilder getSlackSourceOrBuilder()
Slack channels with their corresponding access tokens.
.google.cloud.aiplatform.v1beta1.SlackSource slack_source = 6;getSlackSourceOrBuilder in interface ImportRagFilesConfigOrBuilderpublic boolean hasJiraSource()
Jira queries with their corresponding authentication.
.google.cloud.aiplatform.v1beta1.JiraSource jira_source = 7;hasJiraSource in interface ImportRagFilesConfigOrBuilderpublic JiraSource getJiraSource()
Jira queries with their corresponding authentication.
.google.cloud.aiplatform.v1beta1.JiraSource jira_source = 7;getJiraSource in interface ImportRagFilesConfigOrBuilderpublic JiraSourceOrBuilder getJiraSourceOrBuilder()
Jira queries with their corresponding authentication.
.google.cloud.aiplatform.v1beta1.JiraSource jira_source = 7;getJiraSourceOrBuilder in interface ImportRagFilesConfigOrBuilderpublic boolean hasRagFileChunkingConfig()
Specifies the size and overlap of chunks after importing RagFiles.
.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 4;
hasRagFileChunkingConfig in interface ImportRagFilesConfigOrBuilderpublic RagFileChunkingConfig getRagFileChunkingConfig()
Specifies the size and overlap of chunks after importing RagFiles.
.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 4;
getRagFileChunkingConfig in interface ImportRagFilesConfigOrBuilderpublic RagFileChunkingConfigOrBuilder getRagFileChunkingConfigOrBuilder()
Specifies the size and overlap of chunks after importing RagFiles.
.google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 4;
getRagFileChunkingConfigOrBuilder in interface ImportRagFilesConfigOrBuilderpublic boolean hasRagFileParsingConfig()
Specifies the parsing config for RagFiles.
.google.cloud.aiplatform.v1beta1.RagFileParsingConfig rag_file_parsing_config = 8;hasRagFileParsingConfig in interface ImportRagFilesConfigOrBuilderpublic RagFileParsingConfig getRagFileParsingConfig()
Specifies the parsing config for RagFiles.
.google.cloud.aiplatform.v1beta1.RagFileParsingConfig rag_file_parsing_config = 8;getRagFileParsingConfig in interface ImportRagFilesConfigOrBuilderpublic RagFileParsingConfigOrBuilder getRagFileParsingConfigOrBuilder()
Specifies the parsing config for RagFiles.
.google.cloud.aiplatform.v1beta1.RagFileParsingConfig rag_file_parsing_config = 8;getRagFileParsingConfigOrBuilder in interface ImportRagFilesConfigOrBuilderpublic int getMaxEmbeddingRequestsPerMin()
Optional. The max number of queries per minute that this job is allowed to make to the embedding model specified on the corpus. This value is specific to this job and not shared across other import jobs. Consult the Quotas page on the project to set an appropriate value here. If unspecified, a default value of 1,000 QPM would be used.
int32 max_embedding_requests_per_min = 5 [(.google.api.field_behavior) = OPTIONAL];
getMaxEmbeddingRequestsPerMin in interface ImportRagFilesConfigOrBuilderpublic 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 ImportRagFilesConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportRagFilesConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportRagFilesConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportRagFilesConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportRagFilesConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportRagFilesConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ImportRagFilesConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static ImportRagFilesConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ImportRagFilesConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ImportRagFilesConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ImportRagFilesConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ImportRagFilesConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ImportRagFilesConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ImportRagFilesConfig.Builder newBuilder()
public static ImportRagFilesConfig.Builder newBuilder(ImportRagFilesConfig prototype)
public ImportRagFilesConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ImportRagFilesConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ImportRagFilesConfig getDefaultInstance()
public static com.google.protobuf.Parser<ImportRagFilesConfig> parser()
public com.google.protobuf.Parser<ImportRagFilesConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ImportRagFilesConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.