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

      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 ShowCollectionsResponseOrBuilder
      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 ShowCollectionsResponseOrBuilder
      Returns:
      The status.
    • getStatusOrBuilder

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

      public com.google.protobuf.ProtocolStringList getCollectionNamesList()
       Collection name array
       
      repeated string collection_names = 2;
      Specified by:
      getCollectionNamesList in interface ShowCollectionsResponseOrBuilder
      Returns:
      A list containing the collectionNames.
    • getCollectionNamesCount

      public int getCollectionNamesCount()
       Collection name array
       
      repeated string collection_names = 2;
      Specified by:
      getCollectionNamesCount in interface ShowCollectionsResponseOrBuilder
      Returns:
      The count of collectionNames.
    • getCollectionNames

      public String getCollectionNames(int index)
       Collection name array
       
      repeated string collection_names = 2;
      Specified by:
      getCollectionNames in interface ShowCollectionsResponseOrBuilder
      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 interface ShowCollectionsResponseOrBuilder
      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 interface ShowCollectionsResponseOrBuilder
      Returns:
      A list containing the collectionIds.
    • getCollectionIdsCount

      public int getCollectionIdsCount()
       Collection Id array
       
      repeated int64 collection_ids = 3;
      Specified by:
      getCollectionIdsCount in interface ShowCollectionsResponseOrBuilder
      Returns:
      The count of collectionIds.
    • getCollectionIds

      public long getCollectionIds(int index)
       Collection Id array
       
      repeated int64 collection_ids = 3;
      Specified by:
      getCollectionIds in interface ShowCollectionsResponseOrBuilder
      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 interface ShowCollectionsResponseOrBuilder
      Returns:
      A list containing the createdTimestamps.
    • getCreatedTimestampsCount

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

      public long getCreatedTimestamps(int index)
       Hybrid timestamps in milvus
       
      repeated uint64 created_timestamps = 4;
      Specified by:
      getCreatedTimestamps in interface ShowCollectionsResponseOrBuilder
      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 interface ShowCollectionsResponseOrBuilder
      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 interface ShowCollectionsResponseOrBuilder
      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 interface ShowCollectionsResponseOrBuilder
      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=533
       Load percentage on querynode when type is InMemory
       Deprecated: use GetLoadingProgress rpc instead
       
      repeated int64 inMemory_percentages = 6 [deprecated = true];
      Specified by:
      getInMemoryPercentagesList in interface ShowCollectionsResponseOrBuilder
      Returns:
      A list containing the inMemoryPercentages.
    • getInMemoryPercentagesCount

      @Deprecated public int getInMemoryPercentagesCount()
      Deprecated.
      milvus.proto.milvus.ShowCollectionsResponse.inMemory_percentages is deprecated. See milvus.proto;l=533
       Load percentage on querynode when type is InMemory
       Deprecated: use GetLoadingProgress rpc instead
       
      repeated int64 inMemory_percentages = 6 [deprecated = true];
      Specified by:
      getInMemoryPercentagesCount in interface ShowCollectionsResponseOrBuilder
      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=533
       Load percentage on querynode when type is InMemory
       Deprecated: use GetLoadingProgress rpc instead
       
      repeated int64 inMemory_percentages = 6 [deprecated = true];
      Specified by:
      getInMemoryPercentages in interface ShowCollectionsResponseOrBuilder
      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 interface ShowCollectionsResponseOrBuilder
      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 interface ShowCollectionsResponseOrBuilder
      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 interface ShowCollectionsResponseOrBuilder
      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 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 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 interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.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 interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

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