public static final class RetrieveContextsRequest.VertexRagStore extends com.google.protobuf.GeneratedMessageV3 implements RetrieveContextsRequest.VertexRagStoreOrBuilder
The data source for Vertex RagStore.Protobuf type
google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore| Modifier and Type | Class and Description |
|---|---|
static class |
RetrieveContextsRequest.VertexRagStore.Builder
The data source for Vertex RagStore.
|
static class |
RetrieveContextsRequest.VertexRagStore.RagResource
The definition of the Rag resource.
|
static interface |
RetrieveContextsRequest.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 |
VECTOR_DISTANCE_THRESHOLD_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static RetrieveContextsRequest.VertexRagStore |
getDefaultInstance() |
RetrieveContextsRequest.VertexRagStore |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<RetrieveContextsRequest.VertexRagStore> |
getParserForType() |
String |
getRagCorpora(int index)
Deprecated.
google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.rag_corpora is
deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_service.proto;l=97
|
com.google.protobuf.ByteString |
getRagCorporaBytes(int index)
Deprecated.
google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.rag_corpora is
deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_service.proto;l=97
|
int |
getRagCorporaCount()
Deprecated.
google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.rag_corpora is
deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_service.proto;l=97
|
com.google.protobuf.ProtocolStringList |
getRagCorporaList()
Deprecated.
google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.rag_corpora is
deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_service.proto;l=97
|
RetrieveContextsRequest.VertexRagStore.RagResource |
getRagResources(int index)
Optional.
|
int |
getRagResourcesCount()
Optional.
|
List<RetrieveContextsRequest.VertexRagStore.RagResource> |
getRagResourcesList()
Optional.
|
RetrieveContextsRequest.VertexRagStore.RagResourceOrBuilder |
getRagResourcesOrBuilder(int index)
Optional.
|
List<? extends RetrieveContextsRequest.VertexRagStore.RagResourceOrBuilder> |
getRagResourcesOrBuilderList()
Optional.
|
int |
getSerializedSize() |
double |
getVectorDistanceThreshold()
Optional.
|
int |
hashCode() |
boolean |
hasVectorDistanceThreshold()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RetrieveContextsRequest.VertexRagStore.Builder |
newBuilder() |
static RetrieveContextsRequest.VertexRagStore.Builder |
newBuilder(RetrieveContextsRequest.VertexRagStore prototype) |
RetrieveContextsRequest.VertexRagStore.Builder |
newBuilderForType() |
protected RetrieveContextsRequest.VertexRagStore.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RetrieveContextsRequest.VertexRagStore |
parseDelimitedFrom(InputStream input) |
static RetrieveContextsRequest.VertexRagStore |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RetrieveContextsRequest.VertexRagStore |
parseFrom(byte[] data) |
static RetrieveContextsRequest.VertexRagStore |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RetrieveContextsRequest.VertexRagStore |
parseFrom(ByteBuffer data) |
static RetrieveContextsRequest.VertexRagStore |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RetrieveContextsRequest.VertexRagStore |
parseFrom(com.google.protobuf.ByteString data) |
static RetrieveContextsRequest.VertexRagStore |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RetrieveContextsRequest.VertexRagStore |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RetrieveContextsRequest.VertexRagStore |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RetrieveContextsRequest.VertexRagStore |
parseFrom(InputStream input) |
static RetrieveContextsRequest.VertexRagStore |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RetrieveContextsRequest.VertexRagStore> |
parser() |
RetrieveContextsRequest.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 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 to specify the data source.
repeated string rag_corpora = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
getRagCorporaList in interface RetrieveContextsRequest.VertexRagStoreOrBuilder@Deprecated public int getRagCorporaCount()
Optional. Deprecated. Please use rag_resources to specify the data source.
repeated string rag_corpora = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
getRagCorporaCount in interface RetrieveContextsRequest.VertexRagStoreOrBuilder@Deprecated public String getRagCorpora(int index)
Optional. Deprecated. Please use rag_resources to specify the data source.
repeated string rag_corpora = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
getRagCorpora in interface RetrieveContextsRequest.VertexRagStoreOrBuilderindex - The index of the element to return.@Deprecated public com.google.protobuf.ByteString getRagCorporaBytes(int index)
Optional. Deprecated. Please use rag_resources to specify the data source.
repeated string rag_corpora = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
getRagCorporaBytes in interface RetrieveContextsRequest.VertexRagStoreOrBuilderindex - The index of the value to return.public List<RetrieveContextsRequest.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.RetrieveContextsRequest.VertexRagStore.RagResource rag_resources = 3 [(.google.api.field_behavior) = OPTIONAL];
getRagResourcesList in interface RetrieveContextsRequest.VertexRagStoreOrBuilderpublic List<? extends RetrieveContextsRequest.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.RetrieveContextsRequest.VertexRagStore.RagResource rag_resources = 3 [(.google.api.field_behavior) = OPTIONAL];
getRagResourcesOrBuilderList in interface RetrieveContextsRequest.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.RetrieveContextsRequest.VertexRagStore.RagResource rag_resources = 3 [(.google.api.field_behavior) = OPTIONAL];
getRagResourcesCount in interface RetrieveContextsRequest.VertexRagStoreOrBuilderpublic RetrieveContextsRequest.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.RetrieveContextsRequest.VertexRagStore.RagResource rag_resources = 3 [(.google.api.field_behavior) = OPTIONAL];
getRagResources in interface RetrieveContextsRequest.VertexRagStoreOrBuilderpublic RetrieveContextsRequest.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.RetrieveContextsRequest.VertexRagStore.RagResource rag_resources = 3 [(.google.api.field_behavior) = OPTIONAL];
getRagResourcesOrBuilder in interface RetrieveContextsRequest.VertexRagStoreOrBuilderpublic boolean hasVectorDistanceThreshold()
Optional. Only return contexts with vector distance smaller than the threshold.
optional double vector_distance_threshold = 2 [(.google.api.field_behavior) = OPTIONAL];
hasVectorDistanceThreshold in interface RetrieveContextsRequest.VertexRagStoreOrBuilderpublic double getVectorDistanceThreshold()
Optional. Only return contexts with vector distance smaller than the threshold.
optional double vector_distance_threshold = 2 [(.google.api.field_behavior) = OPTIONAL];
getVectorDistanceThreshold in interface RetrieveContextsRequest.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 RetrieveContextsRequest.VertexRagStore parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RetrieveContextsRequest.VertexRagStore parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RetrieveContextsRequest.VertexRagStore parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RetrieveContextsRequest.VertexRagStore parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RetrieveContextsRequest.VertexRagStore parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RetrieveContextsRequest.VertexRagStore parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RetrieveContextsRequest.VertexRagStore parseFrom(InputStream input) throws IOException
IOExceptionpublic static RetrieveContextsRequest.VertexRagStore parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RetrieveContextsRequest.VertexRagStore parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RetrieveContextsRequest.VertexRagStore parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RetrieveContextsRequest.VertexRagStore parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RetrieveContextsRequest.VertexRagStore parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RetrieveContextsRequest.VertexRagStore.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RetrieveContextsRequest.VertexRagStore.Builder newBuilder()
public static RetrieveContextsRequest.VertexRagStore.Builder newBuilder(RetrieveContextsRequest.VertexRagStore prototype)
public RetrieveContextsRequest.VertexRagStore.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RetrieveContextsRequest.VertexRagStore.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RetrieveContextsRequest.VertexRagStore getDefaultInstance()
public static com.google.protobuf.Parser<RetrieveContextsRequest.VertexRagStore> parser()
public com.google.protobuf.Parser<RetrieveContextsRequest.VertexRagStore> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RetrieveContextsRequest.VertexRagStore getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.