Class Points.Vector.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Points.Vector.Builder>
io.qdrant.client.grpc.Points.Vector.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Points.VectorOrBuilder, Cloneable
Enclosing class:
Points.Vector

public static final class Points.Vector.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Points.Vector.Builder> implements Points.VectorOrBuilder
Protobuf type qdrant.Vector
  • 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.Vector.Builder>
    • clear

      public Points.Vector.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.Vector.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.Vector.Builder>
    • getDefaultInstanceForType

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

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

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

      public Points.Vector.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.Vector.Builder>
    • setField

      public Points.Vector.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.Vector.Builder>
    • clearField

      public Points.Vector.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.Vector.Builder>
    • clearOneof

      public Points.Vector.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.Vector.Builder>
    • setRepeatedField

      public Points.Vector.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.Vector.Builder>
    • addRepeatedField

      public Points.Vector.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.Vector.Builder>
    • mergeFrom

      public Points.Vector.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.Vector.Builder>
    • mergeFrom

      public Points.Vector.Builder mergeFrom(Points.Vector other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Points.Vector.Builder>
    • mergeFrom

      public Points.Vector.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.Vector.Builder>
      Throws:
      IOException
    • getDataList

      public List<Float> getDataList()
      repeated float data = 1;
      Specified by:
      getDataList in interface Points.VectorOrBuilder
      Returns:
      A list containing the data.
    • getDataCount

      public int getDataCount()
      repeated float data = 1;
      Specified by:
      getDataCount in interface Points.VectorOrBuilder
      Returns:
      The count of data.
    • getData

      public float getData(int index)
      repeated float data = 1;
      Specified by:
      getData in interface Points.VectorOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The data at the given index.
    • setData

      public Points.Vector.Builder setData(int index, float value)
      repeated float data = 1;
      Parameters:
      index - The index to set the value at.
      value - The data to set.
      Returns:
      This builder for chaining.
    • addData

      public Points.Vector.Builder addData(float value)
      repeated float data = 1;
      Parameters:
      value - The data to add.
      Returns:
      This builder for chaining.
    • addAllData

      public Points.Vector.Builder addAllData(Iterable<? extends Float> values)
      repeated float data = 1;
      Parameters:
      values - The data to add.
      Returns:
      This builder for chaining.
    • clearData

      public Points.Vector.Builder clearData()
      repeated float data = 1;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Points.Vector.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.Vector.Builder>
    • mergeUnknownFields

      public final Points.Vector.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.Vector.Builder>