Package io.milvus.grpc
Class ShowCollectionsResponse
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.milvus.grpc.ShowCollectionsResponse
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ShowCollectionsResponseOrBuilder,Serializable
public final class ShowCollectionsResponse extends com.google.protobuf.GeneratedMessageV3 implements ShowCollectionsResponseOrBuilder
Return basic collection infos.
Protobuf typemilvus.proto.milvus.ShowCollectionsResponse- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShowCollectionsResponse.BuilderReturn basic collection infos.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCOLLECTION_IDS_FIELD_NUMBERstatic intCOLLECTION_NAMES_FIELD_NUMBERstatic intCREATED_TIMESTAMPS_FIELD_NUMBERstatic intCREATED_UTC_TIMESTAMPS_FIELD_NUMBERstatic intINMEMORY_PERCENTAGES_FIELD_NUMBERstatic intQUERY_SERVICE_AVAILABLE_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)longgetCollectionIds(int index)Collection Id arrayintgetCollectionIdsCount()Collection Id arrayList<Long>getCollectionIdsList()Collection Id arrayStringgetCollectionNames(int index)Collection name arraycom.google.protobuf.ByteStringgetCollectionNamesBytes(int index)Collection name arrayintgetCollectionNamesCount()Collection name arraycom.google.protobuf.ProtocolStringListgetCollectionNamesList()Collection name arraylonggetCreatedTimestamps(int index)Hybrid timestamps in milvusintgetCreatedTimestampsCount()Hybrid timestamps in milvusList<Long>getCreatedTimestampsList()Hybrid timestamps in milvuslonggetCreatedUtcTimestamps(int index)The utc timestamp calculated by created_timestampintgetCreatedUtcTimestampsCount()The utc timestamp calculated by created_timestampList<Long>getCreatedUtcTimestampsList()The utc timestamp calculated by created_timestampstatic ShowCollectionsResponsegetDefaultInstance()ShowCollectionsResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()longgetInMemoryPercentages(int index)Deprecated.milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated.intgetInMemoryPercentagesCount()Deprecated.milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated.List<Long>getInMemoryPercentagesList()Deprecated.milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated.com.google.protobuf.Parser<ShowCollectionsResponse>getParserForType()booleangetQueryServiceAvailable(int index)Indicate whether query service is availableintgetQueryServiceAvailableCount()Indicate whether query service is availableList<Boolean>getQueryServiceAvailableList()Indicate whether query service is availableintgetSerializedSize()StatusgetStatus()Contain error_code and reasonStatusOrBuildergetStatusOrBuilder()Contain error_code and reasoninthashCode()booleanhasStatus()Contain error_code and reasonprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ShowCollectionsResponse.BuildernewBuilder()static ShowCollectionsResponse.BuildernewBuilder(ShowCollectionsResponse prototype)ShowCollectionsResponse.BuildernewBuilderForType()protected ShowCollectionsResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static ShowCollectionsResponseparseDelimitedFrom(InputStream input)static ShowCollectionsResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ShowCollectionsResponseparseFrom(byte[] data)static ShowCollectionsResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ShowCollectionsResponseparseFrom(com.google.protobuf.ByteString data)static ShowCollectionsResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ShowCollectionsResponseparseFrom(com.google.protobuf.CodedInputStream input)static ShowCollectionsResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ShowCollectionsResponseparseFrom(InputStream input)static ShowCollectionsResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static ShowCollectionsResponseparseFrom(ByteBuffer data)static ShowCollectionsResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<ShowCollectionsResponse>parser()ShowCollectionsResponse.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COLLECTION_NAMES_FIELD_NUMBER
public static final int COLLECTION_NAMES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
COLLECTION_IDS_FIELD_NUMBER
public static final int COLLECTION_IDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATED_TIMESTAMPS_FIELD_NUMBER
public static final int CREATED_TIMESTAMPS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATED_UTC_TIMESTAMPS_FIELD_NUMBER
public static final int CREATED_UTC_TIMESTAMPS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INMEMORY_PERCENTAGES_FIELD_NUMBER
public static final int INMEMORY_PERCENTAGES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
QUERY_SERVICE_AVAILABLE_FIELD_NUMBER
public static final int QUERY_SERVICE_AVAILABLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
hasStatus
public boolean hasStatus()
Contain error_code and reason
.milvus.proto.common.Status status = 1;- Specified by:
hasStatusin interfaceShowCollectionsResponseOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
public Status getStatus()
Contain error_code and reason
.milvus.proto.common.Status status = 1;- Specified by:
getStatusin interfaceShowCollectionsResponseOrBuilder- Returns:
- The status.
-
getStatusOrBuilder
public StatusOrBuilder getStatusOrBuilder()
Contain error_code and reason
.milvus.proto.common.Status status = 1;- Specified by:
getStatusOrBuilderin interfaceShowCollectionsResponseOrBuilder
-
getCollectionNamesList
public com.google.protobuf.ProtocolStringList getCollectionNamesList()
Collection name array
repeated string collection_names = 2;- Specified by:
getCollectionNamesListin interfaceShowCollectionsResponseOrBuilder- Returns:
- A list containing the collectionNames.
-
getCollectionNamesCount
public int getCollectionNamesCount()
Collection name array
repeated string collection_names = 2;- Specified by:
getCollectionNamesCountin interfaceShowCollectionsResponseOrBuilder- Returns:
- The count of collectionNames.
-
getCollectionNames
public String getCollectionNames(int index)
Collection name array
repeated string collection_names = 2;- Specified by:
getCollectionNamesin interfaceShowCollectionsResponseOrBuilder- 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)
Collection name array
repeated string collection_names = 2;- Specified by:
getCollectionNamesBytesin interfaceShowCollectionsResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the collectionNames at the given index.
-
getCollectionIdsList
public List<Long> getCollectionIdsList()
Collection Id array
repeated int64 collection_ids = 3;- Specified by:
getCollectionIdsListin interfaceShowCollectionsResponseOrBuilder- Returns:
- A list containing the collectionIds.
-
getCollectionIdsCount
public int getCollectionIdsCount()
Collection Id array
repeated int64 collection_ids = 3;- Specified by:
getCollectionIdsCountin interfaceShowCollectionsResponseOrBuilder- Returns:
- The count of collectionIds.
-
getCollectionIds
public long getCollectionIds(int index)
Collection Id array
repeated int64 collection_ids = 3;- Specified by:
getCollectionIdsin interfaceShowCollectionsResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The collectionIds at the given index.
-
getCreatedTimestampsList
public List<Long> getCreatedTimestampsList()
Hybrid timestamps in milvus
repeated uint64 created_timestamps = 4;- Specified by:
getCreatedTimestampsListin interfaceShowCollectionsResponseOrBuilder- Returns:
- A list containing the createdTimestamps.
-
getCreatedTimestampsCount
public int getCreatedTimestampsCount()
Hybrid timestamps in milvus
repeated uint64 created_timestamps = 4;- Specified by:
getCreatedTimestampsCountin interfaceShowCollectionsResponseOrBuilder- Returns:
- The count of createdTimestamps.
-
getCreatedTimestamps
public long getCreatedTimestamps(int index)
Hybrid timestamps in milvus
repeated uint64 created_timestamps = 4;- Specified by:
getCreatedTimestampsin interfaceShowCollectionsResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The createdTimestamps at the given index.
-
getCreatedUtcTimestampsList
public List<Long> getCreatedUtcTimestampsList()
The utc timestamp calculated by created_timestamp
repeated uint64 created_utc_timestamps = 5;- Specified by:
getCreatedUtcTimestampsListin interfaceShowCollectionsResponseOrBuilder- Returns:
- A list containing the createdUtcTimestamps.
-
getCreatedUtcTimestampsCount
public int getCreatedUtcTimestampsCount()
The utc timestamp calculated by created_timestamp
repeated uint64 created_utc_timestamps = 5;- Specified by:
getCreatedUtcTimestampsCountin interfaceShowCollectionsResponseOrBuilder- Returns:
- The count of createdUtcTimestamps.
-
getCreatedUtcTimestamps
public long getCreatedUtcTimestamps(int index)
The utc timestamp calculated by created_timestamp
repeated uint64 created_utc_timestamps = 5;- Specified by:
getCreatedUtcTimestampsin interfaceShowCollectionsResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The createdUtcTimestamps at the given index.
-
getInMemoryPercentagesList
@Deprecated public List<Long> getInMemoryPercentagesList()
Deprecated.milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=504Load percentage on querynode when type is InMemory Deprecated: use GetLoadingProgress rpc instead
repeated int64 inMemory_percentages = 6 [deprecated = true];- Specified by:
getInMemoryPercentagesListin interfaceShowCollectionsResponseOrBuilder- Returns:
- A list containing the inMemoryPercentages.
-
getInMemoryPercentagesCount
@Deprecated public int getInMemoryPercentagesCount()
Deprecated.milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=504Load percentage on querynode when type is InMemory Deprecated: use GetLoadingProgress rpc instead
repeated int64 inMemory_percentages = 6 [deprecated = true];- Specified by:
getInMemoryPercentagesCountin interfaceShowCollectionsResponseOrBuilder- Returns:
- The count of inMemoryPercentages.
-
getInMemoryPercentages
@Deprecated public long getInMemoryPercentages(int index)
Deprecated.milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=504Load percentage on querynode when type is InMemory Deprecated: use GetLoadingProgress rpc instead
repeated int64 inMemory_percentages = 6 [deprecated = true];- Specified by:
getInMemoryPercentagesin interfaceShowCollectionsResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The inMemoryPercentages at the given index.
-
getQueryServiceAvailableList
public List<Boolean> getQueryServiceAvailableList()
Indicate whether query service is available
repeated bool query_service_available = 7;- Specified by:
getQueryServiceAvailableListin interfaceShowCollectionsResponseOrBuilder- Returns:
- A list containing the queryServiceAvailable.
-
getQueryServiceAvailableCount
public int getQueryServiceAvailableCount()
Indicate whether query service is available
repeated bool query_service_available = 7;- Specified by:
getQueryServiceAvailableCountin interfaceShowCollectionsResponseOrBuilder- Returns:
- The count of queryServiceAvailable.
-
getQueryServiceAvailable
public boolean getQueryServiceAvailable(int index)
Indicate whether query service is available
repeated bool query_service_available = 7;- Specified by:
getQueryServiceAvailablein interfaceShowCollectionsResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The queryServiceAvailable at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ShowCollectionsResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ShowCollectionsResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ShowCollectionsResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ShowCollectionsResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ShowCollectionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ShowCollectionsResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ShowCollectionsResponse parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ShowCollectionsResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ShowCollectionsResponse parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ShowCollectionsResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ShowCollectionsResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ShowCollectionsResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ShowCollectionsResponse.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ShowCollectionsResponse.Builder newBuilder()
-
newBuilder
public static ShowCollectionsResponse.Builder newBuilder(ShowCollectionsResponse prototype)
-
toBuilder
public ShowCollectionsResponse.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ShowCollectionsResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ShowCollectionsResponse getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ShowCollectionsResponse> parser()
-
getParserForType
public com.google.protobuf.Parser<ShowCollectionsResponse> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ShowCollectionsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-