Package io.milvus.grpc
Class ShowCollectionsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ShowCollectionsRequest.Builder>
-
- io.milvus.grpc.ShowCollectionsRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ShowCollectionsRequestOrBuilder,Cloneable
- Enclosing class:
- ShowCollectionsRequest
public static final class ShowCollectionsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ShowCollectionsRequest.Builder> implements ShowCollectionsRequestOrBuilder
List collections
Protobuf typemilvus.proto.milvus.ShowCollectionsRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ShowCollectionsRequest.BuilderaddAllCollectionNames(Iterable<String> values)When type is InMemory, will return these collection's inMemory_percentages.(Optional) Deprecated: use GetLoadingProgress rpc insteadShowCollectionsRequest.BuilderaddCollectionNames(String value)When type is InMemory, will return these collection's inMemory_percentages.(Optional) Deprecated: use GetLoadingProgress rpc insteadShowCollectionsRequest.BuilderaddCollectionNamesBytes(com.google.protobuf.ByteString value)When type is InMemory, will return these collection's inMemory_percentages.(Optional) Deprecated: use GetLoadingProgress rpc insteadShowCollectionsRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ShowCollectionsRequestbuild()ShowCollectionsRequestbuildPartial()ShowCollectionsRequest.Builderclear()ShowCollectionsRequest.BuilderclearBase()Not useful for nowShowCollectionsRequest.BuilderclearCollectionNames()When type is InMemory, will return these collection's inMemory_percentages.(Optional) Deprecated: use GetLoadingProgress rpc insteadShowCollectionsRequest.BuilderclearDbName()string db_name = 2;ShowCollectionsRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ShowCollectionsRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ShowCollectionsRequest.BuilderclearTimeStamp()Not useful for nowShowCollectionsRequest.BuilderclearType()Decide return Loaded collections or All collections(Optional)ShowCollectionsRequest.Builderclone()MsgBasegetBase()Not useful for nowMsgBase.BuildergetBaseBuilder()Not useful for nowMsgBaseOrBuildergetBaseOrBuilder()Not useful for nowStringgetCollectionNames(int index)When type is InMemory, will return these collection's inMemory_percentages.(Optional) Deprecated: use GetLoadingProgress rpc insteadcom.google.protobuf.ByteStringgetCollectionNamesBytes(int index)When type is InMemory, will return these collection's inMemory_percentages.(Optional) Deprecated: use GetLoadingProgress rpc insteadintgetCollectionNamesCount()When type is InMemory, will return these collection's inMemory_percentages.(Optional) Deprecated: use GetLoadingProgress rpc insteadcom.google.protobuf.ProtocolStringListgetCollectionNamesList()When type is InMemory, will return these collection's inMemory_percentages.(Optional) Deprecated: use GetLoadingProgress rpc insteadStringgetDbName()string db_name = 2;com.google.protobuf.ByteStringgetDbNameBytes()string db_name = 2;ShowCollectionsRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()longgetTimeStamp()Not useful for nowShowTypegetType()Decide return Loaded collections or All collections(Optional)intgetTypeValue()Decide return Loaded collections or All collections(Optional)booleanhasBase()Not useful for nowprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ShowCollectionsRequest.BuildermergeBase(MsgBase value)Not useful for nowShowCollectionsRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ShowCollectionsRequest.BuildermergeFrom(com.google.protobuf.Message other)ShowCollectionsRequest.BuildermergeFrom(ShowCollectionsRequest other)ShowCollectionsRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ShowCollectionsRequest.BuildersetBase(MsgBase value)Not useful for nowShowCollectionsRequest.BuildersetBase(MsgBase.Builder builderForValue)Not useful for nowShowCollectionsRequest.BuildersetCollectionNames(int index, String value)When type is InMemory, will return these collection's inMemory_percentages.(Optional) Deprecated: use GetLoadingProgress rpc insteadShowCollectionsRequest.BuildersetDbName(String value)string db_name = 2;ShowCollectionsRequest.BuildersetDbNameBytes(com.google.protobuf.ByteString value)string db_name = 2;ShowCollectionsRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ShowCollectionsRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ShowCollectionsRequest.BuildersetTimeStamp(long value)Not useful for nowShowCollectionsRequest.BuildersetType(ShowType value)Decide return Loaded collections or All collections(Optional)ShowCollectionsRequest.BuildersetTypeValue(int value)Decide return Loaded collections or All collections(Optional)ShowCollectionsRequest.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<ShowCollectionsRequest.Builder>
-
clear
public ShowCollectionsRequest.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<ShowCollectionsRequest.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<ShowCollectionsRequest.Builder>
-
getDefaultInstanceForType
public ShowCollectionsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ShowCollectionsRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ShowCollectionsRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ShowCollectionsRequest.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<ShowCollectionsRequest.Builder>
-
setField
public ShowCollectionsRequest.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<ShowCollectionsRequest.Builder>
-
clearField
public ShowCollectionsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ShowCollectionsRequest.Builder>
-
clearOneof
public ShowCollectionsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ShowCollectionsRequest.Builder>
-
setRepeatedField
public ShowCollectionsRequest.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<ShowCollectionsRequest.Builder>
-
addRepeatedField
public ShowCollectionsRequest.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<ShowCollectionsRequest.Builder>
-
mergeFrom
public ShowCollectionsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ShowCollectionsRequest.Builder>
-
mergeFrom
public ShowCollectionsRequest.Builder mergeFrom(ShowCollectionsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ShowCollectionsRequest.Builder>
-
mergeFrom
public ShowCollectionsRequest.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<ShowCollectionsRequest.Builder>- Throws:
IOException
-
hasBase
public boolean hasBase()
Not useful for now
.milvus.proto.common.MsgBase base = 1;- Specified by:
hasBasein interfaceShowCollectionsRequestOrBuilder- Returns:
- Whether the base field is set.
-
getBase
public MsgBase getBase()
Not useful for now
.milvus.proto.common.MsgBase base = 1;- Specified by:
getBasein interfaceShowCollectionsRequestOrBuilder- Returns:
- The base.
-
setBase
public ShowCollectionsRequest.Builder setBase(MsgBase value)
Not useful for now
.milvus.proto.common.MsgBase base = 1;
-
setBase
public ShowCollectionsRequest.Builder setBase(MsgBase.Builder builderForValue)
Not useful for now
.milvus.proto.common.MsgBase base = 1;
-
mergeBase
public ShowCollectionsRequest.Builder mergeBase(MsgBase value)
Not useful for now
.milvus.proto.common.MsgBase base = 1;
-
clearBase
public ShowCollectionsRequest.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 interfaceShowCollectionsRequestOrBuilder
-
getDbName
public String getDbName()
string db_name = 2;- Specified by:
getDbNamein interfaceShowCollectionsRequestOrBuilder- Returns:
- The dbName.
-
getDbNameBytes
public com.google.protobuf.ByteString getDbNameBytes()
string db_name = 2;- Specified by:
getDbNameBytesin interfaceShowCollectionsRequestOrBuilder- Returns:
- The bytes for dbName.
-
setDbName
public ShowCollectionsRequest.Builder setDbName(String value)
string db_name = 2;- Parameters:
value- The dbName to set.- Returns:
- This builder for chaining.
-
clearDbName
public ShowCollectionsRequest.Builder clearDbName()
string db_name = 2;- Returns:
- This builder for chaining.
-
setDbNameBytes
public ShowCollectionsRequest.Builder setDbNameBytes(com.google.protobuf.ByteString value)
string db_name = 2;- Parameters:
value- The bytes for dbName to set.- Returns:
- This builder for chaining.
-
getTimeStamp
public long getTimeStamp()
Not useful for now
uint64 time_stamp = 3;- Specified by:
getTimeStampin interfaceShowCollectionsRequestOrBuilder- Returns:
- The timeStamp.
-
setTimeStamp
public ShowCollectionsRequest.Builder setTimeStamp(long value)
Not useful for now
uint64 time_stamp = 3;- Parameters:
value- The timeStamp to set.- Returns:
- This builder for chaining.
-
clearTimeStamp
public ShowCollectionsRequest.Builder clearTimeStamp()
Not useful for now
uint64 time_stamp = 3;- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()
Decide return Loaded collections or All collections(Optional)
.milvus.proto.milvus.ShowType type = 4;- Specified by:
getTypeValuein interfaceShowCollectionsRequestOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public ShowCollectionsRequest.Builder setTypeValue(int value)
Decide return Loaded collections or All collections(Optional)
.milvus.proto.milvus.ShowType type = 4;- 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 collections or All collections(Optional)
.milvus.proto.milvus.ShowType type = 4;- Specified by:
getTypein interfaceShowCollectionsRequestOrBuilder- Returns:
- The type.
-
setType
public ShowCollectionsRequest.Builder setType(ShowType value)
Decide return Loaded collections or All collections(Optional)
.milvus.proto.milvus.ShowType type = 4;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public ShowCollectionsRequest.Builder clearType()
Decide return Loaded collections or All collections(Optional)
.milvus.proto.milvus.ShowType type = 4;- Returns:
- This builder for chaining.
-
getCollectionNamesList
public com.google.protobuf.ProtocolStringList getCollectionNamesList()
When type is InMemory, will return these collection's inMemory_percentages.(Optional) Deprecated: use GetLoadingProgress rpc instead
repeated string collection_names = 5;- Specified by:
getCollectionNamesListin interfaceShowCollectionsRequestOrBuilder- Returns:
- A list containing the collectionNames.
-
getCollectionNamesCount
public int getCollectionNamesCount()
When type is InMemory, will return these collection's inMemory_percentages.(Optional) Deprecated: use GetLoadingProgress rpc instead
repeated string collection_names = 5;- Specified by:
getCollectionNamesCountin interfaceShowCollectionsRequestOrBuilder- Returns:
- The count of collectionNames.
-
getCollectionNames
public String getCollectionNames(int index)
When type is InMemory, will return these collection's inMemory_percentages.(Optional) Deprecated: use GetLoadingProgress rpc instead
repeated string collection_names = 5;- Specified by:
getCollectionNamesin interfaceShowCollectionsRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The collectionNames at the given index.
-
getCollectionNamesBytes
public com.google.protobuf.ByteString getCollectionNamesBytes(int index)
When type is InMemory, will return these collection's inMemory_percentages.(Optional) Deprecated: use GetLoadingProgress rpc instead
repeated string collection_names = 5;- Specified by:
getCollectionNamesBytesin interfaceShowCollectionsRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the collectionNames at the given index.
-
setCollectionNames
public ShowCollectionsRequest.Builder setCollectionNames(int index, String value)
When type is InMemory, will return these collection's inMemory_percentages.(Optional) Deprecated: use GetLoadingProgress rpc instead
repeated string collection_names = 5;- Parameters:
index- The index to set the value at.value- The collectionNames to set.- Returns:
- This builder for chaining.
-
addCollectionNames
public ShowCollectionsRequest.Builder addCollectionNames(String value)
When type is InMemory, will return these collection's inMemory_percentages.(Optional) Deprecated: use GetLoadingProgress rpc instead
repeated string collection_names = 5;- Parameters:
value- The collectionNames to add.- Returns:
- This builder for chaining.
-
addAllCollectionNames
public ShowCollectionsRequest.Builder addAllCollectionNames(Iterable<String> values)
When type is InMemory, will return these collection's inMemory_percentages.(Optional) Deprecated: use GetLoadingProgress rpc instead
repeated string collection_names = 5;- Parameters:
values- The collectionNames to add.- Returns:
- This builder for chaining.
-
clearCollectionNames
public ShowCollectionsRequest.Builder clearCollectionNames()
When type is InMemory, will return these collection's inMemory_percentages.(Optional) Deprecated: use GetLoadingProgress rpc instead
repeated string collection_names = 5;- Returns:
- This builder for chaining.
-
addCollectionNamesBytes
public ShowCollectionsRequest.Builder addCollectionNamesBytes(com.google.protobuf.ByteString value)
When type is InMemory, will return these collection's inMemory_percentages.(Optional) Deprecated: use GetLoadingProgress rpc instead
repeated string collection_names = 5;- Parameters:
value- The bytes of the collectionNames to add.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ShowCollectionsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ShowCollectionsRequest.Builder>
-
mergeUnknownFields
public final ShowCollectionsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ShowCollectionsRequest.Builder>
-
-