Class RagMetadataSchemaDetails.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RagMetadataSchemaDetails.Builder>
com.google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.Builder
All Implemented Interfaces:
RagMetadataSchemaDetailsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
RagMetadataSchemaDetails

public static final class RagMetadataSchemaDetails.Builder extends com.google.protobuf.GeneratedMessage.Builder<RagMetadataSchemaDetails.Builder> 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
  • 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.Builder<RagMetadataSchemaDetails.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<RagMetadataSchemaDetails.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RagMetadataSchemaDetails.Builder>
    • getDefaultInstanceForType

      public RagMetadataSchemaDetails getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

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

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

      public RagMetadataSchemaDetails.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RagMetadataSchemaDetails.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<RagMetadataSchemaDetails.Builder>
    • mergeFrom

      public RagMetadataSchemaDetails.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<RagMetadataSchemaDetails.Builder>
      Throws:
      IOException
    • 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.
    • setTypeValue

      public RagMetadataSchemaDetails.Builder setTypeValue(int value)
       Type of the metadata.
       
      optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.DataType type = 1;
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
    • getType

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

       Type of the metadata.
       
      optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.DataType type = 1;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

       Type of the metadata.
       
      optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.DataType type = 1;
      Returns:
      This builder for chaining.
    • 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.
    • setListConfig

       Config for List data type.
       
      .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.ListConfig list_config = 2;
    • setListConfig

       Config for List data type.
       
      .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.ListConfig list_config = 2;
    • mergeListConfig

       Config for List data type.
       
      .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.ListConfig list_config = 2;
    • clearListConfig

      public RagMetadataSchemaDetails.Builder clearListConfig()
       Config for List data type.
       
      .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.ListConfig list_config = 2;
    • getListConfigBuilder

      public RagMetadataSchemaDetails.ListConfig.Builder getListConfigBuilder()
       Config for List data type.
       
      .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.ListConfig list_config = 2;
    • 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.
    • setGranularityValue

      public RagMetadataSchemaDetails.Builder setGranularityValue(int value)
       The granularity associated with this RagMetadataSchema.
       
      optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.Granularity granularity = 3;
      Parameters:
      value - The enum numeric value on the wire for granularity to set.
      Returns:
      This builder for chaining.
    • 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.
    • setGranularity

       The granularity associated with this RagMetadataSchema.
       
      optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.Granularity granularity = 3;
      Parameters:
      value - The granularity to set.
      Returns:
      This builder for chaining.
    • clearGranularity

      public RagMetadataSchemaDetails.Builder clearGranularity()
       The granularity associated with this RagMetadataSchema.
       
      optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.Granularity granularity = 3;
      Returns:
      This builder for chaining.
    • 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.
    • setSearchStrategy

       The search strategy for the metadata value of the `key`.
       
      optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.SearchStrategy search_strategy = 4;
    • setSearchStrategy

       The search strategy for the metadata value of the `key`.
       
      optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.SearchStrategy search_strategy = 4;
    • mergeSearchStrategy

       The search strategy for the metadata value of the `key`.
       
      optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.SearchStrategy search_strategy = 4;
    • clearSearchStrategy

      public RagMetadataSchemaDetails.Builder clearSearchStrategy()
       The search strategy for the metadata value of the `key`.
       
      optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.SearchStrategy search_strategy = 4;
    • getSearchStrategyBuilder

      public RagMetadataSchemaDetails.SearchStrategy.Builder getSearchStrategyBuilder()
       The search strategy for the metadata value of the `key`.
       
      optional .google.cloud.aiplatform.v1beta1.RagMetadataSchemaDetails.SearchStrategy search_strategy = 4;
    • 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