Package io.qdrant.client.grpc
Class Collections.UpdateCollectionClusterSetupRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Collections.UpdateCollectionClusterSetupRequest.Builder>
io.qdrant.client.grpc.Collections.UpdateCollectionClusterSetupRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Collections.UpdateCollectionClusterSetupRequestOrBuilder
,Cloneable
- Enclosing class:
- Collections.UpdateCollectionClusterSetupRequest
public static final class Collections.UpdateCollectionClusterSetupRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Collections.UpdateCollectionClusterSetupRequest.Builder>
implements Collections.UpdateCollectionClusterSetupRequestOrBuilder
Protobuf type
qdrant.UpdateCollectionClusterSetupRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
.qdrant.MoveShard abort_transfer = 4;
Name of the collection.qdrant.Replica drop_replica = 5;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) .qdrant.MoveShard move_shard = 2;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) .qdrant.MoveShard replicate_shard = 3;
Wait timeout for operation commit in seconds, if not specified - default value will be suppliedclone()
.qdrant.MoveShard abort_transfer = 4;
.qdrant.MoveShard abort_transfer = 4;
.qdrant.MoveShard abort_transfer = 4;
Name of the collectioncom.google.protobuf.ByteString
Name of the collectionstatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
.qdrant.Replica drop_replica = 5;
.qdrant.Replica drop_replica = 5;
.qdrant.Replica drop_replica = 5;
.qdrant.MoveShard move_shard = 2;
.qdrant.MoveShard move_shard = 2;
.qdrant.MoveShard move_shard = 2;
.qdrant.MoveShard replicate_shard = 3;
.qdrant.MoveShard replicate_shard = 3;
.qdrant.MoveShard replicate_shard = 3;
long
Wait timeout for operation commit in seconds, if not specified - default value will be suppliedboolean
.qdrant.MoveShard abort_transfer = 4;
boolean
.qdrant.Replica drop_replica = 5;
boolean
.qdrant.MoveShard move_shard = 2;
boolean
.qdrant.MoveShard replicate_shard = 3;
boolean
Wait timeout for operation commit in seconds, if not specified - default value will be suppliedprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
.qdrant.MoveShard abort_transfer = 4;
.qdrant.Replica drop_replica = 5;
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) .qdrant.MoveShard move_shard = 2;
.qdrant.MoveShard replicate_shard = 3;
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) .qdrant.MoveShard abort_transfer = 4;
setAbortTransfer
(Collections.MoveShard.Builder builderForValue) .qdrant.MoveShard abort_transfer = 4;
setCollectionName
(String value) Name of the collectionsetCollectionNameBytes
(com.google.protobuf.ByteString value) Name of the collection.qdrant.Replica drop_replica = 5;
setDropReplica
(Collections.Replica.Builder builderForValue) .qdrant.Replica drop_replica = 5;
.qdrant.MoveShard move_shard = 2;
setMoveShard
(Collections.MoveShard.Builder builderForValue) .qdrant.MoveShard move_shard = 2;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) .qdrant.MoveShard replicate_shard = 3;
setReplicateShard
(Collections.MoveShard.Builder builderForValue) .qdrant.MoveShard replicate_shard = 3;
setTimeout
(long value) Wait timeout for operation commit in seconds, if not specified - default value will be suppliedsetUnknownFields
(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<Collections.UpdateCollectionClusterSetupRequest.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.UpdateCollectionClusterSetupRequest.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.UpdateCollectionClusterSetupRequest.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.UpdateCollectionClusterSetupRequest.Builder>
-
setField
public Collections.UpdateCollectionClusterSetupRequest.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.UpdateCollectionClusterSetupRequest.Builder>
-
clearField
public Collections.UpdateCollectionClusterSetupRequest.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.UpdateCollectionClusterSetupRequest.Builder>
-
clearOneof
public Collections.UpdateCollectionClusterSetupRequest.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.UpdateCollectionClusterSetupRequest.Builder>
-
setRepeatedField
public Collections.UpdateCollectionClusterSetupRequest.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.UpdateCollectionClusterSetupRequest.Builder>
-
addRepeatedField
public Collections.UpdateCollectionClusterSetupRequest.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.UpdateCollectionClusterSetupRequest.Builder>
-
mergeFrom
public Collections.UpdateCollectionClusterSetupRequest.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Collections.UpdateCollectionClusterSetupRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Collections.UpdateCollectionClusterSetupRequest.Builder>
-
mergeFrom
public Collections.UpdateCollectionClusterSetupRequest.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.UpdateCollectionClusterSetupRequest.Builder>
- Throws:
IOException
-
getOperationCase
- Specified by:
getOperationCase
in interfaceCollections.UpdateCollectionClusterSetupRequestOrBuilder
-
clearOperation
-
getCollectionName
Name of the collection
string collection_name = 1;
- Specified by:
getCollectionName
in interfaceCollections.UpdateCollectionClusterSetupRequestOrBuilder
- Returns:
- The collectionName.
-
getCollectionNameBytes
public com.google.protobuf.ByteString getCollectionNameBytes()Name of the collection
string collection_name = 1;
- Specified by:
getCollectionNameBytes
in interfaceCollections.UpdateCollectionClusterSetupRequestOrBuilder
- 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
public Collections.UpdateCollectionClusterSetupRequest.Builder setCollectionNameBytes(com.google.protobuf.ByteString value) Name of the collection
string collection_name = 1;
- Parameters:
value
- The bytes for collectionName to set.- Returns:
- This builder for chaining.
-
hasMoveShard
public boolean hasMoveShard().qdrant.MoveShard move_shard = 2;
- Specified by:
hasMoveShard
in interfaceCollections.UpdateCollectionClusterSetupRequestOrBuilder
- Returns:
- Whether the moveShard field is set.
-
getMoveShard
.qdrant.MoveShard move_shard = 2;
- Specified by:
getMoveShard
in interfaceCollections.UpdateCollectionClusterSetupRequestOrBuilder
- Returns:
- The moveShard.
-
setMoveShard
public Collections.UpdateCollectionClusterSetupRequest.Builder setMoveShard(Collections.MoveShard value) .qdrant.MoveShard move_shard = 2;
-
setMoveShard
public Collections.UpdateCollectionClusterSetupRequest.Builder setMoveShard(Collections.MoveShard.Builder builderForValue) .qdrant.MoveShard move_shard = 2;
-
mergeMoveShard
public Collections.UpdateCollectionClusterSetupRequest.Builder mergeMoveShard(Collections.MoveShard value) .qdrant.MoveShard move_shard = 2;
-
clearMoveShard
.qdrant.MoveShard move_shard = 2;
-
getMoveShardBuilder
.qdrant.MoveShard move_shard = 2;
-
getMoveShardOrBuilder
.qdrant.MoveShard move_shard = 2;
- Specified by:
getMoveShardOrBuilder
in interfaceCollections.UpdateCollectionClusterSetupRequestOrBuilder
-
hasReplicateShard
public boolean hasReplicateShard().qdrant.MoveShard replicate_shard = 3;
- Specified by:
hasReplicateShard
in interfaceCollections.UpdateCollectionClusterSetupRequestOrBuilder
- Returns:
- Whether the replicateShard field is set.
-
getReplicateShard
.qdrant.MoveShard replicate_shard = 3;
- Specified by:
getReplicateShard
in interfaceCollections.UpdateCollectionClusterSetupRequestOrBuilder
- Returns:
- The replicateShard.
-
setReplicateShard
public Collections.UpdateCollectionClusterSetupRequest.Builder setReplicateShard(Collections.MoveShard value) .qdrant.MoveShard replicate_shard = 3;
-
setReplicateShard
public Collections.UpdateCollectionClusterSetupRequest.Builder setReplicateShard(Collections.MoveShard.Builder builderForValue) .qdrant.MoveShard replicate_shard = 3;
-
mergeReplicateShard
public Collections.UpdateCollectionClusterSetupRequest.Builder mergeReplicateShard(Collections.MoveShard value) .qdrant.MoveShard replicate_shard = 3;
-
clearReplicateShard
.qdrant.MoveShard replicate_shard = 3;
-
getReplicateShardBuilder
.qdrant.MoveShard replicate_shard = 3;
-
getReplicateShardOrBuilder
.qdrant.MoveShard replicate_shard = 3;
- Specified by:
getReplicateShardOrBuilder
in interfaceCollections.UpdateCollectionClusterSetupRequestOrBuilder
-
hasAbortTransfer
public boolean hasAbortTransfer().qdrant.MoveShard abort_transfer = 4;
- Specified by:
hasAbortTransfer
in interfaceCollections.UpdateCollectionClusterSetupRequestOrBuilder
- Returns:
- Whether the abortTransfer field is set.
-
getAbortTransfer
.qdrant.MoveShard abort_transfer = 4;
- Specified by:
getAbortTransfer
in interfaceCollections.UpdateCollectionClusterSetupRequestOrBuilder
- Returns:
- The abortTransfer.
-
setAbortTransfer
public Collections.UpdateCollectionClusterSetupRequest.Builder setAbortTransfer(Collections.MoveShard value) .qdrant.MoveShard abort_transfer = 4;
-
setAbortTransfer
public Collections.UpdateCollectionClusterSetupRequest.Builder setAbortTransfer(Collections.MoveShard.Builder builderForValue) .qdrant.MoveShard abort_transfer = 4;
-
mergeAbortTransfer
public Collections.UpdateCollectionClusterSetupRequest.Builder mergeAbortTransfer(Collections.MoveShard value) .qdrant.MoveShard abort_transfer = 4;
-
clearAbortTransfer
.qdrant.MoveShard abort_transfer = 4;
-
getAbortTransferBuilder
.qdrant.MoveShard abort_transfer = 4;
-
getAbortTransferOrBuilder
.qdrant.MoveShard abort_transfer = 4;
- Specified by:
getAbortTransferOrBuilder
in interfaceCollections.UpdateCollectionClusterSetupRequestOrBuilder
-
hasDropReplica
public boolean hasDropReplica().qdrant.Replica drop_replica = 5;
- Specified by:
hasDropReplica
in interfaceCollections.UpdateCollectionClusterSetupRequestOrBuilder
- Returns:
- Whether the dropReplica field is set.
-
getDropReplica
.qdrant.Replica drop_replica = 5;
- Specified by:
getDropReplica
in interfaceCollections.UpdateCollectionClusterSetupRequestOrBuilder
- Returns:
- The dropReplica.
-
setDropReplica
public Collections.UpdateCollectionClusterSetupRequest.Builder setDropReplica(Collections.Replica value) .qdrant.Replica drop_replica = 5;
-
setDropReplica
public Collections.UpdateCollectionClusterSetupRequest.Builder setDropReplica(Collections.Replica.Builder builderForValue) .qdrant.Replica drop_replica = 5;
-
mergeDropReplica
public Collections.UpdateCollectionClusterSetupRequest.Builder mergeDropReplica(Collections.Replica value) .qdrant.Replica drop_replica = 5;
-
clearDropReplica
.qdrant.Replica drop_replica = 5;
-
getDropReplicaBuilder
.qdrant.Replica drop_replica = 5;
-
getDropReplicaOrBuilder
.qdrant.Replica drop_replica = 5;
- Specified by:
getDropReplicaOrBuilder
in interfaceCollections.UpdateCollectionClusterSetupRequestOrBuilder
-
hasTimeout
public boolean hasTimeout()Wait timeout for operation commit in seconds, if not specified - default value will be supplied
optional uint64 timeout = 6;
- Specified by:
hasTimeout
in interfaceCollections.UpdateCollectionClusterSetupRequestOrBuilder
- Returns:
- Whether the timeout field is set.
-
getTimeout
public long getTimeout()Wait timeout for operation commit in seconds, if not specified - default value will be supplied
optional uint64 timeout = 6;
- Specified by:
getTimeout
in interfaceCollections.UpdateCollectionClusterSetupRequestOrBuilder
- Returns:
- The timeout.
-
setTimeout
Wait timeout for operation commit in seconds, if not specified - default value will be supplied
optional uint64 timeout = 6;
- Parameters:
value
- The timeout to set.- Returns:
- This builder for chaining.
-
clearTimeout
Wait timeout for operation commit in seconds, if not specified - default value will be supplied
optional uint64 timeout = 6;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final Collections.UpdateCollectionClusterSetupRequest.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.UpdateCollectionClusterSetupRequest.Builder>
-
mergeUnknownFields
public final Collections.UpdateCollectionClusterSetupRequest.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.UpdateCollectionClusterSetupRequest.Builder>
-