public final class VertexRagStore extends com.google.protobuf.GeneratedMessageV3 implements VertexRagStoreOrBuilder
Retrieve from Vertex RAG Store for grounding.Protobuf type
google.cloud.aiplatform.v1beta1.VertexRagStore| Modifier and Type | Class and Description |
|---|---|
static class |
VertexRagStore.Builder
Retrieve from Vertex RAG Store for grounding.
|
static class |
VertexRagStore.RagResource
The definition of the Rag resource.
|
static interface |
VertexRagStore.RagResourceOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
RAG_CORPORA_FIELD_NUMBER |
static int |
RAG_RESOURCES_FIELD_NUMBER |
static int |
SIMILARITY_TOP_K_FIELD_NUMBER |
static int |
VECTOR_DISTANCE_THRESHOLD_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static VertexRagStore |
getDefaultInstance() |
VertexRagStore |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<VertexRagStore> |
getParserForType() |
String |
getRagCorpora(int index)
Deprecated.
google.cloud.aiplatform.v1beta1.VertexRagStore.rag_corpora is deprecated. See
google/cloud/aiplatform/v1beta1/tool.proto;l=267
|
com.google.protobuf.ByteString |
getRagCorporaBytes(int index)
Deprecated.
google.cloud.aiplatform.v1beta1.VertexRagStore.rag_corpora is deprecated. See
google/cloud/aiplatform/v1beta1/tool.proto;l=267
|
int |
getRagCorporaCount()
Deprecated.
google.cloud.aiplatform.v1beta1.VertexRagStore.rag_corpora is deprecated. See
google/cloud/aiplatform/v1beta1/tool.proto;l=267
|
com.google.protobuf.ProtocolStringList |
getRagCorporaList()
Deprecated.
google.cloud.aiplatform.v1beta1.VertexRagStore.rag_corpora is deprecated. See
google/cloud/aiplatform/v1beta1/tool.proto;l=267
|
VertexRagStore.RagResource |
getRagResources(int index)
Optional.
|
int |
getRagResourcesCount()
Optional.
|
List<VertexRagStore.RagResource> |
getRagResourcesList()
Optional.
|
VertexRagStore.RagResourceOrBuilder |
getRagResourcesOrBuilder(int index)
Optional.
|
List<? extends VertexRagStore.RagResourceOrBuilder> |
getRagResourcesOrBuilderList()
Optional.
|
int |
getSerializedSize() |
int |
getSimilarityTopK()
Optional.
|
double |
getVectorDistanceThreshold()
Optional.
|
int |
hashCode() |
boolean |
hasSimilarityTopK()
Optional.
|
boolean |
hasVectorDistanceThreshold()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static VertexRagStore.Builder |
newBuilder() |
static VertexRagStore.Builder |
newBuilder(VertexRagStore prototype) |
VertexRagStore.Builder |
newBuilderForType() |
protected VertexRagStore.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static VertexRagStore |
parseDelimitedFrom(InputStream input) |
static VertexRagStore |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VertexRagStore |
parseFrom(byte[] data) |
static VertexRagStore |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VertexRagStore |
parseFrom(ByteBuffer data) |
static VertexRagStore |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VertexRagStore |
parseFrom(com.google.protobuf.ByteString data) |
static VertexRagStore |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VertexRagStore |
parseFrom(com.google.protobuf.CodedInputStream input) |
static VertexRagStore |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static VertexRagStore |
parseFrom(InputStream input) |
static VertexRagStore |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<VertexRagStore> |
parser() |
VertexRagStore.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int RAG_CORPORA_FIELD_NUMBER
public static final int RAG_RESOURCES_FIELD_NUMBER
public static final int SIMILARITY_TOP_K_FIELD_NUMBER
public static final int VECTOR_DISTANCE_THRESHOLD_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3@Deprecated public com.google.protobuf.ProtocolStringList getRagCorporaList()
Optional. Deprecated. Please use rag_resources instead.
repeated string rag_corpora = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getRagCorporaList in interface VertexRagStoreOrBuilder@Deprecated public int getRagCorporaCount()
Optional. Deprecated. Please use rag_resources instead.
repeated string rag_corpora = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getRagCorporaCount in interface VertexRagStoreOrBuilder@Deprecated public String getRagCorpora(int index)
Optional. Deprecated. Please use rag_resources instead.
repeated string rag_corpora = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getRagCorpora in interface VertexRagStoreOrBuilderindex - The index of the element to return.@Deprecated public com.google.protobuf.ByteString getRagCorporaBytes(int index)
Optional. Deprecated. Please use rag_resources instead.
repeated string rag_corpora = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getRagCorporaBytes in interface VertexRagStoreOrBuilderindex - The index of the value to return.public List<VertexRagStore.RagResource> getRagResourcesList()
Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support.
repeated .google.cloud.aiplatform.v1beta1.VertexRagStore.RagResource rag_resources = 4 [(.google.api.field_behavior) = OPTIONAL];
getRagResourcesList in interface VertexRagStoreOrBuilderpublic List<? extends VertexRagStore.RagResourceOrBuilder> getRagResourcesOrBuilderList()
Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support.
repeated .google.cloud.aiplatform.v1beta1.VertexRagStore.RagResource rag_resources = 4 [(.google.api.field_behavior) = OPTIONAL];
getRagResourcesOrBuilderList in interface VertexRagStoreOrBuilderpublic int getRagResourcesCount()
Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support.
repeated .google.cloud.aiplatform.v1beta1.VertexRagStore.RagResource rag_resources = 4 [(.google.api.field_behavior) = OPTIONAL];
getRagResourcesCount in interface VertexRagStoreOrBuilderpublic VertexRagStore.RagResource getRagResources(int index)
Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support.
repeated .google.cloud.aiplatform.v1beta1.VertexRagStore.RagResource rag_resources = 4 [(.google.api.field_behavior) = OPTIONAL];
getRagResources in interface VertexRagStoreOrBuilderpublic VertexRagStore.RagResourceOrBuilder getRagResourcesOrBuilder(int index)
Optional. The representation of the rag source. It can be used to specify corpus only or ragfiles. Currently only support one corpus or multiple files from one corpus. In the future we may open up multiple corpora support.
repeated .google.cloud.aiplatform.v1beta1.VertexRagStore.RagResource rag_resources = 4 [(.google.api.field_behavior) = OPTIONAL];
getRagResourcesOrBuilder in interface VertexRagStoreOrBuilderpublic boolean hasSimilarityTopK()
Optional. Number of top k results to return from the selected corpora.
optional int32 similarity_top_k = 2 [(.google.api.field_behavior) = OPTIONAL];hasSimilarityTopK in interface VertexRagStoreOrBuilderpublic int getSimilarityTopK()
Optional. Number of top k results to return from the selected corpora.
optional int32 similarity_top_k = 2 [(.google.api.field_behavior) = OPTIONAL];getSimilarityTopK in interface VertexRagStoreOrBuilderpublic boolean hasVectorDistanceThreshold()
Optional. Only return results with vector distance smaller than the threshold.
optional double vector_distance_threshold = 3 [(.google.api.field_behavior) = OPTIONAL];
hasVectorDistanceThreshold in interface VertexRagStoreOrBuilderpublic double getVectorDistanceThreshold()
Optional. Only return results with vector distance smaller than the threshold.
optional double vector_distance_threshold = 3 [(.google.api.field_behavior) = OPTIONAL];
getVectorDistanceThreshold in interface VertexRagStoreOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static VertexRagStore parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VertexRagStore parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VertexRagStore parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VertexRagStore parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VertexRagStore parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VertexRagStore parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static VertexRagStore parseFrom(InputStream input) throws IOException
IOExceptionpublic static VertexRagStore parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VertexRagStore parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static VertexRagStore parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static VertexRagStore parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static VertexRagStore parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic VertexRagStore.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static VertexRagStore.Builder newBuilder()
public static VertexRagStore.Builder newBuilder(VertexRagStore prototype)
public VertexRagStore.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected VertexRagStore.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static VertexRagStore getDefaultInstance()
public static com.google.protobuf.Parser<VertexRagStore> parser()
public com.google.protobuf.Parser<VertexRagStore> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public VertexRagStore getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.