Class FeatureView.VertexRagSource.Builder (3.84.0)

public static final class FeatureView.VertexRagSource.Builder extends 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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public FeatureView.VertexRagSource build()
Returns
Type Description
FeatureView.VertexRagSource

buildPartial()

public FeatureView.VertexRagSource buildPartial()
Returns
Type Description
FeatureView.VertexRagSource

clear()

public FeatureView.VertexRagSource.Builder clear()
Returns
Type Description
FeatureView.VertexRagSource.Builder
Overrides

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
Type Description
FeatureView.VertexRagSource.Builder

This builder for chaining.

clearUri()

public FeatureView.VertexRagSource.Builder 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
Type Description
FeatureView.VertexRagSource.Builder

This builder for chaining.

getDefaultInstanceForType()

public FeatureView.VertexRagSource getDefaultInstanceForType()
Returns
Type Description
FeatureView.VertexRagSource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getRagCorpusId()

public long getRagCorpusId()

Optional. The RAG corpus id corresponding to this FeatureView.

int64 rag_corpus_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
long

The ragCorpusId.

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];

Returns
Type Description
String

The uri.

getUriBytes()

public 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];

Returns
Type Description
ByteString

The bytes for uri.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FeatureView.VertexRagSource other)

public FeatureView.VertexRagSource.Builder mergeFrom(FeatureView.VertexRagSource other)
Parameter
Name Description
other FeatureView.VertexRagSource
Returns
Type Description
FeatureView.VertexRagSource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public FeatureView.VertexRagSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureView.VertexRagSource.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public FeatureView.VertexRagSource.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
FeatureView.VertexRagSource.Builder
Overrides

setRagCorpusId(long value)

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];

Parameter
Name Description
value long

The ragCorpusId to set.

Returns
Type Description
FeatureView.VertexRagSource.Builder

This builder for chaining.

setUri(String value)

public FeatureView.VertexRagSource.Builder setUri(String 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];

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
FeatureView.VertexRagSource.Builder

This builder for chaining.

setUriBytes(ByteString value)

public FeatureView.VertexRagSource.Builder setUriBytes(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];

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
FeatureView.VertexRagSource.Builder

This builder for chaining.