Class FeatureView.VertexRagSource (3.55.0)

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

RAG_CORPUS_ID_FIELD_NUMBER

public static final int RAG_CORPUS_ID_FIELD_NUMBER
Field Value
Type Description
int

URI_FIELD_NUMBER

public static final int URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static FeatureView.VertexRagSource getDefaultInstance()
Returns
Type Description
FeatureView.VertexRagSource

getDescriptor()

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

newBuilder()

public static FeatureView.VertexRagSource.Builder newBuilder()
Returns
Type Description
FeatureView.VertexRagSource.Builder

newBuilder(FeatureView.VertexRagSource prototype)

public static FeatureView.VertexRagSource.Builder newBuilder(FeatureView.VertexRagSource prototype)
Parameter
Name Description
prototype FeatureView.VertexRagSource
Returns
Type Description
FeatureView.VertexRagSource.Builder

parseDelimitedFrom(InputStream input)

public static FeatureView.VertexRagSource parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FeatureView.VertexRagSource
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FeatureView.VertexRagSource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureView.VertexRagSource
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static FeatureView.VertexRagSource parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
FeatureView.VertexRagSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static FeatureView.VertexRagSource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureView.VertexRagSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static FeatureView.VertexRagSource parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
FeatureView.VertexRagSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static FeatureView.VertexRagSource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureView.VertexRagSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static FeatureView.VertexRagSource parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
FeatureView.VertexRagSource
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static FeatureView.VertexRagSource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureView.VertexRagSource
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static FeatureView.VertexRagSource parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
FeatureView.VertexRagSource
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static FeatureView.VertexRagSource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureView.VertexRagSource
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static FeatureView.VertexRagSource parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
FeatureView.VertexRagSource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static FeatureView.VertexRagSource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
FeatureView.VertexRagSource
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<FeatureView.VertexRagSource> parser()
Returns
Type Description
Parser<VertexRagSource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

public Parser<FeatureView.VertexRagSource> getParserForType()
Returns
Type Description
Parser<VertexRagSource>
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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public FeatureView.VertexRagSource.Builder newBuilderForType()
Returns
Type Description
FeatureView.VertexRagSource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected FeatureView.VertexRagSource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
FeatureView.VertexRagSource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public FeatureView.VertexRagSource.Builder toBuilder()
Returns
Type Description
FeatureView.VertexRagSource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException