Class Points.ReadConsistency.Builder

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

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

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

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

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

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

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

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

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

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

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

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

      public Points.ReadConsistency.ValueCase getValueCase()
      Specified by:
      getValueCase in interface Points.ReadConsistencyOrBuilder
    • clearValue

      public Points.ReadConsistency.Builder clearValue()
    • hasType

      public boolean hasType()
       Common read consistency configurations
       
      .qdrant.ReadConsistencyType type = 1;
      Specified by:
      hasType in interface Points.ReadConsistencyOrBuilder
      Returns:
      Whether the type field is set.
    • getTypeValue

      public int getTypeValue()
       Common read consistency configurations
       
      .qdrant.ReadConsistencyType type = 1;
      Specified by:
      getTypeValue in interface Points.ReadConsistencyOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public Points.ReadConsistency.Builder setTypeValue(int value)
       Common read consistency configurations
       
      .qdrant.ReadConsistencyType type = 1;
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
    • getType

      public Points.ReadConsistencyType getType()
       Common read consistency configurations
       
      .qdrant.ReadConsistencyType type = 1;
      Specified by:
      getType in interface Points.ReadConsistencyOrBuilder
      Returns:
      The type.
    • setType

       Common read consistency configurations
       
      .qdrant.ReadConsistencyType type = 1;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      public Points.ReadConsistency.Builder clearType()
       Common read consistency configurations
       
      .qdrant.ReadConsistencyType type = 1;
      Returns:
      This builder for chaining.
    • hasFactor

      public boolean hasFactor()
       Send request to a specified number of nodes, and return points which are present on all of them
       
      uint64 factor = 2;
      Specified by:
      hasFactor in interface Points.ReadConsistencyOrBuilder
      Returns:
      Whether the factor field is set.
    • getFactor

      public long getFactor()
       Send request to a specified number of nodes, and return points which are present on all of them
       
      uint64 factor = 2;
      Specified by:
      getFactor in interface Points.ReadConsistencyOrBuilder
      Returns:
      The factor.
    • setFactor

      public Points.ReadConsistency.Builder setFactor(long value)
       Send request to a specified number of nodes, and return points which are present on all of them
       
      uint64 factor = 2;
      Parameters:
      value - The factor to set.
      Returns:
      This builder for chaining.
    • clearFactor

      public Points.ReadConsistency.Builder clearFactor()
       Send request to a specified number of nodes, and return points which are present on all of them
       
      uint64 factor = 2;
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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