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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Points.CountPoints.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Points.CountPoints.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Points.CountPoints.Builder>
    • getDefaultInstanceForType

      public Points.CountPoints getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Points.CountPoints build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Points.CountPoints buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Points.CountPoints.Builder>
    • clearField

      public Points.CountPoints.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Points.CountPoints.Builder>
    • clearOneof

      public Points.CountPoints.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.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 interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Points.CountPoints.Builder>
    • mergeFrom

      public Points.CountPoints.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Points.CountPoints.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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 interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Points.CountPoints.Builder>
      Throws:
      IOException
    • getCollectionName

      public String getCollectionName()
       name of the collection
       
      string collection_name = 1;
      Specified by:
      getCollectionName in interface Points.CountPointsOrBuilder
      Returns:
      The collectionName.
    • getCollectionNameBytes

      public com.google.protobuf.ByteString getCollectionNameBytes()
       name of the collection
       
      string collection_name = 1;
      Specified by:
      getCollectionNameBytes in interface Points.CountPointsOrBuilder
      Returns:
      The bytes for collectionName.
    • setCollectionName

      public Points.CountPoints.Builder setCollectionName(String value)
       name of the collection
       
      string collection_name = 1;
      Parameters:
      value - The collectionName to set.
      Returns:
      This builder for chaining.
    • clearCollectionName

      public Points.CountPoints.Builder clearCollectionName()
       name of the collection
       
      string collection_name = 1;
      Returns:
      This builder for chaining.
    • setCollectionNameBytes

      public Points.CountPoints.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.
    • hasFilter

      public boolean hasFilter()
       Filter conditions - return only those points that satisfy the specified conditions
       
      .qdrant.Filter filter = 2;
      Specified by:
      hasFilter in interface Points.CountPointsOrBuilder
      Returns:
      Whether the filter field is set.
    • getFilter

      public Points.Filter getFilter()
       Filter conditions - return only those points that satisfy the specified conditions
       
      .qdrant.Filter filter = 2;
      Specified by:
      getFilter in interface Points.CountPointsOrBuilder
      Returns:
      The filter.
    • setFilter

      public Points.CountPoints.Builder setFilter(Points.Filter value)
       Filter conditions - return only those points that satisfy the specified conditions
       
      .qdrant.Filter filter = 2;
    • setFilter

      public Points.CountPoints.Builder setFilter(Points.Filter.Builder builderForValue)
       Filter conditions - return only those points that satisfy the specified conditions
       
      .qdrant.Filter filter = 2;
    • mergeFilter

      public Points.CountPoints.Builder mergeFilter(Points.Filter value)
       Filter conditions - return only those points that satisfy the specified conditions
       
      .qdrant.Filter filter = 2;
    • clearFilter

      public Points.CountPoints.Builder clearFilter()
       Filter conditions - return only those points that satisfy the specified conditions
       
      .qdrant.Filter filter = 2;
    • getFilterBuilder

      public Points.Filter.Builder getFilterBuilder()
       Filter conditions - return only those points that satisfy the specified conditions
       
      .qdrant.Filter filter = 2;
    • getFilterOrBuilder

      public Points.FilterOrBuilder getFilterOrBuilder()
       Filter conditions - return only those points that satisfy the specified conditions
       
      .qdrant.Filter filter = 2;
      Specified by:
      getFilterOrBuilder in interface Points.CountPointsOrBuilder
    • hasExact

      public boolean hasExact()
       If `true` - return exact count, if `false` - return approximate count
       
      optional bool exact = 3;
      Specified by:
      hasExact in interface Points.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 interface Points.CountPointsOrBuilder
      Returns:
      The exact.
    • setExact

      public Points.CountPoints.Builder setExact(boolean value)
       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

      public Points.CountPoints.Builder 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 interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Points.CountPoints.Builder>
    • mergeUnknownFields

      public final Points.CountPoints.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Points.CountPoints.Builder>