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 typemilvus.proto.milvus.ShowPartitionsResponse- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShowPartitionsResponse.BuilderList 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<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCREATED_TIMESTAMPS_FIELD_NUMBERstatic intCREATED_UTC_TIMESTAMPS_FIELD_NUMBERstatic intINMEMORY_PERCENTAGES_FIELD_NUMBERstatic intPARTITION_NAMES_FIELD_NUMBERstatic intPARTITIONIDS_FIELD_NUMBERstatic intSTATUS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)longgetCreatedTimestamps(int index)All hybrid timestampsintgetCreatedTimestampsCount()All hybrid timestampsList<Long>getCreatedTimestampsList()All hybrid timestampslonggetCreatedUtcTimestamps(int index)All utc timestamps calculated by created_timestampsintgetCreatedUtcTimestampsCount()All utc timestamps calculated by created_timestampsList<Long>getCreatedUtcTimestampsList()All utc timestamps calculated by created_timestampsstatic ShowPartitionsResponsegetDefaultInstance()ShowPartitionsResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()longgetInMemoryPercentages(int index)Load percentage on querynode Deprecated: use GetLoadingProgress rpc insteadintgetInMemoryPercentagesCount()Load percentage on querynode Deprecated: use GetLoadingProgress rpc insteadList<Long>getInMemoryPercentagesList()Load percentage on querynode Deprecated: use GetLoadingProgress rpc insteadcom.google.protobuf.Parser<ShowPartitionsResponse>getParserForType()longgetPartitionIDs(int index)All partition ids for this collectionintgetPartitionIDsCount()All partition ids for this collectionList<Long>getPartitionIDsList()All partition ids for this collectionStringgetPartitionNames(int index)All partition names for this collectioncom.google.protobuf.ByteStringgetPartitionNamesBytes(int index)All partition names for this collectionintgetPartitionNamesCount()All partition names for this collectioncom.google.protobuf.ProtocolStringListgetPartitionNamesList()All partition names for this collectionintgetSerializedSize()StatusgetStatus()Contain error_code and reasonStatusOrBuildergetStatusOrBuilder()Contain error_code and reasoncom.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()booleanhasStatus()Contain error_code and reasonprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static ShowPartitionsResponse.BuildernewBuilder()static ShowPartitionsResponse.BuildernewBuilder(ShowPartitionsResponse prototype)ShowPartitionsResponse.BuildernewBuilderForType()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()ShowPartitionsResponse.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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
-
PARTITION_NAMES_FIELD_NUMBER
public static final int PARTITION_NAMES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARTITIONIDS_FIELD_NUMBER
public static final int PARTITIONIDS_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
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
public Status getStatus()
Contain error_code and reason
.milvus.proto.common.Status status = 1;- Specified by:
getStatusin interfaceShowPartitionsResponseOrBuilder- Returns:
- The status.
-
getStatusOrBuilder
public StatusOrBuilder 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
public String getPartitionNames(int index)
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
public List<Long> 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
public List<Long> 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
public List<Long> 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
public List<Long> getInMemoryPercentagesList()
Load percentage on querynode Deprecated: use GetLoadingProgress rpc instead
repeated int64 inMemory_percentages = 6;- Specified by:
getInMemoryPercentagesListin interfaceShowPartitionsResponseOrBuilder- Returns:
- A list containing the inMemoryPercentages.
-
getInMemoryPercentagesCount
public int getInMemoryPercentagesCount()
Load percentage on querynode Deprecated: use GetLoadingProgress rpc instead
repeated int64 inMemory_percentages = 6;- Specified by:
getInMemoryPercentagesCountin interfaceShowPartitionsResponseOrBuilder- Returns:
- The count of inMemoryPercentages.
-
getInMemoryPercentages
public long getInMemoryPercentages(int index)
Load percentage on querynode Deprecated: use GetLoadingProgress rpc instead
repeated int64 inMemory_percentages = 6;- 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
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 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
public static ShowPartitionsResponse parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ShowPartitionsResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ShowPartitionsResponse parseDelimitedFrom(InputStream input) throws IOException
- 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
public ShowPartitionsResponse.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ShowPartitionsResponse.Builder newBuilder()
-
newBuilder
public static ShowPartitionsResponse.Builder newBuilder(ShowPartitionsResponse prototype)
-
toBuilder
public ShowPartitionsResponse.Builder 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
public static ShowPartitionsResponse getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ShowPartitionsResponse> parser()
-
getParserForType
public com.google.protobuf.Parser<ShowPartitionsResponse> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ShowPartitionsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-