Package io.milvus.grpc
Class ShowPartitionsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- 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 collection
Protobuf typemilvus.proto.milvus.ShowPartitionsRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ShowPartitionsRequest.BuilderaddAllPartitionNames(Iterable<String> values)When type is InMemory, will return these patitions's inMemory_percentages.(Optional)ShowPartitionsRequest.BuilderaddPartitionNames(String value)When type is InMemory, will return these patitions's inMemory_percentages.(Optional)ShowPartitionsRequest.BuilderaddPartitionNamesBytes(com.google.protobuf.ByteString value)When type is InMemory, will return these patitions's inMemory_percentages.(Optional)ShowPartitionsRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ShowPartitionsRequestbuild()ShowPartitionsRequestbuildPartial()ShowPartitionsRequest.Builderclear()ShowPartitionsRequest.BuilderclearBase()Not useful for nowShowPartitionsRequest.BuilderclearCollectionID()The collection id in milvusShowPartitionsRequest.BuilderclearCollectionName()The collection name you want to describe, you can pass collection_name or collectionIDShowPartitionsRequest.BuilderclearDbName()string db_name = 2;ShowPartitionsRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ShowPartitionsRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ShowPartitionsRequest.BuilderclearPartitionNames()When type is InMemory, will return these patitions's inMemory_percentages.(Optional)ShowPartitionsRequest.BuilderclearType()Decide return Loaded partitions or All partitions(Optional) Deprecated: use GetLoadingProgress rpc insteadShowPartitionsRequest.Builderclone()MsgBasegetBase()Not useful for nowMsgBase.BuildergetBaseBuilder()Not useful for nowMsgBaseOrBuildergetBaseOrBuilder()Not useful for nowlonggetCollectionID()The collection id in milvusStringgetCollectionName()The collection name you want to describe, you can pass collection_name or collectionIDcom.google.protobuf.ByteStringgetCollectionNameBytes()The collection name you want to describe, you can pass collection_name or collectionIDStringgetDbName()string db_name = 2;com.google.protobuf.ByteStringgetDbNameBytes()string db_name = 2;ShowPartitionsRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetPartitionNames(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)intgetPartitionNamesCount()When type is InMemory, will return these patitions's inMemory_percentages.(Optional)com.google.protobuf.ProtocolStringListgetPartitionNamesList()When type is InMemory, will return these patitions's inMemory_percentages.(Optional)ShowTypegetType()Decide return Loaded partitions or All partitions(Optional) Deprecated: use GetLoadingProgress rpc insteadintgetTypeValue()Decide return Loaded partitions or All partitions(Optional) Deprecated: use GetLoadingProgress rpc insteadbooleanhasBase()Not useful for nowprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ShowPartitionsRequest.BuildermergeBase(MsgBase value)Not useful for nowShowPartitionsRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ShowPartitionsRequest.BuildermergeFrom(com.google.protobuf.Message other)ShowPartitionsRequest.BuildermergeFrom(ShowPartitionsRequest other)ShowPartitionsRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ShowPartitionsRequest.BuildersetBase(MsgBase value)Not useful for nowShowPartitionsRequest.BuildersetBase(MsgBase.Builder builderForValue)Not useful for nowShowPartitionsRequest.BuildersetCollectionID(long value)The collection id in milvusShowPartitionsRequest.BuildersetCollectionName(String value)The collection name you want to describe, you can pass collection_name or collectionIDShowPartitionsRequest.BuildersetCollectionNameBytes(com.google.protobuf.ByteString value)The collection name you want to describe, you can pass collection_name or collectionIDShowPartitionsRequest.BuildersetDbName(String value)string db_name = 2;ShowPartitionsRequest.BuildersetDbNameBytes(com.google.protobuf.ByteString value)string db_name = 2;ShowPartitionsRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ShowPartitionsRequest.BuildersetPartitionNames(int index, String value)When type is InMemory, will return these patitions's inMemory_percentages.(Optional)ShowPartitionsRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ShowPartitionsRequest.BuildersetType(ShowType value)Decide return Loaded partitions or All partitions(Optional) Deprecated: use GetLoadingProgress rpc insteadShowPartitionsRequest.BuildersetTypeValue(int value)Decide return Loaded partitions or All partitions(Optional) Deprecated: use GetLoadingProgress rpc insteadShowPartitionsRequest.BuildersetUnknownFields(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, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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
public 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
public ShowPartitionsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ShowPartitionsRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ShowPartitionsRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ShowPartitionsRequest.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
public ShowPartitionsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ShowPartitionsRequest.Builder>
-
mergeFrom
public ShowPartitionsRequest.Builder mergeFrom(ShowPartitionsRequest other)
-
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
public MsgBase getBase()
Not useful for now
.milvus.proto.common.MsgBase base = 1;- Specified by:
getBasein interfaceShowPartitionsRequestOrBuilder- Returns:
- The base.
-
setBase
public ShowPartitionsRequest.Builder setBase(MsgBase value)
Not useful for now
.milvus.proto.common.MsgBase base = 1;
-
setBase
public ShowPartitionsRequest.Builder setBase(MsgBase.Builder builderForValue)
Not useful for now
.milvus.proto.common.MsgBase base = 1;
-
mergeBase
public ShowPartitionsRequest.Builder mergeBase(MsgBase value)
Not useful for now
.milvus.proto.common.MsgBase base = 1;
-
clearBase
public ShowPartitionsRequest.Builder clearBase()
Not useful for now
.milvus.proto.common.MsgBase base = 1;
-
getBaseBuilder
public MsgBase.Builder getBaseBuilder()
Not useful for now
.milvus.proto.common.MsgBase base = 1;
-
getBaseOrBuilder
public MsgBaseOrBuilder getBaseOrBuilder()
Not useful for now
.milvus.proto.common.MsgBase base = 1;- Specified by:
getBaseOrBuilderin interfaceShowPartitionsRequestOrBuilder
-
getDbName
public String 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
public ShowPartitionsRequest.Builder setDbName(String value)
string db_name = 2;- Parameters:
value- The dbName to set.- Returns:
- This builder for chaining.
-
clearDbName
public ShowPartitionsRequest.Builder clearDbName()
string db_name = 2;- Returns:
- This builder for chaining.
-
setDbNameBytes
public ShowPartitionsRequest.Builder setDbNameBytes(com.google.protobuf.ByteString value)
string db_name = 2;- Parameters:
value- The bytes for dbName to set.- Returns:
- This builder for chaining.
-
getCollectionName
public String 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
public ShowPartitionsRequest.Builder setCollectionName(String value)
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
public ShowPartitionsRequest.Builder 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
public ShowPartitionsRequest.Builder setCollectionNameBytes(com.google.protobuf.ByteString value)
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
public ShowPartitionsRequest.Builder setCollectionID(long value)
The collection id in milvus
int64 collectionID = 4;- Parameters:
value- The collectionID to set.- Returns:
- This builder for chaining.
-
clearCollectionID
public ShowPartitionsRequest.Builder 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
public String getPartitionNames(int index)
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
public ShowPartitionsRequest.Builder setPartitionNames(int index, String value)
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
public ShowPartitionsRequest.Builder addPartitionNames(String value)
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
public ShowPartitionsRequest.Builder addAllPartitionNames(Iterable<String> values)
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
public ShowPartitionsRequest.Builder clearPartitionNames()
When type is InMemory, will return these patitions's inMemory_percentages.(Optional)
repeated string partition_names = 5;- Returns:
- This builder for chaining.
-
addPartitionNamesBytes
public ShowPartitionsRequest.Builder addPartitionNamesBytes(com.google.protobuf.ByteString value)
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
public int getTypeValue()
Decide return Loaded partitions or All partitions(Optional) Deprecated: use GetLoadingProgress rpc instead
.milvus.proto.milvus.ShowType type = 6;- Specified by:
getTypeValuein interfaceShowPartitionsRequestOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public ShowPartitionsRequest.Builder setTypeValue(int value)
Decide return Loaded partitions or All partitions(Optional) Deprecated: use GetLoadingProgress rpc instead
.milvus.proto.milvus.ShowType type = 6;- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
public ShowType getType()
Decide return Loaded partitions or All partitions(Optional) Deprecated: use GetLoadingProgress rpc instead
.milvus.proto.milvus.ShowType type = 6;- Specified by:
getTypein interfaceShowPartitionsRequestOrBuilder- Returns:
- The type.
-
setType
public ShowPartitionsRequest.Builder setType(ShowType value)
Decide return Loaded partitions or All partitions(Optional) Deprecated: use GetLoadingProgress rpc instead
.milvus.proto.milvus.ShowType type = 6;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public ShowPartitionsRequest.Builder clearType()
Decide return Loaded partitions or All partitions(Optional) Deprecated: use GetLoadingProgress rpc instead
.milvus.proto.milvus.ShowType type = 6;- 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>
-
-