Package io.qdrant.client.grpc
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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) If true - point's payload will not be stored in memoryclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Fan-out every read request to these many additional remote nodes (and return first available response)Number of replicas of each shard that network tries to maintainHow many replicas should apply the operation for us to consider it successfulclone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
boolean
If true - point's payload will not be stored in memoryint
Fan-out every read request to these many additional remote nodes (and return first available response)int
Number of replicas of each shard that network tries to maintainint
How many replicas should apply the operation for us to consider it successfulboolean
If true - point's payload will not be stored in memoryboolean
Fan-out every read request to these many additional remote nodes (and return first available response)boolean
Number of replicas of each shard that network tries to maintainboolean
How many replicas should apply the operation for us to consider it successfulprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setOnDiskPayload
(boolean value) If true - point's payload will not be stored in memorysetReadFanOutFactor
(int value) Fan-out every read request to these many additional remote nodes (and return first available response)setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setReplicationFactor
(int value) Number of replicas of each shard that network tries to maintainsetUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setWriteConsistencyFactor
(int value) How many replicas should apply the operation for us to consider it successfulMethods 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<Collections.CollectionParamsDiff.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<Collections.CollectionParamsDiff.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<Collections.CollectionParamsDiff.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<Collections.CollectionParamsDiff.Builder>
-
setField
public Collections.CollectionParamsDiff.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<Collections.CollectionParamsDiff.Builder>
-
clearField
public Collections.CollectionParamsDiff.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Collections.CollectionParamsDiff.Builder>
-
clearOneof
public Collections.CollectionParamsDiff.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Collections.CollectionParamsDiff.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Collections.CollectionParamsDiff.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.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 interfaceCollections.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 interfaceCollections.CollectionParamsDiffOrBuilder
- Returns:
- The replicationFactor.
-
setReplicationFactor
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
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 interfaceCollections.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 interfaceCollections.CollectionParamsDiffOrBuilder
- Returns:
- The writeConsistencyFactor.
-
setWriteConsistencyFactor
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
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 interfaceCollections.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 interfaceCollections.CollectionParamsDiffOrBuilder
- Returns:
- The onDiskPayload.
-
setOnDiskPayload
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
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 interfaceCollections.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 interfaceCollections.CollectionParamsDiffOrBuilder
- Returns:
- The readFanOutFactor.
-
setReadFanOutFactor
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
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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Collections.CollectionParamsDiff.Builder>
-
mergeUnknownFields
public final Collections.CollectionParamsDiff.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Collections.CollectionParamsDiff.Builder>
-