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 class
ShowCollectionsResponse.Builder
Return 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 int
COLLECTION_IDS_FIELD_NUMBER
static int
COLLECTION_NAMES_FIELD_NUMBER
static int
CREATED_TIMESTAMPS_FIELD_NUMBER
static int
CREATED_UTC_TIMESTAMPS_FIELD_NUMBER
static int
INMEMORY_PERCENTAGES_FIELD_NUMBER
static int
QUERY_SERVICE_AVAILABLE_FIELD_NUMBER
static int
STATUS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(Object obj)
long
getCollectionIds(int index)
Collection Id arrayint
getCollectionIdsCount()
Collection Id arrayList<Long>
getCollectionIdsList()
Collection Id arrayString
getCollectionNames(int index)
Collection name arraycom.google.protobuf.ByteString
getCollectionNamesBytes(int index)
Collection name arrayint
getCollectionNamesCount()
Collection name arraycom.google.protobuf.ProtocolStringList
getCollectionNamesList()
Collection name arraylong
getCreatedTimestamps(int index)
Hybrid timestamps in milvusint
getCreatedTimestampsCount()
Hybrid timestamps in milvusList<Long>
getCreatedTimestampsList()
Hybrid timestamps in milvuslong
getCreatedUtcTimestamps(int index)
The utc timestamp calculated by created_timestampint
getCreatedUtcTimestampsCount()
The utc timestamp calculated by created_timestampList<Long>
getCreatedUtcTimestampsList()
The utc timestamp calculated by created_timestampstatic ShowCollectionsResponse
getDefaultInstance()
ShowCollectionsResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
long
getInMemoryPercentages(int index)
Deprecated.milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated.int
getInMemoryPercentagesCount()
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()
boolean
getQueryServiceAvailable(int index)
Indicate whether query service is availableint
getQueryServiceAvailableCount()
Indicate whether query service is availableList<Boolean>
getQueryServiceAvailableList()
Indicate whether query service is availableint
getSerializedSize()
Status
getStatus()
Contain error_code and reasonStatusOrBuilder
getStatusOrBuilder()
Contain error_code and reasonint
hashCode()
boolean
hasStatus()
Contain error_code and reasonprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static ShowCollectionsResponse.Builder
newBuilder()
static ShowCollectionsResponse.Builder
newBuilder(ShowCollectionsResponse prototype)
ShowCollectionsResponse.Builder
newBuilderForType()
protected ShowCollectionsResponse.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static ShowCollectionsResponse
parseDelimitedFrom(InputStream input)
static ShowCollectionsResponse
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ShowCollectionsResponse
parseFrom(byte[] data)
static ShowCollectionsResponse
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ShowCollectionsResponse
parseFrom(com.google.protobuf.ByteString data)
static ShowCollectionsResponse
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ShowCollectionsResponse
parseFrom(com.google.protobuf.CodedInputStream input)
static ShowCollectionsResponse
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ShowCollectionsResponse
parseFrom(InputStream input)
static ShowCollectionsResponse
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ShowCollectionsResponse
parseFrom(ByteBuffer data)
static ShowCollectionsResponse
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ShowCollectionsResponse>
parser()
ShowCollectionsResponse.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasStatus
public boolean hasStatus()
Contain error_code and reason
.milvus.proto.common.Status status = 1;
- Specified by:
hasStatus
in 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:
getStatus
in interfaceShowCollectionsResponseOrBuilder
- Returns:
- The status.
-
getStatusOrBuilder
public StatusOrBuilder getStatusOrBuilder()
Contain error_code and reason
.milvus.proto.common.Status status = 1;
- Specified by:
getStatusOrBuilder
in interfaceShowCollectionsResponseOrBuilder
-
getCollectionNamesList
public com.google.protobuf.ProtocolStringList getCollectionNamesList()
Collection name array
repeated string collection_names = 2;
- Specified by:
getCollectionNamesList
in interfaceShowCollectionsResponseOrBuilder
- Returns:
- A list containing the collectionNames.
-
getCollectionNamesCount
public int getCollectionNamesCount()
Collection name array
repeated string collection_names = 2;
- Specified by:
getCollectionNamesCount
in interfaceShowCollectionsResponseOrBuilder
- Returns:
- The count of collectionNames.
-
getCollectionNames
public String getCollectionNames(int index)
Collection name array
repeated string collection_names = 2;
- Specified by:
getCollectionNames
in 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:
getCollectionNamesBytes
in 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:
getCollectionIdsList
in interfaceShowCollectionsResponseOrBuilder
- Returns:
- A list containing the collectionIds.
-
getCollectionIdsCount
public int getCollectionIdsCount()
Collection Id array
repeated int64 collection_ids = 3;
- Specified by:
getCollectionIdsCount
in interfaceShowCollectionsResponseOrBuilder
- Returns:
- The count of collectionIds.
-
getCollectionIds
public long getCollectionIds(int index)
Collection Id array
repeated int64 collection_ids = 3;
- Specified by:
getCollectionIds
in 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:
getCreatedTimestampsList
in interfaceShowCollectionsResponseOrBuilder
- Returns:
- A list containing the createdTimestamps.
-
getCreatedTimestampsCount
public int getCreatedTimestampsCount()
Hybrid timestamps in milvus
repeated uint64 created_timestamps = 4;
- Specified by:
getCreatedTimestampsCount
in interfaceShowCollectionsResponseOrBuilder
- Returns:
- The count of createdTimestamps.
-
getCreatedTimestamps
public long getCreatedTimestamps(int index)
Hybrid timestamps in milvus
repeated uint64 created_timestamps = 4;
- Specified by:
getCreatedTimestamps
in 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:
getCreatedUtcTimestampsList
in 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:
getCreatedUtcTimestampsCount
in 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:
getCreatedUtcTimestamps
in 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=501Load percentage on querynode when type is InMemory Deprecated: use GetLoadingProgress rpc instead
repeated int64 inMemory_percentages = 6 [deprecated = true];
- Specified by:
getInMemoryPercentagesList
in 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=501Load percentage on querynode when type is InMemory Deprecated: use GetLoadingProgress rpc instead
repeated int64 inMemory_percentages = 6 [deprecated = true];
- Specified by:
getInMemoryPercentagesCount
in 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=501Load percentage on querynode when type is InMemory Deprecated: use GetLoadingProgress rpc instead
repeated int64 inMemory_percentages = 6 [deprecated = true];
- Specified by:
getInMemoryPercentages
in 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:
getQueryServiceAvailableList
in 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:
getQueryServiceAvailableCount
in 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:
getQueryServiceAvailable
in interfaceShowCollectionsResponseOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The queryServiceAvailable at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ShowCollectionsResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ShowCollectionsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-