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 type
milvus.proto.milvus.ShowCollectionsResponse- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classReturn 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 Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanlonggetCollectionIds(int index) Collection Id arrayintCollection Id arrayCollection Id arraygetCollectionNames(int index) Collection name arraycom.google.protobuf.ByteStringgetCollectionNamesBytes(int index) Collection name arrayintCollection name arraycom.google.protobuf.ProtocolStringListCollection name arraylonggetCreatedTimestamps(int index) Hybrid timestamps in milvusintHybrid timestamps in milvusHybrid timestamps in milvuslonggetCreatedUtcTimestamps(int index) The utc timestamp calculated by created_timestampintThe utc timestamp calculated by created_timestampThe utc timestamp calculated by created_timestampstatic ShowCollectionsResponsestatic final com.google.protobuf.Descriptors.DescriptorlonggetInMemoryPercentages(int index) Deprecated.milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated.intDeprecated.milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated.Deprecated.milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated.com.google.protobuf.Parser<ShowCollectionsResponse> booleangetQueryServiceAvailable(int index) Indicate whether query service is availableintIndicate whether query service is availableIndicate whether query service is availableintContain error_code and reasonContain error_code and reasoninthashCode()booleanContain error_code and reasonprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(ShowCollectionsResponse prototype) 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()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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
COLLECTION_NAMES_FIELD_NUMBER
public static final int COLLECTION_NAMES_FIELD_NUMBER- See Also:
-
COLLECTION_IDS_FIELD_NUMBER
public static final int COLLECTION_IDS_FIELD_NUMBER- See Also:
-
CREATED_TIMESTAMPS_FIELD_NUMBER
public static final int CREATED_TIMESTAMPS_FIELD_NUMBER- See Also:
-
CREATED_UTC_TIMESTAMPS_FIELD_NUMBER
public static final int CREATED_UTC_TIMESTAMPS_FIELD_NUMBER- See Also:
-
INMEMORY_PERCENTAGES_FIELD_NUMBER
public static final int INMEMORY_PERCENTAGES_FIELD_NUMBER- See Also:
-
QUERY_SERVICE_AVAILABLE_FIELD_NUMBER
public static final int QUERY_SERVICE_AVAILABLE_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- 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
Contain error_code and reason
.milvus.proto.common.Status status = 1;- Specified by:
getStatusin interfaceShowCollectionsResponseOrBuilder- Returns:
- The status.
-
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
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
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
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
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.milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=532Load 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.milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=532Load 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.milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=532Load 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
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
- 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
- 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
- Throws:
IOException
-
parseFrom
public static ShowCollectionsResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
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
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-