Class Collections.CollectionParamsDiff.Builder

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

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

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Collections.CollectionParamsDiff 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<Collections.CollectionParamsDiff.Builder>
    • setField

      public Collections.CollectionParamsDiff.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<Collections.CollectionParamsDiff.Builder>
    • clearField

      public Collections.CollectionParamsDiff.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<Collections.CollectionParamsDiff.Builder>
    • clearOneof

      public Collections.CollectionParamsDiff.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<Collections.CollectionParamsDiff.Builder>
    • setRepeatedField

      public Collections.CollectionParamsDiff.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<Collections.CollectionParamsDiff.Builder>
    • addRepeatedField

      public Collections.CollectionParamsDiff.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<Collections.CollectionParamsDiff.Builder>
    • mergeFrom

      public Collections.CollectionParamsDiff.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<Collections.CollectionParamsDiff.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<Collections.CollectionParamsDiff.Builder>
    • mergeFrom

      public Collections.CollectionParamsDiff.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<Collections.CollectionParamsDiff.Builder>
      Throws:
      IOException
    • hasReplicationFactor

      public boolean hasReplicationFactor()
       Number of replicas of each shard that network tries to maintain
       
      optional uint32 replication_factor = 1;
      Specified by:
      hasReplicationFactor in interface Collections.CollectionParamsDiffOrBuilder
      Returns:
      Whether the replicationFactor field is set.
    • getReplicationFactor

      public int getReplicationFactor()
       Number of replicas of each shard that network tries to maintain
       
      optional uint32 replication_factor = 1;
      Specified by:
      getReplicationFactor in interface Collections.CollectionParamsDiffOrBuilder
      Returns:
      The replicationFactor.
    • setReplicationFactor

      public Collections.CollectionParamsDiff.Builder setReplicationFactor(int value)
       Number of replicas of each shard that network tries to maintain
       
      optional uint32 replication_factor = 1;
      Parameters:
      value - The replicationFactor to set.
      Returns:
      This builder for chaining.
    • clearReplicationFactor

      public Collections.CollectionParamsDiff.Builder clearReplicationFactor()
       Number of replicas of each shard that network tries to maintain
       
      optional uint32 replication_factor = 1;
      Returns:
      This builder for chaining.
    • hasWriteConsistencyFactor

      public boolean hasWriteConsistencyFactor()
       How many replicas should apply the operation for us to consider it successful
       
      optional uint32 write_consistency_factor = 2;
      Specified by:
      hasWriteConsistencyFactor in interface Collections.CollectionParamsDiffOrBuilder
      Returns:
      Whether the writeConsistencyFactor field is set.
    • getWriteConsistencyFactor

      public int getWriteConsistencyFactor()
       How many replicas should apply the operation for us to consider it successful
       
      optional uint32 write_consistency_factor = 2;
      Specified by:
      getWriteConsistencyFactor in interface Collections.CollectionParamsDiffOrBuilder
      Returns:
      The writeConsistencyFactor.
    • setWriteConsistencyFactor

      public Collections.CollectionParamsDiff.Builder setWriteConsistencyFactor(int value)
       How many replicas should apply the operation for us to consider it successful
       
      optional uint32 write_consistency_factor = 2;
      Parameters:
      value - The writeConsistencyFactor to set.
      Returns:
      This builder for chaining.
    • clearWriteConsistencyFactor

      public Collections.CollectionParamsDiff.Builder clearWriteConsistencyFactor()
       How many replicas should apply the operation for us to consider it successful
       
      optional uint32 write_consistency_factor = 2;
      Returns:
      This builder for chaining.
    • hasOnDiskPayload

      public boolean hasOnDiskPayload()
       If true - point's payload will not be stored in memory
       
      optional bool on_disk_payload = 3;
      Specified by:
      hasOnDiskPayload in interface Collections.CollectionParamsDiffOrBuilder
      Returns:
      Whether the onDiskPayload field is set.
    • getOnDiskPayload

      public boolean getOnDiskPayload()
       If true - point's payload will not be stored in memory
       
      optional bool on_disk_payload = 3;
      Specified by:
      getOnDiskPayload in interface Collections.CollectionParamsDiffOrBuilder
      Returns:
      The onDiskPayload.
    • setOnDiskPayload

      public Collections.CollectionParamsDiff.Builder setOnDiskPayload(boolean value)
       If true - point's payload will not be stored in memory
       
      optional bool on_disk_payload = 3;
      Parameters:
      value - The onDiskPayload to set.
      Returns:
      This builder for chaining.
    • clearOnDiskPayload

      public Collections.CollectionParamsDiff.Builder clearOnDiskPayload()
       If true - point's payload will not be stored in memory
       
      optional bool on_disk_payload = 3;
      Returns:
      This builder for chaining.
    • hasReadFanOutFactor

      public boolean hasReadFanOutFactor()
       Fan-out every read request to these many additional remote nodes (and return first available response)
       
      optional uint32 read_fan_out_factor = 4;
      Specified by:
      hasReadFanOutFactor in interface Collections.CollectionParamsDiffOrBuilder
      Returns:
      Whether the readFanOutFactor field is set.
    • getReadFanOutFactor

      public int getReadFanOutFactor()
       Fan-out every read request to these many additional remote nodes (and return first available response)
       
      optional uint32 read_fan_out_factor = 4;
      Specified by:
      getReadFanOutFactor in interface Collections.CollectionParamsDiffOrBuilder
      Returns:
      The readFanOutFactor.
    • setReadFanOutFactor

      public Collections.CollectionParamsDiff.Builder setReadFanOutFactor(int value)
       Fan-out every read request to these many additional remote nodes (and return first available response)
       
      optional uint32 read_fan_out_factor = 4;
      Parameters:
      value - The readFanOutFactor to set.
      Returns:
      This builder for chaining.
    • clearReadFanOutFactor

      public Collections.CollectionParamsDiff.Builder clearReadFanOutFactor()
       Fan-out every read request to these many additional remote nodes (and return first available response)
       
      optional uint32 read_fan_out_factor = 4;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Collections.CollectionParamsDiff.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<Collections.CollectionParamsDiff.Builder>
    • mergeUnknownFields

      public final Collections.CollectionParamsDiff.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<Collections.CollectionParamsDiff.Builder>