Class RetrieveContextsRequest.VertexRagStore.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RetrieveContextsRequest.VertexRagStore.Builder>
com.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.Builder
- All Implemented Interfaces:
RetrieveContextsRequest.VertexRagStoreOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RetrieveContextsRequest.VertexRagStore
public static final class RetrieveContextsRequest.VertexRagStore.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RetrieveContextsRequest.VertexRagStore.Builder>
implements RetrieveContextsRequest.VertexRagStoreOrBuilder
The data source for Vertex RagStore.Protobuf type
google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore-
Method Summary
Modifier and TypeMethodDescriptionaddAllRagCorpora(Iterable<String> values) Deprecated.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.rag_corpora is deprecated.addAllRagResources(Iterable<? extends RetrieveContextsRequest.VertexRagStore.RagResource> values) Optional.addRagCorpora(String value) Deprecated.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.rag_corpora is deprecated.addRagCorporaBytes(com.google.protobuf.ByteString value) Deprecated.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.rag_corpora is deprecated.addRagResources(int index, RetrieveContextsRequest.VertexRagStore.RagResource value) Optional.addRagResources(int index, RetrieveContextsRequest.VertexRagStore.RagResource.Builder builderForValue) Optional.Optional.Optional.Optional.addRagResourcesBuilder(int index) Optional.build()clear()Deprecated.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.rag_corpora is deprecated.Optional.Deprecated.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.vector_distance_threshold is deprecated.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetRagCorpora(int index) Deprecated.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.rag_corpora is deprecated.com.google.protobuf.ByteStringgetRagCorporaBytes(int index) Deprecated.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.rag_corpora is deprecated.intDeprecated.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.rag_corpora is deprecated.com.google.protobuf.ProtocolStringListDeprecated.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.rag_corpora is deprecated.getRagResources(int index) Optional.getRagResourcesBuilder(int index) Optional.Optional.intOptional.Optional.getRagResourcesOrBuilder(int index) Optional.Optional.doubleDeprecated.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.vector_distance_threshold is deprecated.booleanDeprecated.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.vector_distance_threshold is deprecated.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeRagResources(int index) Optional.setRagCorpora(int index, String value) Deprecated.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.rag_corpora is deprecated.setRagResources(int index, RetrieveContextsRequest.VertexRagStore.RagResource value) Optional.setRagResources(int index, RetrieveContextsRequest.VertexRagStore.RagResource.Builder builderForValue) Optional.setVectorDistanceThreshold(double value) Deprecated.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.vector_distance_threshold is deprecated.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RetrieveContextsRequest.VertexRagStore.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RetrieveContextsRequest.VertexRagStore.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RetrieveContextsRequest.VertexRagStore.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RetrieveContextsRequest.VertexRagStore.Builder>
-
mergeFrom
public RetrieveContextsRequest.VertexRagStore.Builder mergeFrom(RetrieveContextsRequest.VertexRagStore other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RetrieveContextsRequest.VertexRagStore.Builder>
-
mergeFrom
public RetrieveContextsRequest.VertexRagStore.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RetrieveContextsRequest.VertexRagStore.Builder>- Throws:
IOException
-
getRagCorporaList
Deprecated.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.rag_corpora is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_service.proto;l=153Optional. Deprecated. Please use rag_resources to specify the data source.
repeated string rag_corpora = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getRagCorporaListin interfaceRetrieveContextsRequest.VertexRagStoreOrBuilder- Returns:
- A list containing the ragCorpora.
-
getRagCorporaCount
Deprecated.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.rag_corpora is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_service.proto;l=153Optional. Deprecated. Please use rag_resources to specify the data source.
repeated string rag_corpora = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getRagCorporaCountin interfaceRetrieveContextsRequest.VertexRagStoreOrBuilder- Returns:
- The count of ragCorpora.
-
getRagCorpora
Deprecated.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.rag_corpora is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_service.proto;l=153Optional. Deprecated. Please use rag_resources to specify the data source.
repeated string rag_corpora = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getRagCorporain interfaceRetrieveContextsRequest.VertexRagStoreOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The ragCorpora at the given index.
-
getRagCorporaBytes
Deprecated.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.rag_corpora is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_service.proto;l=153Optional. Deprecated. Please use rag_resources to specify the data source.
repeated string rag_corpora = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getRagCorporaBytesin interfaceRetrieveContextsRequest.VertexRagStoreOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the ragCorpora at the given index.
-
setRagCorpora
@Deprecated public RetrieveContextsRequest.VertexRagStore.Builder setRagCorpora(int index, String value) Deprecated.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.rag_corpora is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_service.proto;l=153Optional. Deprecated. Please use rag_resources to specify the data source.
repeated string rag_corpora = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];- Parameters:
index- The index to set the value at.value- The ragCorpora to set.- Returns:
- This builder for chaining.
-
addRagCorpora
Deprecated.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.rag_corpora is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_service.proto;l=153Optional. Deprecated. Please use rag_resources to specify the data source.
repeated string rag_corpora = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The ragCorpora to add.- Returns:
- This builder for chaining.
-
addAllRagCorpora
@Deprecated public RetrieveContextsRequest.VertexRagStore.Builder addAllRagCorpora(Iterable<String> values) Deprecated.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.rag_corpora is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_service.proto;l=153Optional. Deprecated. Please use rag_resources to specify the data source.
repeated string rag_corpora = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];- Parameters:
values- The ragCorpora to add.- Returns:
- This builder for chaining.
-
clearRagCorpora
Deprecated.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.rag_corpora is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_service.proto;l=153Optional. Deprecated. Please use rag_resources to specify the data source.
repeated string rag_corpora = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addRagCorporaBytes
@Deprecated public RetrieveContextsRequest.VertexRagStore.Builder addRagCorporaBytes(com.google.protobuf.ByteString value) Deprecated.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.rag_corpora is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_service.proto;l=153Optional. Deprecated. Please use rag_resources to specify the data source.
repeated string rag_corpora = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the ragCorpora to add.- Returns:
- This builder for chaining.
-
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];- Specified by:
getRagResourcesListin interfaceRetrieveContextsRequest.VertexRagStoreOrBuilder
-
getRagResourcesCount
public 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];- Specified by:
getRagResourcesCountin interfaceRetrieveContextsRequest.VertexRagStoreOrBuilder
-
getRagResources
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];- Specified by:
getRagResourcesin interfaceRetrieveContextsRequest.VertexRagStoreOrBuilder
-
setRagResources
public RetrieveContextsRequest.VertexRagStore.Builder setRagResources(int index, RetrieveContextsRequest.VertexRagStore.RagResource value) 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]; -
setRagResources
public RetrieveContextsRequest.VertexRagStore.Builder setRagResources(int index, RetrieveContextsRequest.VertexRagStore.RagResource.Builder builderForValue) 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]; -
addRagResources
public RetrieveContextsRequest.VertexRagStore.Builder addRagResources(RetrieveContextsRequest.VertexRagStore.RagResource value) 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]; -
addRagResources
public RetrieveContextsRequest.VertexRagStore.Builder addRagResources(int index, RetrieveContextsRequest.VertexRagStore.RagResource value) 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]; -
addRagResources
public RetrieveContextsRequest.VertexRagStore.Builder addRagResources(RetrieveContextsRequest.VertexRagStore.RagResource.Builder builderForValue) 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]; -
addRagResources
public RetrieveContextsRequest.VertexRagStore.Builder addRagResources(int index, RetrieveContextsRequest.VertexRagStore.RagResource.Builder builderForValue) 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]; -
addAllRagResources
public RetrieveContextsRequest.VertexRagStore.Builder addAllRagResources(Iterable<? extends RetrieveContextsRequest.VertexRagStore.RagResource> values) 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]; -
clearRagResources
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]; -
removeRagResources
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]; -
getRagResourcesBuilder
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
public 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];- Specified by:
getRagResourcesOrBuilderin interfaceRetrieveContextsRequest.VertexRagStoreOrBuilder
-
getRagResourcesOrBuilderList
public 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];- Specified by:
getRagResourcesOrBuilderListin interfaceRetrieveContextsRequest.VertexRagStoreOrBuilder
-
addRagResourcesBuilder
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]; -
addRagResourcesBuilder
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]; -
getRagResourcesBuilderList
public List<RetrieveContextsRequest.VertexRagStore.RagResource.Builder> getRagResourcesBuilderList()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]; -
hasVectorDistanceThreshold
Deprecated.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.vector_distance_threshold is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_service.proto;l=165Optional. Only return contexts with vector distance smaller than the threshold.
optional double vector_distance_threshold = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];- Specified by:
hasVectorDistanceThresholdin interfaceRetrieveContextsRequest.VertexRagStoreOrBuilder- Returns:
- Whether the vectorDistanceThreshold field is set.
-
getVectorDistanceThreshold
Deprecated.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.vector_distance_threshold is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_service.proto;l=165Optional. Only return contexts with vector distance smaller than the threshold.
optional double vector_distance_threshold = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];- Specified by:
getVectorDistanceThresholdin interfaceRetrieveContextsRequest.VertexRagStoreOrBuilder- Returns:
- The vectorDistanceThreshold.
-
setVectorDistanceThreshold
@Deprecated public RetrieveContextsRequest.VertexRagStore.Builder setVectorDistanceThreshold(double value) Deprecated.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.vector_distance_threshold is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_service.proto;l=165Optional. Only return contexts with vector distance smaller than the threshold.
optional double vector_distance_threshold = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The vectorDistanceThreshold to set.- Returns:
- This builder for chaining.
-
clearVectorDistanceThreshold
Deprecated.google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.vector_distance_threshold is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_service.proto;l=165Optional. Only return contexts with vector distance smaller than the threshold.
optional double vector_distance_threshold = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-