Class RagCorpus.CorpusTypeConfig

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfig
All Implemented Interfaces:
RagCorpus.CorpusTypeConfigOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
RagCorpus

public static final class RagCorpus.CorpusTypeConfig extends com.google.protobuf.GeneratedMessage implements RagCorpus.CorpusTypeConfigOrBuilder
 The config for the corpus type of the RagCorpus.
 
Protobuf type google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfig
See Also:
  • Field Details

    • DOCUMENT_CORPUS_FIELD_NUMBER

      public static final int DOCUMENT_CORPUS_FIELD_NUMBER
      See Also:
    • MEMORY_CORPUS_FIELD_NUMBER

      public static final int MEMORY_CORPUS_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
    • getCorpusTypeConfigCase

      public RagCorpus.CorpusTypeConfig.CorpusTypeConfigCase getCorpusTypeConfigCase()
      Specified by:
      getCorpusTypeConfigCase in interface RagCorpus.CorpusTypeConfigOrBuilder
    • hasDocumentCorpus

      public boolean hasDocumentCorpus()
       Optional. Config for the document corpus.
       
      .google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfig.DocumentCorpus document_corpus = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDocumentCorpus in interface RagCorpus.CorpusTypeConfigOrBuilder
      Returns:
      Whether the documentCorpus field is set.
    • getDocumentCorpus

      public RagCorpus.CorpusTypeConfig.DocumentCorpus getDocumentCorpus()
       Optional. Config for the document corpus.
       
      .google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfig.DocumentCorpus document_corpus = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDocumentCorpus in interface RagCorpus.CorpusTypeConfigOrBuilder
      Returns:
      The documentCorpus.
    • getDocumentCorpusOrBuilder

      public RagCorpus.CorpusTypeConfig.DocumentCorpusOrBuilder getDocumentCorpusOrBuilder()
       Optional. Config for the document corpus.
       
      .google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfig.DocumentCorpus document_corpus = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDocumentCorpusOrBuilder in interface RagCorpus.CorpusTypeConfigOrBuilder
    • hasMemoryCorpus

      public boolean hasMemoryCorpus()
       Optional. Config for the memory corpus.
       
      .google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfig.MemoryCorpus memory_corpus = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasMemoryCorpus in interface RagCorpus.CorpusTypeConfigOrBuilder
      Returns:
      Whether the memoryCorpus field is set.
    • getMemoryCorpus

      public RagCorpus.CorpusTypeConfig.MemoryCorpus getMemoryCorpus()
       Optional. Config for the memory corpus.
       
      .google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfig.MemoryCorpus memory_corpus = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMemoryCorpus in interface RagCorpus.CorpusTypeConfigOrBuilder
      Returns:
      The memoryCorpus.
    • getMemoryCorpusOrBuilder

      public RagCorpus.CorpusTypeConfig.MemoryCorpusOrBuilder getMemoryCorpusOrBuilder()
       Optional. Config for the memory corpus.
       
      .google.cloud.aiplatform.v1beta1.RagCorpus.CorpusTypeConfig.MemoryCorpus memory_corpus = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getMemoryCorpusOrBuilder in interface RagCorpus.CorpusTypeConfigOrBuilder
    • 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 RagCorpus.CorpusTypeConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static RagCorpus.CorpusTypeConfig parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static RagCorpus.CorpusTypeConfig parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static RagCorpus.CorpusTypeConfig.Builder newBuilder()
    • newBuilder

      public static RagCorpus.CorpusTypeConfig.Builder newBuilder(RagCorpus.CorpusTypeConfig prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static RagCorpus.CorpusTypeConfig getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<RagCorpus.CorpusTypeConfig> 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 RagCorpus.CorpusTypeConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder