Class UploadRagFileConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1beta1.UploadRagFileConfig
All Implemented Interfaces:
UploadRagFileConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class UploadRagFileConfig extends com.google.protobuf.GeneratedMessage implements UploadRagFileConfigOrBuilder
 Config for uploading RagFile.
 
Protobuf type google.cloud.aiplatform.v1beta1.UploadRagFileConfig
See Also:
  • Field Details

    • RAG_FILE_CHUNKING_CONFIG_FIELD_NUMBER

      public static final int RAG_FILE_CHUNKING_CONFIG_FIELD_NUMBER
      See Also:
    • RAG_FILE_TRANSFORMATION_CONFIG_FIELD_NUMBER

      public static final int RAG_FILE_TRANSFORMATION_CONFIG_FIELD_NUMBER
      See Also:
    • RAG_FILE_METADATA_CONFIG_FIELD_NUMBER

      public static final int RAG_FILE_METADATA_CONFIG_FIELD_NUMBER
      See Also:
    • RAG_FILE_PARSING_CONFIG_FIELD_NUMBER

      public static final int RAG_FILE_PARSING_CONFIG_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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • hasRagFileChunkingConfig

      @Deprecated public boolean hasRagFileChunkingConfig()
      Deprecated.
      google.cloud.aiplatform.v1beta1.UploadRagFileConfig.rag_file_chunking_config is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=671
       Specifies the size and overlap of chunks after uploading RagFile.
       
      .google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 1 [deprecated = true];
      Specified by:
      hasRagFileChunkingConfig in interface UploadRagFileConfigOrBuilder
      Returns:
      Whether the ragFileChunkingConfig field is set.
    • getRagFileChunkingConfig

      @Deprecated public RagFileChunkingConfig getRagFileChunkingConfig()
      Deprecated.
      google.cloud.aiplatform.v1beta1.UploadRagFileConfig.rag_file_chunking_config is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=671
       Specifies the size and overlap of chunks after uploading RagFile.
       
      .google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 1 [deprecated = true];
      Specified by:
      getRagFileChunkingConfig in interface UploadRagFileConfigOrBuilder
      Returns:
      The ragFileChunkingConfig.
    • getRagFileChunkingConfigOrBuilder

      @Deprecated public RagFileChunkingConfigOrBuilder getRagFileChunkingConfigOrBuilder()
      Deprecated.
       Specifies the size and overlap of chunks after uploading RagFile.
       
      .google.cloud.aiplatform.v1beta1.RagFileChunkingConfig rag_file_chunking_config = 1 [deprecated = true];
      Specified by:
      getRagFileChunkingConfigOrBuilder in interface UploadRagFileConfigOrBuilder
    • hasRagFileTransformationConfig

      public boolean hasRagFileTransformationConfig()
       Specifies the transformation config for RagFiles.
       
      .google.cloud.aiplatform.v1beta1.RagFileTransformationConfig rag_file_transformation_config = 3;
      Specified by:
      hasRagFileTransformationConfig in interface UploadRagFileConfigOrBuilder
      Returns:
      Whether the ragFileTransformationConfig field is set.
    • getRagFileTransformationConfig

      public RagFileTransformationConfig getRagFileTransformationConfig()
       Specifies the transformation config for RagFiles.
       
      .google.cloud.aiplatform.v1beta1.RagFileTransformationConfig rag_file_transformation_config = 3;
      Specified by:
      getRagFileTransformationConfig in interface UploadRagFileConfigOrBuilder
      Returns:
      The ragFileTransformationConfig.
    • getRagFileTransformationConfigOrBuilder

      public RagFileTransformationConfigOrBuilder getRagFileTransformationConfigOrBuilder()
       Specifies the transformation config for RagFiles.
       
      .google.cloud.aiplatform.v1beta1.RagFileTransformationConfig rag_file_transformation_config = 3;
      Specified by:
      getRagFileTransformationConfigOrBuilder in interface UploadRagFileConfigOrBuilder
    • hasRagFileMetadataConfig

      @Deprecated public boolean hasRagFileMetadataConfig()
      Deprecated.
      google.cloud.aiplatform.v1beta1.UploadRagFileConfig.rag_file_metadata_config is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=680
       Optional. Specifies the metadata config for RagFiles.
       Including paths for metadata schema and metadata.
       Alteratively, inline metadata schema and metadata can be provided.
       Deprecated: Not in use.
       
      .google.cloud.aiplatform.v1beta1.RagFileMetadataConfig rag_file_metadata_config = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasRagFileMetadataConfig in interface UploadRagFileConfigOrBuilder
      Returns:
      Whether the ragFileMetadataConfig field is set.
    • getRagFileMetadataConfig

      @Deprecated public RagFileMetadataConfig getRagFileMetadataConfig()
      Deprecated.
      google.cloud.aiplatform.v1beta1.UploadRagFileConfig.rag_file_metadata_config is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_data.proto;l=680
       Optional. Specifies the metadata config for RagFiles.
       Including paths for metadata schema and metadata.
       Alteratively, inline metadata schema and metadata can be provided.
       Deprecated: Not in use.
       
      .google.cloud.aiplatform.v1beta1.RagFileMetadataConfig rag_file_metadata_config = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRagFileMetadataConfig in interface UploadRagFileConfigOrBuilder
      Returns:
      The ragFileMetadataConfig.
    • getRagFileMetadataConfigOrBuilder

      @Deprecated public RagFileMetadataConfigOrBuilder getRagFileMetadataConfigOrBuilder()
      Deprecated.
       Optional. Specifies the metadata config for RagFiles.
       Including paths for metadata schema and metadata.
       Alteratively, inline metadata schema and metadata can be provided.
       Deprecated: Not in use.
       
      .google.cloud.aiplatform.v1beta1.RagFileMetadataConfig rag_file_metadata_config = 4 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRagFileMetadataConfigOrBuilder in interface UploadRagFileConfigOrBuilder
    • hasRagFileParsingConfig

      public boolean hasRagFileParsingConfig()
       Optional. Specifies the parsing config for RagFiles.
       RAG will use the default parser if this field is not set.
       
      .google.cloud.aiplatform.v1beta1.RagFileParsingConfig rag_file_parsing_config = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasRagFileParsingConfig in interface UploadRagFileConfigOrBuilder
      Returns:
      Whether the ragFileParsingConfig field is set.
    • getRagFileParsingConfig

      public RagFileParsingConfig getRagFileParsingConfig()
       Optional. Specifies the parsing config for RagFiles.
       RAG will use the default parser if this field is not set.
       
      .google.cloud.aiplatform.v1beta1.RagFileParsingConfig rag_file_parsing_config = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRagFileParsingConfig in interface UploadRagFileConfigOrBuilder
      Returns:
      The ragFileParsingConfig.
    • getRagFileParsingConfigOrBuilder

      public RagFileParsingConfigOrBuilder getRagFileParsingConfigOrBuilder()
       Optional. Specifies the parsing config for RagFiles.
       RAG will use the default parser if this field is not set.
       
      .google.cloud.aiplatform.v1beta1.RagFileParsingConfig rag_file_parsing_config = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRagFileParsingConfigOrBuilder in interface UploadRagFileConfigOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static UploadRagFileConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UploadRagFileConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UploadRagFileConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UploadRagFileConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UploadRagFileConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UploadRagFileConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static UploadRagFileConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UploadRagFileConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static UploadRagFileConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static UploadRagFileConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UploadRagFileConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static UploadRagFileConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public UploadRagFileConfig.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static UploadRagFileConfig.Builder newBuilder()
    • newBuilder

      public static UploadRagFileConfig.Builder newBuilder(UploadRagFileConfig prototype)
    • toBuilder

      public UploadRagFileConfig.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected UploadRagFileConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static UploadRagFileConfig getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<UploadRagFileConfig> parser()
    • getParserForType

      public com.google.protobuf.Parser<UploadRagFileConfig> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public UploadRagFileConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder