Package io.qdrant.client.grpc
Class Points.CountPoints.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Points.CountPoints.Builder>
io.qdrant.client.grpc.Points.CountPoints.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Points.CountPointsOrBuilder
,Cloneable
- Enclosing class:
- Points.CountPoints
public static final class Points.CountPoints.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Points.CountPoints.Builder>
implements Points.CountPointsOrBuilder
Protobuf type
qdrant.CountPoints
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
name of the collectionIf `true` - return exact count, if `false` - return approximate countclearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Filter conditions - return only those points that satisfy the specified conditionsclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()
name of the collectioncom.google.protobuf.ByteString
name of the collectionstatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
boolean
getExact()
If `true` - return exact count, if `false` - return approximate countFilter conditions - return only those points that satisfy the specified conditionsFilter conditions - return only those points that satisfy the specified conditionsFilter conditions - return only those points that satisfy the specified conditionsboolean
hasExact()
If `true` - return exact count, if `false` - return approximate countboolean
Filter conditions - return only those points that satisfy the specified conditionsprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFilter
(Points.Filter value) Filter conditions - return only those points that satisfy the specified conditionsmergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Points.CountPoints other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setCollectionName
(String value) name of the collectionsetCollectionNameBytes
(com.google.protobuf.ByteString value) name of the collectionsetExact
(boolean value) If `true` - return exact count, if `false` - return approximate countsetFilter
(Points.Filter value) Filter conditions - return only those points that satisfy the specified conditionssetFilter
(Points.Filter.Builder builderForValue) Filter conditions - return only those points that satisfy the specified conditionssetRepeatedField
(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.CountPoints.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.CountPoints.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.CountPoints.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.CountPoints.Builder>
-
setField
public Points.CountPoints.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.CountPoints.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.CountPoints.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.CountPoints.Builder>
-
setRepeatedField
public Points.CountPoints.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.CountPoints.Builder>
-
addRepeatedField
public Points.CountPoints.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.CountPoints.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Points.CountPoints.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.CountPoints.Builder>
-
mergeFrom
public Points.CountPoints.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.CountPoints.Builder>
- Throws:
IOException
-
getCollectionName
name of the collection
string collection_name = 1;
- Specified by:
getCollectionName
in interfacePoints.CountPointsOrBuilder
- Returns:
- The collectionName.
-
getCollectionNameBytes
public com.google.protobuf.ByteString getCollectionNameBytes()name of the collection
string collection_name = 1;
- Specified by:
getCollectionNameBytes
in interfacePoints.CountPointsOrBuilder
- 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
name of the collection
string collection_name = 1;
- Parameters:
value
- The bytes for collectionName to set.- Returns:
- This builder for chaining.
-
hasFilter
public boolean hasFilter()Filter conditions - return only those points that satisfy the specified conditions
.qdrant.Filter filter = 2;
- Specified by:
hasFilter
in interfacePoints.CountPointsOrBuilder
- Returns:
- Whether the filter field is set.
-
getFilter
Filter conditions - return only those points that satisfy the specified conditions
.qdrant.Filter filter = 2;
- Specified by:
getFilter
in interfacePoints.CountPointsOrBuilder
- Returns:
- The filter.
-
setFilter
Filter conditions - return only those points that satisfy the specified conditions
.qdrant.Filter filter = 2;
-
setFilter
Filter conditions - return only those points that satisfy the specified conditions
.qdrant.Filter filter = 2;
-
mergeFilter
Filter conditions - return only those points that satisfy the specified conditions
.qdrant.Filter filter = 2;
-
clearFilter
Filter conditions - return only those points that satisfy the specified conditions
.qdrant.Filter filter = 2;
-
getFilterBuilder
Filter conditions - return only those points that satisfy the specified conditions
.qdrant.Filter filter = 2;
-
getFilterOrBuilder
Filter conditions - return only those points that satisfy the specified conditions
.qdrant.Filter filter = 2;
- Specified by:
getFilterOrBuilder
in interfacePoints.CountPointsOrBuilder
-
hasExact
public boolean hasExact()If `true` - return exact count, if `false` - return approximate count
optional bool exact = 3;
- Specified by:
hasExact
in interfacePoints.CountPointsOrBuilder
- Returns:
- Whether the exact field is set.
-
getExact
public boolean getExact()If `true` - return exact count, if `false` - return approximate count
optional bool exact = 3;
- Specified by:
getExact
in interfacePoints.CountPointsOrBuilder
- Returns:
- The exact.
-
setExact
If `true` - return exact count, if `false` - return approximate count
optional bool exact = 3;
- Parameters:
value
- The exact to set.- Returns:
- This builder for chaining.
-
clearExact
If `true` - return exact count, if `false` - return approximate count
optional bool exact = 3;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final Points.CountPoints.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.CountPoints.Builder>
-
mergeUnknownFields
public final Points.CountPoints.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.CountPoints.Builder>
-