Class FeatureView.VertexRagSource.Builder (3.52.0)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public FeatureView.VertexRagSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
FeatureView.VertexRagSource.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public FeatureView.VertexRagSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
FeatureView.VertexRagSource.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public FeatureView.VertexRagSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FeatureView.VertexRagSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FeatureView.VertexRagSource.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public FeatureView.VertexRagSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public FeatureView.VertexRagSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
FeatureView.VertexRagSource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final FeatureView.VertexRagSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
FeatureView.VertexRagSource.Builder
Overrides

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.