Class RagMetadataSchemaDetails

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

@Generated public final class RagMetadataSchemaDetails extends com.google.protobuf.GeneratedMessage implements RagMetadataSchemaDetailsOrBuilder
 Data schema details indicates the data type and the data struct corresponding
 to the key of user specified metadata.
 
Protobuf type google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails
See Also:
  • Field Details

    • TYPE_FIELD_NUMBER

      public static final int TYPE_FIELD_NUMBER
      See Also:
    • LIST_CONFIG_FIELD_NUMBER

      public static final int LIST_CONFIG_FIELD_NUMBER
      See Also:
    • GRANULARITY_FIELD_NUMBER

      public static final int GRANULARITY_FIELD_NUMBER
      See Also:
    • SEARCH_STRATEGY_FIELD_NUMBER

      public static final int SEARCH_STRATEGY_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
    • hasType

      public boolean hasType()
       Type of the metadata.
       
      optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.DataType type = 1;
      Specified by:
      hasType in interface RagMetadataSchemaDetailsOrBuilder
      Returns:
      Whether the type field is set.
    • getTypeValue

      public int getTypeValue()
       Type of the metadata.
       
      optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.DataType type = 1;
      Specified by:
      getTypeValue in interface RagMetadataSchemaDetailsOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • getType

       Type of the metadata.
       
      optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.DataType type = 1;
      Specified by:
      getType in interface RagMetadataSchemaDetailsOrBuilder
      Returns:
      The type.
    • hasListConfig

      public boolean hasListConfig()
       Config for List data type.
       
      .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.ListConfig list_config = 2;
      Specified by:
      hasListConfig in interface RagMetadataSchemaDetailsOrBuilder
      Returns:
      Whether the listConfig field is set.
    • getListConfig

      public RagMetadataSchemaDetails.ListConfig getListConfig()
       Config for List data type.
       
      .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.ListConfig list_config = 2;
      Specified by:
      getListConfig in interface RagMetadataSchemaDetailsOrBuilder
      Returns:
      The listConfig.
    • getListConfigOrBuilder

      public RagMetadataSchemaDetails.ListConfigOrBuilder getListConfigOrBuilder()
       Config for List data type.
       
      .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.ListConfig list_config = 2;
      Specified by:
      getListConfigOrBuilder in interface RagMetadataSchemaDetailsOrBuilder
    • hasGranularity

      public boolean hasGranularity()
       The granularity associated with this RagMetadataSchema.
       
      optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.Granularity granularity = 3;
      Specified by:
      hasGranularity in interface RagMetadataSchemaDetailsOrBuilder
      Returns:
      Whether the granularity field is set.
    • getGranularityValue

      public int getGranularityValue()
       The granularity associated with this RagMetadataSchema.
       
      optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.Granularity granularity = 3;
      Specified by:
      getGranularityValue in interface RagMetadataSchemaDetailsOrBuilder
      Returns:
      The enum numeric value on the wire for granularity.
    • getGranularity

      public RagMetadataSchemaDetails.Granularity getGranularity()
       The granularity associated with this RagMetadataSchema.
       
      optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.Granularity granularity = 3;
      Specified by:
      getGranularity in interface RagMetadataSchemaDetailsOrBuilder
      Returns:
      The granularity.
    • hasSearchStrategy

      public boolean hasSearchStrategy()
       The search strategy for the metadata value of the `key`.
       
      optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.SearchStrategy search_strategy = 4;
      Specified by:
      hasSearchStrategy in interface RagMetadataSchemaDetailsOrBuilder
      Returns:
      Whether the searchStrategy field is set.
    • getSearchStrategy

      public RagMetadataSchemaDetails.SearchStrategy getSearchStrategy()
       The search strategy for the metadata value of the `key`.
       
      optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.SearchStrategy search_strategy = 4;
      Specified by:
      getSearchStrategy in interface RagMetadataSchemaDetailsOrBuilder
      Returns:
      The searchStrategy.
    • getSearchStrategyOrBuilder

      public RagMetadataSchemaDetails.SearchStrategyOrBuilder getSearchStrategyOrBuilder()
       The search strategy for the metadata value of the `key`.
       
      optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.SearchStrategy search_strategy = 4;
      Specified by:
      getSearchStrategyOrBuilder in interface RagMetadataSchemaDetailsOrBuilder
    • 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 RagMetadataSchemaDetails parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static RagMetadataSchemaDetails.Builder newBuilder()
    • newBuilder

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

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

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

      public static RagMetadataSchemaDetails getDefaultInstance()
    • parser

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

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