Package io.qdrant.client.grpc
Class Points.RecommendBatchPoints.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Points.RecommendBatchPoints.Builder>
io.qdrant.client.grpc.Points.RecommendBatchPoints.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Points.RecommendBatchPointsOrBuilder
,Cloneable
- Enclosing class:
- Points.RecommendBatchPoints
public static final class Points.RecommendBatchPoints.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Points.RecommendBatchPoints.Builder>
implements Points.RecommendBatchPointsOrBuilder
Protobuf type
qdrant.RecommendBatchPoints
-
Method Summary
Modifier and TypeMethodDescriptionaddAllRecommendPoints
(Iterable<? extends Points.RecommendPoints> values) repeated .qdrant.RecommendPoints recommend_points = 2;
addRecommendPoints
(int index, Points.RecommendPoints value) repeated .qdrant.RecommendPoints recommend_points = 2;
addRecommendPoints
(int index, Points.RecommendPoints.Builder builderForValue) repeated .qdrant.RecommendPoints recommend_points = 2;
repeated .qdrant.RecommendPoints recommend_points = 2;
addRecommendPoints
(Points.RecommendPoints.Builder builderForValue) repeated .qdrant.RecommendPoints recommend_points = 2;
repeated .qdrant.RecommendPoints recommend_points = 2;
addRecommendPointsBuilder
(int index) repeated .qdrant.RecommendPoints recommend_points = 2;
addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Name of the collectionclearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Options for specifying read consistency guaranteesrepeated .qdrant.RecommendPoints recommend_points = 2;
clone()
Name of the collectioncom.google.protobuf.ByteString
Name of the collectionstatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Options for specifying read consistency guaranteesOptions for specifying read consistency guaranteesOptions for specifying read consistency guaranteesgetRecommendPoints
(int index) repeated .qdrant.RecommendPoints recommend_points = 2;
getRecommendPointsBuilder
(int index) repeated .qdrant.RecommendPoints recommend_points = 2;
repeated .qdrant.RecommendPoints recommend_points = 2;
int
repeated .qdrant.RecommendPoints recommend_points = 2;
repeated .qdrant.RecommendPoints recommend_points = 2;
getRecommendPointsOrBuilder
(int index) repeated .qdrant.RecommendPoints recommend_points = 2;
List<? extends Points.RecommendPointsOrBuilder>
repeated .qdrant.RecommendPoints recommend_points = 2;
boolean
Options for specifying read consistency guaranteesprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) Options for specifying read consistency guaranteesmergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeRecommendPoints
(int index) repeated .qdrant.RecommendPoints recommend_points = 2;
setCollectionName
(String value) Name of the collectionsetCollectionNameBytes
(com.google.protobuf.ByteString value) Name of the collectionOptions for specifying read consistency guaranteessetReadConsistency
(Points.ReadConsistency.Builder builderForValue) Options for specifying read consistency guaranteessetRecommendPoints
(int index, Points.RecommendPoints value) repeated .qdrant.RecommendPoints recommend_points = 2;
setRecommendPoints
(int index, Points.RecommendPoints.Builder builderForValue) repeated .qdrant.RecommendPoints recommend_points = 2;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.RecommendBatchPoints.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.RecommendBatchPoints.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.RecommendBatchPoints.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.RecommendBatchPoints.Builder>
-
setField
public Points.RecommendBatchPoints.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.RecommendBatchPoints.Builder>
-
clearField
public Points.RecommendBatchPoints.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.RecommendBatchPoints.Builder>
-
clearOneof
public Points.RecommendBatchPoints.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.RecommendBatchPoints.Builder>
-
setRepeatedField
public Points.RecommendBatchPoints.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.RecommendBatchPoints.Builder>
-
addRepeatedField
public Points.RecommendBatchPoints.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.RecommendBatchPoints.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Points.RecommendBatchPoints.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.RecommendBatchPoints.Builder>
-
mergeFrom
public Points.RecommendBatchPoints.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Points.RecommendBatchPoints.Builder>
- Throws:
IOException
-
getCollectionName
Name of the collection
string collection_name = 1;
- Specified by:
getCollectionName
in interfacePoints.RecommendBatchPointsOrBuilder
- Returns:
- The collectionName.
-
getCollectionNameBytes
public com.google.protobuf.ByteString getCollectionNameBytes()Name of the collection
string collection_name = 1;
- Specified by:
getCollectionNameBytes
in interfacePoints.RecommendBatchPointsOrBuilder
- Returns:
- The bytes for collectionName.
-
setCollectionName
Name of the collection
string collection_name = 1;
- Parameters:
value
- The collectionName to set.- Returns:
- This builder for chaining.
-
clearCollectionName
Name of the collection
string collection_name = 1;
- Returns:
- This builder for chaining.
-
setCollectionNameBytes
public Points.RecommendBatchPoints.Builder setCollectionNameBytes(com.google.protobuf.ByteString value) Name of the collection
string collection_name = 1;
- Parameters:
value
- The bytes for collectionName to set.- Returns:
- This builder for chaining.
-
getRecommendPointsList
repeated .qdrant.RecommendPoints recommend_points = 2;
- Specified by:
getRecommendPointsList
in interfacePoints.RecommendBatchPointsOrBuilder
-
getRecommendPointsCount
public int getRecommendPointsCount()repeated .qdrant.RecommendPoints recommend_points = 2;
- Specified by:
getRecommendPointsCount
in interfacePoints.RecommendBatchPointsOrBuilder
-
getRecommendPoints
repeated .qdrant.RecommendPoints recommend_points = 2;
- Specified by:
getRecommendPoints
in interfacePoints.RecommendBatchPointsOrBuilder
-
setRecommendPoints
public Points.RecommendBatchPoints.Builder setRecommendPoints(int index, Points.RecommendPoints value) repeated .qdrant.RecommendPoints recommend_points = 2;
-
setRecommendPoints
public Points.RecommendBatchPoints.Builder setRecommendPoints(int index, Points.RecommendPoints.Builder builderForValue) repeated .qdrant.RecommendPoints recommend_points = 2;
-
addRecommendPoints
repeated .qdrant.RecommendPoints recommend_points = 2;
-
addRecommendPoints
public Points.RecommendBatchPoints.Builder addRecommendPoints(int index, Points.RecommendPoints value) repeated .qdrant.RecommendPoints recommend_points = 2;
-
addRecommendPoints
public Points.RecommendBatchPoints.Builder addRecommendPoints(Points.RecommendPoints.Builder builderForValue) repeated .qdrant.RecommendPoints recommend_points = 2;
-
addRecommendPoints
public Points.RecommendBatchPoints.Builder addRecommendPoints(int index, Points.RecommendPoints.Builder builderForValue) repeated .qdrant.RecommendPoints recommend_points = 2;
-
addAllRecommendPoints
public Points.RecommendBatchPoints.Builder addAllRecommendPoints(Iterable<? extends Points.RecommendPoints> values) repeated .qdrant.RecommendPoints recommend_points = 2;
-
clearRecommendPoints
repeated .qdrant.RecommendPoints recommend_points = 2;
-
removeRecommendPoints
repeated .qdrant.RecommendPoints recommend_points = 2;
-
getRecommendPointsBuilder
repeated .qdrant.RecommendPoints recommend_points = 2;
-
getRecommendPointsOrBuilder
repeated .qdrant.RecommendPoints recommend_points = 2;
- Specified by:
getRecommendPointsOrBuilder
in interfacePoints.RecommendBatchPointsOrBuilder
-
getRecommendPointsOrBuilderList
repeated .qdrant.RecommendPoints recommend_points = 2;
- Specified by:
getRecommendPointsOrBuilderList
in interfacePoints.RecommendBatchPointsOrBuilder
-
addRecommendPointsBuilder
repeated .qdrant.RecommendPoints recommend_points = 2;
-
addRecommendPointsBuilder
repeated .qdrant.RecommendPoints recommend_points = 2;
-
getRecommendPointsBuilderList
repeated .qdrant.RecommendPoints recommend_points = 2;
-
hasReadConsistency
public boolean hasReadConsistency()Options for specifying read consistency guarantees
optional .qdrant.ReadConsistency read_consistency = 3;
- Specified by:
hasReadConsistency
in interfacePoints.RecommendBatchPointsOrBuilder
- Returns:
- Whether the readConsistency field is set.
-
getReadConsistency
Options for specifying read consistency guarantees
optional .qdrant.ReadConsistency read_consistency = 3;
- Specified by:
getReadConsistency
in interfacePoints.RecommendBatchPointsOrBuilder
- Returns:
- The readConsistency.
-
setReadConsistency
Options for specifying read consistency guarantees
optional .qdrant.ReadConsistency read_consistency = 3;
-
setReadConsistency
public Points.RecommendBatchPoints.Builder setReadConsistency(Points.ReadConsistency.Builder builderForValue) Options for specifying read consistency guarantees
optional .qdrant.ReadConsistency read_consistency = 3;
-
mergeReadConsistency
Options for specifying read consistency guarantees
optional .qdrant.ReadConsistency read_consistency = 3;
-
clearReadConsistency
Options for specifying read consistency guarantees
optional .qdrant.ReadConsistency read_consistency = 3;
-
getReadConsistencyBuilder
Options for specifying read consistency guarantees
optional .qdrant.ReadConsistency read_consistency = 3;
-
getReadConsistencyOrBuilder
Options for specifying read consistency guarantees
optional .qdrant.ReadConsistency read_consistency = 3;
- Specified by:
getReadConsistencyOrBuilder
in interfacePoints.RecommendBatchPointsOrBuilder
-
setUnknownFields
public final Points.RecommendBatchPoints.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.RecommendBatchPoints.Builder>
-
mergeUnknownFields
public final Points.RecommendBatchPoints.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.RecommendBatchPoints.Builder>
-