Class AlterCollectionRequest

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

public final class AlterCollectionRequest extends com.google.protobuf.GeneratedMessageV3 implements AlterCollectionRequestOrBuilder

 Alter collection in milvus
 
Protobuf type milvus.proto.milvus.AlterCollectionRequest
See Also:
  • Field Details

    • BASE_FIELD_NUMBER

      public static final int BASE_FIELD_NUMBER
      See Also:
    • DB_NAME_FIELD_NUMBER

      public static final int DB_NAME_FIELD_NUMBER
      See Also:
    • COLLECTION_NAME_FIELD_NUMBER

      public static final int COLLECTION_NAME_FIELD_NUMBER
      See Also:
    • COLLECTIONID_FIELD_NUMBER

      public static final int COLLECTIONID_FIELD_NUMBER
      See Also:
    • PROPERTIES_FIELD_NUMBER

      public static final int PROPERTIES_FIELD_NUMBER
      See Also:
    • DELETE_KEYS_FIELD_NUMBER

      public static final int DELETE_KEYS_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()
       Not useful for now
       
      .milvus.proto.common.MsgBase base = 1;
      Specified by:
      hasBase in interface AlterCollectionRequestOrBuilder
      Returns:
      Whether the base field is set.
    • getBase

      public MsgBase getBase()
       Not useful for now
       
      .milvus.proto.common.MsgBase base = 1;
      Specified by:
      getBase in interface AlterCollectionRequestOrBuilder
      Returns:
      The base.
    • getBaseOrBuilder

      public MsgBaseOrBuilder getBaseOrBuilder()
       Not useful for now
       
      .milvus.proto.common.MsgBase base = 1;
      Specified by:
      getBaseOrBuilder in interface AlterCollectionRequestOrBuilder
    • getDbName

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

      public com.google.protobuf.ByteString getDbNameBytes()
      string db_name = 2;
      Specified by:
      getDbNameBytes in interface AlterCollectionRequestOrBuilder
      Returns:
      The bytes for dbName.
    • getCollectionName

      public String getCollectionName()
       The unique collection name in milvus.(Required)
       
      string collection_name = 3;
      Specified by:
      getCollectionName in interface AlterCollectionRequestOrBuilder
      Returns:
      The collectionName.
    • getCollectionNameBytes

      public com.google.protobuf.ByteString getCollectionNameBytes()
       The unique collection name in milvus.(Required)
       
      string collection_name = 3;
      Specified by:
      getCollectionNameBytes in interface AlterCollectionRequestOrBuilder
      Returns:
      The bytes for collectionName.
    • getCollectionID

      public long getCollectionID()
      int64 collectionID = 4;
      Specified by:
      getCollectionID in interface AlterCollectionRequestOrBuilder
      Returns:
      The collectionID.
    • getPropertiesList

      public List<KeyValuePair> getPropertiesList()
      repeated .milvus.proto.common.KeyValuePair properties = 5;
      Specified by:
      getPropertiesList in interface AlterCollectionRequestOrBuilder
    • getPropertiesOrBuilderList

      public List<? extends KeyValuePairOrBuilder> getPropertiesOrBuilderList()
      repeated .milvus.proto.common.KeyValuePair properties = 5;
      Specified by:
      getPropertiesOrBuilderList in interface AlterCollectionRequestOrBuilder
    • getPropertiesCount

      public int getPropertiesCount()
      repeated .milvus.proto.common.KeyValuePair properties = 5;
      Specified by:
      getPropertiesCount in interface AlterCollectionRequestOrBuilder
    • getProperties

      public KeyValuePair getProperties(int index)
      repeated .milvus.proto.common.KeyValuePair properties = 5;
      Specified by:
      getProperties in interface AlterCollectionRequestOrBuilder
    • getPropertiesOrBuilder

      public KeyValuePairOrBuilder getPropertiesOrBuilder(int index)
      repeated .milvus.proto.common.KeyValuePair properties = 5;
      Specified by:
      getPropertiesOrBuilder in interface AlterCollectionRequestOrBuilder
    • getDeleteKeysList

      public com.google.protobuf.ProtocolStringList getDeleteKeysList()
      repeated string delete_keys = 6;
      Specified by:
      getDeleteKeysList in interface AlterCollectionRequestOrBuilder
      Returns:
      A list containing the deleteKeys.
    • getDeleteKeysCount

      public int getDeleteKeysCount()
      repeated string delete_keys = 6;
      Specified by:
      getDeleteKeysCount in interface AlterCollectionRequestOrBuilder
      Returns:
      The count of deleteKeys.
    • getDeleteKeys

      public String getDeleteKeys(int index)
      repeated string delete_keys = 6;
      Specified by:
      getDeleteKeys in interface AlterCollectionRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The deleteKeys at the given index.
    • getDeleteKeysBytes

      public com.google.protobuf.ByteString getDeleteKeysBytes(int index)
      repeated string delete_keys = 6;
      Specified by:
      getDeleteKeysBytes in interface AlterCollectionRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the deleteKeys 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 AlterCollectionRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static AlterCollectionRequest.Builder newBuilder()
    • newBuilder

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

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

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

      public static AlterCollectionRequest getDefaultInstance()
    • parser

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

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