Package io.qdrant.client.grpc
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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Send request to a specified number of nodes, and return points which are present on all of themclearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Common read consistency configurationsclone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
long
Send request to a specified number of nodes, and return points which are present on all of themgetType()
Common read consistency configurationsint
Common read consistency configurationsboolean
Send request to a specified number of nodes, and return points which are present on all of themboolean
hasType()
Common read consistency configurationsprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Points.ReadConsistency other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setFactor
(long value) Send request to a specified number of nodes, and return points which are present on all of themsetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Common read consistency configurationssetTypeValue
(int value) Common read consistency configurationssetUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods 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<Points.ReadConsistency.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<Points.ReadConsistency.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<Points.ReadConsistency.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<Points.ReadConsistency.Builder>
-
setField
public Points.ReadConsistency.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<Points.ReadConsistency.Builder>
-
clearField
public Points.ReadConsistency.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<Points.ReadConsistency.Builder>
-
clearOneof
public Points.ReadConsistency.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<Points.ReadConsistency.Builder>
-
setRepeatedField
public Points.ReadConsistency.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<Points.ReadConsistency.Builder>
-
addRepeatedField
public Points.ReadConsistency.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<Points.ReadConsistency.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Points.ReadConsistency.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Points.ReadConsistency.Builder>
- Throws:
IOException
-
getValueCase
- Specified by:
getValueCase
in interfacePoints.ReadConsistencyOrBuilder
-
clearValue
-
hasType
public boolean hasType()Common read consistency configurations
.qdrant.ReadConsistencyType type = 1;
- Specified by:
hasType
in interfacePoints.ReadConsistencyOrBuilder
- Returns:
- Whether the type field is set.
-
getTypeValue
public int getTypeValue()Common read consistency configurations
.qdrant.ReadConsistencyType type = 1;
- Specified by:
getTypeValue
in interfacePoints.ReadConsistencyOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
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
Common read consistency configurations
.qdrant.ReadConsistencyType type = 1;
- Specified by:
getType
in interfacePoints.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
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 interfacePoints.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 interfacePoints.ReadConsistencyOrBuilder
- Returns:
- The factor.
-
setFactor
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
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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.ReadConsistency.Builder>
-
mergeUnknownFields
public final Points.ReadConsistency.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.ReadConsistency.Builder>
-