Package io.milvus.grpc
Class ReleasePartitionsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ReleasePartitionsRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<ReleasePartitionsRequest.Builder>
io.milvus.grpc.ReleasePartitionsRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ReleasePartitionsRequestOrBuilder,Cloneable
- Enclosing class:
ReleasePartitionsRequest
public static final class ReleasePartitionsRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ReleasePartitionsRequest.Builder>
implements ReleasePartitionsRequestOrBuilder
Release specific partitions data of one collection from query nodes. Then you can not get these data as result when you do vector search on this collection.Protobuf type
milvus.proto.milvus.ReleasePartitionsRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllPartitionNames(Iterable<String> values) The partition names you want to releaseaddPartitionNames(String value) The partition names you want to releaseaddPartitionNamesBytes(com.google.protobuf.ByteString value) The partition names you want to releaseaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Not useful for nowThe collection name in milvusstring db_name = 2;clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The partition names you want to releaseclone()getBase()Not useful for nowNot useful for nowNot useful for nowThe collection name in milvuscom.google.protobuf.ByteStringThe collection name in milvusstring db_name = 2;com.google.protobuf.ByteStringstring db_name = 2;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetPartitionNames(int index) The partition names you want to releasecom.google.protobuf.ByteStringgetPartitionNamesBytes(int index) The partition names you want to releaseintThe partition names you want to releasecom.google.protobuf.ProtocolStringListThe partition names you want to releasebooleanhasBase()Not useful for nowprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanNot useful for nowmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Not useful for nowsetBase(MsgBase.Builder builderForValue) Not useful for nowsetCollectionName(String value) The collection name in milvussetCollectionNameBytes(com.google.protobuf.ByteString value) The collection name in milvusstring db_name = 2;setDbNameBytes(com.google.protobuf.ByteString value) string db_name = 2;setPartitionNames(int index, String value) The partition names you want to releasesetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ReleasePartitionsRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ReleasePartitionsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ReleasePartitionsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ReleasePartitionsRequest.Builder>
-
setField
public ReleasePartitionsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReleasePartitionsRequest.Builder>
-
clearField
public ReleasePartitionsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReleasePartitionsRequest.Builder>
-
clearOneof
public ReleasePartitionsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ReleasePartitionsRequest.Builder>
-
setRepeatedField
public ReleasePartitionsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReleasePartitionsRequest.Builder>
-
addRepeatedField
public ReleasePartitionsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ReleasePartitionsRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReleasePartitionsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ReleasePartitionsRequest.Builder>
-
mergeFrom
public ReleasePartitionsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ReleasePartitionsRequest.Builder>- Throws:
IOException
-
hasBase
public boolean hasBase()Not useful for now
.milvus.proto.common.MsgBase base = 1;- Specified by:
hasBasein interfaceReleasePartitionsRequestOrBuilder- Returns:
- Whether the base field is set.
-
getBase
Not useful for now
.milvus.proto.common.MsgBase base = 1;- Specified by:
getBasein interfaceReleasePartitionsRequestOrBuilder- Returns:
- The base.
-
setBase
Not useful for now
.milvus.proto.common.MsgBase base = 1; -
setBase
Not useful for now
.milvus.proto.common.MsgBase base = 1; -
mergeBase
Not useful for now
.milvus.proto.common.MsgBase base = 1; -
clearBase
Not useful for now
.milvus.proto.common.MsgBase base = 1; -
getBaseBuilder
Not useful for now
.milvus.proto.common.MsgBase base = 1; -
getBaseOrBuilder
Not useful for now
.milvus.proto.common.MsgBase base = 1;- Specified by:
getBaseOrBuilderin interfaceReleasePartitionsRequestOrBuilder
-
getDbName
string db_name = 2;- Specified by:
getDbNamein interfaceReleasePartitionsRequestOrBuilder- Returns:
- The dbName.
-
getDbNameBytes
public com.google.protobuf.ByteString getDbNameBytes()string db_name = 2;- Specified by:
getDbNameBytesin interfaceReleasePartitionsRequestOrBuilder- Returns:
- The bytes for dbName.
-
setDbName
string db_name = 2;- Parameters:
value- The dbName to set.- Returns:
- This builder for chaining.
-
clearDbName
string db_name = 2;- Returns:
- This builder for chaining.
-
setDbNameBytes
string db_name = 2;- Parameters:
value- The bytes for dbName to set.- Returns:
- This builder for chaining.
-
getCollectionName
The collection name in milvus
string collection_name = 3;- Specified by:
getCollectionNamein interfaceReleasePartitionsRequestOrBuilder- Returns:
- The collectionName.
-
getCollectionNameBytes
public com.google.protobuf.ByteString getCollectionNameBytes()The collection name in milvus
string collection_name = 3;- Specified by:
getCollectionNameBytesin interfaceReleasePartitionsRequestOrBuilder- Returns:
- The bytes for collectionName.
-
setCollectionName
The collection name in milvus
string collection_name = 3;- Parameters:
value- The collectionName to set.- Returns:
- This builder for chaining.
-
clearCollectionName
The collection name in milvus
string collection_name = 3;- Returns:
- This builder for chaining.
-
setCollectionNameBytes
public ReleasePartitionsRequest.Builder setCollectionNameBytes(com.google.protobuf.ByteString value) The collection name in milvus
string collection_name = 3;- Parameters:
value- The bytes for collectionName to set.- Returns:
- This builder for chaining.
-
getPartitionNamesList
public com.google.protobuf.ProtocolStringList getPartitionNamesList()The partition names you want to release
repeated string partition_names = 4;- Specified by:
getPartitionNamesListin interfaceReleasePartitionsRequestOrBuilder- Returns:
- A list containing the partitionNames.
-
getPartitionNamesCount
public int getPartitionNamesCount()The partition names you want to release
repeated string partition_names = 4;- Specified by:
getPartitionNamesCountin interfaceReleasePartitionsRequestOrBuilder- Returns:
- The count of partitionNames.
-
getPartitionNames
The partition names you want to release
repeated string partition_names = 4;- Specified by:
getPartitionNamesin interfaceReleasePartitionsRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The partitionNames at the given index.
-
getPartitionNamesBytes
public com.google.protobuf.ByteString getPartitionNamesBytes(int index) The partition names you want to release
repeated string partition_names = 4;- Specified by:
getPartitionNamesBytesin interfaceReleasePartitionsRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the partitionNames at the given index.
-
setPartitionNames
The partition names you want to release
repeated string partition_names = 4;- Parameters:
index- The index to set the value at.value- The partitionNames to set.- Returns:
- This builder for chaining.
-
addPartitionNames
The partition names you want to release
repeated string partition_names = 4;- Parameters:
value- The partitionNames to add.- Returns:
- This builder for chaining.
-
addAllPartitionNames
The partition names you want to release
repeated string partition_names = 4;- Parameters:
values- The partitionNames to add.- Returns:
- This builder for chaining.
-
clearPartitionNames
The partition names you want to release
repeated string partition_names = 4;- Returns:
- This builder for chaining.
-
addPartitionNamesBytes
public ReleasePartitionsRequest.Builder addPartitionNamesBytes(com.google.protobuf.ByteString value) The partition names you want to release
repeated string partition_names = 4;- Parameters:
value- The bytes of the partitionNames to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ReleasePartitionsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ReleasePartitionsRequest.Builder>
-
mergeUnknownFields
public final ReleasePartitionsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ReleasePartitionsRequest.Builder>
-