Class LoadBalanceRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.milvus.grpc.LoadBalanceRequest
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, LoadBalanceRequestOrBuilder, Serializable

public final class LoadBalanceRequest extends com.google.protobuf.GeneratedMessageV3 implements LoadBalanceRequestOrBuilder

 Do load balancing operation from src_nodeID to dst_nodeID.
 
Protobuf type milvus.proto.milvus.LoadBalanceRequest
See Also:
  • Field Details

    • BASE_FIELD_NUMBER

      public static final int BASE_FIELD_NUMBER
      See Also:
    • SRC_NODEID_FIELD_NUMBER

      public static final int SRC_NODEID_FIELD_NUMBER
      See Also:
    • DST_NODEIDS_FIELD_NUMBER

      public static final int DST_NODEIDS_FIELD_NUMBER
      See Also:
    • SEALED_SEGMENTIDS_FIELD_NUMBER

      public static final int SEALED_SEGMENTIDS_FIELD_NUMBER
      See Also:
    • COLLECTIONNAME_FIELD_NUMBER

      public static final int COLLECTIONNAME_FIELD_NUMBER
      See Also:
    • DB_NAME_FIELD_NUMBER

      public static final int DB_NAME_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
    • hasBase

      public boolean hasBase()
      .milvus.proto.common.MsgBase base = 1;
      Specified by:
      hasBase in interface LoadBalanceRequestOrBuilder
      Returns:
      Whether the base field is set.
    • getBase

      public MsgBase getBase()
      .milvus.proto.common.MsgBase base = 1;
      Specified by:
      getBase in interface LoadBalanceRequestOrBuilder
      Returns:
      The base.
    • getBaseOrBuilder

      public MsgBaseOrBuilder getBaseOrBuilder()
      .milvus.proto.common.MsgBase base = 1;
      Specified by:
      getBaseOrBuilder in interface LoadBalanceRequestOrBuilder
    • getSrcNodeID

      public long getSrcNodeID()
      int64 src_nodeID = 2;
      Specified by:
      getSrcNodeID in interface LoadBalanceRequestOrBuilder
      Returns:
      The srcNodeID.
    • getDstNodeIDsList

      public List<Long> getDstNodeIDsList()
      repeated int64 dst_nodeIDs = 3;
      Specified by:
      getDstNodeIDsList in interface LoadBalanceRequestOrBuilder
      Returns:
      A list containing the dstNodeIDs.
    • getDstNodeIDsCount

      public int getDstNodeIDsCount()
      repeated int64 dst_nodeIDs = 3;
      Specified by:
      getDstNodeIDsCount in interface LoadBalanceRequestOrBuilder
      Returns:
      The count of dstNodeIDs.
    • getDstNodeIDs

      public long getDstNodeIDs(int index)
      repeated int64 dst_nodeIDs = 3;
      Specified by:
      getDstNodeIDs in interface LoadBalanceRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The dstNodeIDs at the given index.
    • getSealedSegmentIDsList

      public List<Long> getSealedSegmentIDsList()
      repeated int64 sealed_segmentIDs = 4;
      Specified by:
      getSealedSegmentIDsList in interface LoadBalanceRequestOrBuilder
      Returns:
      A list containing the sealedSegmentIDs.
    • getSealedSegmentIDsCount

      public int getSealedSegmentIDsCount()
      repeated int64 sealed_segmentIDs = 4;
      Specified by:
      getSealedSegmentIDsCount in interface LoadBalanceRequestOrBuilder
      Returns:
      The count of sealedSegmentIDs.
    • getSealedSegmentIDs

      public long getSealedSegmentIDs(int index)
      repeated int64 sealed_segmentIDs = 4;
      Specified by:
      getSealedSegmentIDs in interface LoadBalanceRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The sealedSegmentIDs at the given index.
    • getCollectionName

      public String getCollectionName()
      string collectionName = 5;
      Specified by:
      getCollectionName in interface LoadBalanceRequestOrBuilder
      Returns:
      The collectionName.
    • getCollectionNameBytes

      public com.google.protobuf.ByteString getCollectionNameBytes()
      string collectionName = 5;
      Specified by:
      getCollectionNameBytes in interface LoadBalanceRequestOrBuilder
      Returns:
      The bytes for collectionName.
    • getDbName

      public String getDbName()
      string db_name = 6;
      Specified by:
      getDbName in interface LoadBalanceRequestOrBuilder
      Returns:
      The dbName.
    • getDbNameBytes

      public com.google.protobuf.ByteString getDbNameBytes()
      string db_name = 6;
      Specified by:
      getDbNameBytes in interface LoadBalanceRequestOrBuilder
      Returns:
      The bytes for dbName.
    • 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 LoadBalanceRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LoadBalanceRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LoadBalanceRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LoadBalanceRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LoadBalanceRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LoadBalanceRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static LoadBalanceRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LoadBalanceRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static LoadBalanceRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static LoadBalanceRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LoadBalanceRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static LoadBalanceRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static LoadBalanceRequest.Builder newBuilder()
    • newBuilder

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

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

      protected LoadBalanceRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static LoadBalanceRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<LoadBalanceRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<LoadBalanceRequest> 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 LoadBalanceRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder