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:
  • 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

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.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 class com.google.protobuf.GeneratedMessageV3
    • hasStatus

      public boolean hasStatus()
       Contain error_code and reason
       
      .milvus.proto.common.Status status = 1;
      Specified by:
      hasStatus in interface ShowPartitionsResponseOrBuilder
      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 interface ShowPartitionsResponseOrBuilder
      Returns:
      The status.
    • getStatusOrBuilder

      public StatusOrBuilder getStatusOrBuilder()
       Contain error_code and reason
       
      .milvus.proto.common.Status status = 1;
      Specified by:
      getStatusOrBuilder in interface ShowPartitionsResponseOrBuilder
    • getPartitionNamesList

      public com.google.protobuf.ProtocolStringList getPartitionNamesList()
       All partition names for this collection
       
      repeated string partition_names = 2;
      Specified by:
      getPartitionNamesList in interface ShowPartitionsResponseOrBuilder
      Returns:
      A list containing the partitionNames.
    • getPartitionNamesCount

      public int getPartitionNamesCount()
       All partition names for this collection
       
      repeated string partition_names = 2;
      Specified by:
      getPartitionNamesCount in interface ShowPartitionsResponseOrBuilder
      Returns:
      The count of partitionNames.
    • getPartitionNames

      public String getPartitionNames(int index)
       All partition names for this collection
       
      repeated string partition_names = 2;
      Specified by:
      getPartitionNames in interface ShowPartitionsResponseOrBuilder
      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:
      getPartitionNamesBytes in interface ShowPartitionsResponseOrBuilder
      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:
      getPartitionIDsList in interface ShowPartitionsResponseOrBuilder
      Returns:
      A list containing the partitionIDs.
    • getPartitionIDsCount

      public int getPartitionIDsCount()
       All partition ids for this collection
       
      repeated int64 partitionIDs = 3;
      Specified by:
      getPartitionIDsCount in interface ShowPartitionsResponseOrBuilder
      Returns:
      The count of partitionIDs.
    • getPartitionIDs

      public long getPartitionIDs(int index)
       All partition ids for this collection
       
      repeated int64 partitionIDs = 3;
      Specified by:
      getPartitionIDs in interface ShowPartitionsResponseOrBuilder
      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:
      getCreatedTimestampsList in interface ShowPartitionsResponseOrBuilder
      Returns:
      A list containing the createdTimestamps.
    • getCreatedTimestampsCount

      public int getCreatedTimestampsCount()
       All hybrid timestamps
       
      repeated uint64 created_timestamps = 4;
      Specified by:
      getCreatedTimestampsCount in interface ShowPartitionsResponseOrBuilder
      Returns:
      The count of createdTimestamps.
    • getCreatedTimestamps

      public long getCreatedTimestamps(int index)
       All hybrid timestamps
       
      repeated uint64 created_timestamps = 4;
      Specified by:
      getCreatedTimestamps in interface ShowPartitionsResponseOrBuilder
      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:
      getCreatedUtcTimestampsList in interface ShowPartitionsResponseOrBuilder
      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:
      getCreatedUtcTimestampsCount in interface ShowPartitionsResponseOrBuilder
      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:
      getCreatedUtcTimestamps in interface ShowPartitionsResponseOrBuilder
      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.ShowPartitionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=698
       Load percentage on querynode
       Deprecated: use GetLoadingProgress rpc instead
       
      repeated int64 inMemory_percentages = 6 [deprecated = true];
      Specified by:
      getInMemoryPercentagesList in interface ShowPartitionsResponseOrBuilder
      Returns:
      A list containing the inMemoryPercentages.
    • getInMemoryPercentagesCount

      @Deprecated public int getInMemoryPercentagesCount()
      Deprecated.
      milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=698
       Load percentage on querynode
       Deprecated: use GetLoadingProgress rpc instead
       
      repeated int64 inMemory_percentages = 6 [deprecated = true];
      Specified by:
      getInMemoryPercentagesCount in interface ShowPartitionsResponseOrBuilder
      Returns:
      The count of inMemoryPercentages.
    • getInMemoryPercentages

      @Deprecated public long getInMemoryPercentages(int index)
      Deprecated.
      milvus.proto.milvus.ShowPartitionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=698
       Load percentage on querynode
       Deprecated: use GetLoadingProgress rpc instead
       
      repeated int64 inMemory_percentages = 6 [deprecated = true];
      Specified by:
      getInMemoryPercentages in interface ShowPartitionsResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The inMemoryPercentages at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.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:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ShowPartitionsResponse.Builder newBuilder()
    • newBuilder

      public static ShowPartitionsResponse.Builder newBuilder(ShowPartitionsResponse prototype)
    • toBuilder

      public ShowPartitionsResponse.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ShowPartitionsResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.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:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public ShowPartitionsResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder