Class FeatureView.VertexRagSource.Builder

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

public static final class FeatureView.VertexRagSource.Builder extends com.google.protobuf.GeneratedMessage.Builder<FeatureView.VertexRagSource.Builder> implements FeatureView.VertexRagSourceOrBuilder
 A Vertex Rag source for features that need to be synced to Online
 Store.
 
Protobuf type google.cloud.aiplatform.v1.FeatureView.VertexRagSource
  • 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<FeatureView.VertexRagSource.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<FeatureView.VertexRagSource.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<FeatureView.VertexRagSource.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public FeatureView.VertexRagSource.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<FeatureView.VertexRagSource.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<FeatureView.VertexRagSource.Builder>
    • mergeFrom

      public FeatureView.VertexRagSource.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<FeatureView.VertexRagSource.Builder>
      Throws:
      IOException
    • getUri

      public String getUri()
       Required. The BigQuery view/table URI that will be materialized on each
       manual sync trigger. The table/view is expected to have the following
       columns and types at least:
       - `corpus_id` (STRING, NULLABLE/REQUIRED)
       - `file_id` (STRING, NULLABLE/REQUIRED)
       - `chunk_id` (STRING, NULLABLE/REQUIRED)
       - `chunk_data_type` (STRING, NULLABLE/REQUIRED)
       - `chunk_data` (STRING, NULLABLE/REQUIRED)
       - `embeddings` (FLOAT, REPEATED)
       - `file_original_uri` (STRING, NULLABLE/REQUIRED)
       
      string uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUri in interface FeatureView.VertexRagSourceOrBuilder
      Returns:
      The uri.
    • getUriBytes

      public com.google.protobuf.ByteString getUriBytes()
       Required. The BigQuery view/table URI that will be materialized on each
       manual sync trigger. The table/view is expected to have the following
       columns and types at least:
       - `corpus_id` (STRING, NULLABLE/REQUIRED)
       - `file_id` (STRING, NULLABLE/REQUIRED)
       - `chunk_id` (STRING, NULLABLE/REQUIRED)
       - `chunk_data_type` (STRING, NULLABLE/REQUIRED)
       - `chunk_data` (STRING, NULLABLE/REQUIRED)
       - `embeddings` (FLOAT, REPEATED)
       - `file_original_uri` (STRING, NULLABLE/REQUIRED)
       
      string uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getUriBytes in interface FeatureView.VertexRagSourceOrBuilder
      Returns:
      The bytes for uri.
    • setUri

       Required. The BigQuery view/table URI that will be materialized on each
       manual sync trigger. The table/view is expected to have the following
       columns and types at least:
       - `corpus_id` (STRING, NULLABLE/REQUIRED)
       - `file_id` (STRING, NULLABLE/REQUIRED)
       - `chunk_id` (STRING, NULLABLE/REQUIRED)
       - `chunk_data_type` (STRING, NULLABLE/REQUIRED)
       - `chunk_data` (STRING, NULLABLE/REQUIRED)
       - `embeddings` (FLOAT, REPEATED)
       - `file_original_uri` (STRING, NULLABLE/REQUIRED)
       
      string uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The uri to set.
      Returns:
      This builder for chaining.
    • clearUri

       Required. The BigQuery view/table URI that will be materialized on each
       manual sync trigger. The table/view is expected to have the following
       columns and types at least:
       - `corpus_id` (STRING, NULLABLE/REQUIRED)
       - `file_id` (STRING, NULLABLE/REQUIRED)
       - `chunk_id` (STRING, NULLABLE/REQUIRED)
       - `chunk_data_type` (STRING, NULLABLE/REQUIRED)
       - `chunk_data` (STRING, NULLABLE/REQUIRED)
       - `embeddings` (FLOAT, REPEATED)
       - `file_original_uri` (STRING, NULLABLE/REQUIRED)
       
      string uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setUriBytes

      public FeatureView.VertexRagSource.Builder setUriBytes(com.google.protobuf.ByteString value)
       Required. The BigQuery view/table URI that will be materialized on each
       manual sync trigger. The table/view is expected to have the following
       columns and types at least:
       - `corpus_id` (STRING, NULLABLE/REQUIRED)
       - `file_id` (STRING, NULLABLE/REQUIRED)
       - `chunk_id` (STRING, NULLABLE/REQUIRED)
       - `chunk_data_type` (STRING, NULLABLE/REQUIRED)
       - `chunk_data` (STRING, NULLABLE/REQUIRED)
       - `embeddings` (FLOAT, REPEATED)
       - `file_original_uri` (STRING, NULLABLE/REQUIRED)
       
      string uri = 1 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for uri to set.
      Returns:
      This builder for chaining.
    • getRagCorpusId

      public long getRagCorpusId()
       Optional. The RAG corpus id corresponding to this FeatureView.
       
      int64 rag_corpus_id = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRagCorpusId in interface FeatureView.VertexRagSourceOrBuilder
      Returns:
      The ragCorpusId.
    • setRagCorpusId

      public FeatureView.VertexRagSource.Builder setRagCorpusId(long value)
       Optional. The RAG corpus id corresponding to this FeatureView.
       
      int64 rag_corpus_id = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The ragCorpusId to set.
      Returns:
      This builder for chaining.
    • clearRagCorpusId

      public FeatureView.VertexRagSource.Builder clearRagCorpusId()
       Optional. The RAG corpus id corresponding to this FeatureView.
       
      int64 rag_corpus_id = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.