Package io.milvus.grpc
Class ShowPartitionsResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.milvus.grpc.ShowPartitionsResponse
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,ShowPartitionsResponseOrBuilder,Serializable
public final class ShowPartitionsResponse
extends com.google.protobuf.GeneratedMessageV3
implements ShowPartitionsResponseOrBuilder
List all partitions for particular collection response. The returned datas are all rows, we can format to columns by therir index.Protobuf type
milvus.proto.milvus.ShowPartitionsResponse- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classList all partitions for particular collection response.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 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 TypeMethodDescriptionbooleanlonggetCreatedTimestamps(int index) All hybrid timestampsintAll hybrid timestampsAll hybrid timestampslonggetCreatedUtcTimestamps(int index) All utc timestamps calculated by created_timestampsintAll utc timestamps calculated by created_timestampsAll utc timestamps calculated by created_timestampsstatic ShowPartitionsResponsestatic final com.google.protobuf.Descriptors.DescriptorlonggetInMemoryPercentages(int index) Deprecated.milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated.intDeprecated.milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated.Deprecated.milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated.com.google.protobuf.Parser<ShowPartitionsResponse> longgetPartitionIDs(int index) All partition ids for this collectionintAll partition ids for this collectionAll partition ids for this collectiongetPartitionNames(int index) All partition names for this collectioncom.google.protobuf.ByteStringgetPartitionNamesBytes(int index) All partition names for this collectionintAll partition names for this collectioncom.google.protobuf.ProtocolStringListAll partition names for this collectionintContain error_code and reasonContain error_code and reasoninthashCode()booleanContain error_code and reasonprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(ShowPartitionsResponse prototype) protected ShowPartitionsResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ShowPartitionsResponseparseDelimitedFrom(InputStream input) static ShowPartitionsResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ShowPartitionsResponseparseFrom(byte[] data) static ShowPartitionsResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ShowPartitionsResponseparseFrom(com.google.protobuf.ByteString data) static ShowPartitionsResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ShowPartitionsResponseparseFrom(com.google.protobuf.CodedInputStream input) static ShowPartitionsResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ShowPartitionsResponseparseFrom(InputStream input) static ShowPartitionsResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ShowPartitionsResponseparseFrom(ByteBuffer data) static ShowPartitionsResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ShowPartitionsResponse> 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:
-
PARTITION_NAMES_FIELD_NUMBER
public static final int PARTITION_NAMES_FIELD_NUMBER- See Also:
-
PARTITIONIDS_FIELD_NUMBER
public static final int PARTITIONIDS_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:
-
-
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 interfaceShowPartitionsResponseOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
Contain error_code and reason
.milvus.proto.common.Status status = 1;- Specified by:
getStatusin interfaceShowPartitionsResponseOrBuilder- Returns:
- The status.
-
getStatusOrBuilder
Contain error_code and reason
.milvus.proto.common.Status status = 1;- Specified by:
getStatusOrBuilderin interfaceShowPartitionsResponseOrBuilder
-
getPartitionNamesList
public com.google.protobuf.ProtocolStringList getPartitionNamesList()All partition names for this collection
repeated string partition_names = 2;- Specified by:
getPartitionNamesListin interfaceShowPartitionsResponseOrBuilder- Returns:
- A list containing the partitionNames.
-
getPartitionNamesCount
public int getPartitionNamesCount()All partition names for this collection
repeated string partition_names = 2;- Specified by:
getPartitionNamesCountin interfaceShowPartitionsResponseOrBuilder- Returns:
- The count of partitionNames.
-
getPartitionNames
All partition names for this collection
repeated string partition_names = 2;- Specified by:
getPartitionNamesin interfaceShowPartitionsResponseOrBuilder- 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) All partition names for this collection
repeated string partition_names = 2;- Specified by:
getPartitionNamesBytesin interfaceShowPartitionsResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the partitionNames at the given index.
-
getPartitionIDsList
All partition ids for this collection
repeated int64 partitionIDs = 3;- Specified by:
getPartitionIDsListin interfaceShowPartitionsResponseOrBuilder- Returns:
- A list containing the partitionIDs.
-
getPartitionIDsCount
public int getPartitionIDsCount()All partition ids for this collection
repeated int64 partitionIDs = 3;- Specified by:
getPartitionIDsCountin interfaceShowPartitionsResponseOrBuilder- Returns:
- The count of partitionIDs.
-
getPartitionIDs
public long getPartitionIDs(int index) All partition ids for this collection
repeated int64 partitionIDs = 3;- Specified by:
getPartitionIDsin interfaceShowPartitionsResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The partitionIDs at the given index.
-
getCreatedTimestampsList
All hybrid timestamps
repeated uint64 created_timestamps = 4;- Specified by:
getCreatedTimestampsListin interfaceShowPartitionsResponseOrBuilder- Returns:
- A list containing the createdTimestamps.
-
getCreatedTimestampsCount
public int getCreatedTimestampsCount()All hybrid timestamps
repeated uint64 created_timestamps = 4;- Specified by:
getCreatedTimestampsCountin interfaceShowPartitionsResponseOrBuilder- Returns:
- The count of createdTimestamps.
-
getCreatedTimestamps
public long getCreatedTimestamps(int index) All hybrid timestamps
repeated uint64 created_timestamps = 4;- Specified by:
getCreatedTimestampsin interfaceShowPartitionsResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The createdTimestamps at the given index.
-
getCreatedUtcTimestampsList
All utc timestamps calculated by created_timestamps
repeated uint64 created_utc_timestamps = 5;- Specified by:
getCreatedUtcTimestampsListin interfaceShowPartitionsResponseOrBuilder- Returns:
- A list containing the createdUtcTimestamps.
-
getCreatedUtcTimestampsCount
public int getCreatedUtcTimestampsCount()All utc timestamps calculated by created_timestamps
repeated uint64 created_utc_timestamps = 5;- Specified by:
getCreatedUtcTimestampsCountin interfaceShowPartitionsResponseOrBuilder- Returns:
- The count of createdUtcTimestamps.
-
getCreatedUtcTimestamps
public long getCreatedUtcTimestamps(int index) All utc timestamps calculated by created_timestamps
repeated uint64 created_utc_timestamps = 5;- Specified by:
getCreatedUtcTimestampsin interfaceShowPartitionsResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The createdUtcTimestamps at the given index.
-
getInMemoryPercentagesList
Deprecated.milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=662Load percentage on querynode Deprecated: use GetLoadingProgress rpc instead
repeated int64 inMemory_percentages = 6 [deprecated = true];- Specified by:
getInMemoryPercentagesListin interfaceShowPartitionsResponseOrBuilder- Returns:
- A list containing the inMemoryPercentages.
-
getInMemoryPercentagesCount
Deprecated.milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=662Load percentage on querynode Deprecated: use GetLoadingProgress rpc instead
repeated int64 inMemory_percentages = 6 [deprecated = true];- Specified by:
getInMemoryPercentagesCountin interfaceShowPartitionsResponseOrBuilder- Returns:
- The count of inMemoryPercentages.
-
getInMemoryPercentages
Deprecated.milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=662Load percentage on querynode Deprecated: use GetLoadingProgress rpc instead
repeated int64 inMemory_percentages = 6 [deprecated = true];- Specified by:
getInMemoryPercentagesin interfaceShowPartitionsResponseOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The inMemoryPercentages 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 ShowPartitionsResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ShowPartitionsResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ShowPartitionsResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ShowPartitionsResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ShowPartitionsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ShowPartitionsResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ShowPartitionsResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ShowPartitionsResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ShowPartitionsResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ShowPartitionsResponse 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 ShowPartitionsResponse.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
-