Package io.milvus.grpc
Class ShowPartitionsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<ShowPartitionsRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<ShowPartitionsRequest.Builder>
io.milvus.grpc.ShowPartitionsRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ShowPartitionsRequestOrBuilder,Cloneable
- Enclosing class:
ShowPartitionsRequest
public static final class ShowPartitionsRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<ShowPartitionsRequest.Builder>
implements ShowPartitionsRequestOrBuilder
List all partitions for particular collectionProtobuf type
milvus.proto.milvus.ShowPartitionsRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllPartitionNames(Iterable<String> values) When type is InMemory, will return these patitions's inMemory_percentages.(Optional)addPartitionNames(String value) When type is InMemory, will return these patitions's inMemory_percentages.(Optional)addPartitionNamesBytes(com.google.protobuf.ByteString value) When type is InMemory, will return these patitions's inMemory_percentages.(Optional)addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Not useful for nowThe collection id in milvusThe collection name you want to describe, you can pass collection_name or collectionIDstring db_name = 2;clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) When type is InMemory, will return these patitions's inMemory_percentages.(Optional)Deprecated.milvus.proto.milvus.ShowPartitionsRequest.type is deprecated.clone()getBase()Not useful for nowNot useful for nowNot useful for nowlongThe collection id in milvusThe collection name you want to describe, you can pass collection_name or collectionIDcom.google.protobuf.ByteStringThe collection name you want to describe, you can pass collection_name or collectionIDstring db_name = 2;com.google.protobuf.ByteStringstring db_name = 2;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetPartitionNames(int index) When type is InMemory, will return these patitions's inMemory_percentages.(Optional)com.google.protobuf.ByteStringgetPartitionNamesBytes(int index) When type is InMemory, will return these patitions's inMemory_percentages.(Optional)intWhen type is InMemory, will return these patitions's inMemory_percentages.(Optional)com.google.protobuf.ProtocolStringListWhen type is InMemory, will return these patitions's inMemory_percentages.(Optional)getType()Deprecated.milvus.proto.milvus.ShowPartitionsRequest.type is deprecated.intDeprecated.milvus.proto.milvus.ShowPartitionsRequest.type is deprecated.booleanhasBase()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) mergeFrom(ShowPartitionsRequest other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Not useful for nowsetBase(MsgBase.Builder builderForValue) Not useful for nowsetCollectionID(long value) The collection id in milvussetCollectionName(String value) The collection name you want to describe, you can pass collection_name or collectionIDsetCollectionNameBytes(com.google.protobuf.ByteString value) The collection name you want to describe, you can pass collection_name or collectionIDstring db_name = 2;setDbNameBytes(com.google.protobuf.ByteString value) string db_name = 2;setPartitionNames(int index, String value) When type is InMemory, will return these patitions's inMemory_percentages.(Optional)setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Deprecated.milvus.proto.milvus.ShowPartitionsRequest.type is deprecated.setTypeValue(int value) Deprecated.milvus.proto.milvus.ShowPartitionsRequest.type is deprecated.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<ShowPartitionsRequest.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<ShowPartitionsRequest.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<ShowPartitionsRequest.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<ShowPartitionsRequest.Builder>
-
setField
public ShowPartitionsRequest.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<ShowPartitionsRequest.Builder>
-
clearField
public ShowPartitionsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ShowPartitionsRequest.Builder>
-
clearOneof
public ShowPartitionsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ShowPartitionsRequest.Builder>
-
setRepeatedField
public ShowPartitionsRequest.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<ShowPartitionsRequest.Builder>
-
addRepeatedField
public ShowPartitionsRequest.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<ShowPartitionsRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ShowPartitionsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ShowPartitionsRequest.Builder>
-
mergeFrom
public ShowPartitionsRequest.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<ShowPartitionsRequest.Builder>- Throws:
IOException
-
hasBase
public boolean hasBase()Not useful for now
.milvus.proto.common.MsgBase base = 1;- Specified by:
hasBasein interfaceShowPartitionsRequestOrBuilder- Returns:
- Whether the base field is set.
-
getBase
Not useful for now
.milvus.proto.common.MsgBase base = 1;- Specified by:
getBasein interfaceShowPartitionsRequestOrBuilder- 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 interfaceShowPartitionsRequestOrBuilder
-
getDbName
string db_name = 2;- Specified by:
getDbNamein interfaceShowPartitionsRequestOrBuilder- Returns:
- The dbName.
-
getDbNameBytes
public com.google.protobuf.ByteString getDbNameBytes()string db_name = 2;- Specified by:
getDbNameBytesin interfaceShowPartitionsRequestOrBuilder- 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 you want to describe, you can pass collection_name or collectionID
string collection_name = 3;- Specified by:
getCollectionNamein interfaceShowPartitionsRequestOrBuilder- Returns:
- The collectionName.
-
getCollectionNameBytes
public com.google.protobuf.ByteString getCollectionNameBytes()The collection name you want to describe, you can pass collection_name or collectionID
string collection_name = 3;- Specified by:
getCollectionNameBytesin interfaceShowPartitionsRequestOrBuilder- Returns:
- The bytes for collectionName.
-
setCollectionName
The collection name you want to describe, you can pass collection_name or collectionID
string collection_name = 3;- Parameters:
value- The collectionName to set.- Returns:
- This builder for chaining.
-
clearCollectionName
The collection name you want to describe, you can pass collection_name or collectionID
string collection_name = 3;- Returns:
- This builder for chaining.
-
setCollectionNameBytes
The collection name you want to describe, you can pass collection_name or collectionID
string collection_name = 3;- Parameters:
value- The bytes for collectionName to set.- Returns:
- This builder for chaining.
-
getCollectionID
public long getCollectionID()The collection id in milvus
int64 collectionID = 4;- Specified by:
getCollectionIDin interfaceShowPartitionsRequestOrBuilder- Returns:
- The collectionID.
-
setCollectionID
The collection id in milvus
int64 collectionID = 4;- Parameters:
value- The collectionID to set.- Returns:
- This builder for chaining.
-
clearCollectionID
The collection id in milvus
int64 collectionID = 4;- Returns:
- This builder for chaining.
-
getPartitionNamesList
public com.google.protobuf.ProtocolStringList getPartitionNamesList()When type is InMemory, will return these patitions's inMemory_percentages.(Optional)
repeated string partition_names = 5;- Specified by:
getPartitionNamesListin interfaceShowPartitionsRequestOrBuilder- Returns:
- A list containing the partitionNames.
-
getPartitionNamesCount
public int getPartitionNamesCount()When type is InMemory, will return these patitions's inMemory_percentages.(Optional)
repeated string partition_names = 5;- Specified by:
getPartitionNamesCountin interfaceShowPartitionsRequestOrBuilder- Returns:
- The count of partitionNames.
-
getPartitionNames
When type is InMemory, will return these patitions's inMemory_percentages.(Optional)
repeated string partition_names = 5;- Specified by:
getPartitionNamesin interfaceShowPartitionsRequestOrBuilder- 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) When type is InMemory, will return these patitions's inMemory_percentages.(Optional)
repeated string partition_names = 5;- Specified by:
getPartitionNamesBytesin interfaceShowPartitionsRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the partitionNames at the given index.
-
setPartitionNames
When type is InMemory, will return these patitions's inMemory_percentages.(Optional)
repeated string partition_names = 5;- Parameters:
index- The index to set the value at.value- The partitionNames to set.- Returns:
- This builder for chaining.
-
addPartitionNames
When type is InMemory, will return these patitions's inMemory_percentages.(Optional)
repeated string partition_names = 5;- Parameters:
value- The partitionNames to add.- Returns:
- This builder for chaining.
-
addAllPartitionNames
When type is InMemory, will return these patitions's inMemory_percentages.(Optional)
repeated string partition_names = 5;- Parameters:
values- The partitionNames to add.- Returns:
- This builder for chaining.
-
clearPartitionNames
When type is InMemory, will return these patitions's inMemory_percentages.(Optional)
repeated string partition_names = 5;- Returns:
- This builder for chaining.
-
addPartitionNamesBytes
When type is InMemory, will return these patitions's inMemory_percentages.(Optional)
repeated string partition_names = 5;- Parameters:
value- The bytes of the partitionNames to add.- Returns:
- This builder for chaining.
-
getTypeValue
Deprecated.milvus.proto.milvus.ShowPartitionsRequest.type is deprecated. See milvus.proto;l=642Decide return Loaded partitions or All partitions(Optional) Deprecated: use GetLoadingProgress rpc instead
.milvus.proto.milvus.ShowType type = 6 [deprecated = true];- Specified by:
getTypeValuein interfaceShowPartitionsRequestOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
Deprecated.milvus.proto.milvus.ShowPartitionsRequest.type is deprecated. See milvus.proto;l=642Decide return Loaded partitions or All partitions(Optional) Deprecated: use GetLoadingProgress rpc instead
.milvus.proto.milvus.ShowType type = 6 [deprecated = true];- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
Deprecated.milvus.proto.milvus.ShowPartitionsRequest.type is deprecated. See milvus.proto;l=642Decide return Loaded partitions or All partitions(Optional) Deprecated: use GetLoadingProgress rpc instead
.milvus.proto.milvus.ShowType type = 6 [deprecated = true];- Specified by:
getTypein interfaceShowPartitionsRequestOrBuilder- Returns:
- The type.
-
setType
Deprecated.milvus.proto.milvus.ShowPartitionsRequest.type is deprecated. See milvus.proto;l=642Decide return Loaded partitions or All partitions(Optional) Deprecated: use GetLoadingProgress rpc instead
.milvus.proto.milvus.ShowType type = 6 [deprecated = true];- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
Deprecated.milvus.proto.milvus.ShowPartitionsRequest.type is deprecated. See milvus.proto;l=642Decide return Loaded partitions or All partitions(Optional) Deprecated: use GetLoadingProgress rpc instead
.milvus.proto.milvus.ShowType type = 6 [deprecated = true];- Returns:
- This builder for chaining.
-
setUnknownFields
public final ShowPartitionsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ShowPartitionsRequest.Builder>
-
mergeUnknownFields
public final ShowPartitionsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ShowPartitionsRequest.Builder>
-