Package io.qdrant.client.grpc
Class Points.SetPayloadPoints.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Points.SetPayloadPoints.Builder>
io.qdrant.client.grpc.Points.SetPayloadPoints.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Points.SetPayloadPointsOrBuilder
,Cloneable
- Enclosing class:
- Points.SetPayloadPoints
public static final class Points.SetPayloadPoints.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Points.SetPayloadPoints.Builder>
implements Points.SetPayloadPointsOrBuilder
Protobuf type
qdrant.SetPayloadPoints
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
name of the collectionclearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Write ordering guaranteesAffected pointsWait until the changes have been applied?clone()
boolean
containsPayload
(String key) New payload valuesname of the collectioncom.google.protobuf.ByteString
name of the collectionstatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Deprecated.Write ordering guaranteesWrite ordering guaranteesWrite ordering guaranteesDeprecated.int
New payload valuesNew payload valuesgetPayloadOrDefault
(String key, JsonWithInt.Value defaultValue) New payload valuesgetPayloadOrThrow
(String key) New payload valuesAffected pointsAffected pointsAffected pointsboolean
getWait()
Wait until the changes have been applied?boolean
Write ordering guaranteesboolean
Affected pointsboolean
hasWait()
Wait until the changes have been applied?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.SetPayloadPoints other) Write ordering guaranteesAffected pointsmergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) putAllPayload
(Map<String, JsonWithInt.Value> values) New payload valuesputPayload
(String key, JsonWithInt.Value value) New payload valuesremovePayload
(String key) New payload valuessetCollectionName
(String value) name of the collectionsetCollectionNameBytes
(com.google.protobuf.ByteString value) name of the collectionsetOrdering
(Points.WriteOrdering value) Write ordering guaranteessetOrdering
(Points.WriteOrdering.Builder builderForValue) Write ordering guaranteesAffected pointssetPointsSelector
(Points.PointsSelector.Builder builderForValue) Affected pointssetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setWait
(boolean value) Wait until the changes have been applied?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.SetPayloadPoints.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.SetPayloadPoints.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.SetPayloadPoints.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.SetPayloadPoints.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.SetPayloadPoints.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.SetPayloadPoints.Builder>
-
setField
public Points.SetPayloadPoints.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.SetPayloadPoints.Builder>
-
clearField
public Points.SetPayloadPoints.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.SetPayloadPoints.Builder>
-
clearOneof
public Points.SetPayloadPoints.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.SetPayloadPoints.Builder>
-
setRepeatedField
public Points.SetPayloadPoints.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.SetPayloadPoints.Builder>
-
addRepeatedField
public Points.SetPayloadPoints.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.SetPayloadPoints.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Points.SetPayloadPoints.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.SetPayloadPoints.Builder>
-
mergeFrom
public Points.SetPayloadPoints.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.SetPayloadPoints.Builder>
- Throws:
IOException
-
getCollectionName
name of the collection
string collection_name = 1;
- Specified by:
getCollectionName
in interfacePoints.SetPayloadPointsOrBuilder
- Returns:
- The collectionName.
-
getCollectionNameBytes
public com.google.protobuf.ByteString getCollectionNameBytes()name of the collection
string collection_name = 1;
- Specified by:
getCollectionNameBytes
in interfacePoints.SetPayloadPointsOrBuilder
- Returns:
- The bytes for collectionName.
-
setCollectionName
name of the collection
string collection_name = 1;
- Parameters:
value
- The collectionName to set.- Returns:
- This builder for chaining.
-
clearCollectionName
name of the collection
string collection_name = 1;
- Returns:
- This builder for chaining.
-
setCollectionNameBytes
name of the collection
string collection_name = 1;
- Parameters:
value
- The bytes for collectionName to set.- Returns:
- This builder for chaining.
-
hasWait
public boolean hasWait()Wait until the changes have been applied?
optional bool wait = 2;
- Specified by:
hasWait
in interfacePoints.SetPayloadPointsOrBuilder
- Returns:
- Whether the wait field is set.
-
getWait
public boolean getWait()Wait until the changes have been applied?
optional bool wait = 2;
- Specified by:
getWait
in interfacePoints.SetPayloadPointsOrBuilder
- Returns:
- The wait.
-
setWait
Wait until the changes have been applied?
optional bool wait = 2;
- Parameters:
value
- The wait to set.- Returns:
- This builder for chaining.
-
clearWait
Wait until the changes have been applied?
optional bool wait = 2;
- Returns:
- This builder for chaining.
-
getPayloadCount
public int getPayloadCount()Description copied from interface:Points.SetPayloadPointsOrBuilder
New payload values
map<string, .qdrant.Value> payload = 3;
- Specified by:
getPayloadCount
in interfacePoints.SetPayloadPointsOrBuilder
-
containsPayload
New payload values
map<string, .qdrant.Value> payload = 3;
- Specified by:
containsPayload
in interfacePoints.SetPayloadPointsOrBuilder
-
getPayload
Deprecated.UsegetPayloadMap()
instead.- Specified by:
getPayload
in interfacePoints.SetPayloadPointsOrBuilder
-
getPayloadMap
New payload values
map<string, .qdrant.Value> payload = 3;
- Specified by:
getPayloadMap
in interfacePoints.SetPayloadPointsOrBuilder
-
getPayloadOrDefault
New payload values
map<string, .qdrant.Value> payload = 3;
- Specified by:
getPayloadOrDefault
in interfacePoints.SetPayloadPointsOrBuilder
-
getPayloadOrThrow
New payload values
map<string, .qdrant.Value> payload = 3;
- Specified by:
getPayloadOrThrow
in interfacePoints.SetPayloadPointsOrBuilder
-
clearPayload
-
removePayload
New payload values
map<string, .qdrant.Value> payload = 3;
-
getMutablePayload
Deprecated.Use alternate mutation accessors instead. -
putPayload
New payload values
map<string, .qdrant.Value> payload = 3;
-
putAllPayload
New payload values
map<string, .qdrant.Value> payload = 3;
-
hasPointsSelector
public boolean hasPointsSelector()Affected points
optional .qdrant.PointsSelector points_selector = 5;
- Specified by:
hasPointsSelector
in interfacePoints.SetPayloadPointsOrBuilder
- Returns:
- Whether the pointsSelector field is set.
-
getPointsSelector
Affected points
optional .qdrant.PointsSelector points_selector = 5;
- Specified by:
getPointsSelector
in interfacePoints.SetPayloadPointsOrBuilder
- Returns:
- The pointsSelector.
-
setPointsSelector
Affected points
optional .qdrant.PointsSelector points_selector = 5;
-
setPointsSelector
public Points.SetPayloadPoints.Builder setPointsSelector(Points.PointsSelector.Builder builderForValue) Affected points
optional .qdrant.PointsSelector points_selector = 5;
-
mergePointsSelector
Affected points
optional .qdrant.PointsSelector points_selector = 5;
-
clearPointsSelector
Affected points
optional .qdrant.PointsSelector points_selector = 5;
-
getPointsSelectorBuilder
Affected points
optional .qdrant.PointsSelector points_selector = 5;
-
getPointsSelectorOrBuilder
Affected points
optional .qdrant.PointsSelector points_selector = 5;
- Specified by:
getPointsSelectorOrBuilder
in interfacePoints.SetPayloadPointsOrBuilder
-
hasOrdering
public boolean hasOrdering()Write ordering guarantees
optional .qdrant.WriteOrdering ordering = 6;
- Specified by:
hasOrdering
in interfacePoints.SetPayloadPointsOrBuilder
- Returns:
- Whether the ordering field is set.
-
getOrdering
Write ordering guarantees
optional .qdrant.WriteOrdering ordering = 6;
- Specified by:
getOrdering
in interfacePoints.SetPayloadPointsOrBuilder
- Returns:
- The ordering.
-
setOrdering
Write ordering guarantees
optional .qdrant.WriteOrdering ordering = 6;
-
setOrdering
Write ordering guarantees
optional .qdrant.WriteOrdering ordering = 6;
-
mergeOrdering
Write ordering guarantees
optional .qdrant.WriteOrdering ordering = 6;
-
clearOrdering
Write ordering guarantees
optional .qdrant.WriteOrdering ordering = 6;
-
getOrderingBuilder
Write ordering guarantees
optional .qdrant.WriteOrdering ordering = 6;
-
getOrderingOrBuilder
Write ordering guarantees
optional .qdrant.WriteOrdering ordering = 6;
- Specified by:
getOrderingOrBuilder
in interfacePoints.SetPayloadPointsOrBuilder
-
setUnknownFields
public final Points.SetPayloadPoints.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.SetPayloadPoints.Builder>
-
mergeUnknownFields
public final Points.SetPayloadPoints.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.SetPayloadPoints.Builder>
-