Package io.qdrant.client.grpc
Class Points.PointStruct.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Points.PointStruct.Builder>
io.qdrant.client.grpc.Points.PointStruct.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Points.PointStructOrBuilder
,Cloneable
- Enclosing class:
- Points.PointStruct
public static final class Points.PointStruct.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Points.PointStruct.Builder>
implements Points.PointStructOrBuilder
Protobuf type
qdrant.PointStruct
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()
.qdrant.PointId id = 1;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional .qdrant.Vectors vectors = 4;
clone()
boolean
containsPayload
(String key) map<string, .qdrant.Value> payload = 3;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getId()
.qdrant.PointId id = 1;
.qdrant.PointId id = 1;
.qdrant.PointId id = 1;
Deprecated.Deprecated.int
map<string, .qdrant.Value> payload = 3;
map<string, .qdrant.Value> payload = 3;
getPayloadOrDefault
(String key, JsonWithInt.Value defaultValue) map<string, .qdrant.Value> payload = 3;
getPayloadOrThrow
(String key) map<string, .qdrant.Value> payload = 3;
optional .qdrant.Vectors vectors = 4;
optional .qdrant.Vectors vectors = 4;
optional .qdrant.Vectors vectors = 4;
boolean
hasId()
.qdrant.PointId id = 1;
boolean
optional .qdrant.Vectors vectors = 4;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapField
internalGetMapField
(int number) protected com.google.protobuf.MapField
internalGetMutableMapField
(int number) final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Points.PointStruct other) mergeId
(Points.PointId value) .qdrant.PointId id = 1;
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) mergeVectors
(Points.Vectors value) optional .qdrant.Vectors vectors = 4;
putAllPayload
(Map<String, JsonWithInt.Value> values) map<string, .qdrant.Value> payload = 3;
putPayload
(String key, JsonWithInt.Value value) map<string, .qdrant.Value> payload = 3;
removePayload
(String key) map<string, .qdrant.Value> payload = 3;
setId
(Points.PointId value) .qdrant.PointId id = 1;
setId
(Points.PointId.Builder builderForValue) .qdrant.PointId id = 1;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setVectors
(Points.Vectors value) optional .qdrant.Vectors vectors = 4;
setVectors
(Points.Vectors.Builder builderForValue) optional .qdrant.Vectors vectors = 4;
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, 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() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.PointStruct.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.PointStruct.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.PointStruct.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.PointStruct.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.PointStruct.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.PointStruct.Builder>
-
setField
public Points.PointStruct.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.PointStruct.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.PointStruct.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.PointStruct.Builder>
-
setRepeatedField
public Points.PointStruct.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.PointStruct.Builder>
-
addRepeatedField
public Points.PointStruct.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.PointStruct.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Points.PointStruct.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.PointStruct.Builder>
-
mergeFrom
public Points.PointStruct.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.PointStruct.Builder>
- Throws:
IOException
-
hasId
public boolean hasId().qdrant.PointId id = 1;
- Specified by:
hasId
in interfacePoints.PointStructOrBuilder
- Returns:
- Whether the id field is set.
-
getId
.qdrant.PointId id = 1;
- Specified by:
getId
in interfacePoints.PointStructOrBuilder
- Returns:
- The id.
-
setId
.qdrant.PointId id = 1;
-
setId
.qdrant.PointId id = 1;
-
mergeId
.qdrant.PointId id = 1;
-
clearId
.qdrant.PointId id = 1;
-
getIdBuilder
.qdrant.PointId id = 1;
-
getIdOrBuilder
.qdrant.PointId id = 1;
- Specified by:
getIdOrBuilder
in interfacePoints.PointStructOrBuilder
-
getPayloadCount
public int getPayloadCount()Description copied from interface:Points.PointStructOrBuilder
map<string, .qdrant.Value> payload = 3;
- Specified by:
getPayloadCount
in interfacePoints.PointStructOrBuilder
-
containsPayload
map<string, .qdrant.Value> payload = 3;
- Specified by:
containsPayload
in interfacePoints.PointStructOrBuilder
-
getPayload
Deprecated.UsegetPayloadMap()
instead.- Specified by:
getPayload
in interfacePoints.PointStructOrBuilder
-
getPayloadMap
map<string, .qdrant.Value> payload = 3;
- Specified by:
getPayloadMap
in interfacePoints.PointStructOrBuilder
-
getPayloadOrDefault
map<string, .qdrant.Value> payload = 3;
- Specified by:
getPayloadOrDefault
in interfacePoints.PointStructOrBuilder
-
getPayloadOrThrow
map<string, .qdrant.Value> payload = 3;
- Specified by:
getPayloadOrThrow
in interfacePoints.PointStructOrBuilder
-
clearPayload
-
removePayload
map<string, .qdrant.Value> payload = 3;
-
getMutablePayload
Deprecated.Use alternate mutation accessors instead. -
putPayload
map<string, .qdrant.Value> payload = 3;
-
putAllPayload
map<string, .qdrant.Value> payload = 3;
-
hasVectors
public boolean hasVectors()optional .qdrant.Vectors vectors = 4;
- Specified by:
hasVectors
in interfacePoints.PointStructOrBuilder
- Returns:
- Whether the vectors field is set.
-
getVectors
optional .qdrant.Vectors vectors = 4;
- Specified by:
getVectors
in interfacePoints.PointStructOrBuilder
- Returns:
- The vectors.
-
setVectors
optional .qdrant.Vectors vectors = 4;
-
setVectors
optional .qdrant.Vectors vectors = 4;
-
mergeVectors
optional .qdrant.Vectors vectors = 4;
-
clearVectors
optional .qdrant.Vectors vectors = 4;
-
getVectorsBuilder
optional .qdrant.Vectors vectors = 4;
-
getVectorsOrBuilder
optional .qdrant.Vectors vectors = 4;
- Specified by:
getVectorsOrBuilder
in interfacePoints.PointStructOrBuilder
-
setUnknownFields
public final Points.PointStruct.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.PointStruct.Builder>
-
mergeUnknownFields
public final Points.PointStruct.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.PointStruct.Builder>
-